Introduction to Amazon EC2 Container RegistryGo to Lab
doesn't explain the concept at all.
On another attempt, I got the following steps: 1 - Create ECS repo, assign permissions 2 - ECS instance is created already, pull docker image from pub rep, Tag it to push it to newly created repo as in step 1, Push newly created tagged image to new repo of ECS 3. Create ECS service with new image 4. Create Task Def ( I need to catchup more about it) 5. Create Service (I need to catchup more about it)
Like in most labs, it su**s that the embedded graphics are in low def and are almost unreadable.
it didn't work
This is a good lab. But there is something wrong when I try to push the container up to the registry. I get this errror on the unix prompt: My command: docker push 592028550529.dkr.ecr.us-west-2.amazonaws.com/allyrepo/amazon-ecs-sample:latest Response: denied: User: arn:aws:sts::592028550529:assumed-role/qls-1286602-8d9bcd926c805e97-Ec2InstanceRole-1GII0FTPSUUI7/i-0624b8f68a52fa1be is not authorized to perform: ecr:InitiateLayerUpload on resource: arn:aws:ecr:us-west-2:592028550529:repository/allyrepo/amazon-ecs-sample So my container was not pushed up to the registry. And then when I tried to define the task, it wouldn't load the container. So the task would never go into 'running' state.
good start, lack of configuration change steps to see whats going on.
Decent intro. The task never got deployed, it kept failing with the reason being "Essential container in task exited"