DevOps for Web Development

Achieve the Continuous Integration and Continuous Delivery of your web applications with ease

DevOps for Web Development

This ebook is included in a Mapt subscription
Mitesh Soni

Achieve the Continuous Integration and Continuous Delivery of your web applications with ease
$0.00
$34.00
$49.99
$29.99p/m after trial
RRP $39.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 4,000+ eBooks & Videos
  • 40+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781786465702
Paperback408 pages

Book Description

The DevOps culture is growing at a massive rate, as many organizations are adopting it. However, implementing it for web applications is one of the biggest challenges experienced by many developers and admins, which this book will help you overcome using various tools, such as Chef, Docker, and Jenkins.

On the basis of the functionality of these tools, the book is divided into three parts. The first part shows you how to use Jenkins 2.0 for Continuous Integration of a sample JEE application. The second part explains the Chef configuration management tool, and provides an overview of Docker containers, resource provisioning in Cloud environments using Chef, and Configuration Management in a Cloud environment. The third part explores Continuous Delivery and Continuous Deployment in AWS, Microsoft Azure, and Docker, all using Jenkins 2.0.

This book combines the skills of both web application deployment and system configuration as each chapter contains one or more practical hands-on projects. You will be exposed to real-world project scenarios that are progressively presented from easy to complex solutions. We will teach you concepts such as hosting web applications, configuring a runtime environment, monitoring and hosting on various cloud platforms, and managing them. This book will show you how to essentially host and manage web applications along with Continuous Integration, Cloud Computing, Configuration Management, Continuous Monitoring, Continuous Delivery, and Deployment.

Table of Contents

Chapter 1: Getting Started – DevOps Concepts, Tools, and Technologies
Understanding the DevOps movement
The DevOps lifecycle - it's all about "continuous"
Tools and technologies
An overview of a sample Java EE application
Self-test questions
Summary
Chapter 2: Continuous Integration with Jenkins 2
Introduction
Installing Jenkins
The Jenkins dashboard
Configuring Java and Maven in Jenkins
Creating and configuring a build job for a Java application with Maven
Configuring and authenticating source code on GitHub
Configuring build job
Configuring JUnit
The Dashboard View plugin - overview and usage
Managing nodes
Sending e-mail notifications based on build status
Integrating Jenkins and Sonar
Self-test questions
Summary
Chapter 3: Building the Code and Configuring the Build Pipeline
Creating built-in delivery pipelines
Creating a pipeline for compiling and executing test units
Using the Build Pipeline plugin
Integrating the deployment operation
Self-test questions
Summary
Chapter 4: Installing and Configuring Chef
Getting started with Chef
Overview of hosted Chef
Installing and configuring a Chef workstation
Converging a Chef node using a Chef workstation
Installing software packages using cookbooks
Creating a role
Self-test questions
Summary
Chapter 5: Installing and Configuring Docker
Overview of Docker containers
Understanding the difference between virtual machines and containers
Installing and configuring Docker on CentOS
Creating your first Docker container
Understanding the client-server architecture of Docker
Managing containers
Creating a Docker image from Dockerfile
Self-test questions
Summary
Chapter 6: Cloud Provisioning and Configuration Management with Chef
Chef and cloud provisioning
Installing knife plugins for Amazon Web Services and Microsoft Azure
Creating and configuring a virtual machine in Amazon EC2
Creating and configuring a virtual machine in Microsoft Azure
Docker containers
Self-test questions
Summary
Chapter 7: Deploying Application in AWS, Azure, and Docker
Prerequisites – deploying our application on Remote Server
Deploying application in Docker container
Deploying Application in AWS
Deploying application in Microsoft Azure
Self-test questions
Summary
Chapter 8: Monitoring Infrastructure and Applications
Getting started – monitoring
Overview of Monitoring tools and Techniques
Monitoring AWS Elastic Beanstalk
Monitoring Microsoft Azure Web App Service
Self-test questions
Summary
Chapter 9: Orchestrating Application Deployment
Creating build jobs for end-to-end automation
Configuring SSH authentication using a key
Configuring the build pipeline for build job orchestration
Executing the pipeline for application deployment automation
Hygieia – a DevOps dashboard
Self-test questions
Summary

What You Will Learn

  • Grasp Continuous Integration for a JEE application—create and configure a Build Job for a Java application with Maven and with Jenkins 2.0
  • Create built-in delivery pipelines of Jenkins 2 and build a pipeline configuration for end-to-end automation to manage the lifecycle of Continuous Integration
  • Get to know all about configuration management using Chef to create a runtime environment
  • Perform instance provisioning in AWS and Microsoft Azure and manage virtual machines on different cloud platforms—install Knife plugins for Amazon EC2 and Microsoft Azure
  • Deploy an application in Amazon EC2, AWS Elastic Beanstalk, Microsoft Azure Web Apps, and a Docker container
  • Monitor infrastructure, application servers, web servers, and applications with the use of open source monitoring solutions and New Relic
  • Orchestrate multiple build jobs to achieve application deployment automation—create parameterized build jobs for end-to-end automation

Authors

Table of Contents

Chapter 1: Getting Started – DevOps Concepts, Tools, and Technologies
Understanding the DevOps movement
The DevOps lifecycle - it's all about "continuous"
Tools and technologies
An overview of a sample Java EE application
Self-test questions
Summary
Chapter 2: Continuous Integration with Jenkins 2
Introduction
Installing Jenkins
The Jenkins dashboard
Configuring Java and Maven in Jenkins
Creating and configuring a build job for a Java application with Maven
Configuring and authenticating source code on GitHub
Configuring build job
Configuring JUnit
The Dashboard View plugin - overview and usage
Managing nodes
Sending e-mail notifications based on build status
Integrating Jenkins and Sonar
Self-test questions
Summary
Chapter 3: Building the Code and Configuring the Build Pipeline
Creating built-in delivery pipelines
Creating a pipeline for compiling and executing test units
Using the Build Pipeline plugin
Integrating the deployment operation
Self-test questions
Summary
Chapter 4: Installing and Configuring Chef
Getting started with Chef
Overview of hosted Chef
Installing and configuring a Chef workstation
Converging a Chef node using a Chef workstation
Installing software packages using cookbooks
Creating a role
Self-test questions
Summary
Chapter 5: Installing and Configuring Docker
Overview of Docker containers
Understanding the difference between virtual machines and containers
Installing and configuring Docker on CentOS
Creating your first Docker container
Understanding the client-server architecture of Docker
Managing containers
Creating a Docker image from Dockerfile
Self-test questions
Summary
Chapter 6: Cloud Provisioning and Configuration Management with Chef
Chef and cloud provisioning
Installing knife plugins for Amazon Web Services and Microsoft Azure
Creating and configuring a virtual machine in Amazon EC2
Creating and configuring a virtual machine in Microsoft Azure
Docker containers
Self-test questions
Summary
Chapter 7: Deploying Application in AWS, Azure, and Docker
Prerequisites – deploying our application on Remote Server
Deploying application in Docker container
Deploying Application in AWS
Deploying application in Microsoft Azure
Self-test questions
Summary
Chapter 8: Monitoring Infrastructure and Applications
Getting started – monitoring
Overview of Monitoring tools and Techniques
Monitoring AWS Elastic Beanstalk
Monitoring Microsoft Azure Web App Service
Self-test questions
Summary
Chapter 9: Orchestrating Application Deployment
Creating build jobs for end-to-end automation
Configuring SSH authentication using a key
Configuring the build pipeline for build job orchestration
Executing the pipeline for application deployment automation
Hygieia – a DevOps dashboard
Self-test questions
Summary

Book Details

ISBN 139781786465702
Paperback408 pages
Read More

Read More Reviews