Install CSGO Server on AWS EC2

Hello,

Here is my tips for installing a CSGO Servers on EC2 instances

System / AMI: Ubuntu Server 18.04 LTS (HVM), SSD Volume Type

Which instance to use?

Actually, I use Compute optimized Instance, it’s
Instance: 5d.large with a Frequency of 3 GHz.
CPU: Intel Xeon Platinum 8124M
Turbo boost: 3,4 GHz to 3,5GHz depend of how many cores you are running on it.

We want it to run at 3,4 / 3,5 Ghz all the time.

What to do for running it at it max performances?

For this, we have to set CPU settings on boot:

sudo vim /etc/default/grub

edit it and at the end of

GRUB_CMDLINE_LINUX_DEFAULT= "...
just before the last ",
you will have to add:
intel_idle.max_cstate=1 processor.max_cstate=1

It should be something like that:

GRUB_CMDLINE_LINUX_DEFAULT="console=tty0 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0 nvme_core.io_timeout=4294967295 intel_idle.max_cstate=1 processor.max_cstate=1"

Then:

sudo grub2-mkconfig -o /boot/grub2/grub.cfg
sudo reboot

Install your CSGO servers

Here is a tutorial of How install your CSGO server