{"id":18290837,"url":"https://github.com/debrajhyper/jenkins-installation","last_synced_at":"2026-05-18T10:08:06.232Z","repository":{"id":131554930,"uuid":"609288244","full_name":"debrajhyper/Jenkins-Installation","owner":"debrajhyper","description":"Install and configure the Jenkins on AWS Ubuntu Server","archived":false,"fork":false,"pushed_at":"2023-03-04T07:04:04.000Z","size":1801,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-26T13:08:23.933Z","etag":null,"topics":["aws","jenkins","ubuntu"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/debrajhyper.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-03T19:26:51.000Z","updated_at":"2023-12-27T17:23:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"9800992f-1955-41b1-bf85-7e78db033fcb","html_url":"https://github.com/debrajhyper/Jenkins-Installation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/debrajhyper/Jenkins-Installation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/debrajhyper%2FJenkins-Installation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/debrajhyper%2FJenkins-Installation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/debrajhyper%2FJenkins-Installation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/debrajhyper%2FJenkins-Installation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/debrajhyper","download_url":"https://codeload.github.com/debrajhyper/Jenkins-Installation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/debrajhyper%2FJenkins-Installation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33174091,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","jenkins","ubuntu"],"created_at":"2024-11-05T14:12:22.836Z","updated_at":"2026-05-18T10:08:01.222Z","avatar_url":"https://github.com/debrajhyper.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# 1. Setup AWS Ubuntu Server\n## 1.1 Launching an AWS Instance\nFirstly, click on the `Launch instance` button to start the process of launching a new instance. And name that instance link `Jenkins`.\n\n\u003cimg src=\"./assets/Screenshot (76).png\" alt=\"\" width=\"600\" /\u003e\n\n\u003cbr/\u003e\n\nChoose the Amazon Machine Image (AMI) that you want to use for your instance. This will typically be the operating system you want to use (Ubuntu).\n\n\u003cimg src=\"./assets/Screenshot (77).png\" alt=\"\" width=\"600\" /\u003e\n\n\u003cbr/\u003e\n\nConfigure additional details such as the key pair settings and security group (Network) settings.\n\n\u003cimg src=\"./assets/Screenshot (78).png\" alt=\"\" width=\"600\" /\u003e\n\u003cimg src=\"./assets/Screenshot (79).png\" alt=\"\" width=\"600\" /\u003e\n\n\u003cbr/\u003e\n\nReview all settings and click the `Launch` button to create an instance.\nOnce your instance is launched, it can be connect using a remote desktop or SSH client and start configuring  software and applications.\n\n\u003cimg src=\"./assets/Screenshot (82).png\" alt=\"\" width=\"600\" /\u003e\n\n\u003cbr/\u003e\n\n## 1.2 Adding Jenkins Port to AWS Instance\nSelect the `Jenkins` instance that you want to add Jenkins port to. Click on the `Security` tab in the details pane at the bottom of the screen. Under `Security details` menu click on the `Security group` link.\n\n\u003cimg src=\"./assets/Screenshot (83).png\" alt=\"\" width=\"600\" /\u003e\n\n\u003cbr/\u003e\n\nThen under the `Inbound rules` tab Click on the `Edit inbound rules` button. \n\nInside `Edit inbound rules` section Click on the `Add rule` button to create a new inbound rule.\n\nSelect `Custom TCP` rule from the `Type` dropdown menu and enter `8080` as the `Port range`. Then Select `Anywhere` (or a specific IP range) as the `Source` to allow access from any IP address or a specific range of IP addresses.\nFinally, click on the `Save rules` button to apply the changes.\n\n\u003cimg src=\"./assets/Screenshot (84).png\" alt=\"\" width=\"600\" /\u003e\n\u003cimg src=\"./assets/Screenshot (85).png\" alt=\"\" width=\"600\" /\u003e\n\n\u003cbr/\u003e\n\u003cbr/\u003e\n\n# 2. Installing Jenkins on AWS Ubuntu Server\n\n## 2.1 Installing Jenkins\nFirst, update the default Ubuntu packages lists for upgrades with the following command:\n```bash\nsudo apt update\n```\nThen, run the following command to install JDK:\n```bash\nsudo apt install default-jdk -y\n```\nNow, we will install Jenkins itself. Issue the following four commands in sequence to initiate the installation from the Jenkins repository:\n```bash\ncurl -fsSL https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo tee \\\n  /usr/share/keyrings/jenkins-keyring.asc \u003e /dev/null\n\necho deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc] \\\n  https://pkg.jenkins.io/debian-stable binary/ | sudo tee \\\n  /etc/apt/sources.list.d/jenkins.list \u003e /dev/null\n\nsudo apt update\n\nsudo apt install jenkins -y\n```\n\u003cbr/\u003e\n\n## 2.2 Setting Up Jenkins\nWhen the Jenkins has been installed on the Ubuntu, next step is to make the Jenkins enable using the systemctl command:\n```bash\nsudo systemctl enable jenkins\n```\n![](./assets/Screenshot%20(92).png)\n\n\u003cbr/\u003e\n\nOnce that’s done, start the Jenkins service with the following command:\n```bash\nsudo systemctl start jenkins\n```\n![](./assets/Screenshot%20(94).png)\n\n\u003cbr/\u003e\n\nTo confirm its status, use:\n```bash\nsudo systemctl status jenkins\n```\n![](./assets/Screenshot%20(95).png)\n\n\u003cbr/\u003e\n\n## 2.3 Allowing Jenkins Port [8080]\nWith Jenkins installed, we can proceed with adjusting the firewall settings. By default, Jenkins will run on port 8080.\n\nIn order to ensure that this port is accessible, we will need to configure the built-in Ubuntu firewall (ufw). To open the 8080 port and enable the firewall, use the following commands:\n```bash\nsudo ufw allow 8080\n```\n![](./assets/Screenshot%20(97).png)\n\n\u003cbr/\u003e\n\nThen we will enable the UFW(Ubuntu Firewall) service:\n```bash\nsudo ufw enable\n```\n![](./assets/Screenshot%20(98).png)\n\n\u003cbr/\u003e\n\nOnce done, test whether the firewall is active using this command:\n```bash\nsudo ufw status\n```\n![](./assets/Screenshot%20(99).png)\n\n\u003cbr/\u003e\n\nWith the firewall configured, it’s time to set up Jenkins itself. Type in the IP of your EC2 along with the port number. The Jenkins setup wizard will open.\n\n\u003cbr/\u003e\n\n## 2.4 Jenkins Credentials\nTo check the initial password, use the cat command as indicated below:\n```bash\nsudo cat /var/lib/jenkins/secrets/initialAdminPassword\n```\n\nAll Set! You can now start automating...\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdebrajhyper%2Fjenkins-installation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdebrajhyper%2Fjenkins-installation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdebrajhyper%2Fjenkins-installation/lists"}