forked from pivotal-cf/docs-pcf-install
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_filestore_azure_config.html.md.erb
44 lines (41 loc) · 4.32 KB
/
_filestore_azure_config.html.md.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
To use external Azure file storage for your Pivotal Application Service (PAS) filestore, perform the following steps:
1. Select the **External AzureStorage** option.
<%= image_tag("azure/file_storage_azure.png") %>
1. To create a new storage account and storage containers for the PAS filestore, perform the following steps.
* In the Azure Portal, navigate to the **Storage accounts** tab.
* Click on the plus icon to add a new storage account.
* In the **Name** field, enter a unique name (all lowercase, 3 to 24 alphanumeric characters) for the storage account.
* For the **Deployment model**, select **Resource manager**.
* For **Account kind**, select **General purpose**.
* For **Performance**, select **Standard**.
* From the **Replication** dropdown, select **Locally-redundant storage (LRS)**.
* For **Storage service encryption**, select **Disabled**.
* From the **Subscription** dropdown, select the subscription where you want to deploy PCF resources.
* For **Resource group**, select **Use existing** and enter the name of the resource group where you deployed PAS.
* From **Location** the dropdown, select the **Location** where you are deploying PCF.
* Click **Create**.
* After the storage account is created, select the new storage account from the dashboard.
* Navigate to the **Blob Service** section of the storage account, and then click on **Containers** to create one or more containers in this storage account for buildpacks, droplets, resources, and packages.
* In **Blob Service**, select **Soft Delete**. In **Soft Delete**, click **Enabled** to enable soft delete in your Azure storage account.
<p class="note"><strong>Note</strong>: BBR requires that you enable soft delete in your Azure storage account before you enable backup and restore for your Azure blobstores in Ops Manager. You should set a reasonable retention policy to minimize storage costs. For more information on enabling soft delete in your Azure storage account, see the [Azure documentation](https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-soft-delete#quickstart).
</p>
* For each container that you create, set the **Access type** to **Private**.
1. In PAS, enter the name of the storage account you created for **Account Name**.
1. In the **Access Key** field, enter one of the access keys provided for the storage account. To obtain a value for this fields, visit the Azure Portal, navigate to the **Storage accounts** tab and click on **Access keys**.
1. For **Environment**, enter the name of the Azure Cloud environment that contains your storage. This value defaults to AzureCloud.
1. For the **Buildpacks Container Name**, enter the container name for storing your app buildpacks.
1. For **Droplets Container Name**, enter the container name for your app droplet storage. Pivotal recommends that you use a unique container name, but you can use the same container name as the previous step.
1. For **Packages Container Name**, enter the container name for packages. Pivotal recommends that you use a unique container name, but you can use the same container name as the previous step.
1. For **Resources Container Name**, enter the container name for resources. Pivotal recommends that you use a unique container name, but you can use the same container name as the previous step.
1. (Optional) To enable backup and restore for your Azure blobstores in PAS,
select the **Enable backup and restore (Soft deletes must be enabled for all storage containers listed above)** checkbox.
1. (Optional) To enable PAS to restore your containers to a different Azure storage account
than the account where you take backups, do the following:
1. Under **Restore from Storage Account**,
enter the name of the Azure storage account you want to restore your containers from.
Leave this field blank if restoring to the same storage account where you take backups.
1. Under **Restore using Access Key**, enter the access key for the Azure storage account you specified in **Restore from Storage Account**.
Leave this field blank if restoring to the same storage account where you take backups.
1. Click **Save**.
<p class="note"><strong>Note</strong>: To enable backup and restore of your PAS tile that uses S3 compatible blobstore, see <a href="backup-restore/enabling-external-blobstore-backups.html">Enable External Blobstore Backups</a>.
</p>