Containerization with Ansible 2: Implement container management, deployment, and orchestration within the Ansible ecosystem
Aric Renzo
- 出版商: Packt Publishing
- 出版日期: 2017-12-08
- 售價: $1,660
- 貴賓價: 9.5 折 $1,577
- 語言: 英文
- 頁數: 234
- 裝訂: Paperback
- ISBN: 1788291913
- ISBN-13: 9781788291910
-
相關分類:
Ansible
下單後立即進貨 (約3~4週)
相關主題
商品描述
Automate the container lifecycle from image build through cloud deployment using the automation language you already know.
Key Features
- Use Ansible Container as an integral part of your workflow to increase flexibility and portability.
- Manage the container life cycle using existing Ansible roles and automate the entire container build, deployment and management process.
- A step-by-step guide that will get you up and running from building a simple container image to deploying a complex, multi-container app in the cloud.
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.
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.
Who This Book Is For
This book is aimed at DevOps engineers, administrators and developers who already have some familiarity with writing and running Ansible playbooks, and want to learn how to use Ansible to implement containerization.
Table of Contents
- Building Containers with Docker
- Working with Ansible Container
- Your First Ansible Container Project
- What's in a Role?
- Containers at Scale with Kubernetes
- Managing Containers with OpenShift
- Deploying Your First Project
- Building and Deploying a Multi-Container Project
- Going Further with Ansible Container
商品描述(中文翻譯)
自動化容器生命周期,從映像檔建立到雲端部署,使用您已經熟悉的自動化語言。
主要特點:
- 使用 Ansible Container 作為工作流程的一部分,增加靈活性和可移植性。
- 使用現有的 Ansible 角色管理容器生命周期,自動化整個容器建立、部署和管理過程。
- 逐步指南,從建立簡單的容器映像檔到在雲端部署複雜的多容器應用程式。
書籍描述:
如今,許多組織正在採用容器化和 DevOps 方法來提高部署新應用程式的靈活性和可靠性。建立自訂應用程式容器通常意味著利用脆弱且往往複雜的 Dockerfile,這可能導致繁瑣的多層容器。Ansible Container 提供了一種新的工作流程,用於從開發到生產的容器開發管理。本書的目標是讓您能夠使用 Ansible Container 建立容器映像檔,本地運行容器,並將其部署到雲端。
我們將從一個簡單的單容器應用程式進展到由多個相互連接的容器組成的複雜應用程式。您將學習如何在本地運行應用程式,如何將其部署到本地運行的 OpenShift 叢集,以及如何將其部署到雲端運行的 Kubernetes 叢集。在此過程中,您將了解如何使用角色來定義每個映像或微服務,以及如何與 Ansible 社群分享您完成的項目。接下來,您將能夠充分利用 Ansible Container,在自己的項目中自動化容器生命周期。
通過本書,您將掌握 Ansible Container 平台,並建立適合部署到生產環境的複雜多容器項目。
您將學到:
- 通過使用 Ansible 角色定義和建立映像,提高生產力。
- 學習如何使用 Ansible Container 管理、測試和部署容器化應用程式。
- 通過學習使用 Ansible,增加應用程式的靈活性和可移植性。
- 發現如何將現有的 Ansible 角色應用於映像建立過程。
- 從建立簡單的容器映像檔到在雲端部署複雜的多容器應用程式。
- 深入研究 Ansible Container 的架構,並學習如何可靠高效地建立可重複使用的容器映像檔。
本書適合對撰寫和執行 Ansible playbook 有一定熟悉度的 DevOps 工程師、管理員和開發人員,並希望學習如何使用 Ansible 實現容器化的人士。
目錄:
1. 使用 Docker 建立容器
2. 使用 Ansible Container 工作
3. 您的第一個 Ansible Container 項目
4. 角色的內容
5. 使用 Kubernetes 進行大規模容器管理
6. 使用 OpenShift 管理容器
7. 部署您的第一個項目
8. 建立和部署多容器項目
9. 進一步使用 Ansible Container