Top "Cloud-init" questions

CloudInit is a set of python scripts and utilities that handles initialization and configuration of cloud instances.

How do I make cloud-init startup scripts run every time my EC2 instance boots?

I have an EC2 instance running an AMI based on the Amazon Linux AMI. Like all such AMIs, it supports …

amazon-ec2 cloud cloud-init
How do I set up cloud-init on custom AMIs in AWS? (CentOS)

Defining userdata for instances in AWS seems really useful for doing all kinds of bootstrap-type actions. Unfortunately, I have to …

amazon-web-services centos amazon-ami cloud-init
How to run cloud-init manually?

I'm writing a CloudFormation template and I'm trying to debug the user-data script I provide in the template. How can …

amazon-ec2 cloud-init
Where to find logs for a cloud-init user-data script?

I'm initializing spot instances running a derivative of the standard Ubuntu 13.04 AMI by pasting a shell script into the user-data …

cloud-init
How to re-run cloud-init without reboot

I am using openstack to create a VM using 'nova boot' command. My image is cloud-init enabled. I pass a …

openstack cloud-init
Why do people use Puppet/Chef with Amazon Cloud Formation instead of just using CloudInit?

We're planning to use AMI EC2 instances which are not "pre-baked". I.e. when they are spun up, they are …

chef-infra puppet configuration-management cloud-init
cloud-init: What is the execution order of cloud-config directives?

What is the order of the directives in the cloud-config section of a cloud-init user-data object. This is important to …

user-data cloud-init
user-data (cloud-init) script not executing on EC2

my user-data script #! set -e -x echo `whoami` su root yum update -y touch ~/PLEASE_WORK.txt which is fed …

linux amazon-ec2 cloud-init
How can I (securely) download a private S3 asset onto a new EC2 instance with cloudinit?

I'm using CloudFormation to manage a Tomcat webserver stack but am tired of doing raw AMI management for new application …

amazon-s3 amazon-web-services amazon-cloudformation cloud-init
How to install aws-cfn-bootstrap/cfn-init package in Redhat using CloudFormation?

I am trying to launch a instance with CloudFormation Template. Instance was started but the UserData section was not executed …

amazon-web-services redhat amazon-cloudformation cloud-init