<p>The three major cloud platforms you mentioned have either free trials or a free tier; these all include spending and resource caps which prevent you from spending more than your free trial allows:</p>

<h2>Azure</h2>

<p><a href="https://i.sstatic.net/qTvGA.png" rel="noreferrer"><img src="https://i.sstatic.net/qTvGA.png" alt="Azure Logo"></a></p>

<p>Azure <a href="https://azure.microsoft.com/free/" rel="noreferrer">offer £150/$200/€170 for the first one month of usage</a>, in addition many of Azure's services have a free or low cost tier:</p>

<ul>
<li>App Service Free Tier</li>
<li>SQL Azure Basic Instance @ £0.005/hour</li>
<li>Azure Machine Learning Free Tier</li>
<li>Azure Service Bus @ £0.04/million operations</li>
<li>Azure Functions @ £0.15 per million executions</li>
</ul>

<p>If you have a MSDN or Visual Stuido Online account you can also get £100/$150/€130 per month of credit just because you are a subscriber to one of these services.</p>

<p>If you are a startup you may qualify for $120,000 of Azure Credits to host your application through Microsoft's <a href="https://bizspark.microsoft.com/" rel="noreferrer">BizSpark programme</a>.</p>

<h2>Amazon Web Services</h2>

<p><a href="https://i.sstatic.net/M8E8H.png" rel="noreferrer"><img src="https://i.sstatic.net/M8E8H.png" alt="Amazon Web Services Logo"></a></p>

<p>Amazon <a href="https://aws.amazon.com/free/" rel="noreferrer">have a Free Tier</a> which includes:</p>

<ul>
<li>750 Hours of EC2 which equates to about a month of a t2.micro instance</li>
<li>750 Amazon RDS</li>
<li>5GB S3</li>
<li>250,000 AWS IoT Messages</li>
<li><a href="https://aws.amazon.com/free/" rel="noreferrer"><strong>... and more</strong></a></li>
</ul>

<p>In addition there perpetually free usage allowances on most services:</p>

<ul>
<li>AWS Lambda: 1 million free requests a month</li>
<li>DynamoDB: 25GB Storage</li>
<li>Amazon SNS: 1 million publishes</li>
<li><a href="https://aws.amazon.com/free/" rel="noreferrer"><strong>... and more</strong></a></li>
</ul>

<h2>Google Compute Platform</h2>

<p><a href="https://i.sstatic.net/pGTvw.png" rel="noreferrer"><img src="https://i.sstatic.net/pGTvw.png" alt="Google Cloud Platform"></a></p>

<p>Google offer a $300 free trial for 12 months in a similar deal to Amazon. In addition they have free usage tiers for many of their core offerings:</p>

<ul>
<li>Google App Engine: 28 instance hours / day</li>
<li>Google Cloud Database: 1GB Storage</li>
<li>Google Compute Engine: 1 f1-micro instance / month</li>
<li>Google Pub/Sub: 10GB messages / month</li>
<li>Google Cloud Functions: 10 million executions / month</li>
<li><a href="https://cloud.google.com/free/" rel="noreferrer"><strong>... and more</strong></a></li>
</ul>

<p>If all of that wasn't enough for you most of the cloud providers will compensate you in credits if you blog about their services in detail, you do have to put in a substantial effort up front and "appear" on their radar by writing blog posts, presenting at meetup and conferences but once they see you they will gladly put $100 a month towards your further learning.</p>

CC BY-SA 3.0
2017-04-24T15:15:28.693Z
2017-04-25T19:09:48.563Z
2017-04-25T19:09:48.563Z
Richard Slater
<p>There are quite a few services that offer 'free tiers' of some description to help new developers get started with a cloud platform without the cost you've mentioned.</p>
<p><a href="https://aws.amazon.com/free/" rel="noreferrer">AWS</a> have quite a generous free tier:</p>
<blockquote>
<h2>Always Free</h2>
<ul>
<li>1 million free Lambda requests/month</li>
<li>25 GB of DynamoDB storage</li>
<li>20,000 free requests to the AWS Key Management Service</li>
<li>1 million requests to Amazon SQS</li>
<li>various other services</li>
</ul>
<h2>12 Months Free</h2>
<ul>
<li>750 hours of EC2 computing time (t2.micro)</li>
<li>5 GB of Amazon S3 storage</li>
<li>250,000 messages on AWS IoT</li>
<li>various others</li>
</ul>
</blockquote>
<p>Azure offer US$200 (or £150) of <a href="https://azure.microsoft.com/en-gb/offers/ms-azr-0044p/" rel="noreferrer">free credit</a> to use <em>in any way you like</em> within one month (but they expire after a month):</p>
<blockquote>
<p>You receive £150 of Azure credits with the Free Trial. The choice is now yours as to how you use your Azure credits. Use them on any Azure service based on your needs, including, Virtual Machines, Websites, Cloud Services, Mobile Services, Storage, SQL Database, Content Delivery Network, HDInsight, Media Services and many more.</p>
<p>Use the pricing calculator to estimate how much you could use with £150 of Azure credits. Here are a few usage scenarios that consume no more than £150 per month:</p>
<ul>
<li>Running 2 small Virtual Machine instances for the entire month, or</li>
<li>Storing 800 GB of data in Storage, or</li>
<li>Developing and testing a web application using Cloud Services, with 3 web roles and 2 worker roles on medium instances, for 10 hours a day, 5 days a week, or</li>
<li>Running two S2 SQL databases for the entire month</li>
</ul>
</blockquote>
<p><a href="https://cloud.google.com/free/" rel="noreferrer">Google Cloud give 12 months with $300 of credit, and have some services which are 'always free'</a>, broadly similar to Amazon's offering.</p>
<p>If you're careful about your timing, you could also use a <a href="https://aws.amazon.com/ec2/spot/" rel="noreferrer">spot instance</a> (but <a href="https://devops.stackexchange.com/questions/893/why-is-the-aws-ec2s-spot-price-greater-than-the-on-demand-price">be careful that you're not paying more than the on-demand price!</a>). Since spot instances can be terminated at any time if you're outbid, they may not be ideal for learning, as you might not be able to use the service exactly when you want it, but they are often <em>far</em> cheaper.</p>
<p>Students can also claim <em>&quot;up to $110 in bonus AWS credits for a total of $75-$150&quot;</em> with the <a href="https://education.github.com/pack" rel="noreferrer">GitHub Student Developer Pack</a>. Perhaps worth checking if your favourite cloud service has similar offers if you're eligible!</p>

CC BY-SA 3.0
2017-04-24T15:05:00.147Z
2017-04-24T15:05:00.147Z
2020-06-18T08:28:10.803Z
Aurora0001
<h1>Emulate the cloud on your own hardware</h1>
<p>Doing anything substantial with the free tier is challenging.  But you probably have some hardware lying around that you can build your own minicloud on.  If you need more memory you can dig through your junk drawer.  If you build something serious there's some chance you'll decide to buy more hardware, but that is less risky than needing to pay $$$ monthly to AWS to keep your doors open.</p>
<h2>LocalStack</h2>
<p><img src="https://lh3.googleusercontent.com/l53T-4YBcqSzenbQBJ_nVt-snFJi99i7yHTobRQogw=s630-fcrop64=1,1fff0ff1dfb6f00d" alt="LocalStack logo" /></p>
<p><a href="https://github.com/localstack/localstack" rel="nofollow noreferrer">LocalStack</a> spins up local emulators of a slew of AWS-style services:</p>
<blockquote>
<ul>
<li>API Gateway at http://localhost:4567</li>
<li>Kinesis at http://localhost:4568</li>
<li>DynamoDB at http://localhost:4569</li>
<li>DynamoDB Streams at http://localhost:4570</li>
<li>Elasticsearch at http://localhost:4571</li>
<li>S3 at http://localhost:4572</li>
<li>Firehose at http://localhost:4573</li>
<li>Lambda at http://localhost:4574</li>
<li>SNS at http://localhost:4575</li>
<li>SQS at http://localhost:4576</li>
<li>Redshift at http://localhost:4577</li>
<li>ES (Elasticsearch Service) at http://localhost:4578</li>
<li>SES at http://localhost:4579</li>
<li>Route53 at http://localhost:4580</li>
<li>CloudFormation at http://localhost:4581</li>
</ul>
</blockquote>
<p>It is completely open-source and it seems like Atlassian is putting a lot of engineering effort into keeping it current.</p>
<h2>AppScale</h2>
<p><img src="https://i.sstatic.net/El7Us.png" alt="AppScale logo" />
<sub>(source: <a href="https://jujucharms.com/_icon/120/appscale.png" rel="nofollow noreferrer">jujucharms.com</a>)</sub></p>
<p><a href="https://www.appscale.com/community/what-is-appscale/" rel="nofollow noreferrer">AppScale</a> can help you emulate the Google cloud:</p>
<blockquote>
<p>AppScale is an open-source cloud computing platform that automatically deploys and scales unmodified Google App Engine applications over public and private cloud systems and on-premise clusters. AppScale is modeled on the App Engine APIs and has support for Python, Go, PHP and Java applications.</p>
</blockquote>
<blockquote>
<p>AppScale is supported and maintained by AppScale Systems, in conjunction with Google.</p>
</blockquote>
<h2>Eucalyptus</h2>
<p><a href="https://en.wikipedia.org/wiki/Eucalyptus_(software)" rel="nofollow noreferrer">Eucalyptus</a> has been around for a bit longer and it has free and paid features.  It supports emulating EC2, S3, and IAM.</p>

