We start by creating an ECR cluster using the AWS CLI. The we will create one EC2 virtual machine in the cluster to run our containers.
There are number of steps to getting this configured but they are all fairly simple. Let's walk through them:
- The following creates an ECR cluster named scraper-cluster:
$ aws ecs create-cluster --cluster-name scraper-cluster{ "cluster": { "clusterName": "scraper-cluster", "registeredContainerInstancesCount": 0, "clusterArn": "arn:aws:ecs:us-west-2:414704166289:cluster/scraper-cluster", "status": "ACTIVE", "activeServicesCount": 0, "pendingTasksCount": ...