How to set-up my EC2 server and find the right model for me?

0

Hello, I am building out a casino game that will not involve multiplayer online gameplay. Rather, it is a simple slots game with 6 different rooms. I anticipate having some users, perhaps optimistically around 1000 per month.

Eventually, I'd like to move into the multiplayer realm and incorporate poker/blackjack live games; however, for now, I'd like to stick to the slots game concept. How much data/ what service do you recommend for me? My programmer recommended between 4-8 GB RAM, 2-4 core CPU, and 165-240 GB SSD. What do you guys think?

Also, could anyone provide a step-by-step guide to how to set-up such a server with the recommended specs? Many thanks.

  • 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

2 個答案
1

Here are some good resources that you can refer to architect your solution.

  1. Use Amazon EC2 for cost-efficient cloud gaming with pay-as-you-go pricing
  2. How do I choose the appropriate EC2 instance type for my workload?
  3. Choosing the Right EC2 Instance Type for Your Application
  4. 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.

profile picture
專家
已回答 2 個月前
profile picture
專家
已審閱 2 個月前
0

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/blogs/aws/new-attribute-based-instance-type-selection-for-ec2-auto-scaling-and-ec2-fleet/

https://aws.amazon.com/ec2/spot/

https://ec2spotworkshops.com/ec2-auto-scaling-with-multiple-instance-types-and-purchase-options.html

profile picture
Sudhi_B
已回答 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南