Push your Docker image to Amazon ECR (Elastic Container Registry) and use it in your Amazon EKS (Elastic Kubernetes Service)

When you are working on Amazon EKS (Elastic Kubernetes Service) you need images when you are going to deploy a Kubernetes deployment service, you can do this in different ways using, a private registry, Docker Hub or you can pick up and use the Amazon ECO system when you are using Amazon ECR (Elastic Container Registry) there are different benefits to pick Amazon ECR (Elastic Container Registry) over eg. Docker Hub some of the benefits are it's free up to 50 GB, no traffic cost between AWS ECR and your Amazon EKS (Elastic Kubernetes Service) Cluster if its running private network and you can easily test your container image on services like Fargate and so one if you need that too.

So what we need is a Docker Image, we will build that and push it to Amazon ECR (Elastic Container Registry) when its pushed we will create the deployment YAML file for Kubernetes and deploy that into the Amazon EKS (Elastic Kubernetes Service) after that and try access our Hello World application from the internet to confirm what we have done are working as we expect it.

Create your image and push it to Amazon ECR (Elastic Container Registry)

--

--

Paris Nakita Kejser
DevOps Engineer, Software Architect and Software Developering

DevOps Engineer, Software Architect, Software Developer, Data Scientist and identify me as a non-binary person.