SIVA 99

EC2 Hands On

Pratical -1

  1. Create an Amazon Linux Instance from an Amazon Linux AMI
  2. SSH into your instance.
  3. Configure our EC2 Instance to be a web server.
  4. Create and publish a sample test.html file.
  5. Test the page with the public IP address of EC2 Instance created.

Launching the Instance :

Connect to the SSH & Configute the web server :

Create and publish page:

Pratical -2

  1. Assign Elastic IP  into above Created Instance.

Pratical -3

  1. Creating AMI From EC2 Instance

Pratical -4

  1. Creating the Load Balancer and Target Group for Created Instances.
  • Healthy threshold : 3
  • Unhealthy threshold: 2 (Default)
  • Timeout: 5 seconds (Default)
  • Interval: 6 seconds
  • Success codes: 200 (Default)

Liked This Article?

Pratical -5

  1. Create an Auto Scaling Launch Configuration
  2. Create an Auto Scaling group 

Launch the Auto Scaling Configuration:

Launch the Auto Scaling group:

  • Desired capacity : 2
  • Minimum capacity : 2
  • Maximum capacity : 2

Conclusion:

In this Blog you learn following things.

  • How to create instances.
  • How to assign Elastic IP to Instance.
  • How to take AMI From Instances.
  • Creating the Load Balancer and Target Group for Created Instances.
  • Create an Auto Scaling Launch Configuration
  • Create an Auto Scaling group 

Leave a Reply

Your email address will not be published. Required fields are marked *