O'Reilly logo

Python Web Scraping Cookbook by Michael Heydt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required