GAMESUS02-BP01 Select managed services for appropriate compute workloads
Architect your game backend services to use managed services for event driven or highly variable traffic workloads. Managed services shift the management of infrastructure to AWS and distributes the environmental impact across multiple users because of the multi-tenanted control planes.
Level of risk exposed if this best practice is not established: High
Implementation guidance
AWS services like AWS Lambda, AWS Fargate (Containers), and Amazon Gamelift (Game server orchestration) can run code, containers, or orchestrate your game servers without having to manage the underlying infrastructure. These services automatically scale based on player demand and you're only charged for the resources you consume. Because the underlying infrastructure is managed on your behalf, you are able to focus solely on your games and backend services' requirements.
You can use AWS Lambda
AWS Fargate
Amazon
GameLift
Implementation steps
-
Use AWS Lambda for event-driven workloads like processing game events, player authentication, in-game purchases, and matchmaking requests, leveraging its automatic scaling and serverless management.
-
Deploy AWS Fargate with ECS or EKS for backend services such as player profiles, state management, and matchmaking, removing server management and improving application isolation.
-
Use Amazon GameLift to deploy and scale dedicated game servers for session-based multiplayer games, reducing development time and operational complexity.