Jenkins Server on AWS – Getting Started

This guide shows How To Setup Jenkins on AWS: 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 AWS using our customised battle-tested Amazon AWS 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 AWS

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 AWS MarketPlace

On the product page , click on the “Continue to Subscribe” button. This will lead you to the subscription page.

Accept Terms: Review the End User License Agreement, then click on “Accept Terms”. You’ll be notified that your subscription is being set up.

Launch from EC2 Console: Once your subscription is complete, click on “Continue to Configuration” to choose your software and region, then click on “Continue to Launch”. Here, you can launch your AMI directly through the EC2 console.

Choose Action: Under “Choose Action”, select “Launch from Website” or “Launch through EC2”.

Configure Instance Details: Fill out the details of your instance, such as instance type, VPC settings, security group settings, and key pair. Make sure to configure these settings to match your specific needs.

Launch Instance: Click “Launch” to start your EC2 instance using the selected AMI from the AWS Marketplace.

Check Instance: Go to your EC2 console and click on “Instances” in the left sidebar to check the status of your instance. It may take a few minutes for your instance to launch. You can also access your instance by visiting https://console.aws.amazon.com/

On the console, you should be able to access and manage your instance.

Once your instance 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 ec2 instance will be the ones you set up during installation.

For Amazon Linux image , the credentials will be;

username: ec2-user
ssh-key: As per setup instructions

For Ubuntu Linux image , the credentials will be;

username: ubuntu
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 AWS using our custom-baked image in the AWS 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