# Installing Jenkins on Ubuntu 18 on AWS

DevFeed: [Installing Jenkins on Ubuntu 18 on AWS](<https://devfeed.tech/articles/installing-jenkins-on-ubuntu-18-on-aws-28183.md>)

Original publisher: [Read original article](<http://fuzzyblog.io/blog/jenkins/2020/05/12/installing-jenkins-on-ubuntu-18.html>)

Author: Fuzzygroup

Published: 2020-05-12T00:00:00Z

Content type: tutorial

Language: en

Sources: [Scott Johnson](<https://devfeed.tech/sources/scott-johnson.md>)

Topics: [Jenkins](<https://devfeed.tech/topics/jenkins.md>), [Ubuntu](<https://devfeed.tech/topics/ubuntu.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>), [Package Management](<https://devfeed.tech/topics/package-management.md>)

Tags: [account](<https://devfeed.tech/tags/account.md>), [apt](<https://devfeed.tech/tags/apt.md>), [aws](<https://devfeed.tech/tags/aws.md>), [ci-cd](<https://devfeed.tech/tags/ci-cd.md>), [commands](<https://devfeed.tech/tags/commands.md>), [echo](<https://devfeed.tech/tags/echo.md>), [http](<https://devfeed.tech/tags/http.md>), [install](<https://devfeed.tech/tags/install.md>), [installation](<https://devfeed.tech/tags/installation.md>), [ip](<https://devfeed.tech/tags/ip.md>), [jenkins](<https://devfeed.tech/tags/jenkins.md>), [linux](<https://devfeed.tech/tags/linux.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [password](<https://devfeed.tech/tags/password.md>), [plugins](<https://devfeed.tech/tags/plugins.md>), [port](<https://devfeed.tech/tags/port.md>), [software](<https://devfeed.tech/tags/software.md>), [status](<https://devfeed.tech/tags/status.md>), [sudo](<https://devfeed.tech/tags/sudo.md>), [ubuntu](<https://devfeed.tech/tags/ubuntu.md>), [update](<https://devfeed.tech/tags/update.md>), [user-interface](<https://devfeed.tech/tags/user-interface.md>)

## AI overview

The excerpt gives commands to install Java, add the Jenkins Debian repository, update packages, install Jenkins, and start the service on an Ubuntu 18 AWS instance. It also gives a status command. To complete setup, open port 8080 in the instance's AWS Security Group to 0.0.0.0/0, visit the instance IP at port 8080, follow the on-screen password instructions, choose plugins, and create an account. The excerpt specifies HTTP access and does not describe further security configuration.

## Source excerpt

Jenkins is an Open Source CI / CD software program that you can easily install on an AWS instance. Here is how to install Jenkins: sudo apt install default-jre wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add - sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list' sudo apt update sudo apt install jenkins sudo systemctl start jenkins Here are some additional useful commands: sudo systemctl status jenkins Here are the next steps you need to follow: Open a port in the AWS Security Group for your instance for port 8080 on 0.0.0.0/0 to allow http access to the Jenkins user interface. Go to the instance's IP address at port 8080 to run through the Jenkins installation. Confirm the Jenkins password per the instructions on screen. Select the plugins that you need for your Jenkins installation. Create your account and password. Sources Installing Jenkins Installing Java