AWS Server Requirements

I was able to do an hour test with the community and have come with this rough guestimate on what is required to host a server.

Testing was done in terms of an AWS t2.micro instance.

Note: I am posting things in terms of AWS resources. Also unity is more CPU intensive than memory intensive due to the amount of network traffic being sent. Also all of these numbers are not exact, just my guess as to what your server will support.

  • Instance Type = The AWS instance type
  • CPU = The amount of CPU that is available for this instance
  • MEM = The amount of Memory that is available for this instance
  • Good Player Count = The amount of players this type of AWS instance can most likely support. It can support more but the experience may be somewhat degraded for the clients.
  • Crash Player Count = The amount of players that will most likely cause a server to crash.
Instance Type CPU MEM Good Player Count Crash Player Count
t2.micro 1 1 20 34
t2.small 1 2 20 34
t2.medium 2 4 40-45 70
t2.large 2 8 40-45 70
t2.xlarge 4 16 80-90 130
t2.2xlarge 8 32 160-180 260

The follow is an image of the community test were about 31 client connections were made to a t2.micro instance over a period of one hour:

T2 Instances

The table above is in terms of t2 instances. It's important to note that you only get credits/hour with a t2 instance. These instances are ONLY for testing purposes. So the table above is really to tell you the CPU requirement to run a server size that you're looking to do, since a unity server is generally CPU bound.

For a real production scenario look a other EC2 instance types that will better suite your needs. Like the "C" series ec2 instances which offer better CPU performance and better network traffic capabilities.