Skip to content

BabooPan/cdk-nyan-cat-on-ec2

Repository files navigation

Welcome to aws-cdk-nyan-cat-on-ec2

This is a nyan-cat page stored in EC2 Instance writen in TypeScript development with CDK.

Steps

There's 3 architecture to host the nyan-cat application:

  1. cdk-web: On-Demand EC2 Instance.
  2. cdk-web-spot: Spot EC2 Instance with EIP.
  3. cdk-web-alb-spot: Spot AutoScaling Group with ALB.

You can view the available templates with cdk ls.

Deploy with cdk deploy TEMPLATE_NAME, and hold the seconds, the endpoint of website would print out.

cdk-deploy

The EC2 Instance would take some times, the endpoint would show out.

nyan-cat

After that, remember to clean up this stack with cdk destory.

cdk-destory

Reference

About

CDK template for deploying EC2 Instance with Nyan cat

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •