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.
Projects provisioned before June 5, 2020 had multiple, smaller Integration environments. If you need a larger Integration environment for testing and development, request an upgrade to Enhanced Integration environments. See the [Integration Environment request](https://support.magento.com/hc/en-us/articles/360043032152) article in the _Magento Help Center_ for details.
Copy file name to clipboardExpand all lines: src/cloud/architecture/cloud-architecture.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -95,7 +95,7 @@ For comparison, each plan includes the following infrastructure features and sup
95
95
96
96
## Starter projects
97
97
98
-
The [Starter plan architecture]({{ site.baseurl }}/cloud/basic-information/starter-architecture.html) has four environments:
98
+
The [Starter plan architecture]({{ site.baseurl }}/cloud/architecture/starter-architecture.html) has four environments:
99
99
100
100
-**Integration**—The Integration environment provides three testable environments. Each environment includes an active Git branch, database, web server, caching, some services, environment variables, and configurations.
101
101
-**Staging**—As code and extensions pass your tests, you can merge your Integration branch to a Staging environment, which becomes your pre-Production testing environment. It includes the `staging` active branch, database, web server, caching, third-party services, environment variables, configurations, and services, such as Fastly and New Relic.
Copy file name to clipboardExpand all lines: src/cloud/architecture/pro-architecture.md
+64-17Lines changed: 64 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -9,12 +9,12 @@ functional_areas:
9
9
- Cloud
10
10
---
11
11
12
-
Your {{site.data.var.ece}} Pro architecture supports a maximum of **eight**environments that you can use to develop, test, and launch your store. Each environment contains a database and a web server:
12
+
Your {{site.data.var.ece}} Pro architecture supports multiple environments that you can use to develop, test, and launch your store.
13
13
14
-
-**Integration**—Provides a single environment branch, and you can create up to four additional, environment branches. This allows for a maximum of five_active_ branches deployed to Platform-as-a-Service (PaaS) containers.
14
+
-**Integration**—Provides a single environment branch, and you can create one additional, environment branch. This allows for up to two_active_ branches deployed to Platform-as-a-Service (PaaS) containers.
15
15
-**Staging**—Provides a single environment branch deployed to dedicated Infrastructure-as-a-Service (IaaS) containers.
16
16
-**Production**—Provides a single environment branch deployed to dedicated Infrastructure-as-a-Service (IaaS) containers.
17
-
-**Global Master**—Provides a `master` branch deployed to Platform-as-a-Service (PaaS) containers.
17
+
-**Master**—Provides a `master` branch deployed to Platform-as-a-Service (PaaS) containers.
18
18
19
19
The following table summarizes the differences between environments:
20
20
@@ -65,6 +65,9 @@ The following table summarizes the differences between environments:
65
65
</tbody>
66
66
</table>
67
67
68
+
{:.bs-callout-info}
69
+
Magento also provides the {{site.data.var.mcd-prod}} solution to deploy Magento to a local Cloud Docker environment for developing and testing {{site.data.var.ee}} projects. See [Docker development]({{site.baseurl}}/cloud/docker/docker-development.html).
70
+
68
71
## Pro environment architecture
69
72
70
73
Your project is a single Git repository with three, main environment branches for Integration, Staging, and Production. The following diagram shows the hierarchical relationship of the environments:
@@ -73,32 +76,67 @@ Your project is a single Git repository with three, main environment branches fo
73
76
74
77
## Integration environment {#cloud-arch-int}
75
78
76
-
Developers use the Integration environment to develop, deploy, and test:
79
+
The Integration environment runs in a Linux container (LXC) on a grid of servers known as Platform-as-a-Service (PaaS). Each environment includes a web server and database to test your site.
80
+
81
+
**Recommended use cases:**
77
82
78
-
- Magento application code
79
-
- Custom code
80
-
- Extensions
81
-
- Services
83
+
Integration environments are designed for limited testing and development before moving changes to Staging and Production. For example, you can use the Integration environment to complete the following tasks:
82
84
83
-
The Integration environment runs in a Linux container (LXC) on a grid of servers known as Platform-as-a-Service (PaaS). Each environment includes a web server and database to test your site.
85
+
- Ensure that changes to continuous integration (CI) processes are Cloud compatible
86
+
87
+
- Test critical workflows on key pages like Home, Category, Product Details Page (PDP), Checkout, and Admin
88
+
89
+
For best performance in the Integration environment follow these best practices:
90
+
91
+
- Restrict catalog size
84
92
85
-
{:.bs-callout-info}
86
-
The Integration environment does not support all services. For example, the Fastly CDN is not accessible in an Integration environment.
93
+
- Limit use to one or two concurrent users
87
94
88
-
### Global Master
95
+
- Disable crons and manually run as needed
89
96
90
-
The Global Master branch is a part of the Integration environment. You should always push a copy of the Production code to the Global Master in case there is an emergent need to debug the Production environment without interrupting services.
97
+
**Caveats:**
91
98
92
-
Do **not** create a branch from Global Master. Use the Integration environment branch to create new, active branches.
99
+
- Fastly CDN and New Relic services are not accessible in an Integration environment
100
+
101
+
- The Integration environment architecture does not match the Production and Staging architecture
102
+
103
+
- Do not use the Integration environment for development testing, performance testing, or user acceptance testing (UAT)
104
+
105
+
- Do not use the Integration environment to test {{site.data.var.b2b}} functionality
106
+
107
+
- You cannot restore the Integration database from Production or Staging
108
+
109
+
{% include cloud/note-enhanced-integration-envs-kb.md%}
93
110
94
111
## Staging environment {#cloud-arch-stage}
95
112
96
113
The Staging environment provides a near-production environment to test your site. This environment, which is hosted on dedicated IaaS hardware, includes all services, such as Fastly CDN, New Relic APM, and search.
97
114
98
115
You cannot create a branch from the Staging environment branch. You must push code changes from the Integration environment branch to the Staging environment branch.
99
116
100
-
{:.bs-callout-warning}
101
-
We highly recommend testing every merchant and customer interaction in the Staging environment prior to deploying to the Production environment. See [Deploy your store]({{ site.baseurl }}/cloud/live/stage-prod-live.html) and [Test deployment]({{ site.baseurl }}/cloud/live/stage-prod-test.html).
117
+
**Recommended use cases:**
118
+
119
+
The Staging environment matches the Production architecture and is designed for UAT, content staging, and final review before pushing features to the Production environment. For example, you can use the Staging environment to complete the following tasks:
120
+
121
+
- Regression testing against production data
122
+
123
+
- Performance testing with Fastly caching enabled
124
+
125
+
- Test new builds instead of patching in Production
126
+
127
+
- UAT testing for new builds
128
+
129
+
- Test {{site.data.var.b2b}}
130
+
131
+
- Customize cron configuration and test cron jobs
132
+
133
+
See [Deploy your store]({{ site.baseurl }}/cloud/live/stage-prod-live.html) and [Test deployment]({{ site.baseurl }}/cloud/live/stage-prod-test.html).
134
+
135
+
**Caveats:**
136
+
137
+
- After launching the Production site, use the Staging environment primarily to test patches for Production-critical bug fixes.
138
+
139
+
- You cannot create a branch from the Staging environment branch. You must push code changes from the Integration environment branch to the Staging environment branch.
102
140
103
141
## Production environment {#cloud-arch-prod}
104
142
@@ -170,6 +208,15 @@ Our redundant architecture means we can offer upscaling without downtime. When u
170
208
171
209
For example, you can add extra web servers to an existing cluster should the constriction be at the PHP level rather than the database level. This provides _horizontal scaling_ to complement the vertical scaling provided by extra CPUs on the database level. See [Scaled architecture]({{ site.baseurl }}/cloud/architecture/scaled-architecture.html).
172
210
211
+
## Master environment
212
+
213
+
On Pro plan projects, the Master branch provides an active PaaS environment with your Production environment. Always push a copy of the Production code to the Master environment in case you need to debug the Production environment without interrupting services.
214
+
215
+
**Caveats:**
216
+
217
+
- Do **not** create a branch from Master. Use the Integration environment branch to create new, active branches.
218
+
- Do not use the Master environment for development, UAT or performance testing
219
+
173
220
## Software versions {#cloud-arch-software}
174
221
175
222
{{site.data.var.ece}} uses the Debian GNU/Linux operating system and the [NGINX](https://glossary.magento.com/nginx) web server. You cannot upgrade this software, but you can configure versions for the following:
@@ -180,7 +227,7 @@ For example, you can add extra web servers to an existing cluster should the con
For the Staging and Production environments, we recommend installing the Fastly CDN module 1.2.33 or later. See [Fastly in Cloud]({{ site.baseurl }}/cloud/cdn/cloud-fastly.html).
230
+
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).
184
231
185
232
Edit the following YAML files to configure specific software versions to use in your implementation.
0 commit comments