Comment on page

RDS database

Create and connect to an RDS database instance
DuploCloud supports the following RDS databases in AWS:
  • MySQL
  • PostgreSQL
  • MariaDB
  • Microsoft SQL-Express
  • Microsoft SQL-Web
  • Microsoft SQL-Standard
  • Aurora MySQL
  • Aurora MySQL Serverless
  • Aurora PostgreSQL
  • Aurora PostgreSQL Serverless
Support for the Aurora Serverless V1 database engines has been deprecated. When using Terraform, do not create V1 engines.

Creating an RDS database

  1. 1.
    In the DuploCloud Portal, navigate to DevOps -> Database.
  2. 2.
    Click Add. The Create a RDS page displays.
  3. 3.
    Fill out the form based on your requirements, and Enable Logging, if needed.
Create a RDS page

Create Aurora Serverless V2 Cluster database

You can create Aurora Serverless V2 Databases by selecting Aurora-MySql-Serverless-V2 or Aurora-PostgreSql-Serverless-V2 from the RDS Database Engine list box. Select the RDS Engine Version compatible with Aurora Serverless v2. The RDS Instance Size of db.serverless applies to both engines.

Connecting to the database

Once the database is created, select it and use the Instances tab to view the endpoint and credentials. Use the Endpoints and credentials to connect to the database from your application running in an EC2 instance. The database is only accessible from inside the EC2 instance in the current Tenant, including the containers running within.
RDS Instances tab
Pass the endpoint, name, and credentials to your application using environment variables for maximum security.