How do I configure the rds-support-tools GitHub repository for Amazon RDS on my Amazon EC2 instance that is running Linux?

Last updated: 2022-01-19

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?

Resolution

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:

cd $HOME

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

% pwd
/home/username/rds-support-tools