How to do it

We proceed with the recipe as follows:

  1. When signed in to the account that we created for ECS, we get access to the Elastic Container Repository.  This service can hold our containers for use by ECS.  There are a number of AWS CLI commands that you can use to work with ECR.  Let's start with the following that lists the existing repositories:
$ aws ecr describe-repositories{    "repositories": []}
  1. Right now we don't have any repositories, so let's create some.  We will create three repositories, one for each of the different containers: scraper-rest-api, scraper-microservice, and one for a RabbitMQ container, which we will call rabbitmq.  Each repository maps to one container by its name, but can have multiple tags (up to 1,000 ...

Get Python Web Scraping Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.