Jenkins with AWS

Member-only story

How to install Jenkins on AWS?

Syed Zain Rashid
Mr. Plan ₿ Publication
2 min readAug 27, 2024

Jenkins Installation on AWS

Here’s a step-by-step guide to installing Jenkins on an AWS EC2 instance:

Step 1: Launch an EC2 Instance

1. Log in to AWS Management Console

2. Launch Instance

  • Navigate to EC2 Dashboard → Click “Launch Instance.”
  • Select AMI: Choose Ubuntu
  • Instance Type: Choose t2.micro (free tier eligible).
  • Configure Security Group: Add a rule to allow traffic on port 8080 (HTTP).

Step 2: Connect to Your EC2 Instance

3. Connect via SSH

  • ssh -i “your-key-pair.pem” ec2-user@your-ec2-instance-public-dns

Step 3: Install Java and Jenkins

4. Update System and Install Java

  • sudo apt update
  • sudo apt install openjdk-11-jdk –y

5. Validate Installation

  • java — version

6. Add Jenkins Repository amp; Install Jenkins

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Mr. Plan ₿ Publication
Mr. Plan ₿ Publication

Published in Mr. Plan ₿ Publication

Welcome to Mr. Plan ₿ Publication! A space for both beginners and experienced writers to promote their articles. Discover the secrets to a strong presence and amplify the impact of your words! 🚀📝 #MediumTips #WritersCommunity

Syed Zain Rashid
Syed Zain Rashid

Written by Syed Zain Rashid

Hello, I'm Syed Zain Rashid, an engineer by profession, a passionate photographer & a technical writer.

Responses (4)

What are your thoughts?