Back to course

EC2 Launching and Connectivity

AWS Cloud Practitioner to Architect: 0 to Hero

Launching Your First EC2 Instance

Steps to Launch:

  1. Choose AMI: Select Amazon Linux 2 or Ubuntu.
  2. Choose Instance Type: Select t2.micro (Free Tier eligible).
  3. Configure Network: Default VPC is fine for now.
  4. Add Storage: Default 8GB SSD.
  5. Add Tags: Name your instance (e.g., 'My-Web-Server').
  6. Security Group: Open Port 22 (SSH) for Linux or 3389 (RDP) for Windows.
  7. Key Pair: Download the .pem file. Crucial! You cannot login without it.

How to Connect:

  • Linux/Mac: Use terminal: ssh -i key.pem ec2-user@ip-address.
  • Windows: Use PuTTY or EC2 Instance Connect via browser.