Continuous Deployment with BitBucket Pipelines, ECR and AWS EKS

Samuel Addico
CodeOps
Published in
5 min readFeb 24, 2019

--

Introduction

Sometime last year, I had to set up continuous deployment into AWS EKS from Bitbucket. In this post, I am going to demonstrate how to set up a continuous deployment pipeline including BitBucket, ECR, and EKS.

This post assumes you already have EKS setup.You can follow this link for a well composed installation guide on how to get it up and running.

What is Bitbucket Pipeline

Bitbucket is a web-based version control repository hosting service built by Atlassian, for source code and development projects that use either Mercurial or Git revision control systems. The BitBucket Pipeline, however, also built by Atlassian, is an integrated CI/CD service, built into Bitbucket. It allows you to automatically build, test and deploy your code, based on a configuration file ( bitbucket-pipelines.yml ) in the project repository. It has some really cool features you can explore more here

What is AWS ECR and EKS

  • Amazon Elastic Container Registry (Amazon ECR) is a fully-managed Docker container registry that makes it easy for developers to store, manage, and deploy Docker container images.
  • Amazon Elastic Container Service for Kubernetes (Amazon EKS) is managed Kubernetes service which makes it easy to deploy, manage, and scale containerized applications dynamically using Kubernetes on AWS.one cool thing is EKS runs…

--

--

Samuel Addico
CodeOps

DevOps | SRE | Java | Kubernetes | AWS | Ansible | Terraform | CI/CD