Skip to content

Commit 6570b2c

Browse files
committed
fix(waf): diagrams and flows
1 parent ee6b88a commit 6570b2c

12 files changed

+41
-43
lines changed
19.5 KB
Loading
-37.3 KB
Binary file not shown.

macros/edge-services/edge-services-bucket-benefits.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ macro: edge-services-bucket-benefits
77
- Enhance performance by caching your stored objects, to be served directly by Edge Services from the cache
88
- Finely control your cached objects via purging (cache invalidation)
99

10-
<Lightbox src="scaleway-edge-services-pipeline.webp" alt="A diagram shows the elements and workflow of an Edge Services pipeline. The user connects to the customizable Edge Services endpoint (with its SSL/TLS certificate), which fetches content from the Edge Services cache, which itself fetches content to cache from an origin which is either an Object Storage bucket or Load Balancer" />
10+
<Lightbox src="scaleway-edge-services-pipeline-nowaf.webp" alt="A diagram shows the elements and workflow of an Edge Services pipeline. The user connects to the customizable Edge Services endpoint (with its SSL/TLS certificate), which fetches content from the Edge Services cache, which itself fetches content to cache from an origin which is either an Object Storage bucket or Load Balancer" />

macros/edge-services/edge-services-lb-benefits.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@ macro: edge-services-lb-benefits
44

55
Creating an Edge Services pipeline for your Load Balancer helps to reduce load on your Load Balancer's backend servers. The origin configuration you define is used by Edge Services to connect to your Load Balancer and request content, which is then stored in the cache. Then, when your Load Balancer origin is accessed via its customizable Edge Services endpoint, the requested content is served from the cache (if present), without the need to fetch this content via the Load Balancer and its backend servers.
66

7-
<Lightbox src="scaleway-edge-services-pipeline.webp" alt="A diagram shows the elements and workflow of an Edge Services pipeline. The user connects to the customizable Edge Services endpoint (with its SSL/TLS certificate), which fetches content from the Edge Services cache, which itself fetches content to cache from an origin which is either an Object Storage bucket or Load Balancer" />
7+
<Lightbox src="scaleway-edge-services-pipeline-diag.webp" alt="A diagram shows the elements and workflow of an Edge Services pipeline. The user connects to the customizable Edge Services endpoint (with its SSL/TLS certificate), which fetches content from the Edge Services cache, which itself fetches content to cache from an origin which is either an Object Storage bucket or Load Balancer" />
88

99
Edge Services lets you:
1010

1111
- Define the specific origin (Load Balancer, frontend port, and host) for a given pipeline and its associated cache
1212
- Choose the TTL for cached objects, and purge the entire cache or specific cached objects at any time (cache invalidation)
13+
- Configure a [Web Application Firewall (WAF)](/edge-services/how-to/configure-waf/) to protect your origin from threats and malicious activity
1314
- Customize your Edge Services pipeline endpoint using a subdomain of your own domain
1415
- Add an SSL/TLS certificate so that Edge Services can serve content over HTTPS for your subdomain
1516

