MemberNovember 25, 2020 at 8:31 am
For accessing an EC2 instance in the default subnet can we always access it from the internet if security groups and nat ACLS are configured properly? Or there might be time when we need to attach an elastic IP address even for the default subnet?
AdministratorNovember 25, 2020 at 3:51 pm
Whenever you instantiate an EC2 instance in the default VPC, AWS automatically associates a public IP address with it. AWS releases that public IP address and assigns a new one when you restart the EC2 instance.
EIP is a static IPv4 address. You can optionally attach an EIP to an instance hosted on a default VPC. One of the advantages of using an EIP is that you can mask an instance’s failure by remapping the EIP to another instance.
Let me know if that answers your question.
- This reply was modified 3 years, 3 months ago by Carlo-TutorialsDojo.
MemberNovember 26, 2020 at 1:53 am
Yes, well explained
Log in to reply.