Posts

Showing posts with the label Pushing an image to ECR

Content

                                                  Content How to create an AWS free Account? Lab 1: To launch amazon Linux EC2 instance Lab 2: To Connect to the instance from Linux client Operating System Lab 3:To Launch amazon windows instance Lab 4: Installing apache in EC2 instance Lab 5: Installing Nginx in EC2 instance Lab 6: Changing Host Name Lab 7: Creating a user and making as a sudoer Lab 8:Assigning an Elastic ip Lab 9:Creating ebs,attach and detach the volumn to the instance Lab 10:Creating an S3 Bucket and creating cross replication in another region Lab 11:Load Balancer Lab 12:Two instances with Application Load Balancer Lab 13:Launching two instances with load Balancer Lab:14 Creating Own VPC  Lab 15: Two instances which classic load Balance with own VPC Lab 16:Two instances with Application load Balancer with own VPC Lab 17: Relational Data B...

Lab 23:Pushing an image to ECR

Image
                                                         Pushing an image to ECR What is ECR?Why we use it?  Amazon Elastic container Registry(ECR) is fully-managed Docker container registry that makes it easy for developers to store,manage and deploy Docker container images. Lab:Push the image to ECR: Go to the aws console Select ECR dashboard Click on Create repository Give a name to repository Click on Create repository Select repository click on view push commands Click on view push commands You will get a page like this. Copy the commands which are there $(aws ecr get-login-no-include-email-region us-east-2) docker tag nodejs:latest 529087098264.dkr.ecr.us-east-2.amazonaws.com/nodejs:latest docker push 529087098264.dkr.ecr.us-east-2.amazonaws.com/nodejs:latest Now tag the image docker tag nodejs 529087098264.dkr.ecr.us-east-2.amazo...