12 Aug '12, 5pm
あとで読む / “#347 Rubber and Amazon EC2 - RailsCasts”
The next thing we need to do is set up a key pair. The default name for this is gsg-keypair , but we can call it anything we want. Back on our Amazon account page we’ll click the “Key Pairs” tab and look for the “Amazon EC2 Key Pairs” section. Here’s we’ll find a link to the AWS Management Console and we can to click this to switch to the management console. On the lefthand side of this page we’ll find a “Key Pairs” link and here we can create a new key pair and give it a name (we’ll stick with the default of gsg-keypair ). Clicking “Create” will download a gsg-keypair.pem file. Rubber expects this file to be in a .ec2 directory under our home directory and expects it to have the same name as the key_name setting so we’ll need to move it. It’s a good idea to change the permissions on this file so that it’s only accessible by us so we’ll do that too.