Closed peeb closed 8 years ago
@peeb Great work!! :+1:
For our 'ec2' environment, I would love to have a full automated bootstrapping process. I mean we should somehow integrate ec2_create_instance
into bootstrap
fab task. In this regard, with a single fab task we would be able to create a new ec2 instance with the /puppet partition encrypted, associate a new elastic IP address, and then run everything needed to bootstrap that newly created host (i.e. current bootstrap
task). However we have a chicken egg problem with the IP association, since we need to know it in advance in order to properly configure the hiera json for a given host.
@orifito that's a really good point. I'm gonna think about that.
This branch contains an added fabric task
ec2_create_instance
which currently serves on purpose, namely to launch an EC2 instance with an encrypted EBS volume attached to it mounted at/puppet
for use in our hybrid approach to spinning up CartoDB.The code to review is at the end of
fabfile.py
and usage instructions are inREADME_AWS.md
.@orifito