๐Ÿงช Lab 1: Cloud Architecture Fundamentals (AWS)

Course: CompTIA Cloud+ CV0-004
Objective: Understand how to create and configure basic cloud infrastructure using AWS Free Tier.


๐ŸŽฏ Goals


๐Ÿ“ Part 1: Register for AWS Free Tier

Can use this as reference on how to signup: https://www.geeksforgeeks.org/amazon-web-services-aws-free-tier-account-set-up/

  1. Go to https://aws.amazon.com/free
  2. Click Create a Free Account
  3. Follow the signup instructions:
  4. Email and password
  5. Billing info (credit/debit card)
  6. Identity verification
  7. Select the Free Basic Support Plan
  8. Log in to https://console.aws.amazon.com

โœ… Checkpoint: You should now be on the AWS Management Console.


๐ŸŒ Part 2: Create a VPC with Public Subnet

  1. Navigate to VPC service โ†’ "Your VPCs" โ†’ Create VPC
  2. Name: cloudplus-vpc
  3. IPv4 CIDR: 10.0.0.0/16
  4. Leave rest as default โ†’ Create

  5. Go to Subnets โ†’ Create Subnet

  6. Name: public-subnet
  7. VPC: cloudplus-vpc
  8. AZ: e.g., us-east-1a
  9. CIDR: 10.0.1.0/24

  10. Go to Internet Gateways โ†’ Create:

  11. Name: cloudplus-igw
  12. Attach to: cloudplus-vpc

  13. Edit Route Table:

  14. Use default Route Table attached to VPC
  15. Add route: 0.0.0.0/0 โ†’ cloudplus-igw
  16. Associate with public-subnet

โœ… Checkpoint: You have a VPC with internet access via a public subnet.


๐Ÿ–ฅ๏ธ Part 3: Launch EC2 Instance

  1. Go to EC2 Dashboard โ†’ Launch Instance
  2. Name: cloudplus-ec2
  3. AMI: Amazon Linux 2023
  4. Type: t2.micro (Free Tier)
  5. Key Pair: Create new โ†’ cloudplus-key โ†’ Download .pem
  6. Network: cloudplus-vpc, Subnet: public-subnet
  7. Auto-assign Public IP: Yes
  8. Firewall: Allow SSH (port 22)

  9. Launch Instance

โœ… Checkpoint: Your instance is running with a public IP.


๐Ÿ”Œ Part 4: Connect to EC2

  1. Open terminal and run:
chmod 400 cloudplus-key.pem
ssh -i "cloudplus-key.pem" ec2-user@<your-public-ip>

๐Ÿงน Part 5 (Optional): Clean Up Resources

To avoid unnecessary charges from AWS, you should terminate any running resources after the lab.

โœ… Terminate EC2 Instance

  1. Go to the EC2 Dashboard
  2. Select your instance (cloudplus-ec2)
  3. Click Instance state โ†’ Terminate instance
  4. Confirm the termination

โœ… Checkpoint: Your instance should now show a status of "shutting down" and will soon be removed.


โœ… Lab Complete

Youโ€™ve successfully:


๐Ÿง  Knowledge Check (Optional)

Before moving on, ask yourself:


๐Ÿ“Ž Additional Resources


๐Ÿ“Œ Recommended Next Steps

Happy Cloud Learning! โ˜๏ธ๐Ÿš€