Infrastructure as Code (IAC) Cookbook
- Length: 370 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2017-03-06
- ISBN-10: 1786464918
- ISBN-13: 9781786464910
- Sales Rank: #2702688 (See Top 100 Books)
Over 90 practical, actionable recipes to automate, test, and manage your infrastructure quickly and effectively
About This Book
- Bring down your delivery timeline from days to hours by treating your server configurations and VMs as code, just like you would with software code.
- Take your existing knowledge and skill set with your existing tools (Puppet, Chef, or Docker) to the next level and solve IT infrastructure challenges.
- Use practical recipes to use code to provision and deploy servers and applications and have greater control of your infrastructure.
Who This Book Is For
This book is for DevOps engineers and developers working in cross-functional teams or operations and would now switch to IAC to manage complex infrastructures.
What You Will Learn
- Provision local and remote development environments with Vagrant
- Automate production infrastructures with Terraform, Ansible and Cloud-init on AWS, OpenStack, Google Cloud, Digital Ocean, and more
- Manage and test automated systems using Chef and Puppet
- Build, ship, and debug optimized Docker containers
- Explore the best practices to automate and test everything from cloud infrastructures to operating system configuration
In Detail
Infrastructure as Code (IAC) is a key aspect of the DevOps movement, and this book will show you how to transform the way you work with your infrastructure―by treating it as software.
This book is dedicated to helping you discover the essentials of infrastructure automation and its related practices; the over 90 organized practical solutions will demonstrate how to work with some of the very best tools and cloud solutions.
You will learn how to deploy repeatable infrastructures and services on AWS, OpenStack, Google Cloud, and Digital Ocean. You will see both Ansible and Terraform in action, manipulate the best bits from cloud-init to easily bootstrap instances, and simulate consistent environments locally or remotely using Vagrant. You will discover how to automate and test a range of system tasks using Chef or Puppet. You will also build, test, and debug various Docker containers having developers’ interests in mind.
This book will help you to use the right tools, techniques, and approaches to deliver working solutions for today’s modern infrastructure challenges.
Style and approach
This is a recipe-based book that allows you to venture into some of the most cutting-edge practices and techniques about IAC and solve immediate problems when trying to implement them.
Table of Contents
Chapter 1. Vagrant Development Environments
Chapter 2. Provisioning IaaS with Terraform
Chapter 3. Going Further with Terraform
Chapter 4. Automating Complete Infrastructures with Terraform
Chapter 5. Provisioning the Last Mile with Cloud-Init
Chapter 6. Fundamentals of Managing Servers with Chef and Puppet
Chapter 7. Testing and Writing Better Infrastructure Code with Chef and Puppet
Chapter 8. Maintaining Systems Using Chef and Puppet