[Tutorial] How To Setup Your Free Amazon Server - Printable Version +- Xonotic Forums (https://forums.xonotic.org) +-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3) +--- Forum: Xonotic - Server Administration (https://forums.xonotic.org/forumdisplay.php?fid=16) +--- Thread: [Tutorial] How To Setup Your Free Amazon Server (/showthread.php?tid=2797) |
[Tutorial] How To Setup Your Free Amazon Server - Loafers - 03-31-2012 Special thanks to Sless, Asy7um, Paxil, and Amazon. Intro: Amazon has a free tier usage that you can use to host your small, but very own Xonotic server. I'm not very tech savvy, but I still managed to get 3 servers running so it shouldn't be too hard for you too! Let's get started: 1) Sign up & follow instructions. 2) Once your done go to aws.amazon.com and login if you already haven't. 3) Then go to your AWS Management Console. 4) Click on the Amazon EC2 Tab. 5) Select your desired region. 6) Now click "Launch Instance". 7) Fill in the blanks! Make sure you select "More Amazon Images" since it isn't chosen by default. 8) Download Your Keypair. 9) Click "Continue". 10) Filter for Debian and 64-bit (I Debian). 11) Depending on the region you will have various images that you can choose from. I personally chose "debian-squeeze-amd64-ebs-beta2.img". You can pretty much pick whatever you want. 12) Now initialize your image! 13) Box will disappear and you should see something like this. 14) Except in your case the status will say Initializing and Status Checks will still be running. 15) Wait until it's finished/green like mine. 16) Then right click your instance and press connect. 17) Make sure you select "Connect with a standalone SSH Client". 18) Fire up your terminal and change to the directory where your keypair was saved to. 19) Code: chmod 400 your keypair 21) It'll say some error message blah blah type "yes" 22) Boom your in. 23) Now do the following: Code: apt-get update Code: wget http://dl.xonotic.org/xonotic-0.6.0.zip 26) Now do: Code: 7z x xonotic-0.6.0.zip Code: cd Xonotic/server Code: vim data/server.cfg 30) Now make sure your instance is using this security group. 31) Now launch your server with: Code: ./server_linux.sh & 33) To see your server usage stats or fees (there should be none), you can find it in your "Account Activity" located in the drop down menu in the top right corner. (I'm getting lazy to post screenshots). Enjoy! RE: [Tutorial] How To Setup Your Free Amazon Server - PinkRobot - 03-31-2012 Looking good, thank you for the tutorial. I gave you a reputation point. Maybe this should be moved to the Server forum though? RE: [Tutorial] How To Setup Your Free Amazon Server - nemNEMnem - 03-31-2012 wow. RE: [Tutorial] How To Setup Your Free Amazon Server - W4RP1G - 04-01-2012 Awesome! I got my server up and running and it's fast! I hope it's really free because I would hate to get some ridiculous bill for some hidden charge. RE: [Tutorial] How To Setup Your Free Amazon Server - Loafers - 04-01-2012 (04-01-2012, 12:35 AM)W4RP1G Wrote: Awesome! I got my server up and running and it's fast! I hope it's really free because I would hate to get some ridiculous bill for some hidden charge.No hidden charges, just make sure you read the fine print Only thing I got charged for was having an elastic ip that wasn't associated to my instance. They charged me $0.01 per hour But yeah if your worried, just check your account activity. RE: [Tutorial] How To Setup Your Free Amazon Server - W4RP1G - 04-03-2012 I'm going to use autobuild to update my xonotic version. is there a downside to doing that(for running a server)? RE: [Tutorial] How To Setup Your Free Amazon Server - Loafers - 04-04-2012 (04-03-2012, 03:56 PM)W4RP1G Wrote: I'm going to use autobuild to update my xonotic version. is there a downside to doing that(for running a server)?i highly doubt it. when in doubt check your activity page. RE: [Tutorial] How To Setup Your Free Amazon Server - Loafers - 04-13-2012 been so occupied these past few weeks and forgot that i had servers running so i decided to man up and take a look at the account activity page to see how screwed i was lol... ooops... no clue why i was billed lulz... i too lazy to read the fine print. RE: [Tutorial] How To Setup Your Free Amazon Server - Mr. Bougo - 04-13-2012 I strongly suggest you scratch "free" from the title and slap a big disclaimer on top of your post. RE: [Tutorial] How To Setup Your Free Amazon Server - Loafers - 04-13-2012 (04-13-2012, 03:24 AM)Mr. Bougo Wrote: I strongly suggest you scratch "free" from the title and slap a big disclaimer on top of your post. "it is free", insisted Loafers, "just make sure you read everything!". Mr. Bougo buried his face into his palms. The End. RE: [Tutorial] How To Setup Your Free Amazon Server - Loafers - 04-21-2012 if anybody gets billed from following the guide and not doing anything else such as creating an elastic ip and going afk lmk. k thx bai RE: [Tutorial] How To Setup Your Free Amazon Server - Spaceman - 04-21-2012 Amazon EC2 Pricing http://aws.amazon.com/ec2/pricing/
Loafers account screenshot used US East Region 167 hours Free 124 hours Charged US West Region 292 hours Free EU Ireland Region 291 hours Free 167 + 292 + 291 = 750 He has three Xonotic servers running on one account, their total usage time went over the 750 hours of free usage. Thus Amazon charged him. Running a Xonotic server for 124 hours (or 5 days 4 hours) and being charged $2.48 seems quite good value. What's the ping like for the Ireland server, compared to the DCC servers? RE: [Tutorial] How To Setup Your Free Amazon Server - Loafers - 04-21-2012 (04-21-2012, 08:51 AM)Spaceman Wrote: Amazon EC2 Pricing http://aws.amazon.com/ec2/pricing/ Very informative Spaceman ty ! I am not familiar with DCC servers, but all three of my servers were always near the top when filtering for low ping. RE: [Tutorial] How To Setup Your Free Amazon Server - W4RP1G - 04-22-2012 I haven't been charged anything for my 1 server. RE: [Tutorial] How To Setup Your Free Amazon Server - W4RP1G - 04-28-2012 Just wanted to say that I accidentally deleted my key on my computer. Supposedly there are ways to create a new key pair, but after 45 minutes of trying, I couldn't figure it out. So i decided it would be much faster and more simple to just start a new instance and repeat the process. I keep my maps and cfgs in my dropbox anyway, so it wasn't a big deal. Anyway, everything went smoothly and I still see no charges. So the moral of the story is: keep that key somewhere where it won't be deleted, and make a copy! Of course, if someone wanted to make a quick guide to creating a new key pair when you've lost yours, or link to one that works, that would be very good for future reference. RE: [Tutorial] How To Setup Your Free Amazon Server - Mr. Bougo - 04-29-2012 Search engines are a wonderful thing! You should try them out sometime. http://stackoverflow.com/questions/10369547/amazon-ec2-lost-private-key-how-to-get-access-to-the-server EDIT: I mean no offense RE: [Tutorial] How To Setup Your Free Amazon Server - W4RP1G - 04-30-2012 (04-29-2012, 02:33 AM)Mr. Bougo Wrote: Search engines are a wonderful thing! You should try them out sometime. Thanks, that looks like just what I need. Like I said, I messed with it for 45 minutes before just creating a new server. I did search google, but I ended up finding way too many unanswered questions, outdated answers, and workarounds that seemed like more trouble than they were worth. RE: [Tutorial] How To Setup Your Free Amazon Server - W4RP1G - 06-15-2012 Just an update. When I lost my keypair key that was on my computer, I created a snapshot of my server, which is a service amazon provides. This apparently costs me $0.33 usd a month. I could delete the snapshot, but considering how convenient it is to have it I think it's worth the price. RE: [Tutorial] How To Setup Your Free Amazon Server - Mr. Bougo - 06-16-2012 Why not store a backup of the keypair to your personal comupter? RE: [Tutorial] How To Setup Your Free Amazon Server - W4RP1G - 06-16-2012 Well, I have made a backup already. I guess it's just for piece of mind. Plus, you can do stuff with a snapshot, like create a new server in a new region with very little effort. I guess I could delete it an make another snapshot later if I need it, but if something happens to my server that i can't fix(which is a possibility with my limited knowledge of Linux), I'll be kicking myself for deleting it to save $4 a year. RE: [Tutorial] How To Setup Your Free Amazon Server - Mr. Bougo - 06-17-2012 You could simply tar up the personal data directory and download that! But well... I misread the price as $3.33 a month, so it seemed like a bad waste of money. .33 is more decent. Still not worth the price, since you can do the exact same thing for free with very little effort. |