I want to use one of the AWS Support team’s diagnostic scripts with my Amazon Relational Database Service (Amazon RDS) DB instance. How do I clone the rds-support-tools GitHub repository to my Amazon Elastic Compute Cloud (Amazon EC2) instance that is running Linux?
Note: You do not need a GitHub account to clone the rds-support-tools GitHub repository.
Before you begin, be sure that your EC2 instance has access to your RDS DB instances. Also, confirm that your EC2 instance can connect to the internet. When you’re ready, clone the rds-support-tools GitHub repository to your EC2 instance by following these steps:
1. Install Git on your Amazon Linux EC2 instance by connecting to the instance through SSH. Then, run the following command:
sudo yum install git-all
Note: If you are not using Amazon Linux, use the appropriate command for your specific package manager.
2. Clone the rds-support-tools GitHub repository by using the following commands:
% git clone https://github.com/awslabs/rds-support-tools.git
After you complete these steps, the default branch of the rds-support-tools repository is cloned to the current user's home directory.
% cd $HOME/rds-support-tools
How can I connect to a private Amazon RDS DB instance from a local machine using an Amazon EC2 instance as a bastion host?