In Multi-Experience Operations, you can associate environments to sites. By doing so, you can create site instances. This ensures that the system creates databases and associates domains to sites.
Accessing environments¶
To have additional environments created for your subscription, contact your account manager. You can associate an environment with sites to create site instances. You can view your environment details through the Cloud Platform user interface. The number of environments that you can get created from a codebase is based on your Multi-Experience Operations entitlement.
To access an environment:
- Sign in to the Cloud Platform user interface.
- Go to Codebases.
The system displays all available codebases along with the number of sites and environments associated with the codebases. Select the number in the Environment column.
This displays the Environments page and lists all the environments created from the codebase.
You can view the following information about your environment:
- Name of the environment
- Branch associated with the environment
- Production label associated with a production environment
Environment Overview page¶
The Environment Overview page has the following fields and action items:
Field | Description |
---|
Description | Displays the description for the environment. The system displays this field only if you have added a description for the environment through Actions > Edit description. |
Environment type | Displays the type of environment. For example, Production or Non-production. |
Codebase | Displays the codebase from which the environment is created. |
| Displays the current code version. For example, master. |
PHP Version | Displays the PHP version of the environment. |
Actions > Open Code Studio project | Enables you to access your Code Studio project directly through the Cloud Platform user interface. This option is visible in the user interface only if you have enabled Code Studio for the codebase. For more information, visit Enabling a Code Studio subscription. |
Actions > View SSH Information | Enables you to view the SSH information to access the environment. |
Actions > Edit description | Enables you to add a description for your environment. |
Actions > Rename environment | Enables you update the name of your environment. |
Switching code¶
To deploy code:
- Sign in to the Cloud Platform user interface.
- Go to Codebases.
The system displays all available codebases along with the number of sites and environments associated with the codebases. - Select the number in the Environment column.
- For a specific environment, click the Kebab menu > Switch code.
Alternatively, select a specific environment to access the Environment Overview page and click Switch Code. - Select a new tag or branch that you want to push to the environments in the codebase.
- Click Switch.
This deploys code from one branch to another.
Associating an environment with sites¶
You can associate sites with environments as well. For more information, visit Managing Sites.
To associate an environment with sites:
- Sign in to the Cloud Platform user interface.
- Go to Codebases.
The system displays all available codebases along with the number of sites and environments associated with the codebases. - Select the number in the Environment column.
- Select a specific environment to access the Environment Overview page.
- In the Associated sites section, click Associate site.
- Select one or more sites.
- Click Associate sites.
This associates sites with the selected environment.
Disassociating an environment from sites¶
To dissociate an environment from sites:
- Sign in to the Cloud Platform user interface.
- Go to Codebases.
The system displays all available codebases along with the number of sites and environments associated with the codebases. - Select the number in the Environment column.
- Select a specific environment to access the Environment Overview page.
- In the Associated sites section, locate a specific site and click Actions > Dissociate from environment.
- Click Dissociate.