Introduction to Amazon EC2 Container RegistryGo to Lab
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"
Didn't work for me. Trying it all over again.
the instructions failed to mention that putty prompts with "login as:" which should be answered "ec2-user" (I tried this lucky guess). Also, I believe I followed all the instructions correctly, but ended up encountering an error (unable to pull docker image or something like that). Overall ok lab, but feels unsatisfying because it didn't work.
When starting up, the setting up bar and clock froze after 2 minutes. I was able to go ahead and complete the lab. Further, when going into the ec2 screen, I got a highlighted red error message:Failed to retrieve cluster metrics User: arn:aws:sts::059824539209:federated-user/john is not authorized to perform: cloudwatch:GetMetricStatistics (Service: AmazonCloudWatch; Status Code: 403; Error Code: AccessDenied; Request ID: e1540a1c-600a-11e7-a80f-575ce18881b7) User: arn:aws:sts::059824539209:federated-user/john is not authorized to perform: cloudwatch:GetMetricStatistics (Service: AmazonCloudWatch; Status Code: 403; Error Code: AccessDenied; Request ID: e16e9688-600a-11e7-bd5b-2512039edafa)