项目作者: DGorica

项目描述 :
Manage a HA Fargate cluster using AWS CDK
高级语言: TypeScript
项目地址: git://github.com/DGorica/aws-cdk-fargate-pipeline.git
创建时间: 2019-05-05T08:42:47Z
项目社区:https://github.com/DGorica/aws-cdk-fargate-pipeline

开源协议:

下载


Project FargateCDK

  • Build an ECS Fargate cluster
  • Deploy a new defined service construct
  • Enable service discover
  • Deploy App Mesh
  • Build a pipeline to test diff deployment methods
  • Enable monitoring / Increase resiliance

Pipeline Design

  • Use S3 as source
  • Build container image, scan and push to ECR
  • Build Fargate cluster
  • Deploy first service and test endpoint
  • Deploy second service in a controlled way and test endpoint
  • Send notification to admin

Useful commands

  • npm run build compile typescript to js
  • npm run watch watch for changes and compile
  • 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