This lab walks you through the steps to export the RDS DB snapshot to S3.
In this lab, you will practice creating an Amazon RDS DB Instance, Amazon S3 Bucket, AWS KMS Key.
Duration: 1 hour 30 minutes
AWS Region: US East (N. Virginia) us-east-1
All types of RDS Backups can be exported to S3 whether they are Automated Backups, Manual Backups or those created by AWS Backup service.
Steps to export to s3:
We have to create an Amazon S3 Bucket with the required IAM permissions and create a KMS key for server-side encryption (SSE).
The Snapshot can be exported either via Console or CLI commands.
The Export runs in the background. It does not affect any kind of database performance.
The data which is exported to S3 is always in the Apache Parquet format. Parquet format is 2 times faster to export and consumes up to 6 times less storage in Amazon S3 compared to test formats.
The exported data can be analyzed by other AWS services like Amazon Sagemaker, Amazon EMR, and Amazon Athena.
Perform queries on the exported snapshot using AWS services like Amazon Sagemaker, Amazon EMR, and Amazon Athena.
Log into AWS Management Console.
Create an Amazon S3 Bucket.
Create an AWS KMS Key.
Create a Security group for RDS DB Instance.
Create an Amazon RDS DB Instance.
Take a snapshot from an existing DB Instance.
Create a sample database and a table.
Export the Snapshot to S3.
Validation of the lab.
Deleting AWS resources
For testing this lab, it is necessary to download the MySql GUI Tool, To download it, go to the Download MySQL Workbench page. Based on your OS, select the respective option under Generally Available (GA) Releases. Download and Install.