pages/edge-services/faq.mdx

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,18 @@ Yes, if you choose to [customize your Edge Services endpoint with your own subdo
3535

3636
## What is WAF?
3737

38-
**W**eb **A**pplication **F**irewall is a feature available in Public Beta via Edge Services for Load Balancer origins. It is currently available via the [Edge Services API](https://www.scaleway.com/en/developers/api/edge-services/) only, but will be coming to the Scaleway console soon.
38+
**W**eb **A**pplication **F**irewall is a feature available via Edge Services. When enabled, WAF filters requests to your Load Balancer origin to determine whether they are potentially malicious. You can choose the [paranoia level](/edge-services/concepts/#paranoia-level) to be used when evaluating requests, and set [exclusions](/edge-services/concepts/#exclusions) to define traffic that shouldn't be filtered by WAF. Requests that are judged to be malicious are blocked or logged, depending on the settings you choose. Find out more about WAF in our [detailed documentation](/edge-services/reference-content/understanding-waf/).
3939

40-
When enabled, WAF filters requests to your Load Balancer origin to determine whether they are potentially malicious. You can choose the [paranoia level](/edge-services/concepts/#paranoia-level) to be used when evaluating requests, and set [exclusions](/edge-services/concepts/#exclusions) to define traffic that shouldn't be filtered by WAF. Requests that are judged to be malicious are blocked or logged, depending on the settings you choose. Find out more about WAF in our [detailed documentation](/edge-services/reference-content/understanding-waf/).
40+
## How can I use WAF with a different type of Scaleway resource?
41+
42+
For now, WAF is only compatible with Load Balancers and Object Storage. You must put other resources behind a Load Balancer in order to benefit from WAF. Watch this space for other solutions in the future.
43+
44+
## Can I use WAF and caching simultaneously?
45+
46+
Yes, you can have both of these features enabled at the same time on the same Load Balancer pipeline. WAF protects your Load Balancer origin only: it does not filter requests served by the cache.
47+
48+
## What ruleset is used by WAF? Is it updated automatically?
49+
50+
Scaleway Edge Services WAF uses the [OWASP **C**ore **R**ule **S**et (CRS)](https://coreruleset.org/). This is an industry standard, open source ruleset for WAF, which protects against multiple categories of attack such as SQL injection and cross-site scripting. Full details are available in the [OWASP CRS documentation](https://coreruleset.org/docs/).
51+
52+
We handle the automatic updating of rules, removing this hassle from you the user.
40.6 KB
Loading
19.5 KB
Loading

pages/edge-services/how-to/create-pipeline-bucket.mdx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ content:
66
h1: How to create an Edge Services pipeline for an Object Storage bucket
77
paragraph: This page explains how to configure an Edge Services pipeline for a Scaleway Object Storage bucket. Set up your own custom domain to point to your bucket, and enable a caching service for faster and more efficient delivery.
88
dates:
9-
validation: 2024-10-15
9+
validation: 2025-03-03
1010
posted: 2024-07-24
1111
tags: object-storage edge-services cdn network cache domain https
1212
categories:
@@ -44,7 +44,10 @@ You can create an Edge Services pipeline [from the Object Storage section of the
4444

4545
5. Enter a name for the pipeline, or leave the randomly generated name in place.
4646

47-
6. Check the summary cost for the pipeline, and click **Create Edge Services pipeline**.
47+
6. Optionally, configure **Advanced Settings:**
48+
- **Cache**: When enabled, content from your origin bucket is cached with Edge Services and served directly to users from Edge Services' servers. Set a **Lifetime** value, in seconds, to dictate how long objects should remain in the cache before being freshly retrieved from the origin. [Find out more about caching](/edge-services/how-to/configure-cache/).
49+
50+
7. Check the summary cost for the pipeline, and click **Create Edge Services pipeline**.
4851

4952
You are returned to the **Pipelines** tab, where the newly created pipeline now displays.
5053

pages/edge-services/how-to/create-pipeline-lb.mdx

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ content:
66
h1: How to create an Edge Services pipeline for a Load Balancer
77
paragraph: This page explains how to configure an Edge Services pipeline on your Load Balancer, enabling a caching service for faster and more efficient delivery.
88
dates:
9-
validation: 2024-10-15
9+
validation: 2025-03-03
1010
posted: 2024-07-24
1111
tags: load-balancer edge-services cdn network cache domain https
1212
categories:
@@ -34,7 +34,8 @@ You can create an Edge Services pipeline from the Load Balancer section of the c
3434

3535
2. Click **Create pipeline**. The pipeline creation wizard displays.
3636

37-
<Lightbox src="scaleway-create-pipeline-lb.webp" alt="A screenshot of the Scaleway console shows the Edge Services pipeline creation wizard. It prompts you to select an origin type (Load Balancer or Object Storage), and configure the other options described below on this page." />
37+
TODO UPDATE
38+
<Lightbox src="scaleway-edge-create-pipeline-lb.webp" alt="A screenshot of the Scaleway console shows the Edge Services pipeline creation wizard. It prompts you to select an origin type (Load Balancer or Object Storage), and configure the other options described below on this page." />
3839

3940
3. Configure the [origin](/edge-services/concepts/#origin) for this pipeline:
4041
- Select **Load Balancer** as the origin type.
@@ -52,9 +53,13 @@ You can create an Edge Services pipeline from the Load Balancer section of the c
5253

5354
5. Enter a name for this Edge Services pipeline, or leave the auto-generated name in place.
5455

56+
6. Optionally, configure **Advanced Settings:**
57+
- **Cache**: When enabled, content from your Load Balancer origin is cached with Edge Services and served directly to users from Edge Services' servers. Set a **Lifetime** value, in seconds, to dictate how long objects should remain in the cache before being freshly retrieved from the origin. [Find out more about caching](/edge-services/how-to/configure-cache/).
58+
- **WAF**: When enabled, requests to your Load Balancer origin are evaluated by a **W**eb **A**pplication **F**irewall. Malicious requests are blocked or logged, depending on your settings. Set a paranoia level to determine WAF's aggressivity, and a mode (block or log) for dealing with malicious requests. [Find out more about WAF](/edge-services/reference-content/understanding-waf/).
59+
5560
The summary cost for the creation of this pipeline is displayed, notably whether it falls within the limits of your current [subscription plan](/edge-services/reference-content/understanding-pricing/)
5661

57-
6. Click **Create Edge Services pipeline** to finish.
62+
7. Click **Create Edge Services pipeline** to finish.
5863

5964
You are returned to the **Pipelines** tab, where the newly created pipeline now displays.
6065

0 commit comments

Comments
 (0)