Name: Bakery Examples Clone URL: https://github.com/cloudnative/examples-ansible.git Website URL: https://github.com/cloudnative/examples-ansible
The details page shows you a Deploy Key. Since you are using a public Git repository, you can skip this step.
This first section is all about AWS:
You can use any region you like, but for this example, we will use:
us-east-1 (N. Virginia)
Now we choose which AMI to use as the base. Any AMI can be used, but in this example, we are going to use Ubuntu 14.04. Enter
The Virtualization type for this AMI is HVM, so select that.
That's the AWS section complete, now we move to the Ansible section.
Select the Git Repository we added earlier from the list
Path to Ansible playbook
Skip the CI Integration section for now
Now for the moment of truth... click the blue Bake an AMI button.
This will show the details of the Bake process. Once we figure out AngularJS, this will be amazing, but for now, refresh the page every 30 seconds or so to see the progress.
The Bakery uses CloudFormation to bring up the required AWS resources (security group, IAM role, EC2 instance, etc). Once the CloudFormation Stack enters
CREATE_COMPLETE, you can click on Bake Log and see Ansible being installed, and then running the
If everything goes to plan, a snapshot of the EBS volume your AMI is being build on will be made, and the AMI registered.
If you are in a place where it is socially acceptable, take a shot to celebrate. Beer is also fine. :-)
Well, the AMI has been built, why not launch an EC2 instances using it and marvel in your genius?