Book Image

Mastering Chef Provisioning

By : Earl Waud
Book Image

Mastering Chef Provisioning

By: Earl Waud

Overview of this book

This book will show you the best practices to describe your entire infrastructure as code. With the help of this book you can expand your knowledge of Chef because and implement robust and scalable automation solutions. You can automate and document every aspect of your network, from the hardware to software, middleware, and all your containers. You will become familiar with the Chef’s Chef Provisioning tool. You will be able to make a perfect model system where everything is represented as code beneath your fingertips. Make the best possible use of your resources, and deliver infrastructure as code, making it as versionable, testable and repeatable as application software
Table of Contents (17 chapters)
Mastering Chef Provisioning
Credits
Foreword
About the Author
Acknowledgments
About the Reviewer
www.PacktPub.com
Preface
Index

What is Chef provisioning?


If you have been using Chef for a while, you may have heard about a feature named Chef Metal. Chef provisioning is the rebranded and evolved tool formerly known as Chef Metal. Chef provisioning is the Chef of all things. It serves the purpose of turning your application-run books into code. Now, all the benefits of infrastructure as code that you have come to enjoy in order to manage your server instances can also be enjoyed in managing your entire application cluster. Chef provisioning lets you describe your entire app the way you currently describe a single machine, using resources. Because of this, Chef provisioning allows you to test an entire distributed application at once.

It's highly idempotent

Chef Provision is highly idempotent, meaning that you can run the same Chef provisioning command repeatedly, and only the specific resources that have changed since the previous run will be affected.

For example, when you first run the Chef Provisioning command to create...