User Guide for AWS Blu Age Regression Testing Snapshot (RTS). RTS is a database snapshot management tool for developers and integration testing. The goal is to facilitate database creation and restoration with minimized downtime by providing a simple interface and an API that requires minimal expertise to use.
The main idea behind Blu Age RTS Manager is to restore data volumes using AWS’s Elastic Block Storage (EBS) snapshot volumes or AWS RDS snapshot capability. It takes less than a minute to restore a volume from an EBS snapshot (tested on 200GB volumes) compared to a few hours using a standard database restore. Furthermore, it can restore multiple databases at once by restoring the data volume; databases such as AWS Blu Age JICS and BLUESAM can be on the same server depending on size. By default, servers are created with t2.micro EC2 instances (free tier). However, if there is a special need, users can select different types of EC2 instances within a preset range. Databases on EC2 work well with small test databases. However, for larger databases (>500GB), we strongly recommend selecting AWS RDS technology.

RTS Manager supports one data volumes for database on EC2 and all the variety of databases proposed by AWS RDS. Please, refer to AWS RDS online documentation for more information https://aws.amazon.com/rds/.
Other database can be used, however we do not offer support on setting them up inside RTS. Some database engines require different initialization process which makes it hard to support all engines or all distribution configurations.
AWS Blu Age RTS is an internal tool and can be accessed through https://dws-manager.bluage.local inside a VPC AWS Account.
RTS Manager is a single-page application. In order to minimize API calls to AWS - for which the call rate is limited by default for each account - user data is persisted in the browser's local storage, and all dynamic data comes from a WebSocket. This WebSocket gets all its information from a cache server with a global timeout of 5 minutes. This implies that changes made outside of the RTS Manager UI or API will take up to 5 minutes to be reflected in the RTS Manager.
In simpler terms, refreshing or reloading the application will not display updated values or information for EC2/RDS instances or Snapshots.
Each tabs represent a DB technology. These tabs can be configured in AWS Parameter Key Store with the key: /EDR/DOCKER/COMPOSE/INSTANCES Creating a new server, a snapshot is always in relation to the tab selected. Once the key is changed all users will need to reload using the spin arrow as shown below.

Selecting
aservers techno from the tab will also filter out selectable snapshots. For example an RDS snapshot won’t be visible for a PostgresSQL on EC2 tab.
The main screen displays a table showing a list of servers in different states: running, stopped, terminated. From this screen multiple features are available:

Table description & features:
EC2 Type: Server instance type.
Servers can be filtered by typing anything (note it's case insensitive) in the input above the table:


Creating a server will create a DNS entry with the following names: <server name>.bluage.local.
For EC2 instance an A record is created with the EC2 IP address. Be aware that private IP are allocated using DHCP and can change if the instance is stopped.
For RDS instance a CNAME record is created pointing to the fully qualified name created by AWS RDS service.

To create a server click on the (+) icon. It will displays the following popup:

When selecting “Blank disk” for standard EC2/EBS the volume creation, options display as follow:

Option “Blank disk” allows to create a server with an empty database (just the system database will be present.) If this option is selected, the volume type, IOs and volume are available to choose from. Refer to AWS documentation on the ratio volume size / iops: https://docs.aws.amazon.com/ebs/latest/userguide/provisioned-iops.html
If “Server Techno” points to AWS RDS, different options are displayed to define the volume.

Instance type: The type of RDS instance type. Note these instance type are different from EC2 instance type.
Depending on the server technology this will create an EBS Snapshot or an RDS Snapshot.

Snapshots can be created by clicking on the “zip” icon.

To create a snapshot, enter a “Snapshot name” and then click “yes”.
This action will stop PostgresSQL database and create a snapshot. On EC2 the database won’t be accessible during that time.
Note: For large volumes, snapshot creation time varies depending on the current load on the AWS availability zone (datacenter). In case of a timeout, check the state of the snapshot on the AWS Console. This issue will be addressed in a future version of RTS.

To edit a server click on the icon “edit”. This will allow to edit server’s parameters listed below.

Instance Type will stop the DB instance and change it.

To Delete a server click on the “bin” icon to display the delete confirmation popup.

This action will terminate either an EC2 instance or an RDS instance. Clicking “Yes” will rename the instance by adding “_DELETED” before termination allowing to recreate another server with the same name.
When deleting a server the “data” volume will be deleted with the DNS record.

Clicking on “Delete Snapshot” at the bottom of the view will display a popup allowing to delete permanently a snapshot.



To delete a snapshot click on the snapshot and click “Yes”.
For DevOps, the API documentation is available in the link at the bottom: http://dws-manager.bluage.local/api-documentation/. This will open a new tab with the available endpoints.
