Steps to deploy the deployer:
-
clone & npm install
-
create an awsbox for him. I.E.
node_modules/.bin/awsbox create -d -n deployer -u 'https://deployer.personatest.org'
-t m1.small -p ~/.allmysecrets/personatest.org/personatest.org.crt
-s ~/.allmysecrets/personatest.org/personatest.org.key --ssl=force -
Provide the VM with the ability to create VMs and manipulate DNS (hopefully this happens with IAM roles)
-
copy the SSL creds to
~app/key.pem
and~app/cert.pem
(the domain you're deploying to) -
generate a keypair as the app user -
ssh app@deployer.personatest.org "ssh-keygen -t rsa"
-
git push deployer HEAD:master