- Newest
- Most votes
- Most comments
Here are some good resources that you can refer to architect your solution.
- Use Amazon EC2 for cost-efficient cloud gaming with pay-as-you-go pricing
- How do I choose the appropriate EC2 instance type for my workload?
- Choosing the Right EC2 Instance Type for Your Application
- AWS re:Invent 2020: Selecting the right Amazon EC2 instance for your workloads
As one of the above references says that because you can launch and terminate instances as desired, profiling and load testing across a variety of instance types is simple and cost effective. You can easily change instance types as your needs change. You can even profile multiple instance types as part of your Continuous Integration process and use a different set of instance types for each minor release.
Auto Scaling Groups (ASG) can help with provisioning EC2 easily and it can help you manage the scaling easily so that you don't have pay for EC2 when you don't need them. Also, ASG makes it easy to pick and choose the instances by offering a new feature called Attribute based instance selection. If you want to further cost optimize and if your use-case can tolerate interruptions, then you can leverage EC2 Spot instances. You could also use ASG to mix and match On-Demand and Spot instances as well. There is a lab which explains how to deploy ASG with different options (last link in the reference) which you may find useful.
References:
https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-groups.html
https://aws.amazon.com/ec2/spot/
https://ec2spotworkshops.com/ec2-auto-scaling-with-multiple-instance-types-and-purchase-options.html
There is actually an entire learning plan on skillbuilder dedicated to this:
Relevant content
- asked 5 years ago
- Accepted Answerasked 7 years ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 25 days ago
- AWS OFFICIALUpdated a year ago
it depends on the kind of slot games you are building, the state they need to keep in memory, your payout calculations and any additional bonus features you're developing, if players will have sticky sessions to the game sessions etc