Skip to content

Latest commit

 

History

History

ssm_vpc_endpoints

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

VPC Endpoints for Session Manager

First, you probably don't need this

Do you NOT want your EC2 instance to connect to outside world? Download updates? Call external databases? Then you should create a nat gateway instead.

But if you are certain, then this is for you.

There are 3 ways to talk to System Manager services:

  • Use internet gateway and assign Public IP (not an option for a private cluster)
  • Use a nat gateway
  • Create VPC endpoints for each services (this module)

References

NOTE

For windows AMI, you need EC2 endpoint too: https://docs.aws.amazon.com/vpc/latest/userguide/vpce-interface.html#vpce-private-dns

DNS support in your VPC

DNS support must be enabled for endpoints to be discoverable. In the console -> VPC, enable DnsHostnames and DnsSupport