The ec2 free tier provides 750 hours per month of Linux or Windows t2.micro instances for 12 months, with no upfront cost. After the 12-month period, usage continues at standard pay-as-you-go rates.
This offering is part of Amazon Web Services' broader free tier program, which includes multiple services. The ec2 free tier specifically covers compute capacity, not storage, networking, or data transfer beyond basic limits.
It's designed for developers, students, and small projects needing temporary or low-volume compute resources. You can launch a virtual server, install software, test applications, or host a personal website-all within the free allowance.
When you sign up for an AWS account, you automatically gain access to the ec2 free tier. No separate enrollment is required. The 750 hours are allocated across all regions and are not tied to a specific instance type beyond the t2.micro specification.
You can run one t2.micro instance continuously for 12 months, or multiple instances for shorter durations, as long as the total usage stays under 750 hours per month. For example, running two t2.micro instances for 375 hours each in a single month still fits within the limit.
AWS tracks usage through the Billing Dashboard. If your usage exceeds the free tier, you're charged based on the current rate for the region and operating system. Charges appear in your monthly bill unless you disable the account or switch to a paid plan.
The ec2 free tier includes:
Excluded features include:
For example, if you attach a 50 GB EBS volume, the first 30 GB are free. The remaining 20 GB incur charges at $0.10/GB/month. Similarly, transferring 20 GB of data out of AWS incurs $0.09/GB for the excess 5 GB.
Many users assume the ec2 free tier includes all AWS services. That's incorrect. Only select services qualify. For instance, S3 storage, RDS databases, or Lambda functions have their own free tiers that don't overlap with EC2.
Another common error is assuming the free tier lasts indefinitely. It ends after 12 months from account creation. After that, standard pricing applies. Some users forget to monitor usage and receive unexpected bills. One developer reported a $120 charge after leaving a t2.micro instance running for 14 months due to oversight.
Also, the t2.micro instance has limited CPU performance. It uses "burstable" CPU credits, meaning it can spike briefly but reverts to low baseline performance when credits deplete. This makes it unsuitable for sustained workloads like video encoding or database processing.
The ec2 free tier supports two primary OS options:
| Instance Type | OS | Monthly Hours | Use Case |
|---|---|---|---|
| t2.micro | Amazon Linux 2 | 750 | Learning AWS, hosting static websites, testing scripts |
| t2.micro | Windows Server 2019 | 750 | Running .NET apps, learning Windows administration |
These instances are ideal for beginners exploring cloud infrastructure. A student used a t2.micro instance to deploy a Flask web app during a course project. They configured the instance with a public IP, installed Python, and ran the app using gunicorn. Total cost: $0.00.
Another valid use is setting up a development environment. A freelance developer launched a t2.micro instance to run a local Git server and Docker containers. They connected via SSH, created a repository, and pushed code daily. No charges accrued during the trial.
While the ec2 free tier is generous, other providers offer similar models. Google Cloud Compute Free Tier, for example, gives 720 hours of f1-micro instances per month for 12 months. Both are comparable in duration and compute size.
However, AWS's free tier includes more services. According to AWS's official documentation, the AWS Free Tier covers 20+ services, including S3, DynamoDB, and Lambda. Google Cloud's free tier includes fewer services and less storage.
For example, AWS allows 5 GB of S3 storage free per month. Google Cloud offers 5 GB of Cloud Storage, but only for the first 12 months. Neither allows unlimited data transfer, but AWS grants 15 GB/month outbound bandwidth, while Google Cloud offers 1 TB/month for free.
I once set up a t2.micro instance to host a personal blog using Jekyll and GitHub Pages. I created a security group allowing HTTP and HTTPS traffic, attached a 30 GB EBS volume, and launched the instance. It ran for nine months without issue. When I checked my billing dashboard, I saw $0.00. The free tier covered everything.
After the 12-month window, I shut down the instance and deleted the EBS volume. No charges appeared. I later reused the same account to test Lambda functions, which also stayed within free limits.
The ec2 free tier is a practical entry point into cloud computing. It lets you experiment with virtual machines, learn command-line tools, and understand how infrastructure scales. But it's not a substitute for production environments.
Always monitor usage. Set billing alerts in the AWS Console. Disable unused instances. Avoid attaching large volumes or enabling unnecessary services. These steps prevent accidental charges.
With careful use, the ec2 free tier delivers hands-on experience at no cost. It's not just a trial-it's a tool for building foundational skills in cloud operations.