https://github.com/pratikshinde55/jenkins-setup-onaws
On the top of AWS Cloud EC2 Instance Download and Access Jenkins by WebUI
https://github.com/pratikshinde55/jenkins-setup-onaws
aws-ec2 jenkins jenkins-setup jenkins-setup-guide
Last synced: 3 months ago
JSON representation
On the top of AWS Cloud EC2 Instance Download and Access Jenkins by WebUI
- Host: GitHub
- URL: https://github.com/pratikshinde55/jenkins-setup-onaws
- Owner: Pratikshinde55
- Created: 2024-12-26T13:19:44.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-01-03T07:43:18.000Z (5 months ago)
- Last Synced: 2025-02-17T17:54:34.422Z (3 months ago)
- Topics: aws-ec2, jenkins, jenkins-setup, jenkins-setup-guide
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Jenkins-Setup-onAWS
On the top of AWS Cloud EC2 Instance I Download and access Jenkins by WebUI- How to install Jenkins :
Following are the ways of connect to Jenkins:
1. WebUI
2. CLI
3. APIInstall and steup of jenkins bye WebUI:
For this i use AWS Cloud EC2 instance (amazon linux2 ami), In this instance i installed jenkins.- Note:
For install jenkins need yum repository and key, & Jenkins is made from Java , so jenkins work on java .
[Jenkins-Download-Link](https://pkg.jenkins.io/redhat-stable/)Following command For Installing Jenkins on AWS EC2 :
1. Install yum repo For Jenkins:
sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo
2. Install Jenkins key:
sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io-2023.key
3. Install java For Jenkins: (This command is different for different os)
yum install java-17-amazon-corretto-devel
- This not work in some AMIyum install fontconfig java-17-openjdk
4. Install Jenkins:yum install jenkins -y
5. Start Jenkins service:
systemctl start jenkins
systemctl enable jenkinsNow Jenkins is installed successfully, connet jenkins by webUI:
For this we use EC2 instance public IP and Jenkins work or
**Jenkins Default port no. = 8080**
On Browser:-- " http://Public_IP : 8080 " (Connect Jenkins WebUI)
- Note:
AWS EC2 Instance have Firewall , for connect to EC2 we need allow security Group:
In security group >> edit inbound rule >> "Custom TCP 8080 myIP "

Now Jenkins InterFace occurs on browser using Public_Ip of instance and 8080 port no. :

- For Login jenkins Password is neccessary & Jenkins kept password at location **"/var/lib/jenkins/secrets/initialAdminPassword"**, Go Jenkins OS and view
password
cat /var/lib/jenkins/secrets/initialAdminPassword- Copy password and paste on WebUI , now Select 'Install suggested plugins' Plugins start downloading:

- Create First Admin User Username Interface appers: Fill info and start jenkins:
