Skip to content

Commit fc54a67

Browse files
Updates navigation for DLS and LB (#24884)
* Updates navigation for DLS and LB * Adds missing componenent
1 parent 68440d8 commit fc54a67

File tree

9 files changed

+114
-83
lines changed

9 files changed

+114
-83
lines changed

src/content/docs/data-localization/how-to/pages.mdx

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sidebar:
55
order: 2
66
---
77

8-
import { TabItem, Tabs } from "~/components";
8+
import { TabItem, Tabs, DashButton } from "~/components";
99

1010
In the following sections, we will give you some details about how to configure Pages with Regional Services and Customer Metadata Boundary.
1111

@@ -15,13 +15,15 @@ To configure Regional Services for hostnames [proxied](/dns/proxy-status/) throu
1515

1616
<Tabs syncKey="dashPlusAPI"> <TabItem label="Dashboard">
1717

18-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and select an account.
19-
2. Go to the **Workers & Pages** tab.
20-
3. Select your Pages project.
21-
4. Follow these steps to [create a Custom Domain](/pages/configuration/custom-domains/).
22-
5. Go to the **DNS** of the zone you configured the Custom Domain for.
23-
6. From the **Region** dropdown, select the region you would like to use on your domain.
24-
7. Select **Save**.
18+
1. In the Cloudflare dashboard, go to the **Workers & Pages** page.
19+
20+
<DashButton url="/?to=/:account/workers-and-pages" />
21+
22+
2. Select your Pages project.
23+
3. Follow these steps to [create a Custom Domain](/pages/configuration/custom-domains/).
24+
4. Go to the **DNS** of the zone you configured the Custom Domain for.
25+
5. From the **Region** dropdown, select the region you would like to use on your domain.
26+
6. Select **Save**.
2527

2628
</TabItem>
2729

src/content/docs/data-localization/how-to/r2.mdx

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,21 @@ sidebar:
55
order: 6
66
---
77

8-
import { Details } from "~/components";
8+
import { Details, DashButton } from "~/components";
99

1010
In the following sections, we will give you some details about how to configure R2 with Regional Services and Customer Metadata Boundary.
1111

1212
## Regional Services
1313

1414
To configure Regional Services for hostnames [proxied](/dns/proxy-status/) through Cloudflare and ensure that processing of requesting objects from a [R2 Bucket](/r2/buckets/) occurs only in-region, follow these steps:
1515

16-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and select an account.
17-
2. Go to the **R2** tab.
18-
3. Follow the steps to [create a Bucket](/r2/buckets/create-buckets/).
19-
4. [Connect a bucket to a custom domain](/r2/buckets/public-buckets/#connect-a-bucket-to-a-custom-domain).
20-
5. Run the [API POST](/data-localization/regional-services/get-started/#configure-regional-services-via-api) command on the configured bucket custom domain to create a `regional_hostnames` with a specific region.
16+
1. In the Cloudflare dashboard, go to the **R2** page.
17+
18+
<DashButton url="/?to=/:account/r2/overview" />
19+
20+
2. Follow the steps to [create a Bucket](/r2/buckets/create-buckets/).
21+
3. [Connect a bucket to a custom domain](/r2/buckets/public-buckets/#connect-a-bucket-to-a-custom-domain).
22+
4. Run the [API POST](/data-localization/regional-services/get-started/#configure-regional-services-via-api) command on the configured bucket custom domain to create a `regional_hostnames` with a specific region.
2123

2224
Regional Services only applies to the custom domain configured for an R2 Bucket.
2325

src/content/docs/data-localization/how-to/workers.mdx

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,21 @@ sidebar:
66

77
---
88

9+
import { DashButton } from "~/components";
10+
911
In the following sections, we will give you some details about how to configure Workers with Regional Services and Customer Metadata Boundary.
1012

1113
## Regional Services
1214

1315
To configure Regional Services for hostnames [proxied](/dns/proxy-status/) through Cloudflare and ensure that processing of a Workers project occurs only in-region, follow these steps:
1416

15-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and select an account.
16-
2. Go to the **Workers & Pages** tab.
17-
3. Select your Workers project.
18-
4. Follow the steps to [create a custom domain](/workers/configuration/routing/custom-domains/).
19-
5. Run the [API POST](/data-localization/regional-services/get-started/#configure-regional-services-via-api) command on the configured Workers Custom Domain to create a `regional_hostnames` with a specific region.
17+
1. In the Cloudflare dashboard, go to the **Workers & Pages** page.
18+
19+
<DashButton url="/?to=/:account/workers-and-pages" />
20+
21+
2. Select your Workers project.
22+
3. Follow the steps to [create a custom domain](/workers/configuration/routing/custom-domains/).
23+
4. Run the [API POST](/data-localization/regional-services/get-started/#configure-regional-services-via-api) command on the configured Workers Custom Domain to create a `regional_hostnames` with a specific region.
2024

2125
### Caveats
2226

src/content/docs/load-balancing/additional-options/load-balancing-rules/create-rules.mdx

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sidebar:
66

77
---
88

9-
import { Example } from "~/components"
9+
import { Example, DashButton } from "~/components"
1010

1111
Create and manage [Load Balancing rules](/load-balancing/additional-options/load-balancing-rules/) in the **Custom Rules** page, which is part of the Create/Edit Load Balancer workflow found in **Traffic** in the dashboard.
1212

@@ -20,20 +20,22 @@ Create and manage [Load Balancing rules](/load-balancing/additional-options/load
2020

2121
## Example Workflow
2222

23-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com) and select an account.
24-
2. Go to **Load Balancing**.
25-
3. Edit an existing load balancer or [create a new load balancer](/load-balancing/load-balancers/create-load-balancer/).
26-
4. From the Load Balancer workflow, select **Custom Rules**.
27-
5. Select **Create Custom Rule**.
28-
6. In the **Field** drop-down list, choose an HTTP property. For more details, refer to [Supported fields](/load-balancing/additional-options/load-balancing-rules/reference/).
29-
7. In the **Operator** drop-down list, choose an operator. For more details, refer to [Operators](/load-balancing/additional-options/load-balancing-rules/reference/#operators-and-grouping-symbols).
30-
8. Enter the value to match. When the field is an ordered list, **Value** is a drop-down list. Otherwise, **Value** is a text input.
31-
9. (Optional) To create a compound expression using logical operators, select **And** or **Or**.
32-
10. For an action, choose **Respond with fixed response** or **Override** and enter additional details. For a full list of actions, refer to [Actions](/load-balancing/additional-options/load-balancing-rules/actions/).
33-
11. (Optional) Select **Add another override**.
34-
12. After you create your rule, select **Save and Deploy** or **Save as Draft**.
35-
13. Select **Next** and review your changes.
36-
14. Select **Save** to confirm.
23+
1. In the Cloudflare dashboard, go to the **Load Balancing** page.
24+
25+
<DashButton url="/?to=/:account/load-balancing" />
26+
27+
2. Edit an existing load balancer or [create a new load balancer](/load-balancing/load-balancers/create-load-balancer/).
28+
3. From the Load Balancer workflow, select **Custom Rules**.
29+
4. Select **Create Custom Rule**.
30+
5. In the **Field** drop-down list, choose an HTTP property. For more details, refer to [Supported fields](/load-balancing/additional-options/load-balancing-rules/reference/).
31+
6. In the **Operator** drop-down list, choose an operator. For more details, refer to [Operators](/load-balancing/additional-options/load-balancing-rules/reference/#operators-and-grouping-symbols).
32+
7. Enter the value to match. When the field is an ordered list, **Value** is a drop-down list. Otherwise, **Value** is a text input.
33+
8. (Optional) To create a compound expression using logical operators, select **And** or **Or**.
34+
9. For an action, choose **Respond with fixed response** or **Override** and enter additional details. For a full list of actions, refer to [Actions](/load-balancing/additional-options/load-balancing-rules/actions/).
35+
10. (Optional) Select **Add another override**.
36+
11. After you create your rule, select **Save and Deploy** or **Save as Draft**.
37+
12. Select **Next** and review your changes.
38+
13. Select **Save** to confirm.
3739

3840
:::caution[Warning]
3941

src/content/docs/load-balancing/additional-options/spectrum.mdx

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ head:
88
content: Add load balancing to Spectrum applications
99
---
1010

11-
import { Render } from "~/components";
11+
import { Render, DashButton } from "~/components";
1212

1313
You can configure [Spectrum](/spectrum/) with Load Balancing to bring resiliency to your TCP or UDP based applications.
1414

@@ -22,15 +22,19 @@ The exact settings will vary depending on your use case. Refer to the following
2222

2323
### 1. Configure your load balancer
2424

25-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login) and select an account where the Load Balancing add-on is [enabled](/load-balancing/get-started/enable-load-balancing/).
25+
1. In the Cloudflare dashboard, go to the **Load Balancing** page.
2626

27-
2. Go to **Load Balancing** and select **Create load balancer**.
27+
<DashButton url="/?to=/:account/load-balancing" />
2828

29-
3. On the **Load Balancer Setup**, select **Public load balancer**
29+
2. Select an account where the Load Balancing add-on is [enabled](/load-balancing/get-started/enable-load-balancing/).
3030

31-
4. Choose the website to which you want to add this load balancer.
31+
3. Go to **Load Balancing** and select **Create load balancer**.
3232

33-
5. On the **Hostname** page, define the settings presented and select **Next**.
33+
4. On the **Load Balancer Setup**, select **Public load balancer**
34+
35+
5. Choose the website to which you want to add this load balancer.
36+
37+
6. On the **Hostname** page, define the settings presented and select **Next**.
3438
- Enter a **Hostname**, which is the DNS name at which the load balancer is available. For more details on record priority, refer to [DNS records for load balancing](/load-balancing/load-balancers/dns-records/).
3539
:::caution
3640

@@ -40,19 +44,19 @@ The exact settings will vary depending on your use case. Refer to the following
4044
- Keep the orange cloud icon enabled, meaning the load balancer is proxied. This refers to the [proxy mode](/load-balancing/understand-basics/proxy-modes/) and, with Spectrum, traffic is always proxied.
4145
- Keep **Session Affinity** and **Failover across pools** disabled as these features are not supported with Spectrum.
4246

43-
6. On the **Add a Pool** page, define the settings presented and select **Next**.
47+
7. On the **Add a Pool** page, define the settings presented and select **Next**.
4448
- Select one or more existing pools or [create a new pool](/load-balancing/pools/create-pool/#create-a-pool) [^1].
4549
- If needed, update the [fallback pool](/load-balancing/understand-basics/health-details/#fallback-pools) [^2].
4650

47-
7. On the **Monitors** page, define the settings presented and select **Next**.
51+
8. On the **Monitors** page, define the settings presented and select **Next**.
4852
- Review the monitors attached to your pools.
4953
- If needed, you can attach an existing monitor or [create a new monitor](/load-balancing/monitors/create-monitor/#create-a-monitor).
5054

51-
8. On the **Traffic Steering** page, choose an option for [Traffic steering](/load-balancing/understand-basics/traffic-steering/steering-policies/) and select **Next**.
55+
9. On the **Traffic Steering** page, choose an option for [Traffic steering](/load-balancing/understand-basics/traffic-steering/steering-policies/) and select **Next**.
5256

53-
9. Keep **Custom Rules** page empty as this feature is not supported with Spectrum.
57+
10. Keep **Custom Rules** page empty as this feature is not supported with Spectrum.
5458

55-
10. On the **Review** page:
59+
11. On the **Review** page:
5660

5761
- Review your configuration and make any changes.
5862
- If you set traffic steering to **Off**, re-order the pools in your load balancer to adjust the fallback order.

src/content/docs/load-balancing/get-started/enable-load-balancing.mdx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,17 @@ description: Learn how to enable load balancing.
1010

1111
---
1212

13-
import { Render } from "~/components"
13+
import { Render, DashButton } from "~/components"
1414

1515
Load balancing is an add-on for your account, meaning your account needs a [billing profile](/billing/create-billing-profile/).
1616

1717
To enable [Load Balancing](https://dash.cloudflare.com/?to=/:account/:zone/traffic/load-balancing):
1818

19-
1. Log in to your [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
20-
2. Go to **Load Balancing**.
21-
3. Select **Enable Load Balancing** in the **Status** column.
22-
4. Choose your plan options and confirm payment.
19+
1. In the Cloudflare dashboard, go to the **Load Balancing** page.
20+
21+
<DashButton url="/?to=/:account/load-balancing" />
22+
23+
2. Select **Enable Load Balancing** in the **Status** column.
24+
3. Choose your plan options and confirm payment.
2325

2426
<Render file="non-contract-enablement" product="fundamentals" />

0 commit comments

Comments
 (0)