Skip to content

Commit 7313754

Browse files
dcpenacaley-b
andauthored
[Learning Path] Added Surge Readiness learning path (#25245)
* Added Surge Readiness learning path * Added webinar link * Link fixes * Added external link to learning path * Implementing feedback * Apply suggestion from @caley-b Co-authored-by: Caley Burton <[email protected]> * Apply suggestion from @caley-b Co-authored-by: Caley Burton <[email protected]> * Apply suggestion from @caley-b Co-authored-by: Caley Burton <[email protected]> * Apply suggestion from @caley-b Co-authored-by: Caley Burton <[email protected]> * Apply suggestion from @caley-b Co-authored-by: Caley Burton <[email protected]> * Apply suggestion from @caley-b Co-authored-by: Caley Burton <[email protected]> * Apply suggestion from @caley-b Co-authored-by: Caley Burton <[email protected]> * Apply suggestion from @caley-b Co-authored-by: Caley Burton <[email protected]> * Apply suggestion from @caley-b Co-authored-by: Caley Burton <[email protected]> * Apply suggestion from @caley-b Co-authored-by: Caley Burton <[email protected]> * Apply suggestion from @caley-b Co-authored-by: Caley Burton <[email protected]> * Implemented review feedback * Fixed relative link --------- Co-authored-by: Caley Burton <[email protected]>
1 parent c326302 commit 7313754

19 files changed

+456
-83
lines changed
Lines changed: 2 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -1,86 +1,5 @@
11
---
2-
pcx_content_type: how-to
2+
pcx_content_type: navigation
33
title: Prepare for surges or spikes in web traffic
4-
4+
external_link: /learning-paths/surge-readiness/concepts/
55
---
6-
7-
import { DashButton } from "~/components";
8-
9-
## Use Cloudflare Cache features to optimize caching
10-
11-
By default, Cloudflare [caches static content](/cache/concepts/default-cache-behavior/) such as images, CSS, and JavaScript. However, you can extend Cloudflare caching to work with HTML by creating custom [Cache Rules](/cache/how-to/cache-rules/).
12-
13-
### Cache more requests
14-
15-
1. In the Cloudflare dashboard, go to the **Account home** page and select your account and domain.
16-
17-
<DashButton url="/?to=/:account/home" />
18-
19-
2. Go to **Caching****Cache Rules** and select **Create rule**.
20-
21-
3. For **When incoming requests match**, enter either your entire website or a specific path on your application, based on the **Hostname** or **URI Path**. Refer to the [available fields](/cache/how-to/cache-rules/settings/#fields).
22-
23-
4. For **Cache eligibility**, define how these requests should be cached and for how long. Refer to the available [cache eligibility settings](/cache/how-to/cache-rules/settings/#eligible-for-cache-settings).
24-
25-
5. You can then monitor the effectiveness of your cache settings using [Cache Analytics](/cache/performance-review/cache-analytics/) and update your configuration according to our [Cache performance guide](/cache/performance-review/cache-performance/).
26-
27-
### Advanced cache optimizations
28-
29-
* [Custom Cache Keys](/cache/how-to/cache-keys/) allows you to precisely set the cacheability setting for any resource.
30-
31-
* [Origin Cache Control](/cache/concepts/cache-control/) can be used to let the `Cache-Control` headers tell Cloudflare how to handle content from the origin server.
32-
33-
### Use Tiered Cache
34-
35-
[Tiered Cache](/cache/how-to/tiered-cache/) uses the size of Cloudflare's network to reduce requests to customer origin servers by dramatically increasing cache hit ratios.
36-
37-
It works by dividing Cloudflare's data centers into a hierarchy of lower-tiers and upper-tiers. If content is not cached in lower-tier data centers (generally the ones closest to a visitor), the lower-tier requests an upper-tier for the content. If the upper-tier does not have the content, only the upper-tier will initiate a request to the origin. This practice improves bandwidth efficiency by limiting the number of Cloudflare data centers that can ask the origin for content.
38-
39-
Refer to [Enable Tiered Cache](/cache/how-to/tiered-cache/#enable-tiered-cache) to get started.
40-
41-
### Use Cache Reserve
42-
43-
[Cache Reserve](/cache/advanced-configuration/cache-reserve/) is a large, persistent data store implemented on top of [R2](/r2/).
44-
45-
With a single click in the dashboard, your cacheable content will be written to Cache Reserve. In the same way that Tiered Cache builds a hierarchy of caches between your visitors and your origin, Cache Reserve serves as the ultimate [upper-tier cache](/cache/how-to/tiered-cache/) that will reserve storage space for your assets for as long as you want.
46-
47-
This ensures that your content is served from cache longer, shielding your origin from unneeded egress fees.
48-
49-
## Understand the limits of your hosting plan
50-
51-
Cloudflare offsets most of the load to your website via caching and request filtering, but some traffic will still pass through to your origin. Knowing the limits of your hosting plan can help prevent a bottleneck from your host. 
52-
53-
Once you are aware of your plan limits, you can use [Rate Limiting](/waf/rate-limiting-rules/) to restrict how many times a requesting entity can make a request to your website.
54-
55-
To help you define the best rate limiting setting for your use case, refer to [How Cloudflare determines the request rate article](/waf/rate-limiting-rules/request-rate/).
56-
57-
## Cloudflare Waiting Room
58-
59-
[Cloudflare Waiting Room](/waiting-room/) allows you to route excess users of your website to a customized waiting room, helping preserve customer experience and protect origin servers from being overwhelmed with requests.
60-
61-
## Use Cloudflare IP addresses to your advantage
62-
63-
Take action to prevent attacks to your application during peak season by configuring your firewall to only accept traffic from Cloudflare IP addresses. By only allowing [Cloudflare IPs](https://www.cloudflare.com/ips), you can prevent attackers from bypassing Cloudflare and sending requests directly to your origin.
64-
65-
Refer to [Cloudflare IP addresses](/fundamentals/concepts/cloudflare-ip-addresses/) for more information.
66-
67-
## Monitor traffic in your Cloudflare dashboard
68-
69-
You can use the Cloudflare dashboard to closely monitor the traffic on your domain and fine-tune your cache and security settings accordingly.
70-
71-
### Zone and Account analytics
72-
73-
[Cloudflare zone analytics](/analytics/account-and-zone-analytics/zone-analytics/) gives you access to a wide range of metrics, collected at the website or domain level.
74-
75-
[Cloudflare account analytics](/analytics/account-and-zone-analytics/account-analytics/) lets you access a wide range of aggregated metrics from all the sites under a specific Cloudflare account.
76-
77-
### Security Analytics and Security Events
78-
79-
[Security Analytics](/waf/analytics/security-analytics/) displays information about all incoming HTTP requests for your domain, including requests not handled by Cloudflare security products.
80-
81-
You can also use the [Security Events](/waf/analytics/security-events/) to review mitigated requests and tailor your security configurations.
82-
83-
### Cache Analytics
84-
85-
You can use [Cache Analytics](/cache/performance-review/cache-analytics/) to improve site performance or reduce origin web server traffic.
86-
Cache Analytics helps determine if resources are missing from cache, expired, or ineligible for caching.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
title: Custom pages
3+
pcx_content_type: overview
4+
sidebar:
5+
order: 2
6+
---
7+
8+
Design your custom HTML page and host it online anywhere. Once published, Cloudflare will use the customized page instead of serving our standard page to your visitors.
9+
10+
:::note[Note]
11+
We encourage you to customize every page to provide a consistent branding experience for your users. Origin Error pages can also be activated for 502, 504, and 404 errors.
12+
:::
13+
14+
Pages you can customize:
15+
16+
- IP Block
17+
- WAF Block
18+
- 500 Class Errors
19+
- 1000 Class Errors
20+
- Always Online Error
21+
- Basic Security Challenge
22+
- WAF Challenge
23+
- Country Challenge
24+
- I'm Under Attack Mode Challenge
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
title: Prerequisites
3+
pcx_content_type: overview
4+
sidebar:
5+
order: 1
6+
---
7+
8+
import { DashButton } from "~/components";
9+
10+
Reach out to your Customer Success Manager at least 30 days prior to the expected traffic surge to schedule a Security Optimization walkthrough with your Customer Solution Engineer.
11+
12+
To learn more about our service offerings, refer to [Customer Success offerings](https://www.cloudflare.com/success-offerings/).
13+
14+
## Register your users
15+
16+
For the security and protection of your account, be sure to register all account users.
17+
18+
1. In the Cloudflare dashboard, go to the **Manage Account** > **Members** page.
19+
20+
<DashButton url="/?to=/:account/members" />
21+
22+
2. Select more than one Super Administrator to ensure appropriate access when needed.
23+
24+
:::note
25+
26+
Refer to [Manage members](/fundamentals/manage-members/) to learn how to review and update registered account users.
27+
28+
:::
29+
30+
Failure to register account users can create issues with our ticketing system. Unverified users who contact support will be funneled to the self-serve queue rather than the Enterprise queue which can result in long wait times.
31+
32+
We strongly advise against credential-sharing which can jeopardize the trust and safety of your account.
33+
34+
## Confirm user and domain administration
35+
36+
- **Multi-User:** Provide role-based permissions to a group of users to better control the administration of your domains. Each user has their own role and limited API key.
37+
- **Enforce 2FA:** Ensure your entire dashboard is secure by [enforcing 2-factor authentication](/fundamentals/user-profiles/2fa/) for your organization.
38+
- To disable 2FA, submit a support ticket and allow 1-2 business days to validate your request.
39+
- **Leverage API Access:** Work easily with our system programmatically using our [API](https://api.cloudflare.com).
40+
41+
## Additional items
42+
43+
- Check when your [SSL Certificates expire (only custom and origin certificates)](/ssl/edge-certificates/custom-certificates/renewing/)
44+
:::note
45+
Certificates managed by Cloudflare are auto-renewed.
46+
:::
47+
- Review your Operational and Disaster recovery preparedness
48+
- Enable Load Balancing with smart cache strategies: Use [Cloudflare Load Balancing](/reference-architecture/architectures/load-balancing) to distribute traffic across multiple healthy origins, and increase cache-hit ratios by leveraging [custom cache rules](/cache/performance-review/cache-analytics) and [edge compute](https://www.cloudflare.com/learning/cdn/caching-static-and-dynamic-content/) (e.g., Cloudflare Workers) to offload origin traffic during high-demand periods.
49+
- Configure failover pools and back up DNS with a playbook: Set up [Cloudflare Load Balancer failover pools](/reference-architecture/architectures/load-balancing) to automatically redirect traffic to healthy origins if one fails. Export DNS records for safekeeping and prepare a clear [incident response plan](https://www.cloudflare.com/learning/performance/preventing-downtime) that includes steps for re-routing or recovery.
50+
- Review and update your current users' access
51+
- Check your domain registry validity
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
title: Analytics
3+
pcx_content_type: overview
4+
sidebar:
5+
order: 4
6+
---
7+
8+
## Workers Analytics Engine
9+
10+
Use the [Workers Analytics Engine](/analytics/analytics-engine/) to send unlimited-cardinality data from your Worker to a time-series database. Query it with SQL.
11+
12+
13+
## Account and zone analytics
14+
15+
Use [Account and zone analytics](/analytics/account-and-zone-analytics/) to provide details about the requests and traffic related to your Cloudflare accounts and zones.
16+
17+
18+
## Cloudflare Network Analytics
19+
20+
Use [Cloudflare Network Analytics](/analytics/network-analytics/) to provide near real-time visibility into network and transport-layer traffic patterns and DDoS attacks.
21+
22+
## GraphQL Analytics API
23+
24+
Use the [GraphQL Analytics API](/analytics/graphql-api/) to provide\ all of your performance, security, and reliability data from one endpoint. Select exactly what you need, from one metric for a domain to multiple metrics aggregated for your account.
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
---
2+
title: Caching
3+
pcx_content_type: overview
4+
sidebar:
5+
order: 2
6+
---
7+
8+
import { DashButton } from "~/components";
9+
10+
## Optimize caching
11+
12+
By default, Cloudflare [caches static content](/cache/concepts/default-cache-behavior/) such as images, CSS, and JavaScript. However, you can extend Cloudflare caching to work with HTML by creating custom [Cache Rules](/cache/how-to/cache-rules/).
13+
14+
15+
### Cache more requests
16+
17+
1. In the Cloudflare dashboard, go to the **Caching** > **Cache Rules** page.
18+
19+
<DashButton url="/?to=/:account/:zone/caching/cache-rules" />
20+
21+
2. Select **Create rule**.
22+
3. For When incoming requests match, enter either your entire website or a specific path on your application, based on the Hostname or URI Path. Refer to the [available fields](/cache/how-to/cache-rules/settings/#fields).
23+
4. For Cache eligibility, define how these requests should be cached and for how long. Refer to the available [cache eligibility settings](/cache/how-to/cache-rules/settings/#eligible-for-cache-settings).
24+
5. You can then monitor the effectiveness of your cache settings using [Cache Analytics](/cache/performance-review/cache-analytics/) and update your configuration according to our [Cache performance guide](/cache/performance-review/cache-performance/).
25+
26+
27+
### Advanced cache optimizations
28+
29+
30+
31+
* [Custom Cache Keys](/cache/how-to/cache-keys/) allows you to precisely set the cacheability setting for any resource.
32+
* [Origin Cache Control](/cache/concepts/cache-control/) can be used to let the Cache-Control headers tell Cloudflare how to handle content from the origin server.
33+
34+
35+
## Tiered Cache
36+
37+
[Tiered Cache](/cache/how-to/tiered-cache/) uses the size of Cloudflare's network to reduce requests to customer origin servers by dramatically increasing cache hit ratios.
38+
39+
It works by dividing Cloudflare's data centers into a hierarchy of lower-tiers and upper-tiers. If content is not cached in lower-tier data centers (generally the ones closest to a visitor), the lower-tier requests an upper-tier for the content. If the upper-tier does not have the content, only the upper-tier will initiate a request to the origin. This practice improves bandwidth efficiency by limiting the number of Cloudflare data centers that can ask the origin for content.
40+
41+
Refer to [Enable Tiered Cache](/cache/how-to/tiered-cache/#enable-tiered-cache) to get started.
42+
43+
44+
### Cache Reserve
45+
46+
[Cache Reserve](/cache/advanced-configuration/cache-reserve/) is a large, persistent data store implemented on top of [R2](/r2/).
47+
48+
With a single click in the dashboard, your cacheable content will be written to Cache Reserve. In the same way that Tiered Cache builds a hierarchy of caches between your visitors and your origin, Cache Reserve serves as the ultimate [upper-tier cache](/cache/how-to/tiered-cache/) that will reserve storage space for your assets for as long as you want.
49+
50+
This ensures that your content is served from cache longer, shielding your origin from unneeded egress fees.
51+
52+
53+
## Cloudflare Waiting Room
54+
55+
[Cloudflare Waiting Room](/waiting-room/) allows you to route excess users of your website to a customized waiting room, helping preserve customer experience and protect origin servers from being overwhelmed with requests.
56+
57+
58+
## Use Cloudflare IP addresses
59+
60+
Take action to prevent attacks to your application during peak season by configuring your firewall to only accept traffic from Cloudflare IP addresses. By only allowing [Cloudflare IPs](https://www.cloudflare.com/ips), you can prevent attackers from bypassing Cloudflare and sending requests directly to your origin.
61+
62+
Refer to [Cloudflare IP addresses](/fundamentals/concepts/cloudflare-ip-addresses/) for more information.
63+
64+
65+
## Monitor traffic
66+
67+
You can use the Cloudflare dashboard to closely monitor the traffic on your domain and fine-tune your cache and security settings accordingly.
68+
69+
70+
### Zone and Account analytics
71+
72+
[Cloudflare zone analytics](/analytics/account-and-zone-analytics/zone-analytics/) gives you access to a wide range of metrics, collected at the website or domain level.
73+
74+
[Cloudflare account analytics](/analytics/account-and-zone-analytics/account-analytics/) lets you access a wide range of aggregated metrics from all the sites under a specific Cloudflare account.
75+
76+
77+
### Security Analytics and Security Events
78+
79+
[Security Analytics](/waf/analytics/security-analytics/) displays information about all incoming HTTP requests for your domain, including requests not handled by Cloudflare security products.
80+
81+
You can also use the [Security Events](/waf/analytics/security-events/) to review mitigated requests and tailor your security configurations.
82+
83+
84+
### Cache Analytics
85+
86+
You can use [Cache Analytics](/cache/performance-review/cache-analytics/) to improve site performance or reduce origin web server traffic. Cache Analytics helps determine if resources are missing from cache, expired, or ineligible for caching.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
title: Performance
3+
pcx_content_type: overview
4+
sidebar:
5+
group:
6+
hideIndex: true
7+
order: 3
8+
---
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
title: Logs
3+
pcx_content_type: overview
4+
sidebar:
5+
order: 3
6+
---
7+
8+
## Logpush
9+
10+
Use [Logpush](/logs/logpush/) to push your request or event logs to your cloud service provider using Logpush, which can be configured via the Cloudflare dashboard or API.
11+
12+
13+
## Instant Logs
14+
15+
Use [Instant Logs](/logs/instant-logs/) to view HTTP request logs instantly in the Cloudflare dashboard or the CLI.
16+
17+
18+
## Logs Engine
19+
20+
Use the [Logs Engine](/logs/r2-log-retrieval/) to store your logs in R2 and query them directly.
21+
22+
23+
## Log Explorer
24+
25+
Use the [Log Explorer](/log-explorer/) to store and explore your Cloudflare logs directly within the Cloudflare dashboard or API.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: Block user agents and lock zones
3+
pcx_content_type: overview
4+
sidebar:
5+
order: 6
6+
---
7+
8+
9+
[User Agent (UA) Blocking](/waf/tools/user-agent-blocking/) rules match against specific User-Agent request headers sent by the browser or application accessing your site. UA rules are applied against the entire domain, and after a rule is triggered, you can decide which action to take against the visitor.
10+
11+
Actions:
12+
13+
- Block: Ensures that an IP address will never be allowed to access your site
14+
- CAPTCHA Challenge: Rules will be shown a CAPTCHA before allowed access
15+
- Javascript Challenge: Rules will be shown 5 second javascript confirmation
16+
17+
## Zone Lockdown
18+
19+
[Zone Lockdown](/waf/tools/zone-lockdown/) rules allow you to define paths and only allow specific, trusted IPs to those paths. Any requests to those paths from non-whitelisted IPs will be automatically blocked with an 1106 HTTP code. This ability is particularly useful for locking down administrative or staging portions of your application.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: Confirm account security
3+
pcx_content_type: overview
4+
sidebar:
5+
order: 2
6+
---
7+
8+
import { DirectoryListing } from "~/components";
9+
10+
Review the list below for guidance on securing your account.
11+
12+
<DirectoryListing folder="fundamentals/account/account-security" />
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
title: Control domain access
3+
pcx_content_type: overview
4+
sidebar:
5+
order: 8
6+
---
7+
8+
[IP Access Rules](/waf/tools/ip-access-rules/) specify an action based on the origin of your user across a single domain or all of the domains in your account.
9+
10+
IP Access Rules can be applied based on:
11+
12+
13+
14+
* IPv4 address or range: Specified in CIDR notation as `/16` or `/24`
15+
* IPv6 address or range: Specified in CIDR notation as `/32`, `/48`, `/64`
16+
* ASN
17+
* Country or the Tor network
18+
19+
20+
:::note
21+
22+
We recommend locking down your origin with an Access Control List (ACL) which only allows [Cloudflare IPs](http://www.cloudflare.com/ips).
23+
24+
:::
25+
26+
Actions:
27+
28+
- Block: Ensures that an IP address will never be allowed to access your site.
29+
- CAPTCHA Challenge: Rules will be shown a CAPTCHA before allowed access.
30+
- Javascript Challenge: Rules will be shown a five second javascript confirmation.
31+
- Allowlist: Ensures that an IP address will never be blocked from accessing your site. This supersedes any Cloudflare security profile.
32+
33+
:::note
34+
35+
Challenge Passage timeout applies to IP reputation, IUAM mode and user IP Firewall (CAPTCHA or JS Challenge): [cf_clearance cookie](/fundamentals/reference/policies-compliances/cloudflare-cookies/#additional-cookies-used-by-the-challenge-platform) is set with `Max-age=Challenge Passage`.
36+
:::
37+

0 commit comments

Comments
 (0)