Running a Startup on AWS? Get Funding With AWS JumpStart. Click Here to Learn More

2021 Fillmore Street #1128

}

24/7 solutions

Top 10 Cloud Providers

Creating A New AWS EC2 Key For A 3rd Party Developer

When you create a new EC2 instance you automatically download a ppk (or pem) key for that instance. This only happens once and generating a new one can be complicated so please take care to put it somewhere secure. As such you might want to give your developer team another key which you can delete if the need arises without risking access to your services.

Introduction

This guide will take you through the steps to create a new Key and then add it to your EC2 instance. There are 3 main steps. 

 

  1. Create a new Key Pair in AWS
  2. Generate the Public Key from the Key Pair 
  3. Adding the Public key to your EC2 authorized_keys file 

 

If in doubt on step 3 ask someone who is more experienced or technically advanced to perform it. Steps 1 and 2 can be done without any risks. 

Step 1: Create a new Key Pair

1. Go to AWS Management Console

2. Click on EC2

  • While Keys are a security function you’ll find them under EC2 and not IAM options, this is due to their usage on instances rather than users. 

 3. Click on Key Pairs

  • This is on the left hand menu, you might need to scroll down to see the option.

4. Give the Key a descriptive name “name-of-the-key”

  • If you’re working with Allcode on building a cloud service perhaps allcode-dev-key for example. 

 5. Click on Create key pair 

    • The key will be automatically downloaded to your computer. 
  • Keep this key safe, this is the only time it can be downloaded

 

Step 2: Generate the Public Key from the Private Key

Jacob Murphy
Jacob Murphy

Jake is a writer and marketing associate for AllCode with a wealth of experience in a variety of industries.

Related Articles

Here’s Why You Should Work with an AWS Partner

Here’s Why You Should Work with an AWS Partner

Amazon Web Services is understandably a difficult platform to adapt to and utilize fully upon first getting started. Some organizations can be selected to become certified partners to indirectly extend services to help build on the Amazon Cloud. Finding a certified company to help build out is undoubtedly the best way to significantly simplify, streamline, and reduce the cost of utilizing AWS.

Amazon Web Services – CodeCatalyst

Amazon Web Services – CodeCatalyst

When a development team is building out an application, it helps to have access to the same resources, have the tools for planning and testing, and to have access to the application all in one place. CodeCatalyst comes with a slew of continuous integration/continuous development (CI/CD) tools and can leverage other AWS services and be connected to other AWS projects on an account. As a collaborative tool, it is easy to introduce new members into the project and to log all activity or all tests from a single dashboard. It’s a complete package of all the tools needed to securely work on every step of an application’s lifecycle.

The Definitive Guide to AWS Pricing

The Definitive Guide to AWS Pricing

Perhaps the biggest issue with AWS that its competitors edge out on is the confusing pricing model. It does promise the capacity to help users save significantly on funds that otherwise by avoiding spending on unnecessary resources, but getting to that point isn’t always clear. We will be covering in greater detail how this works.

Download our 10-Step Cloud Migration ChecklistYou'll get direct access to our full-length guide on Google Docs. From here, you will be able to make a copy, download the content, and share it with your team.