Setup Jenkins to access resources in another AWS account using one of these 4 assume role methods. At some point most Jenkins jobs are going to need to deploy the application they’ve built. If you’re following AWS best practices, you’ll have a different account for your production and development environments. This creates separation between environments, […]
AWS Fargate Spot vs. Fargate price comparison
Discover how much Fargate Spot could save you on your AWS bill with this price comparison between 100 Fargate Spot and 100 Fargate containers. Did you know you could save money in AWS by switching from Fargate to Fargate Spot? Whether you’re using ECS or EKS, Fargate Spot offers significant cost reductions by using spare […]
Add SonarQube quality gates to your Jenkins build pipeline
SonarQube is an excellent tool for measuring code quality, using static analysis to find code smells, bugs, vulnerabilities, and poor test coverage. Rather than manually analysing the reports, why not automate the process by integrating SonarQube with your Jenkins continuous integration pipeline? This way, you can configure a quality gate based on your own requirements, […]
Setup Spring Boot behind a load balancer using the X-Forwarded headers
If you’ve ever deployed Spring Boot behind a load balancer, you might be aware of issues coming from differences between the request into the load balancer and the request into your application. These requests will often have a different protocol, host, or port. If Spring Boot isn’t correctly setup it can lead to all sorts […]
Using Jenkins Configuration as Code to setup AWS slave agents automatically
Setting up a Jenkins cloud configuration allows you to run jobs on slaves agents, offloading your job workload to a container orchestration framework such as AWS ECS. If you’ve ever done this, you’ll know that the manual configuration setup is complex and one small mistake means that your Jenkins job won’t start. In this article […]
Running Jenkins jobs in AWS ECS with slave agents
So you’ve setup your Jenkins instance in AWS ECS? And people start using it. Awesome! Hold on a sec though, loads of people are using it. So many that Jenkins is grinding to a halt with all the running jobs. Thankfully, we can offload those jobs to run in a completely separate container called a […]
Anatomy of a Gradle build script: the key to understanding Gradle
Did you every look at a Gradle build script and end up scratching your head? Even the simple ones can be tricky to understand if you don’t know the basic building blocks of the build.gradle file, the Gradle build script. To better understand Gradle, it’s helpful to know that the build script normally consists of […]
VPCs, subnets, and gateways – fundamentals for working with containers in AWS
Let’s be honest, for most developers getting their software written and working on their own machine and maybe a test environment is the main priority. Deploying to production? Ah, that’s another team. All the AWS network ‘stuff’ – VPCs, subnets, gateways? Someone else’s business, right? Secondary to the contents of the holy Docker image and […]
Deploy your own production-ready Jenkins in AWS ECS
Deploying a continuous integration service such as Jenkins is an important step when kicking off your development project. In this article you’ll discover how to deploy Jenkins into the AWS Elastic Container Service (ECS), meaning you’ll have your own highly available Jenkins instance available to you over the internet. We’ll be following all the best […]
Annotation processors in Gradle with the annotationProcessor dependency configuration
Annotation processing is a Java compilation option which has been around since Java 5. It enables the generation of additional files during compilation, such as classes or documentation. Gradle abstracts the complexity of passing the correct compilation options to Java with the annotationProcessor dependency configuration, which we’ll explore in detail in this article with a […]