Skip to content

Commit 485b4bb

Browse files
authored
Merge pull request #1685 from craddm/sre-storage-docs
Document removal of persistent SRE storage accounts
2 parents b6cefe4 + 0641bee commit 485b4bb

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

docs/source/deployment/snippets/05_storage_accounts.partial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ PS> ./Setup_SRE_Storage_Accounts.ps1 -shmId <SHM ID> -sreId <SRE ID>
77
- where `<SHM ID>` is the {ref}`management environment ID <roles_deployer_shm_id>` for this SHM
88
- where `<SRE ID>` is the {ref}`secure research environment ID <roles_deployer_sre_id>` for this SRE
99

10-
This script will create a storage account in the `RG_SHM_<shmId>_DATA_PERSISTENT` resource group, a corresponding private end point in `RG_SRE_NETWORKING` and will configure the DNS zone of the storage account to the right IP address.
10+
This script will create a storage account in the `RG_SHM_<SHM ID>_PERSISTENT_DATA` resource group, a corresponding private end point in `RG_SRE_<SRE ID>_NETWORKING` and will configure the DNS zone of the storage account to the right IP address.

docs/source/roles/system_manager/manage_deployments.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,15 @@ On your **deployment machine**.
127127
128128
- If you provide the optional `-dryRun` parameter then the names of all affected resources will be printed, but nothing will be deleted
129129
130+
The `SRE_Teardown.ps1` script *does not* remove the SRE data storage account stored in the SHM. Thus, the `ingress`, `egress`, and `backup` data folders still exist.
131+
This allows the data to be used for the project associated with the SRE to exist before and after the project starts and ends, without requiring the full SRE to be running.
132+
133+
```{attention}
134+
To avoid accidental deletion, the storage account must be deleted manually through the Azure Portal.
135+
The storage account can be found under `RG_SHM_<SHM ID>_PERSISTENT_DATA`, with a name similar to `<SHM ID><SRE ID>data<random letters>`.
136+
Deleting the SRE storage account from `RG_SHM_<SHM ID>_PERSISTENT_DATA` will delete any work that was done in the SRE.
137+
```
138+
130139
## {{end}} Remove a complete Safe Haven
131140

132141
### {{collision}} Tear down any attached SREs
@@ -154,6 +163,15 @@ On your **deployment machine**.
154163
If you provide the optional `-dryRun` parameter then the names of all affected resources will be printed, but nothing will be deleted
155164
```
156165
166+
The `SRE_Teardown.ps1` script *does not* remove the SRE data storage account stored in the SHM. Thus, the `ingress`, `egress`, and `backup` data folders still exist.
167+
This allows the data to be used for the project associated with the SRE to exist before and after the project starts and ends, without requiring the full SRE to be running.
168+
169+
```{attention}
170+
To avoid accidental deletion, the storage account must be deleted manually through the Azure Portal.
171+
The storage account can be found under `RG_SHM_<SHM ID>_PERSISTENT_DATA`, with a name similar to `<SHM ID><SRE ID>data<random letters>`.
172+
Deleting the SRE storage account from `RG_SHM_<SHM ID>_PERSISTENT_DATA` will delete any work that was done in the SRE.
173+
```
174+
157175
### {{unlock}} Disconnect from the Azure Active Directory
158176

159177
Connect to the **SHM Domain Controller (DC1)** via Remote Desktop Client over the SHM VPN connection

0 commit comments

Comments
 (0)