iac

Getting Started with Cloud Init

October 30, 2019
Cloud
aws, iac

In this guide we are going to use cloud-init to bootstrap an apache server on AWS EC2. Introduction Cloud init is a service that comes installed on newer OS distributions. It is able to consume cloud-config files and execute them during the very first boot of a server. Cloud-config files use a declarative syntax (YAML format) to specify common configuration tasks such as: Configuring SSH keys Settting up trusted CA certs Define users Run scripts etc. ...