Install Jenkins on AWS EC2 Instance @DataScienceGarage
Install Jenkins on AWS EC2 Instance  @DataScienceGarage
Uploaded February 2022 | Updated September 2026, 2 weeks ago
This video shows how you can quickly install #Jenkins on AWS EC2 instance. Jenkins is an open source automation server which enables developers to build, test, and deploy their software. This tools also allows to setup and execute #MLOps (Machine Learning Operation) and #DevOps (Development Operation) workflows.

I think, it is important to learn how to set-up Jenkins on the instance, for example, on AWS EC2 Instance (Linux 2AMI - HVM). All steps with Linux commands are demonstrated there.

In oder to connect to our instance from the web browser, we will add two rules to Security Group:
- HTTP with port 80
- Custom TCP rule with port 8080 (to access instance directly from the web browser).

Content of the video:
0:00 - Setup EC2 Instance
1:59 - Connect to EC2 Instance from web browser
2:35 - Install Jenkins with Linux commands
4:19 - Access Jenkins with Password
5:34 - Open Jenkins interface and create Jenkins user

Used Linux commands (7 commands in total) to install Jenkins and other stuff on the instance:
1. Update yum for packages updating:
sudo yum update -y
2. Add Jenkins repository to install Jenkins from:
sudo wget -O /etc/yum.repos.d/jenkins.repo pkg.jenkins-ci.org/redhat/jenkins.repo
3. Import trust key from the Jenkins repository:
sudo rpm --import pkg.jenkins.io/redhat/jenkins.io.key
4. Install Java 1.8.0
sudo yum install java-1.8.0 -y
5. Install Extra Packages for Enterprise Linux (EPEL):
sudo amazon-linux-extras install epel
6. Install Jenkins tool on the instance:
sudo yum install jenkins -y
7. Start Jenkins tool:
sudo service jenkins start

To get a password to access Jenkins, I used this command:
sudo cat /var/lib/jenkins/secrets/initialAdminPassword

Jenkins allows you to trigger actions based on automatically detected code commits in a given repository. So, it is a cool tool to perform Continuous Integration and Continuous Delivery (CI/CD) pipelines for your MLOps project. If you need more tutorial on this, let me know by dropping a comment below. Thank you!
Install Jenkins on AWS EC2 InstanceSpark with Python. Operations Supported by Spark RDD APIAWS Machine Learning Specialty Exam - PASSED | My Experience, Practical Tests and TipsBuild and Run a Docker Container for your Machine Learning Model (Step by Step)Sankey Chart for Web Data Analytics and Visualization. Tableau  (My first Sankey diagram!)The Best Machine Learning Book I have. Review. 2020Correlation Test with p-value? Yes! | Pandas vs. ScipyRegia.lt. Web Scrapping Project  Lands and Parcel from GIS Maps. Real example.Spark with Python Course. Lesson 1. Create Parallelized Collection RDDPandas Trick. Convert Strings to Float in Pandas DataFrame (parsing data with RegEx)MongoDB with Python. How to start using NoSQLPYTHON AUTOMATION PROJECT | Grouping Your Images by Days in One Click - Python coding live stream
Data Science Garage |

Install Jenkins on AWS EC2 Instance

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER