DevOps automation cookbook : over 120 recipes covering key automation techniques through code management and virtualization offered by modern infrastructure-as-a-service solutions / Michael Duffy.
Material type: TextSeries: Quick answers to common problemsPublisher: Birmingham, UK : Packt Publishing, 2015Description: 1 online resource (1 volume) : illustrationsContent type:- text
- computer
- online resource
- 9781784398392
- 178439839X
- Over 120 recipes covering key automation techniques through code management and virtualization offered by modern infrastructure-as-a-service solutions
- 005.7/3 23
- QA76.9.D35
Online resource; title from cover (Safari, viewed December 14, 2015).
Includes index.
Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Basic Command Line Tools; Introduction; Controlling network interfaces; Monitoring network details with the IP command; Monitoring connections using the ss command; Gathering basic OS statistics; Viewing historical resource usage with SAR; Installing and configuring a Git client; Creating an SSH key for Git; Using ssh-copy-id to copy keys; Creating a new Git repository; Cloning an existing Git repository; Checking changes into a Git repository
Pushing changes to a Git remoteCreating a Git branch; Chapter 2: Ad Hoc Tasks with Ansible; Introduction; Installing an Ansible control node on Ubuntu; Installing an Ansible control node on CentOS; Creating an Ansible inventory; Using the raw module to install python-simplejson; Installing packages with Ansible; Restarting services using Ansible; Executing freeform commands with Ansible; Managing users with Ansible; Managing SSH keys with Ansible; Chapter 3: Automatic Host builds; Introduction; Creating an Apt mirror using aptly; Automated installation using PXE boot and a Preseed file
Automating post-installation tasksChapter 4: Virtualization with VMware ESXi; Introduction; Installing ESXi; Installing and using the vSphere Client; Allowing SSH access to ESXi; Creating a new guest; Allocating resources to a guest; Using the ESXi command line to start, stop, and destroy guests; Managing command-line snapshots; Tuning the host for guest performance; Chapter 5: Automation with Ansible; Introduction; Installing Ansible; Creating a scaffold Playbook; Creating a common role; Creating a webserver using Ansible and Nginx
Creating an application server role using Tomcat and AnsibleInstalling MySQL using Ansible; Installing and managing HAProxy with Ansible; Using ServerSpec to test your Playbook; Chapter 6: Containerization with Docker; Introduction; Installing Docker; Pulling an image from the public Docker registry; Performing basic Docker operations; Running a container interactively; Creating a Dockerfile; Running a container in detached mode; Saving and restoring a container; Using the host only network; Running a private Docker registry; Managing images with a private registry
Chapter 7: Using Jenkins for Continuous DeploymentIntroduction; Installing Jenkins; Installing the Git plugin; Installing a Jenkins slave; Creating your first Jenkins job; Building Docker containers using Jenkins; Deploying a Java application to Tomcat with zero downtime using Ansible; Chapter 8: Metric Collection with InfluxDB; Introduction; Installing InfluxDB; Creating a new InfluxDB database; Logging events with the InfluxDB REST API; Gathering host statistics with Telegraf; Exploring data with the InfluxDB data explorer; Installing Grafana; Creating dashboards with Grafana
eBooks on EBSCOhost EBSCO eBook Subscription Academic Collection - Worldwide