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
Carlo-TutorialsDojo updated 4 years ago 2 Members · 4 Posts -
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 4 years ago by joseph.
-
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
- This reply was modified 4 years ago by Carlo-TutorialsDojo.
-
Thanks Carlo,
So does it mean than EC2, can have private and public virtual interfaces, bit confused over here
Appreciated your reply
-
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
-
Log in to reply.