Jump to content
Sign in to follow this  
  • entries
    5
  • comments
    3
  • views
    1240

General Why Troll Purse Migrated to AWS

Martin H Hollstein

1331 views

Originally posted on Troll Purse Dev Blog

Recently, Troll Purse made the decision to migrate from the cloud in Digital Ocean to Amazon Web Services for cloud and website services. There were several reasons behind this critical decision. These reasons are infrastructure, flexibility, and future plans.

aws-v-do.png

Infrastructure

Digital Ocean has a nice setup. They have a slick looking User Interface, easy to find services, and awesome community driven documentation. Troll Purse quite liked Digital Ocean if not for a few issues regarding infrastructure in comparison to Amazon Web Services (AWS).

Cost

Digital Ocean was not overly expensive. However, their base monthly rate ($5 / month + $1 / month for backups), was still higher than hosting a static website on AWS. This is because, to host a static website and blog, Digital Ocean achieves this via Droplets. This does not scale the wallet very well - especially if traffic started to boom. Digital Ocean only offers referral bonuses. So, if we were famous - we could potentially host everything for free. Big gamble at this moment.

AWS charges $0.50 / month forRoute 53 (DNS Name Servers) and a variable cost for S3 storage of our static website content. Based on traffic trends, the variable costs of AWS were a huge benefit. Finally, it helps that AWS offers a full year of various resources for free.

Continuous Delivery

Digital Ocean had a lot of APIs for Continous Delivery of our website, but it didn't offer a full suite of solutions for proper Developer Operations. Digital Ocean would require a lot of extra Developer Operations overhead writing build and deployment scripts using their APIs. AWS integrates with Bitbucket and Github - two services we use for source control. AWS also offers managed build and deployment services that Troll Purse will be leveraging.

Architecture

Digital Ocean is limited to Droplets. This pales in comparison to AWS's robust EC2, ECS, or serverless services. In AWS, Troll Purse can decouple services and code for various solutions. To do the same distributed computing in Digital Ocean as Troll Purse is enabled to do in AWS would require a significant investment in architecting infrastructure. In AWS, this is vastly done for Troll Purse - once an architecture is designed, only configuration of the services need to be done.

With Digital Ocean, Troll Purse had to setup an Nginx server for serving static website content. It did not scale well (without more invested time in building an architecture and more configurations) as all content was stored on that server. In AWS, Troll Purse can distribute web content using Cloud Front for CDN and server static content from S3. Totally serverless and decoupled from the blogging platform and the forum servers (the latter is yet to be deployed).

Flexibility

In Digital Ocean it was difficult to manage servers and logical groupings of services. AWS offers tagging of resources and services to help better monitor health, costs, and grouping of application services built and provided by Troll Purse.

Unfortunately, Digital Ocean does not offer the robust services and infrastructure needed for a company built with development speed in mind. A lot of services need to be hand crafted, as well as servers. This slows development efforts and makes iterative development a nightmare. Using small, simple services each with a specific purpose in mind, Troll Purse is better able to develop an experiment based on the offerings provided by AWS.

Digital Ocean only provides five real services, Compute, Object Storage, Block Storage, Networking, and Monitoring. Each of these are small in comparison to comparable AWS services such as Compute Services (ECS or EC2), Storage, Virtual Private Cloud (Networking), and Cloud Watch (Monitoring). In AWS each of those services / categories work with each other or are umbrellas to a myriad of other flexible offerings.

Finally, AWS has way more to offer - just take a look!

Future Plans

After much discussion, Troll Purse concluded our future development needs will be implemented faster and scale naturally in AWS over Digital Ocean. While we enjoyed our brief experience with Digital Ocean, we are excited to build using AWS as our cloud and hosting provider.

While we do not plan to build anything with Lumberyard now, we have some exciting projects that will easily leverage the power of AWS. Such projects are backend analytics of our games using Amazon API Gateway, Lambda, and data services. We also hope to build an integrated environment so that each game shares common interfaces into our development and publishing environment. 

Conclusion

While this blog post is mostly given as an explanation of our tactical decision to migrate to AWS, Troll Purse hopes it will serve as guidance to future developers facing the same decisions. We found that AWS provides a lot for small and large companies when it comes to infrastructure, flexibility, and accommodating future plans.

Originally posted on Troll Purse Dev Blog



3 Comments


Recommended Comments

Thanks for sharing your experience!

