Launching EC2 with Amazon Linux

Launching EC2 with Amazon Linux

EC2: Elastic Compute Cloud

-> Using the EC2 service we can create virtual Machines

-> In EC2 terminology VM is called an Instance

-> AWS provides several AMIs

-> AMI stands for Amazon Machine Image (pre-configured systems)

Launching EC2 instance

  1. Choose AMI (Free Tier Eligible)

  2. Choose Instance type (t2.micro)

  3. Configure Instance (default 1)

  4. Add storage (Default 8GB ) -> We can extra storage using EBS up to 30 GB

  5. Add Tags (optional)

  6. Configure Security Group (to allow traffic to access our EC2)

    SSH: 22

    RDP: 3389

    HTTP: 80

    HTTPS: 443

  7. Review Instance Details

  8. Create a new key pair and download it

  9. Convert Pem file to PPK file

  10. Connect to EC2 using Putty