Containerization with Ansible 2: Implement container management, deployment, and orchestration within the Ansible ecosystem
暫譯: 使用 Ansible 2 的容器化:在 Ansible 生態系統中實現容器管理、部署和編排
Aric Renzo
- 出版商: Packt Publishing
- 出版日期: 2017-12-08
- 售價: $1,690
- 貴賓價: 9.5 折 $1,606
- 語言: 英文
- 頁數: 234
- 裝訂: Paperback
- ISBN: 1788291913
- ISBN-13: 9781788291910
-
相關分類:
Ansible
海外代購書籍(需單獨結帳)
相關主題
商品描述
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,以便您可以從 Ansible 角色創建容器映像檔,在本地運行容器,並將其部署到雲端。
我們將從一個簡單的單容器應用程式開始,逐步進入由多個相互連接的容器組成的複雜應用程式。您將學習如何在本地運行應用程式,如何將其部署到本地運行的 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