Jump to content
  • Advertisement
i42_throne

DigitalOcean + Kubernetes/Agones: Any Guides?

Recommended Posts

Kubernetes now is on DigitalOcean, WHOA! Imagine that + Agones. I bet it's wayyyy cheaper than anything on Amazon.

Anyone hear of someone getting game servers working over there? If so, how much do you pay (if you don't mind sharing) monthly? Any guides you followed to help set that up?

Share this post


Link to post
Share on other sites
Advertisement

It's been my experience that Kubernetes is not a great match for game back-ends, except for the web service part of game infrastructure.

The ingress/network routing parts get in the way of low-latency NAT-friendly networking. The containerization removes performance for data storage back-ends. The nondeterminism of where pods are allocated makes it hard to spread game simulation servers appropriately -- you can say "at most one of these per node" but you can't say "spread these evenly across nodes."

Digital ocean pricing is here: https://www.digitalocean.com/pricing/

Amazon pricing is here (assuming you use kops to set up your cluster, and don't use cheaper spot instances): https://aws.amazon.com/ec2/pricing/on-demand/

 

As far as I can tell, Digital Ocean 4 GB / 2 CPU instances at $0.060 per hour are comparable to Amazon t3.medium at $0.0416 per hour, but the Amazon instances also charge a bit for storage used and network transfer. Or c5.large at $0.085.

Share this post


Link to post
Share on other sites

Wait, so DigitalOcean is suddenly likely more expensive than Amazon now? Whoa, when did that happen haha. Good to know!

Share this post


Link to post
Share on other sites

They're not 100% comparable.

On DO at 6 cents you get a small amount of local SSD. On Amazon at 4.8 cents, you only get EBS (although that has benefits for moving instances about.) If you want local SSD on Amazon, it's more like 10 cents, but then you get more space.

But, yeah, it turns out that this is a competitive area, and each provider is trying to squeeze prices as far down as they can. Seems like a case where free market competition works out alright for consumers 🙂

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!