Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 1018 Bytes

File metadata and controls

35 lines (21 loc) · 1018 Bytes

EC2 Instance Creation with CDK

This example showcases how you can deploy and test your cdk project with multiple environments.

Deployment

$ export ENV=dev
$ cdk deploy

Testing

$ export ENV=dev
$ npm run test

Notice

This is a sample solution intended as a starting point and should not be used in a productive setting without thorough analysis and considerations on the user's side.

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.

Attribution

The file build-config.ts is based on this blog by Gage Vander Clay.
The file ec2-cdk-stack.ts is based on this repository from AWS Samples.