Implementing CI/CD for Containers on AWS using ECS and Jenkins

Implementing CI/CD for Containers on AWS using ECS and Jenkins

Implementing CI/CD for Containers on AWS using ECS and Jenkins. There is little desire to use AWS CodePipeline. Allow me to show you how to use Jenkins instead of CodePipeline to deliver your containers.

There is an article on how to implementing CI/CD for Containers on AWS using ECS and CodePipeline. But my experience is slightly different. We have a Jenkins setup on our own private datacenter and it has been used by the company for a long time not just for AWS but for other usage like Android build. Hence there is little desire to use AWS CodePipeline. Allow me to show you how to use Jenkins instead of CodePipeline to deliver your containers.

Let’s get started

Pre-requisites:

A. Your source code including taskdef.json, Dockerfile, Jenkinsfile, appspec.yml in the root folder.

B. You are running ECS Cluster, ECR, service, task definition, S3 Bucket and Code Deploy in ap-southeast-1 availbility zone.

C. Ensure the relevant Jenkins pipeline plugins are installed, docker-workflow and AWS pipeline

D. Create an awsId Jenkins credentials (Username with Password). Create a new user called Jenkins in AWS IAM and create new security credentials. Use AWS_ACCESS_KEY_ID as Username and AWS_SECRET_KEY_ID as Password

E. Ensure that the Jenkins machine that runs the pipeline, whether is it master or node, needs to have Docker installed and accessible by Jenkins

devops jenkins aws docker

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

What is AWS DevOps? - AWS DevOps Tutorial

What is AWS DevOps? - AWS DevOps Tutorial. In this blog on what is AWS DevOps, you will learn about AWS & DevOps along with the implementation of the concepts of DevOps with the help of AWS cloud platform.

DevOps Rewind - 4 | Docker Jenkins Tutorial | DevOps Tools for Beginners | DevOps Training

🔥Edureka DevOps Training: https://www.edureka.co/devops-certification-training This Docker Jenkins Tutorial video will help you understand how to run an enti...

Ever Wondered Why We Use Containers In DevOps?

At some point we've all said the words, "But it works on my machine." It usually happens during testing or when you're trying to get a new project set up. Sometimes it happens when you pull down changes from an updated branch.

Jenkins Is Getting Old — It’s Time to Move On

After using Jenkins on several projects, we say it's time to move on. Jenkins is left behind with his old approach — found out more!

Docker AWS Beta Just Announced: DevOps and Docker Live Show (Ep 84)

Docker just released a new Beta with built-in AWS deployment support. Let's check it out! Support this show on Patreon! It's the #1 way to support me intervi