From the course: AWS Essential Training for Developers

Unlock this course with a free trial

Join today to access over 26,000 courses taught by industry experts.

Creating a key pair

Creating a key pair

- [Instructor] When you launch a new Linux instance within Amazon, you must use a key pair to set up SSH access to your server. This will allow you to connect a terminal application to your server so that you could run commands against it. In the EC2 Launch Wizard, click on the Create new key pair link. For the key name, type awsdemo, and make sure RSA and the .pem key format is selected, and then click Create key pair. A .pem file will download within your browser. You need to keep this file in a safe location because it's like a really long password that must be kept safe, and this file will only ever be generated once by AWS. My .pem file went into my Downloads folder by default, and I can open it up using a plain text editor, like Notepad or TextEdit on a Mac. You'll see that it's a really long private key, and its matching public key is kept by Amazon and installed onto our Linux virtual machine. If you're working…

Contents