Multi-Region Failover

Multi-Region Failover with Guardrails

In this guide, you will:

This guide provides detailed steps for executing a disaster recovery failover in a multi-region Turbot Guardrails deployment, ensuring minimal downtime and data loss during region transitions.

[!NOTE] Regular DR testing is crucial for maintaining compliance with industry standards and ensuring operational readiness.

Target Audience

Guardrails Administrators experienced with AWS cloud infrastructure, database management, and Guardrails operations.

Failover Scenarios

Scenario Description
Compliance Testing Scheduled DR testing as required by ISO 27001, NIST 800-34, SOC 2, HIPAA, PCI-DSS.
Region Failure Complete failure of the primary region requiring immediate failover.
Performance Issues Significant degradation affecting operations.
Security Incidents Situations requiring isolation of the primary region.

Prerequisites

Before initiating failover, ensure:

Refer following implementation steps:

Step 1: Setup Database Failover

  1. In the DR region AWS RDS console:
  1. Continue in RDS console to restore from backup:
  1. Update Enterprise Stacks:

Step 2: Update API Gateway and Load Balancer

Configure API Gateway in DR region:

  1. Navigate to AWS API Gateway in the DR region.
  2. Verify custom domain mapping i.e. ensure the custom domain name (gateway.cloudportal.company.com) is correctly mapped (in API mappings tab) to the API Gateway in DR.
  3. Update DNS records:
    • API Gateway: Point gateway.cloudportal.company.com to the DR region's API Gateway endpoint.
    • Console Access: Update console.cloudportal.company.com to point to the internal load balancer in the DR region.

Step 3: Validate DR Region Endpoint Access

  1. Confirm that Turbot Guardrails services are accessible via the DR region endpoints.
  2. Perform a test login to the Turbot Guardrails console.
  3. Validate that database queries and API requests are functioning correctly.
  4. Check logs for any errors or inconsistencies.

Step 4: Review

Fallback to Primary Region

Once the primary region is restored, follow these steps:

  1. Sync any new data from the DR region back to the primary database.
  2. Update DNS records to point back to the primary region's API Gateway and Load Balancer.
  3. Validate application functionality in the primary region before resuming normal operations.

Next Steps

Learn more about:

Assistance

If you encounter issues, please open a ticket with us and attach the relevant information to assist you more efficiently. Open Support Ticket