Module 4 - AWS

Lab 1: IAM Hands-On – Create a Secure IAM User

  • How do you create an IAM user named dev-user with console access?

  • How do you create an IAM group with AdminAccess and add the user to it?

  • How do you enable MFA for the user?

  • How do you sign in using the new user?

  • Can the user successfully create an EC2 instance?


Lab 2: EC2, AMI, AWS CLI – Launch a Web Server

  • How do you launch an EC2 instance using Amazon Linux 2 (t2.micro)?

  • How do you SSH into the EC2 instance?

  • How do you install and start Apache?

  • How do you create a simple webpage and access it through the EC2 public IP?

  • How do you create an AMI from the EC2 instance?

  • How do you launch a new instance using that AMI?


Lab 3: ELB + Auto Scaling – Self-Healing Web Server

  • How do you use the AMI created in Lab 2 to build a scalable setup?

  • How do you create a Target Group?

  • How do you create an Application Load Balancer?

  • How do you create a Launch Template using the AMI?

  • How do you create an Auto Scaling Group (desired = 1, max = 2)?

  • What happens when you manually terminate the instance—does ASG replace it?

  • Can you access the application via the ALB DNS?


Lab 4: VPC Hands-On – Public Subnet EC2

  • How do you create a new VPC (10.0.0.0/16)?

  • How do you create a public subnet (10.0.1.0/24)?

  • How do you create and attach an Internet Gateway?

  • How do you update the route table to allow Internet access?

  • How do you launch an EC2 instance inside the public subnet with a public IP?

  • Can you SSH into the instance successfully?


Lab 5: S3 Static Website – Host a Simple HTML Page

  • How do you create an S3 bucket?

  • How do you enable Static Website Hosting?

  • How do you upload index.html?

  • How do you make the bucket public using a bucket policy?

  • Can you access the website using the S3 URL?


Lab 6: Storage Project – EBS, EFS, FSx Basics

EBS

  • How do you create and attach an EBS volume to EC2?

  • How do you format it using XFS?

  • How do you mount it to a directory?

EFS

  • How do you create an EFS filesystem?

  • How do you create mount targets in subnets?

  • How do you mount EFS on two EC2 instances?

  • Can you verify shared storage by creating a file on one instance and viewing it on the other?


Lab 7: Databases – RDS MySQL & DynamoDB

RDS MySQL

  • How do you launch an RDS MySQL instance?

  • How do you connect to the database using MySQL Workbench?

  • How do you create a table, insert data, and query it?

DynamoDB

  • How do you create a DynamoDB table with UserId as the partition key?

  • How do you insert items?

  • How do you query data in DynamoDB?


Lab 8: Route53 + CloudFront – Global Website

  • How do you use your S3 static website from Lab 5 as a CloudFront origin?

  • How do you create a CloudFront distribution?

  • How do you add a custom domain using CNAMEs?

  • How do you request a free SSL certificate using ACM?

  • How do you create a Route53 record pointing to CloudFront?


Lab 9: Serverless – Lambda + API Gateway (Hello World API)

  • How do you create a Lambda function with a simple “Hello from Lambda” response?

  • How do you create an API Gateway HTTP API?

  • How do you connect Lambda to the API Gateway?

  • How do you deploy and test the API URL?


Lab 10: CI/CD – Deploy HTML to S3 Automatically

    • How do you prepare and upload your website files to a source repository (GitHub, S3, or ZIP upload)?

    • How do you create a CodeBuild project to build/prepare the website artifacts?

    • How do you build a CodePipeline with:

      • Source: GitHub / S3 / local ZIP

      • Build: CodeBuild

      • Deploy: S3

    • How do you trigger the pipeline and confirm that the website is successfully deployed?

Last updated