Getting ready

Bear with this, as this can get tricky. In addition to our container images, we also need to push our RabbitMQ container to ECR. ECS doesn't talk to Docker Hub and and can't pull that image. it would be immensely convenient, but at the same time it's probably also a security issue.

Pushing these containers to ECR from a home internet connection can take a long time. I create a Linux image in EC2 in the same region as my ECR, pulled down the code from github, build the containers on that EC2 system, and then push to ECR.  The push takes a matter of minutes, if not seconds.

First, let's rebuild our API and microservice containers on our local system.  I've included the Python files, two docker files, and a configuration file for ...

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.