DEV Community

Cover image for Gateway VPC Endpoints on AWS
Cosmas Nyairo for AWS Community Builders

Posted on

3

Gateway VPC Endpoints on AWS

For our services, if we want to have internet access, we route the traffic via an internet gateway.

However, there may be cases where we we don't want our network traffic to go through the public internet, we could utilise vpc endpoints, with vpc endpoints, we are able to access aws services via a private network.

A gateway vpc endpoint targets ip routes in a prefix list that belong to an aws service. Supported services are: AWS S3 and DynamoDB

Below architecture diagram of a gateway vpc endpoint showcases the implementation:
vpc-endpoints-architecture image

Gateway VPC Endpoints Example:

Guide to creating a gateway vpc endpoint.
alt text

On the vpc dashboard click on the endpoints tab, then create endpoint button on the right.
alt text

Choose the name of the endpoint being created, For this demo, we use the aws services category,
alt text

Use the filter: Type = Gateway for us to create a gateway vpc endpoint then, choose the service name type to be created then choose your private vpc and which route table for the prefix list entries to be added to.
alt text

Choose the VPC endpoint policy to be used when accessing the resources and tag your resources for effective cost tracking.
alt text

Our route table will have new entries added with the prefix list of the service we're connecting to:
alt text

Image of Datadog

Create and maintain end-to-end frontend tests

Learn best practices on creating frontend tests, testing on-premise apps, integrating tests into your CI/CD pipeline, and using Datadog’s testing tunnel.

Download The Guide

Top comments (0)

Best Practices for Running  Container WordPress on AWS (ECS, EFS, RDS, ELB) using CDK cover image

Best Practices for Running Container WordPress on AWS (ECS, EFS, RDS, ELB) using CDK

This post discusses the process of migrating a growing WordPress eShop business to AWS using AWS CDK for an easily scalable, high availability architecture. The detailed structure encompasses several pillars: Compute, Storage, Database, Cache, CDN, DNS, Security, and Backup.

Read full post

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay