OvalEdge DB on AWS RDS
This article provides step-by-step instructions to provision an AWS MySQL-compatible RDS instance for the OvalEdge platform. It includes prerequisites, database creation, schema setup, and execution of OvalEdge database scripts to prepare the backend for application deployment.
Prerequisites
Ensure the following requirements are met before starting the setup:
AWS Account Access: An active AWS account with permissions to create and manage RDS resources.
AWS Management Console Access: Ability to log in and navigate to the RDS service.
MySQL Client or GUI Tool Installed: Tools such as MySQL Workbench, DBeaver, or the MySQL CLI should be available on your local machine or EC2 instance.
Create MySQL Database in RDS
Follow the steps below to provision a new MySQL-compatible RDS instance:
Log in to the AWS Management Console and navigate to RDS.
Click Create database.

Select Standard Create.

Choose MariaDB as the engine.

Under Version, select the latest available in the 8.4.x series.

Select a template based on workload (e.g., Production or Dev/Test).

Enter a DB instance identifier (e.g.,
ovaledge-db).
Set the Master username, then either:
Auto-generate the password, or
Enter a custom secure password.

Choose the desired DB instance class (e.g.,
db.t3.medium) based on performance needs.
Configure Storage type and allocate a minimum of 100 GB.

Under Connectivity, configure VPC, subnet group, and security groups as required.
Expand Additional Configuration and set any custom DB parameters.

Set Public access to Yes if remote connections are required.

Click Create Database.
Create OvalEdge Schema
Once the RDS instance is available:
Copy the endpoint from the RDS dashboard.


Connect to the instance using a database client (e.g., MySQL CLI):
mysql -h <rds-endpoint> -u <username> -p
Download and Execute OvalEdge DB Scripts
Ensure the OvalEdge DB scripts are available on the EC2 instance (typically located under
$HOME/ovaledge/).Connect to the RDS instance using MySQL CLI:
mysql -h <rds-endpoint> -u <username> -p
After logging in, execute the master script:
source /home/ec2-user/ovaledge/MasterScripts.sql;
Verify schema creation:
show databases;The database
ovaledgedbshould be listed, confirming successful script execution.
Copyright © 2025, OvalEdge LLC, Peachtree Corners, GA, USA.
Last updated
Was this helpful?

