Create a default key in the Lightsail console - Amazon Lightsail

Create a default key in the Lightsail console

Complete the following procedure to create a new default key pair from the SSH keys management page in the Lightsail console.

Note

Using these steps, you can create default key pairs only in AWS Regions where you have created Lightsail resources. To create a default key pair in a new Region, you must first create a Lightsail resource in that Region. Creating the resource also creates a default key pair.

  1. Sign in to the Lightsail console.

  2. On the on the top navigation pane, choose the user profile icon.

  3. Then, choose Account in the dropdown menu.

    Lightsail account tab
  4. Choose the SSH keys tab.

  5. Under the Default keys section of the page, choose Create key pair.

  6. In the Select a region prompt that appears, choose the AWS Region in which you want to create your new default key. You will be able to configure your new default key on new instances in the same AWS Region.

  7. Download the private key and store it in a safe location.

  8. Choose Ok, got it! to continue.

  9. Confirm the new default key on the Lightsail console SSH keys page.

    You can configure your new default key on new instances that you create in Lightsail. To configure your new default key on instances that were previously created and are currently running, see Change the key pair for your Lightsail instance.