4 ms·
@oreng put together a nice high-level diagram: http://oren.github.io/blog/convox.html http://oren.github.io/blog/convox.html We're using CloudFormation and Lam
by nzoschke 11y ago
@oreng put together a nice high-level diagram: http://oren.github.io/blog/convox.html http://oren.github.io/blog/convox.html
We're using CloudFormation and Lambda to create and update everything.
The "convox" stack the installer creates makes a VPC, ASG, ECS cluster and ELB, and registers an ECS task and service for the API and private registry.
It also creates DynamoDB table for recording every build and release. And creates a KMS key for encrypting all the environment variables before we save them to S3.
An app stack the "convox deploy" command creates makes ECS tasks and services and an ELB for all the containers in `docker-compose.yml`, and creates a Kinesis stream for app logs.
Take a look at the CloudFormation tools as a starting point:
https://github.com/convox/kernel/blob/master/dist/kernel.json https://github.com/convox/kernel/blob/master/dist/kernel.jso...
https://github.com/convox/app/blob/master/template/staging.tmpl https://github.com/convox/app/blob/master/template/staging.t...