This is Nick Sandru's collection of AWS templates, scripts and configurations.
VPC.json produces a Virtual Private Cloud with the following resources:
- A VPC with an associated /16 CIDR
- A Public subnet with associated Internet gateway
- A Private subnet with associated NAT gateway
- A Private DNS zone using the Route53 service
- An Elastic IP
- Route tables and routes for each subnet
- DHCP configuration
- Private DNS zone hosted on Route53
Parameters:
KeyName= EC2 key pair for SSH accessCidrBlock= The first 2 bytes of the CIDR block associated with the VPC. The CIDR block prefix is always /16PublicSubnetCIDR= The last 2 bytes of the Public subnet CIDR followed by the block prefixPrivateSubnetCIDR= The last 2 bytes of the Private subnet CIDR followed by the block prefixPrivateDNSZone= The private DNS zone on Route53
Outputs:
VpcID= The ID of the VPCPublicSubnetID= The ID of the Public subnetPrivateSubnetID= The ID of the Private subnetZoneIP= The IPv4 address of the Elastic IP associated with the VPCDNSZoneID= The Route53 ID of the private DNS zone