Subscribe to Our Weekly Newsletter
Creating a Key Pair
Creating a Key Pair
The following steps will instruct you on how to create a Key Pair:
1) Firstly, you need to open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.
2) On the “Navigation” pane, click “US East (Virginia)” in the “Region” box,.
3) Again, on the “Navigation” pane, click “Key Pairs” under “Network and Security”.
4) Click on the “Create Key Pair” button.
5) In the “Key Pair” dialog box, type “mykeypair” (without the quotes) for the new key pair, in the “Key Pair Name” box. Now, click “Create”.
6) You are now required to download the private key file, which is named mykeypair.pem. Keep this file in a secure place. It will be needed to access any instances that you launch in the future with this key pair.
Important Note: Keep the key pair safe. If you lose it, you cannot connect to your Amazon EC2 instances.
For further information on key pairs, please refer to Getting an SSH Key Pair in the Amazon Elastic Compute Cloud User Guide.
Since your traffic will vary, you will have to use Auto-Scaling, and create an Auto-Scaling group in order for AWS to scale the number instances appropriately and effectively.
We will now move on to the next step, and create an Auto-Scaling group that will be associated with our Elastic Load Balancer.