BOA Games is a boutique game studio founded in Türkiye, with an upcoming mobile casual game named CapRoyale and a launch plan to make it reach the masses. They knew that they could only make it work with a properly designed architecture on AWS with the help of an AWS partner. Sufle helped BOA Games to architect their infrastructure and modernize the application to adapt to the cloud environment and achieve their goal, both for the launch and the long run. Sufle’s knowledge of scalable and high peak-adaptive infrastructures was already an excellent match for the BOA Games team.
Adaptation Through Modernization
Sufle began designing an adequate infrastructure for BOA Games from the ground up, starting with an organizational structure. Since BOA Games is a game studio with potential, different games’ upcoming AWS Organizations were set up with a per-game account structure. This structure enabled the isolation of both environments and team and project-level access controls.
Both SRE and Development teams from Sufle teamed up with the BOA Games to analyze application behavior and their requirements. Even though the application was not cloud-ready, the application’s cloud-native adaptation was achieved quickly through training and knowledge sharing between teams. Applications were containerized, the local environment was adapted to containerization. The main concern was the soft underbelly of many applications and WebSockets. Horizontally scaling becomes a challenge due to the stateless nature of WebSockets. Sufle’s past experiences came to the rescue; the WebSocket backend was modernized with Redis as the main pub-sub component.
While application modernization was under its way, the SRE team started coding the infrastructure with Terraform. Each component used in the infrastructure was coded, tested, and version controlled. The application runs on an AWS Fargate cluster on Amazon ECS; hence no servers are managed. Container images are hosted on Amazon ECR and are scanned for vulnerabilities continuously. Hosting the application on Amazon ECS made autoscaling a breeze. The application was designed to use a relational database, so Amazon RDS was used to host the application’s database instance with multi-az support. Amazon RDS Performance Insights are enabled to gather all the metrics, which helps us determine soft spots, bottleneck queries, tables that need indexes, and, more importantly, the correct database instance size. Finally, a resilient, highly available Amazon Elasticache Redis cluster was set up for the WebSocket backend with auto-failover capabilities.
After setting up the infrastructure, a continuous deployment pipeline was built to deploy the application. All components and flows were tested and validated to work, and the first batch of test users was onboarded to the application as a closed beta testing group. Beta testing helped us analyze the application’s footprints, the suitable sizes for the tasks, autoscaling, and all other components in the infrastructure. When the testing was completed, everything was ready to go.
Cap Royale was launched on all major mobile stores in Türkiye, boosted with marketing campaigns on many popular platforms. While thousands of users were downloading and playing the game, both Sufle and BOA Games teams closely monitored, analyzed metrics, gathered feedback, and checked out for any issues. It was a massive success with the help of the right design, even though install numbers were skyrocketing.
Cap Royale became a sensation in the mobile gaming market. It was played by more than 150.000 users in the first month and became the number 1 app in the strategy category in the first week after launch. In the near future, BOA Games plans to go further in the serverless direction and experiment with Amazon DynamoDB. Cloud adaptation has given the team the notice that replacing the current SQL database with a fully serverless NoSQL database would optimize the operations further and make it a no-hassle to launch in overseas markets.
About the author
Sufle is an AWS Advanced Services Partner, providing custom technology solutions and consulting services for its customers with proven expertise and experience recognized by industry leading certifications.