Thanks so much, I would never have discovered AWS or made it through the setup without this guide! My first sync is currently running.
Steps where I hit snags:
Create an AWS Volume
ssh complained about the lax permissions on my identity file, so I had to:
$ chmod 600 id_rsa-gsg-keypair
The ami-1a5db973 AMI works for me in the US, but I had to add SSH to my default security group before I could connect to it. In the Management Console, click Security Groups on the left, select default, and add the SSH connection method as a custom rule.
The volume needed to be formatted. I'd recommend just following the help for Volumes to accomplish this.
Create a script…
I replaced /home/gordon in one instance of a path to the id_rsa-gsg-keypair file. The others used a ~, which didn't work in the script, maybe because of my shell configuration. I just made them all /home/<me>/.ec2/id_rsa-gsg-keypair.
It takes about a seven tries to get console output. I thought maybe it wasn't working, but I was just impatient.
I'm not sure if the aws detach-volume command is working. I get output like:
+-----------------------+--------------------------------------------------------------------------+
| Code | Message |
+-----------------------+--------------------------------------------------------------------------+
| InvalidParameterValue | Value (i-7dec8015) for parameter volume is invalid. Expected: 'vol-...'. |
+-----------------------+--------------------------------------------------------------------------+
Does it matter?
That's all. It helped to be familiar with Linux and shell scripting to fix the snags. I've never used rsync before though, or AWS, and I wouldn't have gotten through it without the guide!