Bird
Raised Fist0
AWScloud~30 mins

AWS free tier overview - Mini Project: Build & Apply

Choose your learning style10 modes available

Start learning this pattern below

Jump into concepts and practice - no test required

or
Recommended
Test this pattern10 questions across easy, medium, and hard to know if this pattern is strong
AWS Free Tier Overview
📖 Scenario: You are starting to learn about AWS cloud services. AWS offers a free tier that lets you try some services without paying. This helps you understand how cloud resources work without cost.
🎯 Goal: Build a simple AWS resource setup that fits within the AWS free tier limits. You will create a basic EC2 instance configuration, add a storage volume, and set up a security group with minimal rules.
📋 What You'll Learn
Create an EC2 instance configuration with free tier eligible instance type
Add an EBS volume within free tier size limits
Configure a security group allowing SSH access only
Use exact variable names and values as instructed
💡 Why This Matters
🌍 Real World
This project simulates setting up basic AWS resources within the free tier limits, which is common for beginners testing cloud services without incurring costs.
💼 Career
Understanding how to configure AWS resources programmatically is essential for cloud engineers and developers working with AWS infrastructure.
Progress0 / 4 steps
1
Create EC2 instance configuration
Create a variable called ec2_instance as a dictionary with these exact keys and values: 'InstanceType': 't2.micro', 'ImageId': 'ami-0abcdef1234567890', and 'KeyName': 'my-free-tier-key'.
AWS
Hint

Use a dictionary with the exact keys and values given.

2
Add EBS volume configuration
Create a variable called ebs_volume as a dictionary with these exact keys and values: 'VolumeSize': 8 (GB), 'VolumeType': 'gp2', and 'DeleteOnTermination': True.
AWS
Hint

Remember to use the exact keys and values for the EBS volume.

3
Configure security group for SSH access
Create a variable called security_group as a dictionary with these exact keys and values: 'GroupName': 'free-tier-sg', 'Description': 'Allow SSH access', and 'IngressRules' as a list containing one dictionary with 'IpProtocol': 'tcp', 'FromPort': 22, 'ToPort': 22, and 'CidrIp': '0.0.0.0/0'.
AWS
Hint

Use a list inside the dictionary for the ingress rules with the exact keys and values.

4
Combine all configurations into a deployment dictionary
Create a variable called deployment_config as a dictionary with these exact keys and values: 'EC2Instance' set to the ec2_instance variable, 'EBSVolume' set to the ebs_volume variable, and 'SecurityGroup' set to the security_group variable.
AWS
Hint

Combine the previous dictionaries into one deployment_config dictionary.

Practice

(1/5)
1. What is the main purpose of the AWS Free Tier?
easy
A. To replace paid AWS accounts with free ones permanently
B. To provide unlimited free usage of all AWS services
C. To offer discounts on AWS services for large companies
D. To let users try AWS services without paying initially

Solution

  1. Step 1: Understand AWS Free Tier purpose

    The AWS Free Tier is designed to help new users explore AWS services without immediate cost.
  2. Step 2: Compare options with this purpose

    Only To let users try AWS services without paying initially correctly states this purpose; others describe incorrect or exaggerated features.
  3. Final Answer:

    To let users try AWS services without paying initially -> Option D
  4. Quick Check:

    AWS Free Tier = Try services free initially [OK]
Hint: Free Tier means free trial, not unlimited or permanent free [OK]
Common Mistakes:
  • Thinking Free Tier offers unlimited free usage
  • Believing Free Tier is only for big companies
  • Confusing Free Tier with permanent free accounts
2. Which of the following is a correct example of an AWS Free Tier offer?
easy
A. Unlimited storage on Amazon S3 for 6 months
B. 750 hours of Amazon EC2 t2.micro instance usage per month for 12 months
C. 1000 free Lambda invocations per day forever
D. Free Amazon RDS usage with no time limit

Solution

  1. Step 1: Recall AWS Free Tier typical offers

    A common Free Tier offer is 750 hours per month of EC2 t2.micro instance for 12 months.
  2. Step 2: Check each option against known offers

    750 hours of Amazon EC2 t2.micro instance usage per month for 12 months matches this. Options B, C, and D incorrectly state unlimited or forever free usage which is not true.
  3. Final Answer:

    750 hours of Amazon EC2 t2.micro instance usage per month for 12 months -> Option B
  4. Quick Check:

    EC2 Free Tier = 750 hours/month for 12 months [OK]
Hint: Free Tier usually limits usage by time or quantity, not unlimited [OK]
Common Mistakes:
  • Assuming Free Tier offers unlimited or forever free usage
  • Confusing daily limits with monthly limits
  • Ignoring the 12-month time limit on some offers
3. If you use 800 hours of an Amazon EC2 t2.micro instance in one month under the AWS Free Tier, what happens?
medium
A. You get a warning but no charges
B. Your instance stops automatically
C. You are charged for 50 hours of usage
D. You get unlimited free usage

Solution

  1. Step 1: Understand Free Tier usage limits

    The Free Tier allows 750 hours per month of EC2 t2.micro usage free.
  2. Step 2: Calculate excess usage charges

    Using 800 hours means 50 hours exceed the free limit, so you pay for those 50 hours.
  3. Final Answer:

    You are charged for 50 hours of usage -> Option C
  4. Quick Check:

    Usage > 750 hours = pay excess hours [OK]
Hint: Free Tier covers up to limit; extra usage costs money [OK]
Common Mistakes:
  • Thinking Free Tier stops instances automatically
  • Believing no charges occur after limit
  • Assuming unlimited free usage
4. You signed up for AWS Free Tier 13 months ago. Which statement is true about your Free Tier benefits now?
medium
A. You no longer get the 12-month Free Tier benefits
B. Your account is automatically closed
C. You get unlimited free usage on all services
D. You still get 12 months of free EC2 usage

Solution

  1. Step 1: Recall Free Tier time limits

    Most Free Tier offers last for 12 months after account creation.
  2. Step 2: Determine status after 13 months

    After 13 months, the 12-month Free Tier benefits expire, so you no longer get those free offers.
  3. Final Answer:

    You no longer get the 12-month Free Tier benefits -> Option A
  4. Quick Check:

    Free Tier 12 months expired = no more free benefits [OK]
Hint: Free Tier 12-month offers expire after 1 year [OK]
Common Mistakes:
  • Thinking Free Tier lasts forever
  • Assuming account closes automatically
  • Believing unlimited free usage continues
5. You want to use AWS Free Tier to learn about serverless computing. Which service and usage limit fits this goal best?
hard
A. Amazon Lambda with 1 million free requests per month
B. Amazon EC2 with 750 hours free per month
C. Amazon S3 with unlimited free storage
D. Amazon RDS with free multi-AZ deployments

Solution

  1. Step 1: Identify serverless computing service

    Amazon Lambda is AWS's serverless compute service.
  2. Step 2: Check Free Tier limits for Lambda

    Lambda offers 1 million free requests per month under Free Tier, ideal for learning serverless.
  3. Step 3: Compare other options

    EC2 is not serverless, S3 storage is not unlimited, and RDS multi-AZ is not free.
  4. Final Answer:

    Amazon Lambda with 1 million free requests per month -> Option A
  5. Quick Check:

    Serverless = Lambda 1M free requests [OK]
Hint: Serverless means Lambda; check its Free Tier limits [OK]
Common Mistakes:
  • Confusing EC2 with serverless
  • Assuming unlimited free storage on S3
  • Thinking RDS multi-AZ is free