Store Secrets for Amazon EC2 in the Parameter Store
In this lab, you will practice how to use the AWS Systems Manager Parameter Store. When you're finished with this lab, you'll have a DB password stored in Parameter Store, and you'll learn how to use it in scripting and automated provisioning.
Terms and conditions apply.
Lab info
Lab author
Challenge
Create a Secure Parameter
You will create a SecureString parameter on AWS Systems Manager Parameter Store. This parameter will be encrypted by AWS SSM's KMS key for added security.
Challenge
Use the Parameter in an RDS Instance
You will access the secure parameter while provisioning resources. You will be using CloudFormation to create a database that uses a password from parameter store.
Challenge
Use the AWS CLI to Read the Parameter
You will be accessing the secure string stored in Parameter Store using the AWS CLI. You will also be using the value of the parameter to connect to the PostgreSQL database that you provisioned in the second challenge.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.
Recommended prerequisites
- Amazon RDS
- Amazon EC2
- AWS CLI