Amazon Relational Database Service (RDS) is a managed relational database service that simplifies the process of deploying, operating, and scaling databases in AWS.
Supported engines include:
Amazon Aurora is a high-performance, fully managed, MySQL/PostgreSQL-compatible database engine that operates within the RDS ecosystem.
This setup is used to explore Scenario 1: Public RDS Snapshots.
Verify AWS CLI Profile
Ensure the AWS CLI profile named securitymaster exists.
Command:
aws sts get-caller-identity --profile securitymaster
Explanation:
aws sts get-caller-identity returns your AWS account and IAM identity.-profile securitymaster instructs the AWS CLI to use authentication credentials stored under that profile.Install MySQL Client (if not already installed)
sudo apt-get install mysql-client
Explanation: Installs the MySQL CLI tool used to connect to restored RDS instances.
Verify installation:
mysql --version
This scenario demonstrates how publicly shared RDS snapshots can expose sensitive data.