|
Dedicated Server Discuss technical issues related to hosting your own servers. |
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Guide: Altitude Server on Amazon EC2 Free Tier
UPDATE March 2017: Google Cloud has recently started an always free tier (in addition to 1 year trial of up to $300). However, it is limited to a few US regions only at the moment. If you want a US server I'd go with Google Cloud since it won't be limited to one year like Amazon. I will try to put a guide together soon.
You can run an Altitude server for free for one year through Amazon Web Services (AWS). If you want the lowest latency possible you should pay for a server (will write another guide for other providers soon), but Amazon EC2 is stable and provides decent latency. EC2 has been used in the past for various servers. Altitourney was on US East, old EU ladder was on EU for awhile, and I currently have some Australia servers running out of Sydney (only have like 2 months left free though). This guide is written for running a Linux EC2 server and setting it up with tools that run on Windows. This guide will still be helpful if you don't have a Windows machine to set up your EC2 instance, but you will need to find equivalent tools for your OS. I recommend against using Windows EC2 instances though as Linux will run better on a micro instance. Sign up at http://aws.amazon.com/free/. You will have to provide credit card info, but you won't be charged assuming you stay within the free tier limits and make sure you cancel everything before the year is up. Locations available:
You will only have enough enough free EC2 hours to run a single instance, so pick one of the above locations. You can always destroy an instance and create a new instance in another location if you want. To log into and set up your server you will need the following applications: Altitude (non steam) - If you only have the steam version installed download the non-steam version / demo and install it. The server configurator tool is not included with the Steam version. PuTTY, PuTTYgen, and Pageant - These are all made by the same person, you can download them at http://www.chiark.greenend.org.uk/~s.../download.html. I recommend the Windows installer but if you want to download the tools individually you can do that too. WinSCP - Used to upload files to your EC2 instance: http://winscp.net/ After you have signed up for an AWS account and have the necessary software follow the steps in the second post. Last edited by VAN1SH1NG; 03-11-2017 at 11:59 PM. |
#2
|
|||
|
|||
Feel free to ask me any questions. May look intimidating with all the steps but its rather easy. I just tried to be thorough so it looks lengthy. To install nginx for fast custom map downloads (officials still download from altitude's servers): sudo apt-get install nginx Assuming you allowed HTTP connections via the AWS security group as described early in the instructions, you should now have a functional web server. You can make sure it is working by typing your server IP into your web browser. It should load a basic nginx page letting you know it is working. To avoid having to place map files both in the altitude folder and in the web server directory, you can create a symbolic link in the web server directory. This means that a virtual folder will exist on the web server that points back at your actual Altitude maps folder. Use the command below to create the link: ln -s ~/altitude/maps /usr/share/nginx/html/maps That is all that is needed to get the web server working, but you need to have the map http map download source set in the server configurator. You'll need to set it to: http://<your amazon ec2 instance ip address>/maps Upload the updated launcher_config.xml file to ~/altitude/servers/, overwriting any old version if you already uploaded one Updated November 2016 to Ubuntu 16.04 which once again made changes to 32 bit libraries. Last edited by VAN1SH1NG; 11-10-2016 at 07:31 PM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
two free indie games with altitude-style controls | blarg | The Water Cooler | 0 | 06-26-2013 04:59 AM |
VPS (Virtual Private Server) Guide | nesnl | Dedicated Server | 25 | 11-14-2012 02:51 PM |
Patch: July 19th, new maps & misc, SERVER ADMINS WE NEED YOUR HELP WITH FREE WEEKEND! | lamster | News | 80 | 07-31-2011 02:59 AM |
Purchase tier 2 | Ajplagge | Suggestions | 24 | 11-01-2009 11:50 PM |
Mid-tier Servers | mikesol | Suggestions | 12 | 07-24-2009 02:04 PM |