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

Last updated: 2020-05-21

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 to have a GitHub account in order 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 and then running 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, run the following command to get the latest updates from the Amazon Web Services - Labs GitHub repository:

% cd $HOME/rds-support-tools
% pwd
/home/ec2-user/username/rds-support-tools
% git pull git pull origin master
From https://github.com/awslabs/rds-support-tools
 * branch          master    -> FETCH_HEAD
 * [new branch]    master    -> origin/master
Updating a213555..ab85126
Fast-forward
% git status

Did this article help you?

Anything we could improve?


Need more help?