CC BY-SA 3.0
2017-04-25T17:55:59.820Z
While interesting,  even in a company with roughly 600 vms on premise, I can't spin up things for playing out of a project and there's no available hardware (reselled to a broker). I don't think a student can run most of those things for learning on them.
Tensibai
CC BY-SA 3.0
2017-04-25T17:57:12.980Z
Maybe so, but avoiding a huge bill can motivate people to do amazing things.
chicks
CC BY-SA 3.0
2017-04-25T18:05:40.250Z
By experience,  the raw (hardware) on premise cost is higher than same end usage vm on aws to get equivalent performances. I'm talking about cost only and not taking in account financial optimization for hardware on premise.
Tensibai
CC BY-SA 3.0
2017-04-26T03:59:09.863Z
You may want to add to the list [AppScale](https://www.appscale.com/community/what-is-appscale/), specifically for running Google App Engine apps.
Dan Cornilescu
CC BY-SA 3.0
2017-04-26T04:04:01.640Z
You should also add a note specifically underlying that such emulation should NOT be used to collect performance or scalability data points (in the vast majority of cases).
Dan Cornilescu
CC BY-SA 3.0
2017-04-26T04:57:47.407Z
Thanks Dan.  I got AppScale added.  Feel free to edit that section to explain them better.
chicks
CC BY-SA 4.0
2017-04-25T17:43:25.130Z
2021-04-26T00:24:19.327Z
2021-04-26T00:24:19.327Z
chicks
<p>They are intentionally confusing. Scott Adams coined the term &quot;confusopoly&quot; to describe payment structures so complex that it's impossible to compare two things like for like. Phone tariffs are a great example.</p>
<p>Having recently rolled out some cloud-based infra at my org, the advice I'd give is:</p>
<ol>
<li>Start tiny and scale up.</li>
<li>Monitor your costs at each step of the way.</li>
</ol>

CC BY-SA 4.0
2021-04-20T10:55:12.527Z
2021-04-20T10:55:12.527Z
JohnFF
<p>Turn things off when you are not using them. Tools like www.parkmycloud.com are very helpful.</p>

CC BY-SA 3.0
2017-04-25T17:57:34.457Z
That's maybe an interesting service,  how does it work?  What's the cost?
Tensibai
CC BY-SA 3.0
2017-04-25T13:59:26.947Z
2017-04-25T13:59:26.947Z
AndyR
<p>Cloud technologies are very hot right now, but they can be expensive.  What are the best strategies for learning/trying cloud services without racking up a huge bill?</p>

CC BY-SA 3.0
2017-04-25T17:44:41.613Z
https://www.usenix.org/conference/hotcloud17 Yes, "very hot."
chicks
CC BY-SA 3.0
2017-04-25T21:44:04.033Z
Scan github for checked in access keys! Jokes, please dont do this.
Henry
<amazon-web-services><azure><cloud>
How can I experiment with Cloud (Azure, AWS, Google, etc) without going broke?
Dave Swersky
# How can I experiment with Cloud (Azure, AWS, Google, etc) without going broke?

(Asked by: username_0 on 2017-04-24)

Cloud technologies are very hot right now, but they can be expensive. What are the best strategies for learning/trying cloud services without racking up a huge bill?

**Tags:** amazon-web-services, azure, cloud

> **Comments:**
> **username_1**: https://www.usenix.org/conference/hotcloud17 Yes, "very hot."  
> **username_2**: Scan github for checked in access keys! Jokes, please dont do this.  

---

## 5 answers

### Answer by username_3 on 2017-04-24. Score: 20 | Accepted answer

The three major cloud platforms you mentioned have either free trials or a free tier; these all include spending and resource caps which prevent you from spending more than your free trial allows:

## Azure

[![Azure Logo](https://i.sstatic.net/qTvGA.png)](https://i.sstatic.net/qTvGA.png)

Azure [offer £150/$200/€170 for the first one month of usage](https://azure.microsoft.com/free/), in addition many of Azure's services have a free or low cost tier:

* App Service Free Tier
* SQL Azure Basic Instance @ £0.005/hour
* Azure Machine Learning Free Tier
* Azure Service Bus @ £0.04/million operations
* Azure Functions @ £0.15 per million executions

If you have a MSDN or Visual Stuido Online account you can also get £100/$150/€130 per month of credit just because you are a subscriber to one of these services.

If you are a startup you may qualify for $120,000 of Azure Credits to host your application through Microsoft's [BizSpark programme](https://bizspark.microsoft.com/).

## Amazon Web Services

[![Amazon Web Services Logo](https://i.sstatic.net/M8E8H.png)](https://i.sstatic.net/M8E8H.png)

Amazon [have a Free Tier](https://aws.amazon.com/free/) which includes:

* 750 Hours of EC2 which equates to about a month of a t2.micro instance
* 750 Amazon RDS
* 5GB S3
* 250,000 AWS IoT Messages
* [**... and more**](https://aws.amazon.com/free/)

In addition there perpetually free usage allowances on most services:

* AWS Lambda: 1 million free requests a month
* DynamoDB: 25GB Storage
* Amazon SNS: 1 million publishes
* [**... and more**](https://aws.amazon.com/free/)

## Google Compute Platform

[![Google Cloud Platform](https://i.sstatic.net/pGTvw.png)](https://i.sstatic.net/pGTvw.png)

Google offer a $300 free trial for 12 months in a similar deal to Amazon. In addition they have free usage tiers for many of their core offerings:

* Google App Engine: 28 instance hours / day
* Google Cloud Database: 1GB Storage
* Google Compute Engine: 1 f1-micro instance / month
* Google Pub/Sub: 10GB messages / month
* Google Cloud Functions: 10 million executions / month
* [**... and more**](https://cloud.google.com/free/)

If all of that wasn't enough for you most of the cloud providers will compensate you in credits if you blog about their services in detail, you do have to put in a substantial effort up front and "appear" on their radar by writing blog posts, presenting at meetup and conferences but once they see you they will gladly put $100 a month towards your further learning.


---

### Answer by username_1 on 2017-04-25. Score: 14

# Emulate the cloud on your own hardware

Doing anything substantial with the free tier is challenging. But you probably have some hardware lying around that you can build your own minicloud on. If you need more memory you can dig through your junk drawer. If you build something serious there's some chance you'll decide to buy more hardware, but that is less risky than needing to pay $$$ monthly to AWS to keep your doors open.

## LocalStack

![LocalStack logo](https://lh3.googleusercontent.com/l53T-4YBcqSzenbQBJ_nVt-snFJi99i7yHTobRQogw=s630-fcrop64=1,1fff0ff1dfb6f00d)

[LocalStack](https://github.com/localstack/localstack) spins up local emulators of a slew of AWS-style services:

> * API Gateway at http://localhost:4567
> * Kinesis at http://localhost:4568
> * DynamoDB at http://localhost:4569
> * DynamoDB Streams at http://localhost:4570
> * Elasticsearch at http://localhost:4571
> * S3 at http://localhost:4572
> * Firehose at http://localhost:4573
> * Lambda at http://localhost:4574
> * SNS at http://localhost:4575
> * SQS at http://localhost:4576
> * Redshift at http://localhost:4577
> * ES (Elasticsearch Service) at http://localhost:4578
> * SES at http://localhost:4579
> * Route53 at http://localhost:4580
> * CloudFormation at http://localhost:4581

It is completely open-source and it seems like Atlassian is putting a lot of engineering effort into keeping it current.

## AppScale

![AppScale logo](https://i.sstatic.net/El7Us.png)
(source: [jujucharms.com](https://jujucharms.com/_icon/120/appscale.png))

[AppScale](https://www.appscale.com/community/what-is-appscale/) can help you emulate the Google cloud:

> AppScale is an open-source cloud computing platform that automatically deploys and scales unmodified Google App Engine applications over public and private cloud systems and on-premise clusters. AppScale is modeled on the App Engine APIs and has support for Python, Go, PHP and Java applications.

> AppScale is supported and maintained by AppScale Systems, in conjunction with Google.

## Eucalyptus

[Eucalyptus](https://en.wikipedia.org/wiki/Eucalyptus_(software)) has been around for a bit longer and it has free and paid features. It supports emulating EC2, S3, and IAM.

> **Comments:**
> **username_5**: While interesting,  even in a company with roughly 600 vms on premise, I can't spin up things for playing out of a project and there's no available hardware (reselled to a broker). I don't think a student can run most of those things for learning on them.  
> **username_1**: Maybe so, but avoiding a huge bill can motivate people to do amazing things.  
> **username_5**: By experience,  the raw (hardware) on premise cost is higher than same end usage vm on aws to get equivalent performances. I'm talking about cost only and not taking in account financial optimization for hardware on premise.  
> **username_6**: You may want to add to the list [AppScale](https://www.appscale.com/community/what-is-appscale/), specifically for running Google App Engine apps.  
> **username_6**: You should also add a note specifically underlying that such emulation should NOT be used to collect performance or scalability data points (in the vast majority of cases).  
> **username_1**: Thanks Dan.  I got AppScale added.  Feel free to edit that section to explain them better.  

---

### Answer by username_4 on 2017-04-24. Score: 6

There are quite a few services that offer 'free tiers' of some description to help new developers get started with a cloud platform without the cost you've mentioned.

[AWS](https://aws.amazon.com/free/) have quite a generous free tier:

> ## Always Free
>
> * 1 million free Lambda requests/month
> * 25 GB of DynamoDB storage
> * 20,000 free requests to the AWS Key Management Service
> * 1 million requests to Amazon SQS
> * various other services
>
> ## 12 Months Free
>
> * 750 hours of EC2 computing time (t2.micro)
> * 5 GB of Amazon S3 storage
> * 250,000 messages on AWS IoT
> * various others

Azure offer US$200 (or £150) of [free credit](https://azure.microsoft.com/en-gb/offers/ms-azr-0044p/) to use *in any way you like* within one month (but they expire after a month):

> You receive £150 of Azure credits with the Free Trial. The choice is now yours as to how you use your Azure credits. Use them on any Azure service based on your needs, including, Virtual Machines, Websites, Cloud Services, Mobile Services, Storage, SQL Database, Content Delivery Network, HDInsight, Media Services and many more.
>
> Use the pricing calculator to estimate how much you could use with £150 of Azure credits. Here are a few usage scenarios that consume no more than £150 per month:
>
> * Running 2 small Virtual Machine instances for the entire month, or
> * Storing 800 GB of data in Storage, or
> * Developing and testing a web application using Cloud Services, with 3 web roles and 2 worker roles on medium instances, for 10 hours a day, 5 days a week, or
> * Running two S2 SQL databases for the entire month

[Google Cloud give 12 months with $300 of credit, and have some services which are 'always free'](https://cloud.google.com/free/), broadly similar to Amazon's offering.

If you're careful about your timing, you could also use a [spot instance](https://aws.amazon.com/ec2/spot/) (but [be careful that you're not paying more than the on-demand price!](https://devops.stackexchange.com/questions/893/why-is-the-aws-ec2s-spot-price-greater-than-the-on-demand-price)). Since spot instances can be terminated at any time if you're outbid, they may not be ideal for learning, as you might not be able to use the service exactly when you want it, but they are often *far* cheaper.

Students can also claim *"up to $110 in bonus AWS credits for a total of $75-$150"* with the [GitHub Student Developer Pack](https://education.github.com/pack). Perhaps worth checking if your favourite cloud service has similar offers if you're eligible!


---

### Answer by username_7 on 2021-04-20. Score: 0

They are intentionally confusing. Scott Adams coined the term "confusopoly" to describe payment structures so complex that it's impossible to compare two things like for like. Phone tariffs are a great example.

Having recently rolled out some cloud-based infra at my org, the advice I'd give is:

1. Start tiny and scale up.
2. Monitor your costs at each step of the way.


---

### Answer by username_8 on 2017-04-25. Score: 0

Turn things off when you are not using them. Tools like www.parkmycloud.com are very helpful.

> **Comments:**
> **username_5**: That's maybe an interesting service,  how does it work?  What's the cost?  

---

