ECR Flashcards

1
Q

ECR

A

private Docker image repo of AWS

as alternative to public Docker hub

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

access is controlled (exam)

A

through IAM

so if you need to push or pull to ECR, you need the correct permissions, IAM policy

if you get permission errors - check IAM policy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

how you can authenticate against ECR using the CLI (exam)

A
  1. with AWS CLI version one
    $(aws ecr get-login –no-include-email –region eu-west-I)

you should run the output of this command

  1. with AWS CLI version one you use a pipe. The first part of the command is gonna give us the login password. And then the second part of the command
    will take the login password as an input, and use it for the command.

$(aws ecr get-login –no-include-email –region eu-west-i) | docker login –username AWS –password-strin |

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Docker push and pull

A

use the complete image url

docker push
docker pull

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

security

A

data is sent over HTTPS to ECS

ecnryption in flight (HTTPs) and inages are also encrypted at rest

How well did you know this?
1
Not at all
2
3
4
5
Perfectly