Chapter 5. Provisioning the Last Mile with Cloud-Init

In this chapter, we will cover the following recipes:

  • Using cloud-init on AWS, Digital Ocean, or OpenStack
  • Handling files using cloud-init
  • Configuring the server's time zone using cloud-init
  • Managing users, keys, and credentials using cloud-init
  • Managing repositories and packages using cloud-init
  • Running commands during boot using cloud-init
  • Configuring CoreOS using cloud-init
  • Deploying Chef client from start to finish using cloud-init
  • Deploying a remote Docker server using cloud-init

Introduction

Cloud-init is a cloud instance initialization system, standard across most Linux distributions. It's supported by all recent distributions (Ubuntu, Arch, CentOS/Red Hat, Fedora, and more), as well as a variant ...

Get Infrastructure as Code (IAC) Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.