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

Home Forums AWS AWS Certified Solutions Architect Professional EC2 is it public virtual interface or private virtual interfaces

  • EC2 is it public virtual interface or private virtual interfaces

  • joseph

    Member
    November 17, 2020 at 4:51 pm

    Please check the explanation given for the question

    A media company has established a Direct Connect connection between their on-premises data center and their VPC in AWS. The web applications hosted on their data center are experiencing high latencywhen accessing data from S3 bucket. As the Solutions Architect, what can you do to reduce the latency

    in this hybrid cloud architecture?

    In the explanation it given EC2 as public interface and later also as private interfaces

    To connect to AWS public endpoints such as an Amazon Elastic Compute Cloud (Amazon EC2) or Amazon Simple Storage Service (Amazon S3) with dedicated network performance, use a public virtual interface.

    later you have given

    A private virtual interface allows you to connect to your VPC resources (for example, EC2 instances, load balancers, RDS DB instances, etc.) on your private IP address or endpoint

    Please check the explanation of this question, you will see that you given EC2 as public virtual interface as well as private virtual interface,

    • This discussion was modified 3 years, 6 months ago by  joseph.
  • Carlo-TutorialsDojo

    Administrator
    November 18, 2020 at 11:12 am

    Hello Joseph,

    You can provide dedicated network performance for both public and private virtual interface. Use a private virtual interface when you’re dealing with Private resources such as Amazon VPC. And use a public virtual interface if you want to establish a dedicated network performance to public endpoints such as Amazon S3.

    The scenario is explicitly asking to reduce the latency when accessing data from the S3 bucket. To solve this, you have to set up a public virtual interface to connect to a public S3 endpoint resource via the Direct Connect connection.

    Let me know if that clarifies your concern.

    Thanks & Regards,

    Carlo @ Tutorials Dojo

  • joseph

    Member
    November 18, 2020 at 12:34 pm

    Thanks Carlo,

    So does it mean than EC2, can have private and public virtual interfaces, bit confused over here

    Appreciated your reply

    • Carlo-TutorialsDojo

      Administrator
      November 18, 2020 at 7:06 pm

      Hello Joseph,

      Yes. If you’re connecting to an EC2 instance in a default VPC, you can use a public virtual interface. However, if you’re accessing an EC2 instance in a custom VPC then use a private virtual interface.

      Regards,

      Carlo @ Tutorials Dojo

Viewing 1 - 3 of 3 replies

Log in to reply.

Original Post
0 of 0 posts June 2018
Now