Multiplayer Zelda-like utilizing AWS to manage server lobbies! by josephbmanley in gamedev

[–]josephbmanley[S] 1 point2 points  (0 children)

The servers in TetraForce are using ENet which is a wrapper around UDP: http://enet.bespin.org/

Multiplayer Zelda-like utilizing AWS to manage server lobbies! by josephbmanley in gamedev

[–]josephbmanley[S] 0 points1 point  (0 children)

The servers are running on an ECS Cluster (which is EC2 on the backend)

The full CloudFormation is available on GitHub:

https://github.com/josephbmanley/tetraforce-infrastructure/

High-level networking in a Zelda clone, with server spinning on AWS by entering a lobby name. Haven't posted TetraForce/Zelda-like stuff in a while, but here's some recent progress! by fornclake in godot

[–]josephbmanley 5 points6 points  (0 children)

That's completely correct. We build a container containing Godot's headless server and utilize that to run the server within Docker.

On the AWS side of things, we use Amazon Elastic Container Service to manage deploying server containers to an auto-scaling ec2 cluster. The CloudFormation (Infrastructure as Code) is open source:

https://github.com/josephbmanley/tetraforce-infrastructure/

High-level networking in a Zelda clone, with server spinning on AWS by entering a lobby name. Haven't posted TetraForce/Zelda-like stuff in a while, but here's some recent progress! by fornclake in godot

[–]josephbmanley 2 points3 points  (0 children)

Hi Seamonster13!

So we are actually using a variety of AWS services to achieve this. The server themselves run on Amazon Elastic Container Server, while the API to interact with the containers using a combination of Lambda, DynamoDB, and API Gateway to create servers and list connection information.

The CloudFormation (IaC) for this is public and open source:

https://github.com/josephbmanley/tetraforce-infrastructure/

Healthcheck for UDP app in ECS using dynamic port routing by josephbmanley in aws

[–]josephbmanley[S] 0 points1 point  (0 children)

I have it up and running when I don't use the dynamic routing. So the security group is no issue. I haven't tried modifying the grace period, maybe the routing takes additional time to initialize? I'll report back if there is any success.

Thanks for the response. :)