Info | ||
---|---|---|
| ||
Before you begin, be sure that you've completed the steps in Setting Up with Amazon ECS and that your AWS user has the required permissions specified in the Amazon ECS First Run Wizard IAM policy example. |
- Begin by creating an IAM user, use this page, follow these instructions
- Before the Amazon ECS agent can register container instance into a cluster, the agent must know which account credentials to use. Follow these instructions for creating roles.
- Create the key pair for the user, follow these instructions.
Info | ||
---|---|---|
| ||
If you will use an SSH client on a Mac or Linux computer to connect to your Linux instance, use the following command to set the permissions of your private key file so that only you can read it. $ chmod 400 your_user_name-key-pair-region_name.pem |
To connect to your instance using your key pair
...
. |
...
pem |
...
(Optional) To prepare to connect to a Linux instance from Windows using PuTTY
...
Download and install PuTTY from http://www.chiark.greenend.org.uk/~sgtatham/putty/. Be sure to install the entire suite.
...
Start PuTTYgen (for example, from the Start menu, choose All Programs, PuTTY, and PuTTYgen).
...
Under Type of key to generate, choose SSH-2 RSA.
...
Choose Load. By default, PuTTYgen displays only files with the extension .ppk
. To locate your .pem
file, choose the option to display files of all types.
...
Select the private key file that you created in the previous procedure and choose Open. Choose OK to dismiss the confirmation dialog box.
...
Choose Save private key. PuTTYgen displays a warning about saving the key without a passphrase. ChooseYes.
...