Jenkins tutorials

Feeling overwhelmed with the seemingly endless options for getting Jenkins setup with Docker and AWS? These tutorial series will get you up and running fast, using best-practice solutions and easy to follow examples.

Many of the tutorials come with ready to go CloudFormation templates for you to try out the examples yourself, along with other resources such as GitHub repositories and videos.

The microservice devops series

Launch your application into the world of containers using the power of Jenkins. In this popular series you’ll uncover all the steps to take a simple Spring Boot application from inception to deployment, all built automatically using Jenkins.

Part 1: building a Spring Boot application in Jenkins

Learn how to setup Jenkins to build and test a simple Spring Boot application whenever a change is pushed.

Building a Spring Boot application in Jenkins

✅ includes video + Git repo

Part 2: building a Spring Boot application in Docker and Jenkins

Discover how to setup a Spring Boot application to run in a Docker container, then for Jenkins to build the Docker image and push it to Docker Hub.

Building a Spring Boot application in Docker and Jenkins

✅ includes video+ Git repo

Part 3: deploying a Spring Boot application into AWS with Jenkins

You’ll learn how to deploy the Docker image built in part 2 into the powerful AWS Elastic Container Service. All from within Jenkins, of course.

Deploying a Spring Boot application into AWS with Jenkins

✅ includes video + Git repo


The Jenkins hosting series

This series is for developers/devops professionals who want to deploy Jenkins into the AWS cloud, making use of some of the best scalability and security techniques to ensure Jenkins is always ready to serve.

Part 1: deploy your own production-ready Jenkins in AWS ECS

Discover all the pieces required to deploy a production-ready Jenkins master into AWS Elastic Container Service. You can take the best parts of the provided CloudFormation template, and apply them to your own setup.

Deploying Jenkins to AWS ECS

✅ includes video + CloudFormation

Part 2: running Jenkins jobs in AWS ECS with slave agents

Now that Jenkins master is setup, learn how to configure Jenkins to horizontally scale in the cloud by running your jobs in slave agents.

Jenkins slave agents in aws ECS

✅ includes video + CloudFormation

Part 3: using Jenkins Configuration as Code to setup AWS slave agents automatically

This natural progression from part 2 shows you how to do all the slave agent configuration automatically using best-practice Jenkins configuration as code. And that’s a good thing, because there’s a lot of configuration.

Jenkins configuration as code with AWS slave agents

✅ includes CloudFormation + Git repo

Part 4: running Jenkins slave agents in another VPC using VPC endpoints

With this advanced tutorial, you’ll learn how to implement a common use case of deploying Jenkins slave agents into another VPC within the same AWS account.

Running Jenkins slave agents in another VPC using VPC endpoints

✅ includes CloudFormation + Git repo

Part 5: deploying Jenkins into AWS ECS using CDK

Deploying Jenkins into AWS ECS requires careful consideration to make sure you’re following best-practice. Learn how to deploy a production-ready Jenkins instance in just a few lines of code, using the power of the AWS Cloud Development Kit (CDK).

Deploying Jenkins into AWS ECS using CDK

✅ includes CloudFormation + Git repo


Jenkins pipeline tutorials

Learn all the other tips and tricks to building and deploying applications in AWS with Jenkins.

Setup Jenkins to assume a role in another AWS account

Learn 4 ways for Jenkins to assume a role in another AWS account, for when you need to do deployments in a multi-account organisation setup.

Jenkins assume AWS role

✅ includes CloudFormation + Git repo

Integrating AWS CodeBuild into Jenkins pipelines

Discover some of the reasons you might want to consider using AWS CodeBuild from within your Jenkins pipeline. Then learn how to do it.

integrating aws codebuild into jenkins pipelines

✅ includes CloudFormation + Git repo

Add SonarQube quality gates to your Jenkins build pipeline

A SonarQube integration can benefit your application pipeline by failing builds if the application doesn’t meet the configured quality gate. Learn how to set all this up, to stop developers introducing any more bad code.

Add SonarQube quality gates to your Jenkins builds

✅ includes video + Git repo

5 ways to inject secrets from AWS into Jenkins pipelines

Jenkins provides first-class support for injecting Jenkins-defined credentials into pipelines and freestyle projects. With time, this approach can become cumbersome to manage. Discover 5 better ways to manage secrets required by your Jenkins jobs, instead using AWS for the heavy lifting.

5 ways to inject secrets from AWS into Jenkins pipelines (1)

✅ includes CloudFormation


Jenkins Docker tutorials

Learn how to effectively build Docker images with Jenkins.

Jenkins vs. AWS CodeBuild for building Docker applications

Jenkins is a great tool for continuous integration, but if you’re specifically interested in building Docker images you may come into some issues. This comparison between Jenkins and AWS CodeBuild helps you weigh up the pros and cons of each.

Jenkins vs. AWS CodeBuild for building Docker images

Using Jenkins and Kaniko to build Docker images in AWS

Running Jenkins in AWS is simple using Fargate, but what if we need Jenkins itself to build Docker images? Learn how to use Kaniko from Jenkins to easily build and push a Docker image, keeping your CI pipelines totally serverless.

Jenkins and Kaniko to build Docker images in AWS

✅ includes CloudFormation + Git repo

Scroll to top