Sharpen your DevOps knowledge with DevOps BootcampAbout This Book⢠Improve your organization's performance to ensure smooth production of software and services.⢠Learn how Continuous Integration and Continuous Delivery practices can be utilized to cultivate the DevOps culture.⢠A fast-paced guide filled with illustrations and best practices to help you consistently ship quality software.Who This Book Is ForThe book is aimed at IT Developers and Operationsāadministrators who want to quickly learn and implement the DevOps culture in their organization.What You Will Learn⢠Static Code Analysis using SOnarqube⢠Configure a Maven-based JEE Web Application⢠Perform Continuous Integration using Jenkins and VSTS⢠Install and configure Docker⢠Converge a Chef node using a Chef workstation⢠Accomplish Continuous Delivery in Microsoft Azure VM and Microsoft Azure App Services (Azure Web Apps) using Jenkins⢠Perform Load Testing using Apache JMeter⢠Build and Release Automation using Visual Studio Team Services⢠Monitor Cloud-based resourcesIn DetailDevOps Bootcamp delivers practical learning modules in manageable chunks. Each chunk is delivered in a day, and each day is a productive one. Each day builds your competency in DevOps. You will be able to take the task you learn every day and apply it to cultivate the DevOps culture.Each chapter presents core concepts and key takeaways about a topic in DevOps and provides a series of hands-on exercises. You will not only learn the importance of basic concepts or practices of DevOps but also how to use different tools to automate application lifecycle management.We will start off by building the foundation of the DevOps concepts. On day two, we will perform Continuous Integration using Jenkins and VSTS both by configuring Maven-based JEE Web Application?. We will also integrate Jenkins and Sonar qube for Static Code Analysis. Further, on day three, we will focus on Docker containers where we will install and configure Docker and also create a Tomcat Container to deploy our Java based web application. On day four, we will create and configure the environment for application deployment in AWS and Microsoft Azure Cloud for which we will use Infrastructure as a Service and Open Source Configuration Management tool Chef. For day five, our focus would be on Continuous Delivery. We will automate application deployment in Docker container using Jenkins Plugin, AWS EC2 using Script, AWS Elastic Beanstalk using Jenkins Plugin, Microsoft Azure VM using script, and Microsoft Azure App Services Using Jenkins. We will also configure Continuous Delivery using VSTS. We will then learn the concept of Automated Testing on day six using Apache JMeter and URL-based tests in VSTS. Further, on day seven, we will explore various ways to automate application lifecycle management using orchestration. We will see how Pipeline can be created in Jenkins and VSTS, so the moment Continuous? Integration is completed successfully, Continuous Delivery will start and application will be deployed. On the final day, our focus would be on Security access to Jenkins and Monitoring of CI resources, and cloud-based resources in AWS and Microsoft Azure Platform as a Service.Style and ApproachThis book is all about fast and intensive learning. This means we don't waste time in helping readers get started. The new content is basically about filling in with highly-effective examples to build new things, solving problems in newer and unseen ways, and solving real-world examples.

- 312 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
eBook - ePub
DevOps Bootcamp
About this book
Trusted byĀ 375,005 students
Access to over 1 million titles for a fair monthly price.
Study more efficiently using our study tools.
Information
Cloud Computing and Configuration Management
"Change is hard because people overestimate the value of what they have and underestimate the value of what they may gain by giving that up."
ā James Belasco and Ralph Stayer
ā James Belasco and Ralph Stayer
In the previous chapter, we have seen an overview of Docker containers. In this chapter, we will focus on creating and configuring the environment for application deployment in the cloud. We will use Infrastructure as a Service (IaaS) and the configuration management tool, Chef, to create a platform so that we can deploy an application in the later part using automation.
Chef is a configuration management tool that can be utilized to create a runtime environment for application deployment on a physical machine, virtualized infrastructure, or in the public or private cloud infrastructure.
In this chapter, we will cover the following topics:
Chef is a configuration management tool that can be utilized to create a runtime environment for application deployment on a physical machine, virtualized infrastructure, or in the public or private cloud infrastructure.
In this chapter, we will cover the following topics:
- An overview of the Chef configuration management tool
- Installing and configuring a Chef workstation
- Converging a Chef node using a Chef workstation
- Installing Tomcat packages using community cookbooks
An overview of the Chef configuration management tool
Chef is one of the most popular configuration tools. It comes in two flavors:
- Open source Chef server
- Hosted Chef
What we intend to do here is to show how to prepare a runtime environment for application deployment. Let's understand it in terms of application life cycle management:
- We have a Java-based Spring application package ready after continuous integration.
- We need to deploy the application in the Tomcat web server.
- The Tomcat server can be installed in a physical system, virtualized environment, Amazon EC2 instances, or Microsoft Azure virtual machines.
- We also need to install Java.
In all these, except for the first point, we need to do the installation and configuration activity manual avoid such a repetitive scenario, we can use the Chef configuration management tool to create a virtual machine in AWS or in Microsoft Azure and then install Tomcat with all the dependencies in order to deploy our Java-based spring application.
However, let's look at the basics of the Chef configuration management tool so that we can understand how Chef works and how it performs various steps.
There are three important parts of the Chef configuration management tool:
- The open source Chef server or hosted Chef: The Chef server installed on-premise or the hosted Chef, is the heart of this automation process of installing the runtime environment. It is a centralized repository of cookbooks and details of registered nodes. A Chef workstation is used to upload cookbooks and make changes in the configurations so that they can be applied to the nodes available in the AWS and Microsoft Azure.
- The Chef workstation: A Chef workstation is a system where we can manage cookbooks and other changes. We can perform all the administrative tasks from the Chef workstation. Knife is used to upload cookbooks to the Chef server and execute plugin commands. Knife plugins can be used to perform various operations in AWS and Microsoft Azure Cloud.
- Node: A node is a physical or virtual machine. This virtual machine can be in a virtualized environment, a private cloud empowered by Openstack or VMware, or in a public cloud such as AWS or Microsoft Azure:
- The node communicates with the open source or hosted Chef server
- Node gets the configuration details related to itself, and then starts executing the steps based on these to maintain itself in compliance with what the administrator has decided
Go to the official Chef website at https://chef.io and visit the Chef homepage. We can use the on-premise Chef server by installing and managing it on our own or we can use the hosted Chef:

- Click on MANAGEMENT CONSOLE on https://chef.io or navigate to https://manage.chef.io/login.
- On https://manage.chef.io/login click on Click here to get started!.
- Provide the Full Name, Company name, Email ID, and Username.
- Check the box that says I agree to the Terms of Service and the Master License and Services Agreement.
- Click on the Get Started button.
Refer to the following screenshot:

So the obvious next step is to go to the mailbox and verify the e-mail ID to complete the registration process. We will get an e-mail verification successful message:
- Provide the password an...
Table of contents
- Title Page
- Copyright
- Credits
- About the Author
- About the Reviewer
- www.PacktPub.com
- Customer Feedback
- Dedication
- Preface
- DevOps Concepts and Assessment Framework
- Continuous Integration
- Containers
- Cloud Computing and Configuration Management
- Continuous Delivery
- Automated Testing (Functional and Load Testing)
- Orchestration - End-to-End Automation
- Security and Monitoring
Frequently asked questions
Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, weāve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere ā even offline. Perfect for commutes or when youāre on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access DevOps Bootcamp by Mitesh Soni in PDF and/or ePUB format, as well as other popular books in Computer Science & Software Development. We have over one million books available in our catalogue for you to explore.