The Free Stack – Running Your Application for Free on AWS
That&#x27;s a rather misleading title.  More like, Running Your Application for Free on AWS for the first 12 months (and then $20&#x2F;mo after...)<p>I&#x27;m obsessive about optimizing cost on cloud platforms.  I tend to make many, small hobby&#x2F;experimental&#x2F;etc projects.  So I&#x27;ve long needed to find every way I can to ensure the costs for these projects remains small.  $20&#x2F;month is fine for a single project, but 20 projects?  Yeah...<p>I know a lot people just look at cloud service pricing from the perspective of a startup.  But I can&#x27;t be the only one who uses cloud services for small, hobby&#x2F;experimental&#x2F;etc projects.  So perhaps my insights will be helpful.<p>TL;DR: Use Google Cloud.  App Engine Standard if you can.<p>When it comes to cost at small and medium scale, it&#x27;s _really_ hard to beat Google Cloud.  Check their Always Free tier: <a href="https:&#x2F;&#x2F;cloud.google.com&#x2F;free&#x2F;" rel="nofollow">https:&#x2F;&#x2F;cloud.google.com&#x2F;free&#x2F;</a>  That&#x27;ll cover pretty much everything you need for small scale projects.  You can grab a tiny VM, some Storage, some Datastore, all for the low, low price of $0&#x2F;mo &quot;forever&quot;.  On top of that I&#x27;ve found their service pricing to either be on-par with AWS, cheaper, or if it isn&#x27;t cheaper it&#x27;s more granular than AWS so your off-the-lot prices end up cheaper anyway.  For example AWS&#x27;s managed NoSQL service requires you to allocate processing bandwidth up-front, which means there is a minimum cost no matter how little you use.  Gcloud&#x27;s is just charged based on usage.  Don&#x27;t use it?  It&#x27;s free.<p>Azure is interesting and has _some_ always free tier like Google Cloud.  Their prices have come down a _lot_ in the past few years.  They&#x27;re worth a look if you haven&#x27;t checked in awhile.  But they&#x27;re still up-and-coming in a lot of ways.  E.g. their Container Registry is charged by how much disk you&#x27;ve allocated, rather than how much you&#x27;ve used.  GCloud CR charges based only on usage, and gets roped into your Storage usage so it&#x27;s part of the Always Free tier.<p>Gcloud&#x27;s App Engine Standard Environment is a _beast_ for cost optimization.  If you can fit your project into an App Engine + Datastore shaped hole, your project will absolutely, no strings attached, cost _nothing_ at the small scale.  And when your project suddenly gets rocket fuel, it&#x27;ll scale automatically with no effort on your part at reasonable cost.<p>(Do not even look at Flexible Environment.  Its pricing is ludicrous.)<p>The BIG CAVEAT to Google Cloud is the usual Google failings.  Their services tend to be unreliable (not the case for App Engine), their customer support is atrocious, their automated systems may randomly ban you and nuke your projects, and they may increase service pricing 25x with short notice when you least expect it.<p>I can&#x27;t emphasize those caveats enough.  Tread carefully.  I&#x27;m sure others will chime in with their horror stories for AWS&#x2F;Azure&#x2F;etc.  But Gcloud comes up on the HN news feed more often than the other cloud providers for a reason.<p>(This is all for people who want general cloud infrastructure.  If you just need servers, there&#x27;s of course the usual Vultr, et. al. with just low cost VMs.)<p>EDIT: For reference, I&#x27;m currently running some 12 or so small, personal projects in Gcloud right now.  Some are &quot;dead&quot; projects, others are actively used by myself, and a rare few are used actively by a small user base.  My monthly costs for all those projects is currently ~$1&#x2F;mo all-in.  A lot of that stuff lives on App Engine, which means I&#x27;ve had to do no maintenance on them in ... well some of them have been their for _years_ now without me touching them.<p>One of my previous companies transitioned from AWS to Gcloud for cost reasons.  That move cut the cloud expenses down to 25% of what they were, and also enabled us to add new features (because it was not possible to deploy them to AWS without it costing absurd amounts of money).  But I&#x27;ll also note that the transition was incredibly painful due to Gcloud&#x27;s various failings [luckily foisted on one of my new hire&#x27;s who enjoyed the learning experience].