Configuration to create a VPC endpoint in an existing VPC. VPC endpoints allow private connectivity from an VPC to supported AWS services. Both Interface and Gateway endpoints are supported.

To configure select the AWS Service, and provide the required details for the existing VPC:

  • AWS Service: Select any of the supported AWS Services.
  • VPC ID
  • Subnet ID(s): Required for Interface type VPC Endpoints. Each subnet must be in a different AZ. (Use Comma to separate multiple entries).
  • Route Table ID(s): Required for Gateway type VPC Endpoints. Each route table will be updated with routes pointing to the VPC Endpoint. (Use Comma to separate multiple entries).

The configuration templates also include supporting configuration: 

  • A security group will be created for Interface type VPC endpoints to allow access to the endpoint. (Default CIDR is 0.0.0.0/0 but can be restricted further if required)
  • A default endpoint policy to allow all access through the endpoint is applied to Gateway type VPC Endpoints.
Items
1
Size
0.6 KB
AWSTemplateFormatVersion: '2010-09-09'
Description: ''
Resources:
  VPCEndpoint:
    Type: 'AWS::EC2::VPCEndpoint'
    Properties:
      ServiceName:
        'Fn::Join':
          - ''
          - - com.amazonaws.
            - Ref: 'AWS::Region'
            - .s3
      VpcId: ''
      PolicyDocument:
        Version: '2012-10-17'
        Statement:
          - Effect: Allow
            Principal: '*'
            Action:
              - '*'
            Resource:
              - '*'
      RouteTableIds:
        - ''
Parameters: {}
Metadata: {}
Conditions: {}

Actions



Customize Template

* Required field