Search⌘ K
AI Features

Hands-On: Store the SSH Key

Explore how to create an encrypted S3 bucket to securely store your SSH key for AWS. Learn to upload the key, manage access, and set environment variables for easy key retrieval. Also, understand the importance of cleaning up AWS resources to avoid unnecessary costs and security risks.

Store the SSH key on AWS S3 for later use

AWS S3 is an online object storage that supports encryption, so our SSH key will be safe there. Later in this course, we’ll look at all the details about S3. For now, it’s just important to know that S3 stores objects (similar to files) in buckets. The path of an object is like the path of a file on a computer.

So let’s now create a new bucket by following these steps:

  1. Open the S3 console to create a new bucket. For this, please type “S3” into the search bar of the AWS Console.

  2. We’re forwarded to the S3 Dashboard. Please click on “Create Bucket” on the S3 Dashboard.

  3. In the next screen, we need to give our bucket a name. Note that we chose educative-sca-on-aws, but because bucket names need to be unique across all AWS accounts, you need to specify your own bucket name. If you picked a name that is already in use, AWS will give you ...