AWS Certified Advanced Networking - Specialty Exam: Types of Endpoints in a VPC for Accessing Public AWS Resources

Two Types of Endpoints in a VPC for Accessing Public AWS Resources

Prev Question Next Question

Question

What are the 2 types of endpoints available in a VPC for accessing public AWS resources.

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Answer - B and C.

The AWS documentation mentions the following.

1

Interface - An elastic network interface with a private IP address that serves as an entry point for traffic destined to a supported AWS service.

2

Gateway - A gateway that is a target for a specified route in your route table, used for traffic destined to a supported AWS service.

For more information on VPC endpoints, please refer to the below link:

http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/vpc-endpoints.html

The two types of endpoints available in a VPC for accessing public AWS resources are Interface Endpoints and Gateway Endpoints.

  1. Interface Endpoints:

An interface endpoint is an elastic network interface with a private IP address that serves as an entry point for traffic destined to a supported AWS service. It provides private connectivity to AWS services within a VPC and does not require a public IP address or an internet gateway.

Interface endpoints support PrivateLink, a feature that enables private communication between VPCs, services, and other resources within the same account or across accounts in the same region. With PrivateLink, communication between resources is secured by using the VPC's security groups, network ACLs, and routing rules.

Some examples of AWS services that support interface endpoints include Amazon S3, Amazon DynamoDB, Amazon Kinesis, Amazon SNS, Amazon SQS, and AWS Lambda.

  1. Gateway Endpoints:

A gateway endpoint is a gateway that you configure to route traffic to a specific service or destination. It enables you to access AWS services through a private connection from your VPC without requiring an internet gateway, a NAT device, VPN connection, or Direct Connect connection.

Gateway endpoints support the following services: Amazon S3, DynamoDB, and Amazon Glacier. When you create a gateway endpoint, AWS automatically creates a route table entry for the service and attaches the endpoint to your VPC.

Unlike interface endpoints, gateway endpoints do not support PrivateLink or communication with other resources within the same account or across accounts in the same region.

In summary, the two types of endpoints available in a VPC for accessing public AWS resources are interface endpoints and gateway endpoints. Interface endpoints provide private connectivity to AWS services within a VPC and support PrivateLink, while gateway endpoints enable you to access AWS services through a private connection from your VPC without requiring an internet gateway or VPN connection.