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

Commit 2550129

Browse files
authored
Merge branch 'master' into MCLOUD-8642
2 parents faef238 + e5e0dd1 commit 2550129

26 files changed

+313
-121
lines changed

src/_data/toc/cloud-guide.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,10 @@ pages:
445445
url: /cloud/project/services-elastic.html
446446
versionless: true
447447

448+
- label: Set up OpenSearch service
449+
url: /cloud/project/services-opensearch.html
450+
versionless: true
451+
448452
- label: Set up RabbitMQ service
449453
url: /cloud/project/services-rabbit.html
450454
versionless: true

src/_data/whats-new.yml

Lines changed: 56 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,63 @@ description: This page contains recent changes that we think you'd like to know
44
We exclude from this list proofreading, spelling checks, and all minor updates.
55
link: "/whats-new.html"
66
thread: "/whatsnew-feed.xml"
7-
updated: Mon Apr 11 14:38:41 2022
7+
updated: Mon Apr 18 16:08:10 2022
88
entries:
9+
- description: The [Site-Wide Analysis Tool](https://devdocs.magento.com/tools/site-wide-analysis.html)
10+
installation topic has moved to [Adobe Experience League](https://experienceleague.adobe.com/docs/commerce-operations/tools/site-wide-analysis-tool/installation.html).
11+
versions: 2.4.x
12+
type: Technical
13+
date: April 13, 2022
14+
link: https://github.com/magento-commerce/devdocs/pull/2913
15+
merge_commit: e3cc7b1a1aa0811ff7313cb98dc5f0917dce9bb3
16+
contributor: jeff-matthews
17+
membership: true
18+
labels:
19+
- Technical
20+
- 2.4.x
21+
- description: Cloud guide updates:<br/>- Updated the [Upgrade version topic](https://devdocs.magento.com/cloud/project/project-upgrade.html)
22+
to include instructions for 2.4.4 template.<br/>- Added a new topic for [OpenSearch
23+
setup](https://devdocs.magento.com/cloud/project/services-opensearch.html). This
24+
is an early version; more to come.<br/>- Updated the [Application Properties topic](https://devdocs.magento.com/cloud/project/magento-app-properties.html)
25+
to include 2.4.4 settings and clarified the Composer 2 install.
26+
versions: 2.4.4
27+
type: Major Update
28+
date: April 13, 2022
29+
link: https://github.com/magento-commerce/devdocs/pull/2908
30+
merge_commit: 5362c1b1392eee3cbf18eafe4f17fa79845fd041
31+
contributor: hguthrie
32+
membership: true
33+
labels:
34+
- Major Update
35+
- 2.4.4
36+
- description: Updated the autogenerated topics and the semi-automated topics that
37+
use release data such as [Module reference guide](https://devdocs.magento.com/guides/v2.4/mrg/intro.html),
38+
[Packages](https://devdocs.magento.com/guides/v2.4/release-notes/packages-open-source.html),
39+
[Backwards incompatible changes](https://devdocs.magento.com/guides/v2.4/release-notes/backward-incompatible-changes/reference.html),
40+
[Required PHP extensions](https://devdocs.magento.com/guides/v2.4/install-gde/system-requirements.html#php-extensions),
41+
[bin/magento CLI](https://devdocs.magento.com/guides/v2.4/reference/cli/magento.html).
42+
versions: 2.4.4
43+
type: Major Update
44+
date: April 12, 2022
45+
link: https://github.com/magento-commerce/devdocs/pull/2907
46+
merge_commit: 81e9594ffa9c24a761ebd3a3c7c076078443f1e5
47+
contributor: dshevtsov
48+
membership: true
49+
labels:
50+
- Major Update
51+
- 2.4.4
52+
- description: Updated the Cloud integration topics to remove the delete remote step
53+
and add a note about default remote names.
54+
versions: 2.x
55+
type: Technical
56+
date: April 11, 2022
57+
link: https://github.com/magento-commerce/devdocs/pull/2894
58+
merge_commit: b584117fd3a6324049c59da591fb2b3cf14b05b6
59+
contributor: hguthrie
60+
membership: true
61+
labels:
62+
- 2.x
63+
- Technical
964
- description: Added a new topic to the _Performance Best Practices_ guide titled
1065
[High-throughput Order Processing](https://devdocs.magento.com/guides/v2.4/performance-best-practices/high-throughput-order-processing.html),
1166
which describes how you can improve performance by optimizing the order placement

src/_includes/cloud/cloud-elasticsearch-client-compatibility.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/_includes/cloud/error-codes.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,13 @@ Critical errors indicate a problem with the Magento Commerce Cloud project confi
7272
| 130 | install-update: cache_type | Command failed: `php ./bin/magento cache:enable` | Command `php ./bin/magento cache:enable` runs only when Magento was installed but `./app/etc/env.php` file was absent or empty at the beginning of the deployment. Check the `cloud.log` for more information. Add `VERBOSE_COMMANDS: '-vvv'` into `.magento.env.yaml` for more detailed command output. |
7373
| 131 | install-update | The `crypt/key` key value does not exist in the `./app/etc/env.php` file or the `CRYPT_KEY` cloud environment variable | This error occurs if the `./app/etc/env.php` file is not present when Magento deployment begins, or if the `crypt/key` value is undefined. If you migrated the database from another environment, retrieve the crypt key value from that environment. Then, add the value to the [CRYPT_KEY](https://devdocs.magento.com/cloud/env/variables-deploy.html#crypt_key) cloud environment variable in your current environment. See [Add the Magento encryption key](https://devdocs.magento.com/cloud/setup/first-time-setup-import-import.html#encryption-key). If you accidentally removed the `./app/etc/env.php` file, use the following command to restore it from the backup files created from a previous deployment: `./vendor/bin/ece-tools backup:restore` CLI command ." |
7474
| 132 | | Cannot connect to the Elasticsearch service | Check for valid Elasticsearch credentials and verify that the service is running |
75-
| 137 | | Cannot connect to the Opensearch service | Check for valid Opensearch credentials and verify that the service is running |
75+
| 137 | | Cannot connect to the OpenSearch service | Check for valid OpenSearch credentials and verify that the service is running |
7676
| 133 | validate-config | Remove Magento Braintree module configuration which is no longer supported in Magento 2.4 and later versions. | Support for the Braintree module is no longer included with Magento 2.4.0 and later. Remove the CONFIG__STORES__DEFAULT__PAYMENT__BRAINTREE__CHANNEL variable from the variables section of the .magento.app.yaml file. For Braintree support, use an official Braintree Payments extension from the Magento Marketplace instead. |
7777
| 134 | validate-config | Magento 2.4.0 requires Elasticsearch service to be installed | Install Elasticsearch service |
78-
| 138 | validate-config | Magento 2.4.4 requires Opensearch or Elasticsearch service to be installed | Install Opensearch service |
78+
| 138 | validate-config | Magento 2.4.4 requires OpenSearch or Elasticsearch service to be installed | Install OpenSearch service |
7979
| 135 | validate-config | The search engine must be set to Elasticsearch for Magento >= 2.4.0 | Check the SEARCH_CONFIGURATION variable for the `engine` option. If it is configured, remove the option, or set the value to "elasticsearch". |
8080
| 136 | validate-config | Split Database was removed starting from Magento 2.5.0. | If you use split database that you have to revert to or migrate to a single database or use an alternative approach. |
81-
| 139 | validate-config | Incorrect search engine | This Magento version does not support Opensearch. You must use versions 2.3.7-p3, 2.4.3-p2, or higher |
81+
| 139 | validate-config | Incorrect search engine | This Magento version does not support OpenSearch. You must use versions 2.3.7-p3, 2.4.3-p2, or higher |
8282

8383
### Post-deploy stage
8484

@@ -156,7 +156,7 @@ Warning errors indicate a problem with the Magento Commerce Cloud project config
156156
| 2026 | pre-deploy:restore-writable-dirs | Failed to restore some data generated during the build phase to the mounted directories | Check the `cloud.log` for more information. |
157157
| 2027 | validate-config:mage-mode-variable | Mode value for MAGE_MODE environment variable not supported | Remove the MAGE_MODE environment variable, or change its value to "production". Magento Cloud supports "production" mode only. |
158158
| 2028 | remote-storage | Remote storage could not be enabled. | Verify remote storage credentials. |
159-
| 2030 | validate-config | Elasticsearch and Opensearch services are both installed at infrastructure layer. Magento 2.4.4 and higher uses Opensearch by default | Consider removing the Elasticsearch or Opensearch service from the infrastructure layer to optimize resource usage. |
159+
| 2030 | validate-config | Elasticsearch and OpenSearch services are both installed at infrastructure layer. Magento 2.4.4 and higher uses OpenSearch by default | Consider removing the Elasticsearch or OpenSearch service from the infrastructure layer to optimize resource usage. |
160160

161161
### Post-deploy stage
162162

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
{:.bs-callout-warning}
2+
Elasticsearch 7.11 and later is not supported for {{ site.data.var.ece }}. {{ site.data.var.ee }} and {{ site.data.var.ce }} versions 2.4.4, 2.4.3-p2, and 2.3.7-p3 support the OpenSearch service. The on-premises installations continue to support Elasticsearch.

src/cloud/architecture/pro-architecture.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,8 @@ The Production environment has three virtual machines (VMs) behind an Elastic Lo
193193
- `pub/static`
194194
- `app/etc`
195195
- **Redis**—one server per VM with only one active and the other two as replicas
196-
- **Elasticsearch**—search for {{site.data.var.ece}} 2.2 and later
196+
- **Elasticsearch**—search for {{site.data.var.ece}} 2.2 to 2.4.3-p2
197+
- **OpenSearch**—search for {{site.data.var.ece}} 2.3.7-p3, 2.4.3-p2, 2.4.4 and later
197198
- **Galera**—database cluster with one MariaDB MySQL database per node with an auto-increment setting of three for unique IDs across every database
198199

199200
The following figure shows the technologies used in the Production environment:
@@ -231,6 +232,7 @@ On Pro plan projects, the Master branch provides an active PaaS environment with
231232
- [Redis]({{ site.baseurl }}/cloud/project/services-redis.html)
232233
- [RabbitMQ]({{ site.baseurl }}/cloud/project/services-rabbit.html)
233234
- [Elasticsearch]({{ site.baseurl }}/cloud/project/services-elastic.html)
235+
- [OpenSearch]({{ site.baseurl }}/cloud/project/services-opensearch.html)
234236

235237
For the Staging and Production environments, we recommend installing the latest version of the Fastly CDN module. See [Fastly in Cloud]({{ site.baseurl }}/cloud/cdn/cloud-fastly.html#fastly-cdn-module-for-magento-2).
236238

src/cloud/architecture/scaled-architecture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Scaling must use the same instance type and size for each node:
2121

2222
### Core tier scaling
2323

24-
There are 3 nodes (core nodes) for data storage, cache, and services: **ElasticSearch**, **MariaDB**, **Redis**, and more. When the core tier approaches capacity, the only way to scale is to increase the server size, such as boosting the CPU power and memory. Capacity is limited to the size of the node that is available. Because the database cluster is designed for high availability, you cannot scale horizontally in a reliable way with the technologies used.
24+
There are 3 nodes (core nodes) for data storage, cache, and services: **OpenSearch** or **Elasticsearch**, **MariaDB**, **Redis**, and more. When the core tier approaches capacity, the only way to scale is to increase the server size, such as boosting the CPU power and memory. Capacity is limited to the size of the node that is available. Because the database cluster is designed for high availability, you cannot scale horizontally in a reliable way with the technologies used.
2525

2626
![Core tier scaling]
2727

src/cloud/architecture/starter-architecture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ The Production and Staging environments include the following technologies. You
6363

6464
### Services {#cloud-arch-services}
6565

66-
{{site.data.var.ece}} currently supports the following services: PHP, MySQL (MariaDB), Elasticsearch ({{site.data.var.ee}} 2.2.x and later), Redis, and RabbitMQ.
66+
{{site.data.var.ece}} currently supports the following services: PHP, MySQL (MariaDB), Elasticsearch ({{site.data.var.ee}} 2.2 to 2.4.3-p2), OpenSearch (2.3.7-p3, 2.4.3-p2, 2.4.4 and later), Redis, and RabbitMQ.
6767

6868
Each service runs in a separate, secure container. Containers are managed together in the project. Some services are standard, such as the following:
6969

src/cloud/before/before-setup-env-install.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,8 @@ Optionally, if you used Vagrant with the _hostmanager_ plugin, update the hosts
182182
For development and testing in an environment as close to Integration as possible, you may also want to install additional tools, software, and services. These services are configured using [`services.yaml`]({{ site.baseurl }}/cloud/project/services.html).
183183

184184
- [Redis]({{ site.baseurl }}/cloud/project/services-redis.html)
185-
- [ElasticSearch]({{ site.baseurl }}/cloud/project/services-elastic.html)
185+
- [Elasticsearch]({{ site.baseurl }}/cloud/project/services-elastic.html)
186+
- [OpenSearch]({{ site.baseurl }}/cloud/project/services-opensearch.html)
186187
- [RabbitMQ]({{ site.baseurl }}/cloud/project/services-rabbit.html)
187188
- [Additional software]({{ site.baseurl }}/guides/v2.3/install-gde/prereq/optional.html)
188189

src/cloud/bk-cloud.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@ functional_areas:
55
- Cloud
66
---
77

8-
{{site.data.var.ece}} is a managed, automated hosting platform for the {{site.data.var.ee}} software. {{site.data.var.ece}} comes with a variety of additional features that sets it apart from the on-premises {{site.data.var.ee}} and {{site.data.var.ce}} platforms:
8+
{{site.data.var.ece}} is a managed, automated hosting platform for the {{site.data.var.ee}} software. {{site.data.var.ece}} comes with various additional features that set it apart from the on-premises {{site.data.var.ee}} and {{site.data.var.ce}} platforms:
99

1010
![Cloud Benefits]
1111

12-
{{site.data.var.ece}} provides a pre-provisioned infrastructure that includes PHP, MySQL, Redis, RabbitMQ, and Elasticsearch technologies; a Git-based workflow with automatic build and deploy for efficient **Rapid development** and **Continuous deployment** every time you push code changes in a Platform as a Service (PaaS) environment; highly **Customizable** environment configuration files and [tools](#ece-tools-package); and AWS hosting that offers a **Scalable** and **Secure** environment for online sales and retailing.
12+
{{site.data.var.ece}} provides a pre-provisioned infrastructure that includes PHP, MySQL (MariaDB), Redis, RabbitMQ, and supported search engine technologies; a Git-based workflow with automatic build and deploy for efficient **Rapid development** and **Continuous deployment** every time you push code changes in a Platform as a Service (PaaS) environment; highly **Customizable** environment configuration files and [tools](#ece-tools-package); and AWS hosting that offers a **Scalable** and **Secure** environment for online sales and retailing.
1313

1414
## Technology stack
1515

1616
Think of the {{site.data.var.ece}} as five functional layers, as shown here:
1717

1818
![Cloud Stack]
1919

20-
Amazon Web Services (AWS) powers the underlying Infrastructure as a Service (IaaS) for {{site.data.var.ece}}. For {{site.data.var.ece}} Pro projects, you can choose either AWS or Microsoft Azure for IaaS support.
20+
Amazon Web Services (AWS) powers the underlying Infrastructure as a Service (IaaS) for {{site.data.var.ece}}. For {{site.data.var.ece}} Pro projects, you can choose either AWS or Microsoft® Azure for IaaS support.
2121

2222
Each {{site.data.var.ece}} plan provides a PaaS Integration environment for developing, testing, and integrating services, see [{{site.data.var.ece}} architecture]({{ site.baseurl }}/cloud/architecture/cloud-architecture.html) for a comparison and additional features. New Relic provides granular visibility into the site performance. [Fastly]({{ site.baseurl }}/cloud/cdn/cloud-fastly.html) caches site assets and, as customers access the site and stores, loads the cached assets fast. The [Fastly Image Optimization]({{ site.baseurl }}/cloud/cdn/fastly-image-optimization.html) (IO) offloads image processing and resizing load, freeing servers to process orders and conversions efficiently.
2323
<!-- Also, the Fastly Web Application Firewall (WAF) prevents malicious traffic and other OWASP Top 10 threats from affecting the site. -->

src/cloud/env/environments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ You can configure application settings, routes, build and deploy actions, and no
1313
- [`.magento.app.yaml`]({{ site.baseurl }}/cloud/project/magento-app.html)—defines how to build and deploy {{site.data.var.ee}}, including services, hooks, and cron jobs.
1414
- [`.magento.env.yaml`]({{ site.baseurl }}/cloud/project/magento-env-yaml.html)—centralizes the management of build and deploy actions across all of your environments, including Pro Staging and Production, using environment variables.
1515
- [`.magento/routes.yaml`]({{ site.baseurl }}/cloud/project/routes.html)—configure caching, redirects, and server-side includes.
16-
- [`.magento/services.yaml`]({{ site.baseurl }}/cloud/project/services.html)—defines the services {{site.data.var.ee}} uses by name and version. For example, this file may include versions of MySQL, PHP extensions, Redis, RabbitMQ, and Elasticsearch. You must open a support ticket to push these changes to Pro plan Staging and Production environments.
16+
- [`.magento/services.yaml`]({{ site.baseurl }}/cloud/project/services.html)—defines the services {{site.data.var.ee}} uses by name and version. For example, this file may include versions of MariaDB, PHP extensions, Redis, RabbitMQ, and Elasticsearch or OpenSearch. You must open a support ticket to push these changes to Pro plan Staging and Production environments.
1717
- [`php.ini`]({{ site.baseurl }}/cloud/project/magento-app-php-ini.html)—an optional file that can be added to the project. The settings contained in this file are appended to the ones maintained by {{site.data.var.ece}}.
1818

1919
When you push code changes, the active environment provisions container updates using the YAML configuration files.

src/cloud/howtos/debug.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ The method you choose is up to you. You have the following options:
400400
{:.procedure}
401401
To compress files and copy them to your local machine:
402402

403-
1. Use SSH to login to the remote environment.
403+
1. Use SSH to log in to the remote environment.
404404

405405
1. Compress the files.
406406

0 commit comments

Comments
 (0)