Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit bb55fd3

Browse files
authored
Merge pull request magento-commerce/devdocs#2736 from magento-devdocs/hg-jan12-cloudimports
Imports to Cloud guide
2 parents d2cf60e + f2236d1 commit bb55fd3

File tree

4 files changed

+48
-15
lines changed

4 files changed

+48
-15
lines changed

src/_includes/cloud/cloud-fastly-manage-vcl-from-admin.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,24 @@
1515
1. After the upload completes, refresh the cache according to the notification at the top of the page.
1616

1717
{:.bs-callout-warning}
18-
The *Custom VCL snippets* UI option shows only the snippets added through the Admin UI. You must use the Fastly API to [manage custom snippets added through the API]({{ site.baseurl }}/cloud/cdn/cloud-vcl-custom-snippets.html#manage-custom-vcl-snippets-using-the-api).
18+
The *Custom VCL snippets* UI option shows only the snippets added through the Admin UI. You must [manage custom VCL snippets using the Fastly API]({{ site.baseurl }}/cloud/cdn/cloud-vcl-custom-snippets.html#manage-custom-vcl-snippets-using-the-api).
1919

2020
## Delete the custom VCL snippet
2121

22-
You can delete custom VCL snippet code from your Fastly configuration by uploading an empty version of the snippet from the Admin UI, or delete it completely using the Fastly API.
22+
1. [Log in]({{ site.baseurl }}/cloud/onboarding/onboarding-tasks.html#admin) to the Admin UI.
23+
24+
1. Click **Stores** > **Settings** > **Configuration** > **Advanced** > **System**.
25+
26+
1. Expand **Full Page Cache** > **Fastly Configuration** > **Custom VCL Snippets**.
27+
28+
![Manage custom VCL snippets]
2329

24-
- Upload an empty version of the snippet file to Fastly to remove the VCL logic from the active VCL version:
30+
1. In the _Action_ column, click the trash icon next to the snippet to delete.
2531

26-
- Edit the snippet and delete the **VCL** snippet content.
27-
- Save the configuration.
28-
- Upload the VCL to Fastly to apply your changes.
32+
1. On the next modal window, click **DELETE** and activate a new version.
2933

30-
- Use the Fastly API [Delete custom VCL snippet]({{ site.baseurl }}/cloud/cdn/cloud-vcl-custom-snippets.html#manage-vcl) operation to delete the snippet completely, or submit a support ticket to request deletion.
34+
{:.bs-callout-warning}
35+
The *Custom VCL snippets* UI option shows only the snippets added through the Admin UI. You must [manage custom VCL snippets using the Fastly API]({{ site.baseurl }}/cloud/cdn/cloud-vcl-custom-snippets.html#manage-custom-vcl-snippets-using-the-api).
3136

3237
[Manage custom VCL snippets]: {{site.baseurl}}/common/images/cloud/cloud-fastly-manage-snippets.png
33-
{:width="650px"}
38+
{:width="650px"}

src/cloud/env/variables-build.md

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,26 +108,48 @@ stage:
108108

109109
You can configure multiple locales per theme. This customization helps speed up the build process by reducing the number of unnecessary theme files. For example, you can build the _magento/backend_ theme in English and a custom theme in other languages.
110110

111-
The following example builds the `magento/backend` theme with three locales:
111+
The following example builds the `Magento/backend` theme with three locales:
112112

113113
```yaml
114114
stage:
115115
build:
116116
SCD_MATRIX:
117-
"magento/backend":
117+
"Magento/backend":
118118
language:
119119
- en_US
120120
- fr_FR
121121
- af_ZA
122122
```
123+
The following example builds three themes with three locales:
123124

124-
Also, you can choose to _not_ deploy a theme:
125+
```yaml
126+
stage:
127+
build:
128+
SCD_MATRIX:
129+
"Magento/backend":
130+
language:
131+
- en_US
132+
- fr_FR
133+
- af_ZA
134+
"Magento/blank":
135+
language:
136+
- en_US
137+
- fr_FR
138+
- af_ZA
139+
"Magento/luma":
140+
language:
141+
- en_US
142+
- fr_FR
143+
- af_ZA
144+
```
145+
146+
Or, you can choose to _not_ deploy a theme:
125147

126148
```yaml
127149
stage:
128150
build:
129151
SCD_MATRIX:
130-
"magento/backend": [ ]
152+
"Magento/backend": [ ]
131153
```
132154

133155
### `SCD_MAX_EXECUTION_TIME`

src/cloud/project/log-locations.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,14 @@ You can view the logs from the file system, the project web UI, and the `magento
1919
- **Magento Cloud CLI**—You can view logs using the `magento-cloud log` command.
2020

2121
{:.bs-callout-tip}
22-
Automatic log rotation, compression, and removal are enabled in the Cloud environment. Each log file type has a rotating pattern and lifetime.
22+
For Pro environments, automatic log rotation, compression, and removal are enabled for log files with a fixed file name. Each log file type has a rotating pattern and lifetime. Starter environments do not have log rotation.
23+
24+
Full details of the environment's log rotation and lifespan of compressed logs can be found in the following locations :
25+
26+
```terminal
27+
/etc/logrotate.conf
28+
/etc/logrotate.d/<various>
29+
```
2330

2431
## Manage log data
2532

@@ -152,7 +159,6 @@ For example, on Pro production environments a PHP access log for 21 days in the
152159
```terminal
153160
/var/log/platform/<project_id>/php.access.log.22.gz
154161
```
155-
156162
The archived log files are always stored in the directory where the original file was located before compression.
157163

158164
{:.bs-callout-info}

src/cloud/project/user-admin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ When MFA enforcement is enabled on a {{site.data.var.ece}} project, all users wi
3636
You can add users and assign roles using the Magento Cloud CLI or the Project Web Interface.
3737

3838
{:.bs-callout-tip}
39-
Changing user configuration on a {{site.data.var.ece}} environment triggers a site deployment, which takes your site offline until deployment completes. For Production environments, we recommend completing user administration tasks during off-peak hours to prevent service disruptions.
39+
Changing user configuration on an {{site.data.var.ece}} environment requires a site deployment for the changes to take effect, which takes your site offline until the deployment completes. For Production environments, we recommend completing user administration tasks during off-peak hours to prevent service disruptions.
4040

4141
**Prerequisites:**
4242

0 commit comments

Comments
 (0)