Sitemap

Member-only story

Secure Jenkins Setup in AWS Using Client VPN & Load Balancers (No VPC Peering Needed!)

4 min readMay 23, 2025

--

Running Jenkins securely in AWS can get tricky — especially when you don’t have static IPs or VPN hardware to restrict public access. But what if I told you there’s a simple and scalable way to keep Jenkins entirely private, yet fully functional with GitHub triggers and Jenkins agents across AWS accounts — without any VPC peering, PrivateLink, or Direct Connect?

Let’s walk through how you can set up Jenkins in a fully private environment, accessible only via AWS Client VPN, yet still trigger builds from GitHub and connect Jenkins agents from other AWS accounts.

Why Not Just Use Public Access?

Sure, you can deploy Jenkins behind a public ALB and restrict access by IP. But:

  • What if your team works remotely and doesn’t have static IPs?
  • What if you want to avoid exposing Jenkins to the internet altogether?
  • How do you securely handle GitHub webhook triggers and agents in other accounts?

This is where AWS Client VPN + Three Load Balancers solve everything.

Architecture Breakdown

Press enter or click to view image in full size

We’re solving a critical problem: how to securely run a Jenkins controller (master) inside

--

--

Nidhi
Nidhi

Written by Nidhi

Devops Automation Enginneer