manual server configuration steps from the AWS EC2 console:
- create a new aws ec2 elastic ip, MY_ELASTIC_IP
- create a new aws ec2 instance, add an EBS drive on /dev/sdb, and choose existing AWS_EC2_GENERATED_KEY.pem or generate a new one
mv Downloads/AWS_EC2_GENERATED_KEY.pem ~/.ssh/
(if applicable)
chmod 400 ~/.ssh/AWS_EC2_GENERATED_KEY.pem
(if applicable)
- associate the elastic ip with the instance
- edit ~/.ssh/config file (see attached ssh_configuration file)
ssh MY_ELASTIC_IP_ADDRESS
to test the connection
manual domain nameserver mapping steps (optional):
- register a domain, MY_DOMAIN
- edit the domain's A NAME pointer to MY_ELASTIC_IP
ssh MY_DOMAIN
to test the connection
automated server configuration steps:
- write a chef recipe, MY_RECIPE, in a chef repo, MY_CHEF_REPO
- add a node to MY_CHEF_REPO/nodes (see attached chef_node_configuration.json* file)
knife solo prepare MY_DOMAIN
knife solo cook MY_DOMAIN