We proceed with the recipe as follows:
- Now we can run our task. We do this with the following command:
$ aws ecs run-task --cluster scraper-cluster --task-definition scraper-as-a-service:17 --count 1{ "tasks": [ { "taskArn": "arn:aws:ecs:us-west-2:414704166289:task/00d7b868-1b99-4b54-9f2a-0d5d0ae75197", "version": 1, "group": "family:scraper-as-a-service", "containerInstanceArn": "arn:aws:ecs:us-west-2:414704166289:container-instance/5959fd63-7fd6-4f0e-92aa-ea136dabd762", "taskDefinitionArn": "arn:aws:ecs:us-west-2:414704166289:task-definition/scraper-as-a-service:17", "containers": [ { "name": "rabbitmq", "containerArn": "arn:aws:ecs:us-west-2:414704166289:container/4b14d4d5-422c-4ffa-a64c-476a983ec43b", "lastStatus": "PENDING", ...