Setup Instructions for Amazon RDS MySQL Destination
Setup Instructions for Amazon RDS MySQL Destination
Setting up access to your Amazon RDS MySQL data warehouse is not very complicated and just takes a couple of simple steps.
Follow the steps below to set it up for yourself, if you are stuck somewhere, feel free to contact out support team at support@sarasanalytics.com.
Prerequisites
Before you get started, ensure you have the following:
- Active Daton and AWS account
- Administrative user for your AWS account to create or configure a Daton-specific RDS MySQL database.
Set up on Amazon RDS
Task 1: Configure a VPC security connection for Amazon RDS for MySQL
1. Log in to your AWS account.
2. On the VPC dashboard, choose Create VPC.
3. For Resources to create, choose VPC and more and perform the following:
- Name the VPC.
- Provide the details according to custom requirements and set the rest to default.
You will now be able to visualize the relationships between the VPC resources you've configured. - When you are finished configuring your VPC, choose Create VPC.
4.Your VPC connection is set.
Task 2: Create and Connect to an RDS MySQL Database Instance
Create a Subnet group for the database
2. Navigate to the Subnet groups section and click Create DB subnet group.
3. On the DB subnet creation page, perform the following:
- Provide your Subnet group name and description.
- Select the above-created VPC identifier.
- Add Availability zones and Subnets, and click Create.
While choosing the Subnets, please ensure to exclusively select the private subnets.
4. A Subnet group will be created.
Create a MySQL Database
1. In the Amazon RDS navigation pane, choose Databases.
2. Choose Create database and perform the following:
- Select the Engine type as MySQL and the Template as Free tier.
- Provide a Name in the DB instance identifier, a Master username, and create a Master Password.
- In the Instance configuration section, set Burstable classes to db.t3.micro.
This can be configured as per your specific requirements. - In the Storage section, select the fields as per requirement.
It is recommended to set the Storage Type to General Purpose SSD (gp2). - In the Connectivity section,
- Select Don't connect to an EC2 compute resource
- Select the above-created VPC and DB subnet groups
- Set the Public access to No
- Create a new VPC security group for firewall purposes, Name it, and Select an Availability Zone according to your preferences.
- Check the Create an RDS Proxy checkbox.
Keep the rest as default or customize according to your requirements.
vi. Select your Database Authentication method, Monitoring preferences, and Additional Configuration as per your requirements.
3. Now check your Estimated Monthly cost and click on Create Database. A new Database will be successfully created.
The steps laid out above are a pre-requisite before you start configuring RDS MySQL as a destination in Daton.
Note
If you wish to connect the destination using Proxy Server or SSH Tunnel, from here on, follow the steps mentioned in this document instead:
Set up on Daton
1. Login to Daton web-app.
2. Click on the connectors tab, then go to destination.
3. Find RDS MySQL & click on configure.
4. Enter any integration name, then click on next.
Note: You don't have to change the VARCHAR size.
5. Enter the following credentials to configure your warehouse:
- RDS MySQL JDBC URL in the format:
jdbc:MySQL://AmazonRDSMySQL_Database_Endpoint:3306/your_db_name
- RDS MySQL Master Username and Password.
- Select Use Tunnel as None.
- Choose the records column according to your requirement.
- Click on next.
6. Select the Schema of your choice.
7. Now hit Submit to complete the setup.