mirror of https://github.com/docker/compose.git
As part of the CloudFormation template, create a LogGroup and configure task with awslogs log-driver. Also create a dedicated IAM Role, with AmazonECSTaskExecutionRolePolicy. This one will later be fine-tuned to grant access to secrets/config and other AWS resources according to custom extensions close #42 Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com> |
||
---|---|---|
.. | ||
cmd | ||
pkg | ||
LICENSE | ||
Makefile | ||
README.md | ||
go.mod | ||
go.sum | ||
golangci.yaml |
README.md
Docker CLI plugin for Amazon ECS
Architecture
ECS plugin is a Docker CLI plugin
root command ecs
require aws profile to get API credentials from ~/.aws/credentials
as well as AWS region - those will later be stored in a docker context
A compose.yaml
is parsed and converted into a CloudFormation
template, which will create all resources in dependent order and cleanup on
down
command or deployment failure.
+-----------------------------+
| compose.yaml file |
+-----------------------------+
- Load
+-----------------------------+
| compose-go Model |
+-----------------------------+
- Convert
+-----------------------------+
| CloudFormation Template |
+-----------------------------+
- Apply
+---------+ +------------+
| AWS API | or | stack file |
+---------+ +------------+
(if this sounds familiar, see Kompose)