Find answers, ask questions, and connect with our
community around the world.

Home Forums AWS AWS Certified Solutions Architect Associate Accessing EC2 in default Subnet

Tagged: , ,

  • Accessing EC2 in default Subnet

  • Rumman

    Member
    November 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?

  • Carlo-TutorialsDojo

    Member
    November 25, 2020 at 3:51 pm

    Hello muhammad-r,

    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.

    Regards,

    Carlo

  • Rumman

    Member
    November 26, 2020 at 1:53 am

    Yes, well explained

Viewing 1 - 3 of 3 replies

Log in to reply.

Original Post
0 of 0 posts June 2018
Now