Prerequisites
Firstly install and configure both the AWSCLI and ECSCLI.
These are the steps to use the CLI to generate the Lexicon infrastructure with a Fargate Task. All .json
configuration files are available on github.
Cluster
1 | --- Create ECS cluster using config and profile setup from `Prerequisites` |
Compose File
Here you will need subnet ID 1
, subnet ID 2
and security group ID
values which would have been displayed when you ran ecs-cli up
. If you cleared the console you can use aws ec2 describe-vpcs
and look at the Tags
to make an educated guess.