Skip to content

Commit 5bb360b

Browse files
author
github-actions
committed
update MD by dispatch event pingcap/docs release-8.5
1 parent 7df5e00 commit 5bb360b

File tree

3 files changed

+232
-15
lines changed

3 files changed

+232
-15
lines changed

markdown-pages/en/tidbcloud/master/TOC-tidb-cloud-premium.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@
133133
- [Connect via Private Endpoint with AWS](/tidb-cloud/premium/connect-to-premium-via-aws-private-endpoint.md)
134134
- [Connect via Private Endpoint with Alibaba Cloud](/tidb-cloud/premium/connect-to-premium-via-alibaba-cloud-private-endpoint.md)
135135
- [Back Up and Restore TiDB Cloud Data](/tidb-cloud/premium/backup-and-restore-premium.md)
136+
- [Export Data from TiDB Cloud Premium](/tidb-cloud/premium/premium-export.md)
136137
- Use an HTAP Cluster with TiFlash
137138
- [TiFlash Overview](/tiflash/tiflash-overview.md)
138139
- [Create TiFlash Replicas](/tiflash/create-tiflash-replicas.md)

markdown-pages/en/tidbcloud/master/tidb-cloud/configure-external-storage-access.md

Lines changed: 47 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ If you need to configure these external storages for a TiDB Cloud Dedicated clus
2222

2323
## Configure Amazon S3 access
2424

25-
To allow a TiDB Cloud <CustomContent plan="starter,essential">cluster</CustomContent><CustomContent plan="premium">instance</CustomContent> to access the source data in your Amazon S3 bucket, configure the bucket access for the <CustomContent plan="starter,essential">cluster</CustomContent><CustomContent plan="premium">instance</CustomContent> using either of the following methods:
25+
To allow a TiDB Cloud <CustomContent plan="starter,essential">cluster</CustomContent><CustomContent plan="premium">instance</CustomContent> to access your Amazon S3 bucket, configure the bucket access for the <CustomContent plan="starter,essential">cluster</CustomContent><CustomContent plan="premium">instance</CustomContent> using either of the following methods:
2626

