Kyvos on AWS - Disaster Recovery and Backup Plan
Applies to: Kyvos Enterprise Kyvos Cloud (SaaS on AWS) Kyvos AWS Marketplace
Kyvos Azure Marketplace  Kyvos GCP Marketplace Kyvos Single Node Installation (Kyvos SNI)
PrerequisitesÂ
To create a back up of the data stored in S3 buckets, Kyvos uses the following features of AWS:Â
Cross-Region Replication  Â
Versioning, along with their lifecycle configurationsÂ
Replication configurations.Â
To back up data, Kyvos needs a separate destination bucket in a region other than that of the source bucket.Â
Cross-account destination bucket replication provisioning should not be provided.Â
CRR should be enabled on the source bucket only (or its subset).Â
CRR requires the source and destination buckets with versioning enabled.
Setting up replication bucket
Create a destination bucket where you want to set up a Disaster Recovery (DR) cluster. Â
Enable versioning on both Source and Destination S3 buckets. Â
Create Lifecycle rules.Â
On Source bucket enable Replication and perform the following steps:Â
Source sectionÂ
Provide replication rule name.Â
In Source choose a rule Scope as Limit the scope of this rule using one or more filters.Â
Provide the prefix as kyvos working directory, such as:Â user/engine_workÂ
Destination sectionÂ
Choose a bucket in this account.Â
Provide IAM roles for copying data from bucket one to two. Refer to the AWS document for details.Â
In Additional replication options, select the Delete Marker Replication option.Â
NOTE: You must manually copy the existing data after enabling Replication.Â
Setting up DR in RDS (Postgres)Â
Refer to the AWS document for configuring DR in RDS.Â
Kyvos uses manual backup for cross-region replication. The manual backup option is ensuring by our scripts which is insuring by Kyvos scripts.Â
Restoring data in case of a disasterÂ
To restore data in case of a disaster, perform the following steps.Â
Log in to your AWS account.
Select the new region where you have replicated your S3 data.Â
Go to CloudFormation and deploy the new DR template of Kyvos.Â
Provide all the required parameters in the template.Â
Bucket Name should be the same as Replication Bucket.Â
IAM role of Lambda and EC2 should be the same as original deployment.Â
Provide Existing RDS, that should be restored before deploying the DR template.Â
CIDR for VPC creation should same as the original deployment.
Points to rememberÂ
When using this solution, keep the following in mind: Â
If DR happened, then you cannot move to the Original installation. The DR cluster will be the Primary cluster and you must set up the replication bucket again.Â
Once the deployment is complete, you MUST change the S3 bucket name in all the datasets, as the raw data bucket is also changed due to DR.
If the primary deployment was on a private network (tunneling established between Customer and Kyvos AWS VPC), then you must do the same procedure again after DR deployment.Â
Once the deployment is complete, you need to wait for Cuboid replication on all the query engines for executing queries.Â
Once the deployment is complete, you must enable TLS and SSL again in Kyvos.Â
If any additional IPs were allowed in the Security group of primary installation, you MUST configure the same in the DR Security Group too.Â
Once the DR deployment is complete, you need to create the custom URL and DNS mapping again.Â
You need to manage the Glue tables and source data after the DR deployment.
Post DR deployment stepsÂ
After completing the DR deployment, perform the following:Â
Ensure the license has been uploaded and verified from both Kyvos and Kyvos Manager UI.
NOTE: You will need a new license will be required as the Kyvos production license is mapped with instance ID.ÂVerify user can log in to the Kyvos Manager portal.Â
Verify the desired number of BI Servers and Query Engines are available on Kyvos Manager Portal.Â
Verify user can log in to Kyvos Portal.Â
Verify all the users are imported into Kyvos.Â
Verify access rights of the imported users.Â
Verify the desired number of BI Servers and Query Engines are up and running.Â
Verify validation and preview operation on datasets created on S3 files.Â
Verify validation and preview operation on datasets created on HCatalog.Â
Verify validation and preview operation on datasets created on Snowflake.Â
Verify all data has been recovered (check if all entities are available).Â
Verify job history of entities.Â
Verify process semantic models are browsable.Â
Verify all the Query Engines can serve queries.Â
Verify cuboids are replicated locally on Query Engines disks.Â
Verify only incremented data is processed in incremental processes.Â
Verify Live query analysis is working.Â
Verify Historical query analysis has all the data prior to the disaster also.Â
Verify Audit logs have all the data prior to the disaster also.Â
Verify completed jobs on Activity Monitor has all the data prior to the disaster.Â
Copyright Kyvos, Inc. All rights reserved.