- create a new IAM user and attach the AWS OpsWorks Register Policy
- for testing: create a new stack on AWS OpsWorks and fetch its ID
- customize all variables prefixed with
YOUR_
from thecloud-config.yml
- start process to create a droplet
- put in hostname, select the Ubuntu 14.04 image
- paste the
cloud-config.yml
into the user-data field - confirm and wait for the droplet to appear on OpsWorks
When you log into your droplet the MOTD
should look like this:
$ ssh root@public-droplet-ip
Welcome to Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-52-generic x86_64)
* Documentation: https://help.ubuntu.com/
System information as of Fri May 15 08:39:20 EDT 2015
System load: 0.0 Memory usage: 9% Processes: 50
Usage of /: 7.5% of 19.56GB Swap usage: 0% Users logged in: 0
Graph this data and manage this system at:
https://landscape.canonical.com/
This instance is managed with AWS OpsWorks.
###### OpsWorks Summary ######
Operating System: Ubuntu 14.04.2 LTS
OpsWorks Instance: name-of-your-droplet
OpsWorks Instance ID: random hash
OpsWorks Layers:
OpsWorks Stack: stackname
Public IP: public-droplet-ip
Private IP: private-droplet-ip
Visit http://aws.amazon.com/opsworks for more information.
That's all! Go #multicloud!
Thank you very much :3
Seriously this just made my week!