Containerization with Ansible 2

Automate the container lifecycle from image build through cloud deployment using the automation language you already know.
Preview in Mapt
Code Files

Containerization with Ansible 2

Aric Renzo

Automate the container lifecycle from image build through cloud deployment using the automation language you already know.

Quick links: > What will you learn?> Table of content

Mapt Subscription
FREE
$29.99/m after trial
eBook
$22.40
RRP $31.99
Save 29%
Print + eBook
$39.99
RRP $39.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$22.40
$39.99
$29.99 p/m after trial
RRP $31.99
RRP $39.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Containerization with Ansible 2 Book Cover
Containerization with Ansible 2
$ 31.99
$ 22.40
Security Automation with Ansible 2 Book Cover
Security Automation with Ansible 2
$ 35.99
$ 25.20
Buy 2 for $35.00
Save $32.98
Add to Cart

Book Details

ISBN 139781788291910
Paperback234 pages

Book Description

Today many organizations are adopting containerization and DevOps methodologies to improve the flexibility and reliability of deploying new applications. Building custom application containers often means leveraging brittle and oftentimes complex Dockerfiles that can lead to cumbersome, multi-layered containers. Ansible Container brings a new workflow for managing the development of containers from development all the way through to production. The goal of this book is to get you up and running with Ansible Container so that you can create container images from Ansible roles, run containers locally, and deploy them to the cloud.

We’ll progress from a simple, single container application, to a complex application consisting of multiple, connected containers. You’ll learn how to run the application locally, how to deploy it to an OpenShift cluster running locally, and how to deploy it to a Kubernetes cluster running in the cloud. Along the way, you’ll see how to use roles to define each image or micro-service, and how to share your completed project with the Ansible community. Next, you will be able to take full advantage of Ansible Container, and use it to automate the container lifecycle in your own projects.

By the end of this book,you will gain mastery of the Ansible Container platform by building complex multi-container projects ready for deployment into production.

Table of Contents

Chapter 1: Building Containers with Docker
Chapter 2: Working with Ansible Container
Chapter 3: Your First Ansible Container Project
What are Ansible roles and container-enabled roles?
Roles in Ansible Galaxy
Ansible Container NGINX role
Summary
Chapter 4: What's in a Role?
Custom roles with Ansible Container
A brief overview of MariaDB
Initializing an Ansible Container role
Summary
Chapter 5: Containers at Scale with Kubernetes
A brief overview of Kubernetes
Summary
Chapter 6: Managing Containers with OpenShift
What is OpenShift?
Installing Minishift locally
Deploying containers using the web interface
An introduction to the OpenShift CLI
OpenShift and Ansible Container
Summary
Chapter 7: Deploying Your First Project
Overview of ansible-container deploy
Summary
Chapter 8: Building and Deploying a Multi-Container Project
Defining complex applications using Docker networking
Exploring the Ansible Container django-gulp-nginx project
Building the django-gulp-nginx project
Deploying the project to OpenShift
Summary
Chapter 9: Going Further with Ansible Container
Tips for writing roles and container apps
Build powerful deployment playbooks with Ansible Core
Troubleshooting application containers
Create a build pipeline using Jenkins or TravisCI
Share roles and apps on GitHub and Ansible Galaxy
Containerize everything!
Summary

What You Will Learn

  • Increase your productivity by using Ansible roles to define and build images
  • Learn how to work with Ansible Container to manage, test, and deploy your containerized applications.
  • Increase the flexibility and portability of your applications by learning to use Ansible
  • Discover how you can apply your existing Ansible roles to the image build process
  • Get you up and running from building a simple container image to deploying a complex, multi-container app in the cloud.
  • Take an indepth look at the architecture of Ansible Container, and learn how to build re-usable container images, reliably and efficiently.

Authors

Table of Contents

Chapter 1: Building Containers with Docker
Chapter 2: Working with Ansible Container
Chapter 3: Your First Ansible Container Project
What are Ansible roles and container-enabled roles?
Roles in Ansible Galaxy
Ansible Container NGINX role
Summary
Chapter 4: What's in a Role?
Custom roles with Ansible Container
A brief overview of MariaDB
Initializing an Ansible Container role
Summary
Chapter 5: Containers at Scale with Kubernetes
A brief overview of Kubernetes
Summary
Chapter 6: Managing Containers with OpenShift
What is OpenShift?
Installing Minishift locally
Deploying containers using the web interface
An introduction to the OpenShift CLI
OpenShift and Ansible Container
Summary
Chapter 7: Deploying Your First Project
Overview of ansible-container deploy
Summary
Chapter 8: Building and Deploying a Multi-Container Project
Defining complex applications using Docker networking
Exploring the Ansible Container django-gulp-nginx project
Building the django-gulp-nginx project
Deploying the project to OpenShift
Summary
Chapter 9: Going Further with Ansible Container
Tips for writing roles and container apps
Build powerful deployment playbooks with Ansible Core
Troubleshooting application containers
Create a build pipeline using Jenkins or TravisCI
Share roles and apps on GitHub and Ansible Galaxy
Containerize everything!
Summary

Book Details

ISBN 139781788291910
Paperback234 pages
Read More

Read More Reviews

Recommended for You

Security Automation with Ansible 2 Book Cover
Security Automation with Ansible 2
$ 35.99
$ 25.20
Ansible 2 Cloud Automation Cookbook Book Cover
Ansible 2 Cloud Automation Cookbook
$ 35.99
$ 25.20
DevOps with Kubernetes Book Cover
DevOps with Kubernetes
$ 39.99
$ 28.00
Ansible 2: Advancements with Security Automation [Video] Book Cover
Ansible 2: Advancements with Security Automation [Video]
$ 124.99
$ 106.25
Getting Started with Ansible 2 Security Automation [Video] Book Cover
Getting Started with Ansible 2 Security Automation [Video]
$ 124.99
$ 106.25
Mastering Entity Framework Core 2.0 Book Cover
Mastering Entity Framework Core 2.0
$ 39.99
$ 28.00