Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Amazon Web Services Bootcamp

You're reading from   Amazon Web Services Bootcamp Develop a scalable, reliable, and highly available cloud environment with AWS

Arrow left icon
Product type Paperback
Published in Mar 2018
Publisher Packt
ISBN-13 9781788294454
Length 338 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Sunil Gulabani Sunil Gulabani
Author Profile Icon Sunil Gulabani
Sunil Gulabani
Arrow right icon
View More author details
Toc

Key pairs


Key pairs are used to log in to the EC2 instances. They act like access credentials to EC2 instances. They use public-private keys to encrypt and decrypt the login credentials. While creating EC2 instances, we need to associate key pairs so that the user can use them to log in using SSH.

Store key pairs at a secure location because they act as a password for users to connect to your EC2 instance. If the key pair is lost, we cannot recover it. So, we need to generate another key pair and relaunch the EC2 instance with the new key pair.

AWS Management Console

Go to the AWS EC2 Management Console at https://console.aws.amazon.com/ec2/home.

Creating key pairs

Create a new key pair under your AWS account:

  1. Click Key pairs under NETWORK and SECURITY in the left menu. 
  2. Click Create Key Pair. Provide a friendly name in the Key pair name input field:

Figure 3.1: Creating a key pair

Usually, a key pair name should be able to identify the entity as an application or user, or department/group name...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime