Jenkins Server on Azure – Getting Started

This guide shows How To Setup Jenkins on Azure: A Step-By-Step Guide.

Overview

What is Jenkins? Jenkins is a versatile open-source application that can be used in software development projects, DevOps and Infrastructure Teams to build, test, and deploy software and applications both on private and public clouds.

Jenkins can automate the build and deployment process of just about any programming language and platform including Golang, Ruby, Shell scripts, Python, .Net, Java, C#, Testing frameworks, Infrastructure as Code, Docker, Kubernetes, Linux, Windows and Cloud providers.

In this guide, we’ll show you how to set up Jenkins on Azure using our customised battle-tested Azure image. It takes only 5mins and you’ll be able to start building and deploying your next project with Jenkins easily! Jenkins is an open-source application that makes it easy to manage and deploy software. It can be used to build, test and deploy. Launch your Jenkins server today

Launch Jenkins Server on Azure

What are the benefits of Jenkins?

Jenkins is a powerful open-source continuous integration and delivery platform that has a wide range of benefits for businesses. It’s a great choice for companies of all sizes, as it can easily scale up to accommodate increasing demand. Additionally, Jenkins, when deployed correctly, helps reduce the time it takes to get new features into production. This is an essential step in ensuring that your software is constantly up-to-date and compliant with changing regulations. Other benefits of using Jenkins include the following;

  • #1 CI/CD platform with great community support.
  • Very easy-to-use Web UI with point-and-click administration.
  • Easily configurable to build and deploy multiple programming languages.
  • Integrates easily with Github, Gitlab and other SCM tools.
  • Can be used to quickly detect errors in code, allowing developers a proactive opportunity to fix bugs.
  • Rich Plugin ecosystem allows users to extend the power of CI/CD automation.

Step by step launch on Azure MarketPlace

On the product page , click on the “Get It Now” button. A pop-up window will appear asking you to confirm your selection. Click “Continue” to proceed.

2. Open Azure Portal: You’ll be redirected to the Azure Portal (https://portal.azure.com ). If you’re not already logged in, you’ll need to sign in with your Azure account.

3. Create a Virtual Machine: You’ll see a page with the details of the image you selected. Click on the “Create” button to start creating your virtual machine.

4. Fill in the Virtual Machine Details: Fill in the necessary details, such as subscription, resource group, virtual machine name, region, availability options, and size.

5. Authentication Type & Inbound Port Rules: Choose an authentication type (SSH public key or password) and set up the inbound port rules as needed.

6. Disks, Networking, Management, Advanced, Tags: Choose the disk type, set up networking, enable management features, add extensions, and add tags as needed.

7. Review + Create: Review all your settings. If everything is OK, click on “Review + Create”, then “Create” to start the deployment process.

8. Check the Deployment: After clicking “Create”, you’ll be redirected to the deployment overview page. Wait for the deployment to finish.

9. Go to the Virtual Machine Page: Once the deployment is complete, click “Go to resource” to manage your new VM. Note the IP address down, as this is what you will use to access and manage your instance.

Once your VM is launched, it will take about 5 minutes to bootstrap for the first time. When ready, you should be able to browse to Jenkins web-ui located at http://ip.address.of.instance:8080 for example, if your instance is on IP address 1.2.3.4, you should be able to access the web-ui by browsing to http://1.2.3.4:8080

As per Jenkins’s official documentation, a unique password is generated for every installation and stored at this location

/var/lib/jenkins/secrets/initialAdminPassword

Access the Jenkins server over ssh to access this password. The details to log in to your VM instance will be the ones you set up during installation.

username: azureuser
ssh-key: As per setup instructions

Conclusion

Jenkins is a powerful tool that can be used to develop, test, and deploy applications. In this guide, we showed you how to set up Jenkins on Azure using our custom-baked image in the Azure MarketPlace . We explained the benefits of using Jenkins and its features. We hope you are excited to use Jenkins in your projects.

Disclaimer:

All product and company names are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.

Do you still need help?

Look, our Tech Support Staff live and breathe Cloud Engineering. Let them handle the details, so you can focus on the big picture.

Contact Support