1.0.1 • Published 4 years ago
aria-npm-testing v1.0.1
EC2 Instance Example in AWS CDK - Complete Guide
A repository for an article on bobbyhadz.com
How to Use
Clone the repository
Install the dependencies
npm installcreate a Key pair with the name of
ec2-key-pairin your default regionCreate the CDK stack
npx cdk deployOpen the AWS CloudFormation Console and the stack should be created in your default region
Copy and paste the public IPv4 url of the EC2 instance in your browser and you should see the response from the nginx server
Cleanup
npx cdk destroy