Skip to content

sebsto/cdk-vpc-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is the code supporting the AWS News Blog Post : "VPC Ingress Routing – Simplifying Integration of Third-Party Appliances"

The blog post is available at https://aws.amazon.com/blogs/aws/new-vpc-ingress-routing-simplifying-integration-of-third-party-appliances/

This sample CDK script demonstrates :

  • how to create a VPC
  • how to start EC2 instances with Role and UserData script
  • how to attach a Ec2 instance to a VPC and a Security Groups

This code uses CDK v1, to see an example with CDK v2, check this repo

https://github.com/sebsto/cdkv2-vpc-example

Useful commands

  • npm install to install the depencies
  • npm run build compile typescript to js
  • npm run watch watch for changes and compile
  • npm run test perform the jest unit tests
  • cdk deploy deploy this stack to your default AWS account/region
  • cdk diff compare deployed stack with current state
  • cdk synth emits the synthesized CloudFormation template

About

CDK code to show how to create instances in a VPC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published