Skip to content

Instantly share code, notes, and snippets.

@efi-mk
efi-mk / network.yaml
Last active May 25, 2022
A cloud formation script to create a vpc with 2 private subnets and 1 public subnet
View network.yaml
AWSTemplateFormatVersion: 2010-09-09
Description: My Network Environment
Resources:
# VPC containing 3 subnets, 1 is public, while the other 2 are private for RDS
MyVPC:
Type: AWS::EC2::VPC
Properties:
CidrBlock: 10.0.0.0/16
EnableDnsSupport: 'true'
EnableDnsHostnames: 'true'