Amazon Aurora
- 2 Minutes to read
- DarkLight
Amazon Aurora
- 2 Minutes to read
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Amazon Aurora (AWS Aurora) is a relational database service provided by Amazon Web Services (AWS). It is designed to be compatible with MySQL and PostgreSQL, offering high performance, scalability, and durability for applications that require a robust and fully-managed database solution in the cloud.
Prerequisites
- You have configured AWS VPC.
- You have configured your Aurora instance and set the network rules by setting up a security group.
Authorize Connection to Amazon Aurora
Create an Aurora Instance
- In the AWS management portal navigate to RDS.
- Click on Create database and select Amazon Aurora.
- Configure the settings for new Aurora instance, including the DB instance identifier, master username, and password (you will need this for interaction with Aurora Shell).
Set up Security Group
- On the RDS dashboard, go to the Security groups section.
- Click on Create Security Group, provide a name and description, and select the correct VPC for your database.
- In the inbound rules, select Add Rule. For each Dataddo IP set Custom TCP Rule. Use CIDR notation (e.g. 52.17.68.150/32).
- Click on Modify and select the security group to make sure that the Aurora instance is using the right security group.
Configure Aurora Shell
After the Aurora instance is up and running, connect to it and create additional user to access it from Dataddo. You can use SQL commands similar to those used for MySQL or PostgreSQL.
Create an Aurora User
- Log into Aurora Shell using the master account credentials.
- Run a command to create a new user.
CREATE USER 'dataddo' IDENTIFIED BY '***';
Set Permissions
- Log into Aurora shell using the master account credentials.
- Grant priviledges of CREATE, SELECT, UPDATE, INSERT, DELETE on the given database (please replace the value of database_name)
GRANT CREATE ON database_name.* TO 'dataddo';
GRANT INSERT, UPDATE, DELETE ON database_name.* TO 'dataddo';
FLUSH PRIVILEGES;
In Dataddo
- On the Authorizers tab, click on Authorize new service and select AWS Aurora.
- Fill the following fields
- DB Host: Public IP or hostname of your MySQL.
- Database: Name of the database.
- Username: Your Aurora username.
- Password: Password to your Aurora user.
- Port: Port to connect to Aurora, the default value is 3306.
- TLS Setting: Keep the PREFERRED value. The SSL connecton will be used when available. If you are using a self-signed certificate, please use SKIP VERIFY.
DATADDO TIP
You can also configure the connection via an SSH tunnel.
Create a New Amazon Aurora Destination
- On the Destinations page, click on the Create Destination button and select the destination from the list.
- Select your authorizer from the drop-down menu.
- Name your destination and click on Save.
Need to authorize another connection?
Click on Add new Account in drop-down menu during authorizer selection and follow the on-screen prompts. You can also go to the Authorizers tab and click on Add New Service.
Create a Flow to Amazon Aurora
- Navigate to Flows and click on Create Flow.
- Click on Connect Your Data to add your source(s).
- Click on Connect Your Data Destination to add the destination.
- Choose the write mode and fill in the other required information.
- Check the Data Preview to see if your configuration is correct.
- Name your flow and click on Create Flow to finish the setup.
Was this article helpful?