8000 GitHub - sergio-deras/ecs-primer: (CDK + Python) + (ESC + TS) - Deploy an ECS cluster with CDK + Python served by a TS app
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

sergio-deras/ecs-primer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(CDK + Python) + (ESC + TS)

Deploy an ECS cluster with CDK + Python served by a TS app

$ python3 -m venv .venv
$ source .venv/bin/activate
$ pip install -r requirements.txt
$ cdk synth
$ cdk bootstrap
$ cdk deploy

The stack is defined in ./ecs_primer/ecs_primer_stack.py The TS app definition is inside ./app/

If you want to create the app content by yourself, copy the content of the app.ts and the Dockerfile, but execute these first:

$ mkdir app
$ cd app
$ npm init -y
$ npm install express typescript @types/express --save
$ npx tsc --init --outDir dist

About

(CDK + Python) + (ESC + TS) - Deploy an ECS cluster with CDK + Python served by a TS app

Resources

Stars

Watchers

Forks

0