Up and running with SRCDS and Amazon EC2

Introduction

Want to play the Mann vs Machine update with your friends? Don't want to get stuck waiting for some Valve official server to become available? Is your computer or internet just not fast enough to host the game locally?

If you answered yes to the above, then you've come to the right place. You can run a dedicated server by the hour using an Amazon EC2 instance and a Source Dedicated Server instance (graciously provided by yours truly). All you need to get started with Amazon Web Services a phone (any kind will do) and a credit card.

What You Will Need

Cost

Running the machine I have listed costs $0.165 (16.5 United States Cents) per hour. This cost comes purely from Amazon; I do not take a portion for providing the server image that you will use. If you run the server 24/7 it will cost $125 per month, give or take. But don't freak out just yet! You can turn the server on and off as you wish, and when the server is off, it costs $0 per hour. I typically run my game servers 10 hours a day (4PM to 2AM) for a cost of $50 per month. If it's just you and a few friends playing 3 hours per night every night, it will cost about $15, which is much less than renting a 32-slot server from a gamehost. EC2 Price list

Disclaimer

Running a server costs real money. I am not responsible for any mistakes you may make (such as running 11 servers instead of 1) as a result of this guide. I strongly suggest reading through all of this guide before performing the actions detailed within. You have been warned.

HELP!!!1

Need help? Calm down. You read all of this guide once before executing the steps, right? Good.

If you need help, go to the post on Reddit, contact me there (mgway), or join our public Mumble server. I have a 9 to 5 (EST) job, so I probably definitely won't be on voice chat then.

Author's Note

I'm sure by now you're thinking "Wow, that is a lot of steps." But it really isn't that hard. All of the steps from "Signing up for Amazon Web Services" through "Configuring" only have to be performed once. Steps under the "Management" heading are the only steps that are used every time you wish to modify the state of the server. Not so daunting after all, is it?

Signing up for Amazon Web Services

Existing AWS users can skip this part

Configuring Amazon Web Services

After you finish signing up, you should end up at the AWS Console.

Existing AWS users should start paying attention again

Starting the Machine

Connecting

Windows

OS X and Linux

Configuring

You're in the home stretch, baby.

Join the Game

Management

Shutting down

You don't need to perform these steps right now, just do it when you're ready and everyone has stopped playing on the server.

Restarting

What fun would it be if you had to do all of that every time?

Conclusion

That was a lot of steps, but hopefully they weren't too painful. If you have any suggestions, drop me an email at games at this domain dot net, or PM me on Reddit (there will proabably be a post about this shortly in r/tf2), username mgway.

Cheers

~ Matt "oh!mg" Galloway