O'Reilly logo

Learning AWS - Second Edition by Amit Shah, Aurobindo Sarkar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating EC2 instance key pairs

AWS uses public/private keys to securely connect to your instances. The public key will be retained by AWS, whereas the private key is downloaded to your computer as soon as it is created.

From EC2 dashboard, click on Key Pairs from the navigation pane and then on the Create Key Pair button.

You will be prompted with a dialog box asking to enter Key pair name as shown. This key pair name will be later used while configuring the EC2 instances.

Make sure that you select the correct AWS region from the EC2 dashboard to create the keys because key pairs can't be shared across regions.

As soon as you create the key ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required