You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
Removed outdated info about installing Fastly (#5025)
- Removed outdated info about installing Fastly
- Removed information about Fastly service account
- Moved info about Fastly service account to intro
- Moved domain delegation instructions to intro topic
since domain delegation request must be completed before
Cloud projects can be added to the service account
- Correct backend settings topic
- Remove content that suggests that you can configure multiple backends from the Magento Admin
- Explain that the default Fastly VCL code provides default backend settings for review and update
- Add note about integrating additional backends using Fastly Edge modules.
- Verify default Fastly config before customizing settings or enabling advanced features
- Update the configuration checklist in topic overview to remove Fastly Image optimization
- Cleaned up the Fastly module upgrade procedure
- Cleaned up Verify or Debug Fastly services topic
Copy file name to clipboardExpand all lines: guides/v2.2/cloud/cdn/cloud-fastly.md
+35-4Lines changed: 35 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -39,10 +39,43 @@ We highly recommend using Fastly for your CDN, security, and image optimization
39
39
40
40
## Fastly CDN module for Magento 2
41
41
42
-
Fastly services for {{ site.data.var.ece }} use the [Fastly CDN module for Magento 2](https://github.com/fastly/fastly-magento2) installed in the following environments: Pro Staging and Production, Starter Production (`master`) and Staging.
42
+
Fastly services for {{ site.data.var.ece }} use the [Fastly CDN module for Magento 2](https://github.com/fastly/fastly-magento2) installed in the following environments: Pro Staging and Production, Starter Production (`master` branch).
43
43
44
-
On initial provisioning or upgrade of your {{ site. data.var.ece }} project, we install the latest version of the Fastly CDN module. When Fastly releases module updates, you receive notifications in the Magento Admin UI for your environments. We recommend that you update your environments to use the latest release. See [Upgrade Fastly]({{ page.baseurl}}/cloud/cdn/configure-fastly.html#upgrade).
44
+
On initial provisioning or upgrade of your {{ site. data.var.ece }} project, we install the latest version of the Fastly CDN module in your Staging and Production environments. When Fastly releases module updates, you receive notifications in the Magento Admin UI for your environments. We recommend that you update your environments to use the latest release. See [Upgrade Fastly]({{ page.baseurl}}/cloud/cdn/configure-fastly.html#upgrade).
45
45
46
+
## Fastly service account
47
+
48
+
{{ site.data.var.ece }} projects do not require a dedicated Fastly account or account owner. Instead, each project environment has unique Fastly credentials (API key and service ID) to configure and manage Fastly services from the Magento Admin UI. You also need the credentials to submit Fastly API requests.
49
+
50
+
During project provisioning, Magento adds your project to the Fastly service account for {{ site.data.var.ece }} and adds the Fastly credentials to the configuration for the Staging and Production environments. See [Get Fastly credentials]({{ page.baseurl }}/cloud/cdn/configure-fastly.html#cloud-fastly-creds).
51
+
52
+
### Multiple Fastly accounts and assigned domains {#domain}
53
+
54
+
Fastly only allows you to assign an apex domain and associated subdomains to one Fastly service and account. If you have an existing Fastly account that links the same apex and subdomains used for your {{ site.data.var.ece }}, you have the following options:
55
+
56
+
- Remove the apex and subdomains from the existing account before requesting Fastly service credentials for your {{ site.data.var.ece}} project environments. See [Working with Domains](https://docs.fastly.com/guides/basic-configuration/working-with-domains) in the Fastly documentation.
57
+
58
+
Use this option to link the apex domain and all subdomains to the Fastly service account for {{ site.data.var.ece }}.
59
+
60
+
- Submit a support ticket to request domain delegation so that apex and subdomains can be linked to different accounts.
61
+
62
+
Use this option if your apex domain has multiple subdomains for Magento and non-Magento sites that you want to link to different Fastly accounts.
63
+
64
+
#### Request domain delegation
65
+
66
+
*Scenario 1*
67
+
68
+
The apex domain (`testweb.com` and `www.testweb.com`) is linked to an existing Fastly account. You have a {{ site.data.var.ece }} project configured with the following subdomains: `mcstaging.testweb.com` and `mcprod.testweb.com`. You do not want to move the apex domain to the Fastly service account for {{ site.data.var.ece }} Magento.
69
+
70
+
Submit a [Fastly support ticket](https://docs.fastly.com/guides/detailed-product-descriptions/support-description-and-sla#support-requests) requesting that the subdomains be delegated from the existing Fastly account to the Fastly account for {{ site.data.var.ece }}. Include your Magento project ID in the ticket.
71
+
72
+
After the delegation is complete, your project subdomains can be added to the Fastly service account for {{ site.data.var.ece }}. See [Get Fastly credentials]({{ page.baseurl }}/cloud/cdn/configure-fastly.html#cloud-fastly-creds).
73
+
74
+
*Scenario 2*
75
+
76
+
The apex domain (`testweb.com` and `www.testweb.com`) is linked to the {{ site.data.var.ece }} Fastly service account. You want to manage Fastly services for the `service.testweb.com` and `product-updates.testweb.com` subdomains from a different Fastly account.
77
+
78
+
Submit a [Magento support ticket](https://support.magento.com/hc/en-us/articles/360000913794#submit-ticket) requesting that the subdomains be delegated from the {{ site.data.var.ece }} Fastly service account to the Fastly account. Include the service ID for the Fastly account in the ticket.
46
79
47
80
## DDoS protection
48
81
@@ -67,7 +100,6 @@ see [Fastly troubleshooting]({{ page.baseurl }}/cloud/cdn/trouble-fastly.html#ti
67
100
68
101
Fastly can be bypassed for the Magento Admin to perform long running or bulk actions and API access to avoid 503s. For Fastly module 1.2.22 and later, the timeout for the Magento Admin was extended to three minutes. You can also update the Fastly configuration for your store to [extend the Fastly timeout for the Magento Admin]({{ page.baseurl }}/cloud/cdn/configure-fastly.html#bulkaction).
69
102
70
-
71
103
## Backends and Origin shields {#backend}
72
104
73
105
Backend settings provide fine tuning for Fastly performance with Origin shielding
@@ -104,7 +136,6 @@ After you have [set up Fastly]({{ page.baseurl }}/cloud/cdn/configure-fastly.htm
104
136
you can create [custom VCL snippets]({{ page.baseurl }}/cloud/cdn/cloud-vcl-custom-snippets.html)
105
137
using these edge dictionaries and ACLs.
106
138
107
-
108
139
## Force TLS {#tls}
109
140
110
141
Fastly supports forcing unencrypted requests to TLS through the Force TLS
0 commit comments