Game Development Community

T3D on Amazon EC2?

by David McDonald · in Torque 3D Professional · 08/20/2010 (11:50 am) · 13 replies

I have seen mention from bitgap on the development of a server management tool (tentatively named Overseer) for running T3D servers on Amazons EC2 Cloud service.

Prior to that magic little beast being available I had a fiddle with an EC2 instance today but could not seem to get my client to connect.
It was a stock Win 2k8 build. I installed the beta 2 and ran my dedicated server (Which works fine from little Windows 7 box at home)
The info request from server to master and response was working but the client could not connect.
When checking my console log from the client it grabbed the correct external IP.
I have also made sure the firewall was allowing the right port.

Has anyone else managed to fire up a dedicated server using Amazon EC2? If so, I would greatly appreciate a quick dot point list of what you had to do or hints for any gotchas.

Cheers,


#1
08/20/2010 (12:31 pm)
I run T3D -dedicated on HyperV under 2008 and 2008R2 with no problems (xeon platform)

All of my hosting is in house though, never tried EC or any other hosting.
#2
08/20/2010 (2:17 pm)
Dave Wyand did a test a couple of years ago on the platform and had TGE or TGEA working with it. A lot has changed with the platform, but his test was successful.
#3
08/20/2010 (2:26 pm)
Yeah I managed to find some TGEA/TGE posts around it but they were runnign a dedicated Ubuntu server (Which I would be happy to do except I am pretty sure we don't have a successful Beta 2 port resource anywhere yet).
#4
08/24/2010 (6:13 pm)
Greetings!

I've been running a T3D 1.1 alpha dedicated server for the past few months on Amazon's EC2 without any issues. I hope to upgrade to beta 2 soon. :)

I'm doing this under their basic 32-bit Windows 2008 Server (ami-a2698bcb although that is likely out of date now). There are two things to remember to set up to get it working:

1. Set your server's security group to allow UDP access on at least port 28000. I have 28000-28010 open on my server.

2. Allow your dedicated server access through the Windows firewall. I have my dedicated server .exe added to the inbound rules for any UDP and TCP ports.

I hope that helps!

- Dave
#5
08/24/2010 (6:31 pm)
I installed roles for desktop experience and the DirectX SDK on my 2008r2 server, not sure if 2008 standard is different.

And my firewall is turned off as I have a hardware firewall bridged between the server farm and routing equipment.



Has anyone tried this with Linux yet? I would love to not run my servers on windows.
#6
08/24/2010 (10:37 pm)
Server 2008 is Vista codebase R2 is windows 7 Codebase. there are some differences.
#7
08/24/2010 (10:42 pm)
This is something I'm interested in investigating further too. Dave how's the performance of running a dedicated server on EC2?
#8
08/25/2010 (9:38 pm)
Greetings!

The equivalent of what I've been using is defined here: developer.amazonwebservices.com/connect/entry.jspa?externalID=3180&categoryI.... I've been running this on EC2's Standard Small Instance (Defined at the top of this page).

@Andy:
To date, I've only been able to get three people on my server at once, so I don't really have a representative sample yet. The alpha version of my game is currently open to all Associates and GG employees, but they're busy people.

I would like to open my game to at least the people in this forum within a few weeks, but that will depend on my available time. Once I let you guys in, perhaps we can get the maximum number of concurrent users up to at least 5. :P

Based on my past experience with Amazon EC2 and the community here and here, it is really hard to organize enough people from this site to really test a server or the engine. But that was two years ago, so maybe it is time to give it another go.

- Dave
#9
08/25/2010 (11:01 pm)
Thanks for the reply Dave, I found the blogs of yours earlier and very interesting results and must say spectacular work on getting that level of stats together.

If we can help you to test this then please let me know and I'll sure help out, might see if I could round up a few others too and make that up to 6 concurrent people.

I'm thinking about just setting one up and giving it a try too to see how effective it would be.
#10
08/26/2010 (6:07 pm)
We're also working on this, and anticipate an alpha by the 15th of September. Depending on that we might eiher have a private beta or an EA (public beta) release.

Dave's work has been an inspiration to me / us - reading his blogs about it all was when I decided that we'd be going the same route. EC2 is pretty cool, and receives new tools daily.
#11
08/26/2010 (11:36 pm)
@Konrad, Very eagre to see Overseer in action. The alpha you speak of? Your project or an alpha for Overseer?
#12
08/27/2010 (10:38 am)
I will be very interested to do this test of concurrent users to see how the engine react with multiple concurrent user and see what are the bottleneck if we want to go with higher number of player :D

So if you setup something I will be very pleased to test!
#13
08/27/2010 (11:29 am)
Oh yeah I'd forgotten about Overseer, god that was only recently too I must be getting old and forgetful. Definately keen to investigate all this.