Creating an AWS IAM user and a key pair for ECS
In this recipe, we will create an Identity and Access Management (IAM) user account to allow us to access the AWS Elastic Container Service (ECS). We need this as we are going to package our scraper and API up in Docker containers (we've done this already), but now we are going to move these containers into and run them from AWS ECS, making our scraper a true cloud service.
Getting ready
This assumes that you have already created an AWS account, which we used earlier in the book when we looked at SQS and S3. You don't need a different account, but we need to create a non-root user that has permissions to use ECS.
How to do it
Instructions for creating an IAM user with ECS permissions and a key pair can be found at https://docs.aws.amazon.com/AmazonECS/latest/developerguide/get-set-up-for-amazon-ecs.html.
There are a lot of instructions on this page, such as setting up a VPC and security groups. Just focus now on creating the user, assigning permissions...