> For the complete documentation index, see [llms.txt](https://docs.nuvens.cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nuvens.cloud/install/appendices/rds-database-options.md).

# RDS Database Options

Amazon RDS for SQL Server is a managed relational database service that runs MS-SQL Server in the AWS cloud. It automates common tasks like provisioning, backups, patching, and high availability.

WorkSpaces Manager (WSM) requires a SQL Server-compatible database for backend data storage. While the system supports both VM Databases on EC2 and Amazon RDS deployments, using **Amazon RDS for SQL Server** is recommended for most AWS-native deployments due to its ease of setup, automated backups, and managed maintenance features.

<table><thead><tr><th width="186">Use Case</th><th width="198">RDS Edition</th><th width="122">vCPU/RAM</th><th width="91">Storage</th><th width="137">High Availability</th></tr></thead><tbody><tr><td>Small/Medium Deployment</td><td>SQL Server Standard</td><td><p>2 vCPU</p><p>4 GB RAM</p></td><td>20 GB</td><td>No</td></tr><tr><td>Large Deployment</td><td>SQL Server Standard</td><td><p>2 vCPU</p><p>4 GB RAM</p></td><td>20+ GB</td><td>Yes (Multi-AZ)</td></tr><tr><td>Enterprise Environments</td><td>SQL Server Enterprise</td><td><p>2 vCPU</p><p>4 GB RAM</p></td><td>20+ GB</td><td>Yes (Multi-AZ)</td></tr></tbody></table>

**Guidance Based on Deployment Size**

* **No HA Needed (Development/PoC or Small/Medium Deployments):**\
  For smaller environments or proof-of-concept deployments, **SQL Server Standard Edition** with **4 GB RAM** and **20 GB of storage** provides a cost-effective starting configuration. Both Single-AZ and Multi-AZ deployments are supported, with Multi-AZ recommended where high availability is required.
* **Recommended for Production on Large Deployments:**\
  For most production estates, especially those managing a large number of WorkSpaces, it is strongly recommended to use **SQL Server Standard Edition** with **Multi-AZ (HA)** enabled. This ensures database failover and availability in case of an instance or zone failure.
* **Enterprise Edition on Large Deployments:**\
  WorkSpaces Manager is compatible with **SQL Server Enterprise Edition**, though it is rarely necessary. The Enterprise tier provides features that typically go unused with WSM, making the cost unjustifiable for most customers unless they are already licensed or require Enterprise features for other integrated workloads.

**Security & Networking Considerations**

* Ensure the **RDS instance is in a private subnet**, with **appropriate security group rules** to allow access only from the WorkSpaces Manager server.
* Enable **automatic backups**, **Multi-AZ**, and **encryption** for production environments.
* SQL authentication is supported; ensure credentials are securely stored and rotated as per your internal policy.

#### Multi-Region RDS Replication for WorkSpaces Manager

If an organization spans multiple AWS regions or needs a **disaster recovery (DR)** strategy,  **Amazon RDS Read Replicas** can be used to replicate the WorkSpaces Manager database across regions.

Amazon RDS supports **cross-region read replicas** for **SQL Server Standard and Enterprise editions only**. This setup creates a **read-only copy** of the primary RDS instance in a different AWS region. Changes made to the primary database are asynchronously replicated to the replica using **SQL Server transactional replication**.

For WorkSpaces Manager, this configuration can support:

* **Disaster Recovery** (DR) readiness
* **Cross-region reporting**
* **Read-only dashboards in a secondary region**

However, keep in mind that **read replicas are not writable**, and WorkSpaces Manager expects to connect to a **writable** database for core operations. This means replicas are primarily useful for **DR** and **analytics**, not for active-active regional usage.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.nuvens.cloud/install/appendices/rds-database-options.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
