How to Download Your PEM File in AWS Lightsail

  • Open Lightsail: Log in to AWS Lightsail and go to the Instances page.
  • Select your instance: Click on the instance you want to connect to.
  • Click the “Connect” tab: At the top of the instance page, click the Connect tab.

In the Connect section, look for the option to Download default SSH key (PEM file) and save it to your computer.

Store the PEM file somewhere safe — you’ll use it when creating SSH connections or tunnels.

Note: If you’ve previously downloaded a PEM file or replaced it, you may see the Remote Host Identification Has Changed SSH error, in which case follow this tutorial to fix it.

Continue Exploring

Explore All Guides

Tools We Recommend

Recommended Tools

Shopify

Shopify is one of the most powerful all-in-one eCommerce platforms available today, designed to help anyone—from beginners to…

4.7
Updraft

UpdraftPlus Review – The Easiest Way to Back Up Your WordPress Website If you’re running a WordPress site…

4.7
Free / Pro from $70/yr (2 sites)
Zillion Designs

At manzari.com, we’ve been using Zillion Designs since 2015 as our go-to platform for logo design and brand…

4.5
From $199 (+ 20% processing fee)

Affiliate links — we may earn a commission at no extra cost to you.

About Manzari

Manzari is an independent publisher focused on WordPress, website technology, business software, and practical tech guides. Our goal is to help you choose better tools and make informed decisions with honest, transparent recommendations.

57+
In-depth WordPress guides
23+
Real tools tested & reviewed
21yr
Building with WordPress
100%
No paid placements, ever