What Is Vpc S3 Endpoint
The vpc endpoint routes requests to amazon s3 and routes responses back to the vpc.
What is vpc s3 endpoint. Your endpoint has a policy that controls the use of the endpoint to access amazon s3 resources. Including amazon s3 resources for an aws account other than the account with which the vpc is associated. The s3 vpc endpoint is what s known as a gateway endpoint.
When you create a s3 vpc endpoint you can attach an endpoint policy to it that controls access to amazon s3. These endpoints are easy to configure highly reliable and provide a secure connection to s3 that does not require a gateway or nat instances. A vpc endpoint for amazon s3 is a logical entity within a vpc that allows connectivity only to amazon s3.
The default policy allows access by any user or service within the vpc using credentials from any aws account to any amazon s3 resource. New vpc endpoint for s3 today we are simplifying access to s3 resources from within a vpc by introducing the concept of a vpc endpoint. There s no longer any need to configure a gateway or nat instances.
As an example use case we want to accessing s3 bucket from the ec2 we may need to access it over the public internet. Now however accessing s3 resources from within a private vpc subnet is much simpler. With vpc endpoint for amazon s3 accessing buckets is a much simpler process.
The image below shows a route table which has the s3 endpoint included. Vpc endpoints change only how requests are routed. Vpc endpoint enables creation of private connection between vpc to the supported aws services.
By travel out from our vpc to the public internet and than come back to aws s3 inf. The other type of gateway endpoint is for dynamodb. Amazon s3 public endpoints and dns names will continue to work with vpc endpoints.