Sunday, 6 June 2021

--EC2 HTTP/HTTPS Rules 

Creating EC2 instance

add HTTP port, HTTPS port, SSH port


-----Download Ec2 SSH private key




------Associate Elastic IP with EC2

If you are using ELB and Autoscaling, creating instance on fly and to stress test the instance is difficult. One solution during this scenario:

Select EC2 instance> Actions>Networking> Manage Ip Addresses. Then use option "To add or edit an IPv4 public IP Allocate an Elastic IP to this instance or network interface".

  1. Create an elastic IP
  2. Navigate to Elastic IP address link> click Associate IP
  3. Select the instance to associate IP and save.

Now you will have EC2 instance with public IP without restarting/deleting EC2 instance.

No comments:

Post a Comment