Did you consider any other options (such as Google's services) or just Digital Ocean and AWS?

I'd be interested to hear why other options were discarded if any were considered. :)

Share this comment


Link to comment
4 hours ago, jbadams said:

Thanks for sharing your experience!

Did you consider any other options (such as Google's services) or just Digital Ocean and AWS?

I'd be interested to hear why other options were discarded if any were considered.

No problem jbadams! Always glad to help. 

I had looked into Google cloud services, but the lack of community and, what seemed to me features for the cost, turned me off. It may have also hurt that configuration for service integration in Google cloud seemed wonky at best ( I had started to set up a Google Home integration service). The reason being is that there are configuration options in the console not only for Google cloud, but also for all of their other services (Google+ for instance). This made it feel like a management nightmare.

I have experience in Azure, but I found it too rigid. If I was planning on going full Windows Stack, I may have actually gone with Azure. But, from past experience, the simple act of running the equivalent of an AMI was expensive. I actually had to shut down a repo server due to the overwhelming cost. I had also deployed a game out to Azure as well . It still runs but I found managing infrastructure a nightmare in Azure.

AWS was a natural fit (disclaimer: I have since become a certified Solutions Architect) for what I wanted to achieve. Fast iterations of cloud infrastructure, simple UI on the web and a sensible CLI. From previous experience, I had deployed a defunct game and editor to AWS back in 2013/2014. That was the smoothest and most straight forward experience I had with cloud infrastructure.

Now, I do find AWS great, but one thing that peeves me off right now is the lack of Dev Ops for Windows builds. I really want to use CodeBuild, CodeCommit, CodeDeploy (might as well as use CodePipeline at that) to start deploying and distributing ALL of my game builds in UE4. However, at this point, I will have to provision an AMI to build Windows, which means deploying a CI tool as well (such as Jenkins).

 

I hope you find that information useful. If you have any other questions, feel free to ask! I really enjoy conversation and feedback.

Share this comment


Link to comment

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
  • Advertisement
  • Blog Entries

  • Similar Content

    • By pseudomarvin
      I want to distributy a game I've made as a simple self extracting zip file. After extraction, the structure should look like this:
      MyGame (shortcut to MyGame/Release/MyGame.exe) MyGame (folder)  --- /assets (folder) --- / Release (folder)       --- MyGame.exe I have already managed to make the shortcut point to the relative path of MyGame.exe by setting its target as: %windir%\explorer.exe "MyGame\Release\MyGame.exe". But I would also like to set its icon from a file in the assets folder in a relative way so that upon extracting on a different PC,
      the icon is already set. Is this possible? Or how is it usually done?
    • By Yoshirouuu
      I don’t know if I’m allowed ask this, so direct me to the right forum if I’m wrong please! I have an lcvp class and we need to interview someone in the line of work we want to go into, so I have some questions if anyone would like to answer :)
      My discord is @Yoshirouuu#7378 if you can’t answer here.
      What studio do you work for? What is the starting Salary?  What do you enjoy about the job? What are the working hours? Is there much overtime? How much are you paid for overtime? What games have you worked on? What do you dislike about your job? What type of work is involved? What happens in a typical day? How did you get the job? (College course, Qualifications etc) When you got your job did you have to learn anything? (Programming language, applications?) Is there many opportunities for promotions?  What days do you work? How many holidays are you allowed? Is there opportunity for travel in your job? Are there specific rules in your job? (Uniform?) What other areas/studios do you work with? Do you deal with public often? What is your favourite part about working on a game? Does your job have any benefits? Is there ever any conflicts or arguments? Were you able to make friends quickly? Thanks very much!
    • By dandoherty94
      Hi all,
      I'm looking for a career change as the job that i currently do is neither a passion or something that i really want to be doing for the rest of my life. I would ideally like to begin a career in the gaming industry as like most others i have a strong passion for gaming and all things related. I have been looking into a junior test analyst QA job and was wondering if this is the correct place to start. I'm a dedicated worker so don't mind working my way up and I love being hands on with things. I was wondering if anyone had any advice regarding this or how i can go about gaining experience in this field to give myself the best chance. I'm more than willing to do either weekend work or free work to get my foot in the door so if there is any advice or help anyone could give me that would be great. 
      Thanks for reading,
      Dan 
    • By Adeilton Alves
      Hello everyone, I'm new here and sorry if this isn't the right place to ask but i asked in a few forums around the internet and no one yet help with it.. I'm have been trying to mod this game for years, but I still stuck with the raw files from RACJIN games, 
      Raw Files [ Mod edit: Removed ]
      I would like to identify the compression algorithm used to compress these files so that they can be decompressed and analyzed.

      Game : Naruto Uzumaki Chronicles 2... A.K.A Naruto Konoha Spirits in Japan.
    • By MakeIndieGreatAgain
      Game developers will be able to become pioneers in the development of decentralized games for the gambling industry using DAO.Casino protocol.
      On September 17, 2018, DAO.Casino is opening Sandbox for developers, independent teams and game development studios that choose to harness the power of the rapidly developing DApp industry.
      Starting today everyone may submit their application for Sandbox on the official Sandbox page.
      The Sandbox project is designed by DAO.Casino developers. Participants of Sandbox will learn the basics of decentralized applications development on DAO.Casino protocol. Developers participating in Sandbox will learn to create, design and deploy decentralized games and applications on Ethereum blockchain.
      DAO.Casino is planning to reward most active developers for their constructive feedback on the improvement and optimization of the SDK and related documentation. The company will separately announce the details of the rewards program later this fall.
      “We are confident that the Sandbox project will play an important role in our collaboration with studios and independent game developers. We cannot wait to see our product helping developers unleash their creative and entrepreneurial talents and apply those to one of the most groundbreaking technologies of the XXI century. — states Ilya Tarutov, CEO, DAO.Casino. – I am sure that the products we’re developing will transform the online gambling into a fair and transparent industry for all of the involved parties: casino operators, developers, and affiliate marketers. “
      “We are launching the Sandbox with the goal of enabling as many developers as possible to learn to create decentralized games. We have achieved an important milestone by starting to accept applications from developers all around the world who share our idea to make online gambling fair and transparent. With our technology, developers can take the whole gambling industry to the next level” – says Alexandra Fetisova from DAO.Casino.
      DAO.Casino is disrupting the online gambling industry by developing the protocol based on Ethereum blockchain technology. The protocol ensures the automation of transactions and facilitates interactions between all the industry participants: casino operators, game developers, and affiliate marketers. DAO.Casino team is fully dedicated to developing the best products and making the gambling industry a better place.

      View full story
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!