How to Setup Jenkins CI/CD Server on Azure/AWS/GCP
To setup and install Jenkins on Ubuntu or CentOS Server onto any of the cloud platforms, the recommended way is to install from the Jenkins image available on any of the marketplaces. Self host your own CI /CD pipelines using Jenkins Server.
Setup Jenkins on Azure
Install Jenkins on AWS
Setup Jenkins on GCP
Getting Started
Â
Once your Jenkins server has been deployed, the following links explain how to connect to a Linux VM:
Â
- How to connect to a Linux VM on Azure
- How to connect to a Linux VM on AWS
- How to connect to a Linux VM on GCP
Â
Once connected and logged in, you’re ready to start configuring Jenkins
Setting up Jenkins
Â
To set up your installation, visit Jenkins on its default port, 8080, using your server domain name or IP address: http://your_server_ip_or_domain:8080
You should receive the Unlock Jenkins screen, which displays the location of the initial password:
Â
Â
In the terminal window, use the cat command to display the password:
sudo cat /var/lib/jenkins/secrets/initialAdminPassword
Copy the 32-character alphanumeric password from the terminal and paste it into the Administrator password field, then click Continue.
Â
The next screen presents the option of installing suggested plugins or selecting specific plugins:
Â
Â
Either choose to install suggested plugins or select plugins to install
Â
Â
When the installation is complete, you’re now ready to setup the first Admin user.
Â
Â
You’ll receive an Instance Configuration page that will ask you to confirm the preferred URL for your Jenkins instance. Confirm either the domain name for your server or your server’s IP address and press save and finish:
Â
Â
You’ll receive confirmation that Jenkins is ready and you can now click on Start Using Jenkins to login
Â
And you’re now ready to start using Jenkins and building your first project / build
Â
Documentation / Support
Â
Documentation on using Jenkins can be found on their website:
Â
Â
Community support for Jenkins can be found on the following:
Â
https://www.jenkins.io/participate/
Â
If you have any problems getting Jenkins server installed in your environment, please contact us and we will get you up and running
Jenkins Firewall Ports
Â
Jenkins uses the following firewall ports:
Â
TCP 8080
TCP 8443
Â
To setup AWS firewall rules refer to – AWS Security Groups
To setup Azure firewall rules refer to – Azure Network Security Groups
To setup Google GCP firewall rules refer to – Creating GCP Firewalls
Disclaimer: Jenkins® is a registered trademark of LF Charities Inc and is licensed under MIT License License. No warrantee of any kind, express or implied, is included with this software. Use at your risk, responsibility for damages (if any) to anyone resulting from the use of this software rest entirely with the user. The author is not responsible for any damage that its use could cause.
Related Posts:
- Jenkins Monitoring: How to Monitor Your Jenkins Server and Jobs
- Jenkins Pipeline Example: Create Jenkins Pipeline Tutorial
- Jenkins Plugins: How to Use and Configure Jenkins Plugins
- How to Setup Jenkins on Windows Server in Google GCP
- How to Setup Jenkins on Windows Server in AWS (Automation)
- How to Setup Jenkins on Windows Server in Azure Cloud