DevOps, DevSecOps

5 Mins Read

Spotlight: Jenkins Integration using AWS Marketplace AMI

Voiced by Amazon Polly

Jenkins is an open-source automation server that makes it easier to automate the platform-wide deployment, testing, and development phases of any project. Jenkins assists in preventing breaking changes so that you can guarantee the delivery of high-quality software while saving time. Before putting your apps into production, you can easily manage and test them with its online interface.

Bitnami package for Jenkins

The most recent versions of pipeline and Git integration plugins, as well as other community-recommended plugins, are included in this image. It is an open-source solution that Bitnami has bundled. Bitnami is the company that packed this software list. Use of the trademarks mentioned in the offering does not imply endorsement or association; ownership of the trademarks remains with the respective companies.

Customized Cloud Solutions to Drive your Business Success

  • Cloud Migration
  • Devops
  • AIML & IoT
Know More

Bitnami Certified Apps: Why Use Them?

Images with Bitnami certification are always up-to-date and safe and designed to function straight out of the box. Applications are packaged by Bitnami by industry standards, and all libraries and components are routinely checked for vulnerabilities and programme upgrades. Bitnami automatically repackages the apps and publishes the most recent versions to the cloud marketplaces whenever a security threat or upgrade is detected. Details about the image are as follows:

By: Bitnami by VMware

Categories: Source Control, Testing, and Application Development

Operating Systems:

Linux/Unix, Debian 11,

Delivery Methods: Amazon Machine Image

Step-by-Step Guide to Implement Jenkins using Marketplace AMI

  1. Go to Marketplace subscription and click on Discover Products.
  2. Search for the Bitnami package for Jenkins and click on it.
  3. Then click on Continue to subscribe and accept the terms.
  4. After that, click on Continue to Configuration.
  5. Keep the default settings and click on Continue to Launch. Change to t2.small, keep the rest of the defaults, and click on Launch.
  6. The below message will be displayed.
  7. Now, go to the EC2 dashboard, and you will see that one EC2 instance is running. Rename it as Jenkins.

  8. Now, you need to get a username and password to access Jenkins; for that, again, go to the page shown in step 6 and click on usage instructions.
  9. You will get the below page from which you get the default server administrator as a ‘user,’ but you don’t have a password there.

  10. Now, for the password, go to the EC2 instance, select the Jenkins instance, click on the action, select Monitor and Troubleshoot, and click on Get System logs

  11. Then, on the log screen, you will get the username and password. Copy and save it in Notepad.
  12. Now go to the Jenkins instance, copy the public IP, and open it in a new web browser, and you will get the Jenkin Login page. Now copy the username and password that you saved in the notepad file in the last step and sign in.

  13. Now you are on Jenkins’s home page

  14. Click on manage Jenkins, click on plugins, and click on available plugins. Search for CloudFormation, select, and install. Click on restart Jenkins.

  15. By the time Jenkins restarts, open GitHub. Create a new repository with Jenkins-cf and upload the files there.

  16. Once Jenkins has restarted, give the user name and password to log in again. Click on a new item/ create a job. Give the item name Jenkins_cf, select FreeStyle project, and click on ok.

  17.  Go to source code management. If there is no git, then again, go back to the plugins and download the git plugins.
  18. In source code management, select git, go to git, copy the URL of the repository, and then again come back to Jenkins and paste the URL there. Now click on add to add the credentials, select Jenkins, and then give the username and password of your GitHub. Click on add and then select this.
  19. Go to IAM and create a user with s3 full access and CloudFormation full access. Download the credentials.
  20. Now, in the Jenkins instance, go to Build Environment. Select CloudFormation, copy the name of json file from git, here ‘simplests3cft.json’, and paste it into the Cloud Formation recipe file/S3 URL. (.json). Give the name of the stack as Jenkins-cf. Now give the access key and secret access key of the user created in step 19, uncheck automatic stack delete and save.
  21. NOTE-change the branch name from master to main.

  22. Now click on Build Now. The Build will be in progress in build history, then click on #1 and console output; it will show all the events.

 

Get your new hires billable within 1-60 days. Experience our Capability Development Framework today.

  • Cloud Training
  • Customized Training
  • Experiential Learning
Read More

About CloudThat

Established in 2012, CloudThat is a leading Cloud Training and Cloud Consulting services provider in India, USA, Asia, Europe, and Africa. Being a pioneer in the cloud domain, CloudThat has special expertise in catering to mid-market and enterprise clients from all the major cloud service providers like AWS, Microsoft, GCP, Databricks, HP, and more. Uniquely positioned to be a single source for both training and consulting for cloud technologies like Cloud Migration, Data Platforms, DevOps, IoT, and the latest technologies like AI/ML, it is a top-tier partner with AWS and Microsoft, winning more than 8 awards combined in 11 years. Recently, it was recognized as the ‘Think Big’ partner from AWS and won the Microsoft Superstars FY 2023 award in Asia & India. Leveraging its position as a leader in the market, CloudThat has trained 650k+ professionals in 500+ cloud certifications and delivered 300+ consulting projects for 100+ corporates in 28+ countries.

Share

Comments

    Click to Comment

Get The Most Out Of Us

Our support doesn't end here. We have monthly newsletters, study guides, practice questions, and more to assist you in upgrading your cloud career. Subscribe to get them all!