# Step 4: Deploy the Data stack

Install the Data CloudFormation stack in the **hub account**.

#### How to Install this Stack

1. Login to the AWS Management Console using the **Organisation Management Account.**
2. Navigate to the **CloudFormation** page.
3. Click **Create Stack** and select **With new resources (standard)**.
4. For Template Source, select **Amazon S3 URL** and enter the CloudFormation Template URL shown below and click **Next**.
5. On the **Specify Stack** page, enter the stack name '**SandboxStudio-Data**' and use the parameters shown below.

---

#### CloudFormation Template URL

```
https://sandbox-studio-software-dist.s3.amazonaws.com/versions/<VERSION>/SandboxStudio-Data.template.json
```

For more information on how to find the latest version, [click here](https://docs.sandboxstudiosoftware.com/books/installation-guide/page/aws-cloudformation-templates "AWS CloudFormation templates").

---

#### Parameters

<div class="_tableContainer_sk2ct_1" id="bkmrk-key-what-to-enter-na"><div class="_tableWrapper_sk2ct_13 group flex w-fit flex-col-reverse" tabindex="-1"><table class="w-fit min-w-(--thread-content-width)" data-end="6285" data-start="5393" style="height: 55px; width: 100%;"><thead data-end="5491" data-start="5393"><tr data-end="5491" data-start="5393"><th class="align-left" data-col-size="sm" data-end="5414" data-start="5393" style="width: 27.0834%;">**Key**</th><th class="align-left" data-col-size="sm" data-end="5491" data-start="5414" style="width: 73.0358%;">**What to enter**</th></tr></thead><tbody data-end="6285" data-start="5591"><tr data-end="5689" data-start="5591"><td data-col-size="sm" data-end="5612" data-start="5591" style="width: 27.0834%;">**Namespace**</td><td data-col-size="sm" data-end="5689" data-start="5612" style="width: 73.0358%;">Use the same namespace you used in step 1.</td></tr></tbody></table>

</div></div>---

#### About this Stack

**Purpose**

- Deploys the **Amazon RDS** database that stores Sandbox Studio application data.
- Isolated from other stacks so you can upgrade application components without touching data.

**Where to deploy**

- **Hub account**.

**Dependencies**

- **Network** stack must be in place to supply VPC and subnets for the database.

**Validation checks**

- RDS instance/cluster appears in the **RDS** console and is placed in the **private database subnets**.
- Security groups allow required access from application Lambdas.

**Tips**

- Define and test backup/restore procedures appropriate to your organisation.

<div _ngcontent-ng-c3818350049="" class="markdown markdown-main-panel enable-updated-hr-color" dir="ltr" id="bkmrk--3"><div _ngcontent-ng-c3818350049="" class="markdown markdown-main-panel enable-updated-hr-color" dir="ltr" id="bkmrk--4"></div></div><div _ngcontent-ng-c3818350049="" class="markdown markdown-main-panel enable-updated-hr-color" dir="ltr" id="bkmrk--5"></div>