2727
- [Use a Role ARN](#configure-amazon-s3-access-using-a-role-arn): use a Role ARN to access your Amazon S3 bucket.
2828
- [Use an AWS access key](#configure-amazon-s3-access-using-an-aws-access-key): use the access key of an IAM user to access your Amazon S3 bucket.
@@ -35,11 +35,11 @@ It is recommended that you use [AWS CloudFormation](https://docs.aws.amazon.com/
3535
>
3636
> Role ARN access to Amazon S3 is only supported for <CustomContent plan="starter,essential">clusters</CustomContent><CustomContent plan="premium">instances</CustomContent> with AWS as the cloud provider. If you use a different cloud provider, use an AWS access key instead. For more information, see [Configure Amazon S3 access using an AWS access key](#configure-amazon-s3-access-using-an-aws-access-key).
3737
38-
1. Open the **Import** page for your target <CustomContent plan="starter,essential">cluster</CustomContent><CustomContent plan="premium">instance</CustomContent>.
38+
1. Open the **Import** or **Export** page for your target <CustomContent plan="starter,essential">cluster</CustomContent><CustomContent plan="premium">instance</CustomContent>.
3939

4040
1. Log in to the [TiDB Cloud console](https://tidbcloud.com/) and <CustomContent plan="starter,essential">navigate to the [**Clusters**](https://tidbcloud.com/project/clusters) page of your project.</CustomContent><CustomContent plan="premium">navigate to the [**TiDB Instances**](https://tidbcloud.com/tidbs) page.</CustomContent>
4141

42-
2. Click the name of your target <CustomContent plan="starter,essential">cluster</CustomContent><CustomContent plan="premium">instance</CustomContent> to go to its overview page, and then click **Data** > **Import** in the left navigation pane.
42+
2. Click the name of your target <CustomContent plan="starter,essential">cluster</CustomContent><CustomContent plan="premium">instance</CustomContent> to go to its overview page, and then click **Data** > **Import** or **Data** > **Export** in the left navigation pane.
4343

4444
2. Open the **Add New ARN** dialog.
4545

@@ -51,10 +51,23 @@ It is recommended that you use [AWS CloudFormation](https://docs.aws.amazon.com/
5151

5252
- If you want to export data to Amazon S3, open the **Add New ARN** dialog as follows:
5353

54-
1. Click **Export data to...** > **Amazon S3**. If your <CustomContent plan="starter,essential">cluster</CustomContent><CustomContent plan="premium">instance</CustomContent> has neither imported nor exported any data before, click **Click here to export data to...** > **Amazon S3** at the bottom of the page.
54+
<CustomContent plan="starter,essential">
55+
56+
1. Click **Export data to...** > **Amazon S3**. If your cluster has neither imported nor exported any data before, click **Click here to export data to...** > **Amazon S3** at the bottom of the page.
5557
2. Fill in the **Folder URI** field.
5658
3. Choose **AWS Role ARN** and click **Click here to create new one with AWS CloudFormation**.
5759

60+
</CustomContent>
61+
62+
<CustomContent plan="premium">
63+
64+
1. Click **Export Data**.
65+
2. Choose **Amazon S3** in **Target Connection**.
66+
3. Fill in the **Folder URI** field.
67+
4. Choose **AWS Role ARN** and click **Click here to create new one with AWS CloudFormation**.
68+
69+
</CustomContent>
70+
5871
3. Create a role ARN with an AWS CloudFormation template.
5972

6073
1. In the **Add New ARN** dialog, click **AWS Console with CloudFormation Template**.
@@ -80,7 +93,7 @@ If you have any trouble creating a role ARN with AWS CloudFormation, you can tak
8093

8194
1. Sign in to the [AWS Management Console](https://console.aws.amazon.com/) and open the [Amazon S3 console](https://console.aws.amazon.com/s3/).
8295

83-
2. In the **Buckets** list, choose the name of your bucket with the source data, and then click **Copy ARN** to get your S3 bucket ARN (for example, `arn:aws:s3:::tidb-cloud-source-data`). Take a note of the bucket ARN for later use.
96+
2. In the **Buckets** list, choose the name of your target bucket, and then click **Copy ARN** to get your S3 bucket ARN (for example, `arn:aws:s3:::tidb-cloud-source-data`). Take a note of the bucket ARN for later use.
8497

8598
![Copy bucket ARN](https://docs-download.pingcap.com/media/images/docs/tidb-cloud/copy-bucket-arn.png)
8699

@@ -107,7 +120,7 @@ If you have any trouble creating a role ARN with AWS CloudFormation, you can tak
107120
"s3:GetObjectVersion",
108121
"s3:PutObject"
109122
],
110-
"Resource": "<Your S3 bucket ARN>/<Directory of your source data>/*"
123+
"Resource": "<Your S3 bucket ARN>/<Your data directory>/*"
111124
},
112125
{
113126
"Sid": "VisualEditor1",
@@ -123,10 +136,10 @@ If you have any trouble creating a role ARN with AWS CloudFormation, you can tak
123136

124137
In the policy text field, replace the following configurations with your own values.
125138

126-
- `"Resource": "<Your S3 bucket ARN>/<Directory of the source data>/*"`. For example:
139+
- `"Resource": "<Your S3 bucket ARN>/<Your data directory>/*"`, where `<Your data directory>` is the target directory for exported data or the source directory for imported data. For example:
127140

128-
- If your source data is stored in the root directory of the `tidb-cloud-source-data` bucket, use `"Resource": "arn:aws:s3:::tidb-cloud-source-data/*"`.
129-
- If your source data is stored in the `mydata` directory of the bucket, use `"Resource": "arn:aws:s3:::tidb-cloud-source-data/mydata/*"`.
141+
- If your data for import or export is in the root directory of the `tidb-cloud-source-data` bucket, use `"Resource": "arn:aws:s3:::tidb-cloud-source-data/*"`.
142+
- If your data for import or export is in the `mydata` directory of the bucket, use `"Resource": "arn:aws:s3:::tidb-cloud-source-data/mydata/*"`.
130143

131144
Make sure that `/*` is added to the end of the directory so TiDB Cloud can access all files in this directory.
132145

@@ -221,7 +234,7 @@ Take the following steps to configure a service account key:
221234

222235
</CustomContent>
223236

224-
<CustomContent plan="starter,essential">
237+
<CustomContent plan="starter,essential,premium">
225238

226239
## Configure Azure Blob Storage access
227240

@@ -231,17 +244,36 @@ You can create a SAS token either using an [Azure ARM template](https://learn.mi
231244

232245
To create a SAS token using an Azure ARM template, take the following steps:
233246

234-
1. Open the **Import** page for your target cluster.
247+
1. Open the **Import** or **Export** page for your target <CustomContent plan="starter,essential">cluster</CustomContent><CustomContent plan="premium">instance</CustomContent>.
235248

236-
1. Log in to the [TiDB Cloud console](https://tidbcloud.com/) and navigate to the [**Clusters**](https://tidbcloud.com/project/clusters) page of your project.
249+
1. Log in to the [TiDB Cloud console](https://tidbcloud.com/) and <CustomContent plan="starter,essential">navigate to the [**Clusters**](https://tidbcloud.com/project/clusters) page of your project.</CustomContent><CustomContent plan="premium">navigate to the [**TiDB Instances**](https://tidbcloud.com/tidbs) page.</CustomContent>
237250

238-
2. Click the name of your target cluster to go to its overview page, and then click **Data** > **Import** in the left navigation pane.
251+
2. Click the name of your target <CustomContent plan="starter,essential">cluster</CustomContent><CustomContent plan="premium">instance</CustomContent> to go to its overview page, and then click **Data** > **Import** or **Data** > **Export** in the left navigation pane.
239252

240253
2. Open the **Generate New SAS Token via ARM Template Deployment** dialog.
241254

242-
1. Click **Export data to...** > **Azure Blob Storage**. If your cluster has neither imported nor exported any data before, click **Click here to export data to...** > **Azure Blob Storage** at the bottom of the page.
255+
- If you want to import data from Azure Blob Storage:
256+
257+
1. Click **Import from Azure Blob Storage**.
258+
2. Fill in the **Folder URI** field.
259+
3. In the **SAS Token** field, click **Click here to create a new one with Azure ARM template**.
260+
261+
- If you want to export data to Azure Blob Storage:
262+
263+
<CustomContent plan="starter,essential">
264+
265+
1. Click **Export data to...** > **Azure Blob Storage**. If your cluster has neither imported nor exported any data before, click **Click here to export data to...** > **Azure Blob Storage** at the bottom of the page.
266+
2. Scroll down to the **Azure Blob Storage Settings** area, and then click **Click here to create a new one with Azure ARM template** under the SAS Token field.
267+
268+
</CustomContent>
269+
270+
<CustomContent plan="premium">
271+
272+
1. Click **Export Data**.
273+
2. Choose **Azure Blob Storage** in **Target Connection**.
274+
3. Click **Click here to create a new one with Azure ARM template** under the SAS Token field.
243275

244-
2. Scroll down to the **Azure Blob Storage Settings** area, and then click **Click here to create a new one with Azure ARM template** under the SAS Token field.
276+
</CustomContent>
245277

246278
3. Create a SAS token with the Azure ARM template.
247279

0 commit comments

Comments
 (0)