Creating an Environment
You can create application components in different environments to isolate them.
By default, only one environment can be created under an account. Submit a service ticket to increase the quota.
Prerequisites
A CAE runs on a VPC. Before creating an environment, ensure that VPCs and subnets are available.
For details, see Creating a VPC.
If the engine is created using an account with the minimum permission for creating engines, for example, cae:environment:create in the fine-grained permission dependencies of CAE, the default VPC security group cae-default-sg needs to be preset by the primary account and the rules listed in Table 1 need to be added.
Direction |
Priority |
Policy |
Protocol and Port |
Type |
Source Address |
---|---|---|---|---|---|
Inbound |
1 |
Allow |
TCP: 3000–65535 |
IPv4 |
0.0.0.0/0 |
1 |
Allow |
All |
IPv6 |
cae-default-sg |
|
1 |
Allow |
All |
IPv4 |
cae-default-sg |
|
Outbound |
100 |
Allow |
All |
IPv4 |
0.0.0.0/0 |
100 |
Allow |
All |
IPv6 |
::/0 |
Do not modify or delete the default security group. Otherwise, the system may run abnormally.
Procedure
- Log in to CAE.
- Use either of the following methods to create an environment:
- If you use CAE for the first time, a message is displayed indicating that no environment has been created.
- Click Create Now in the Create Environment card.
Figure 1 Creating an environment
- In the displayed dialog box, set the parameters by referring to Table 2.
Table 2 Creating an environment Parameter
Description
Environment
Enter an environment name.
Enterprise Project
Select an enterprise project.
An enterprise project facilitates project-level management and grouping of cloud resources and users. The default project is default.
It is available after the enterprise project function is enabled.
Virtual Private Cloud
Select the VPC to which the environment resource belongs from the drop-down list.
To create a VPC, click Create VPC. For details, see Creating a VPC.
NOTE:The VPC cannot be modified after the environment is created.
Subnet
Select a subnet from the drop-down list.
If no subnet is available, click Create Subnet to access the network console and create a subnet. For details, see Creating a Subnet for the VPC.
NOTE:Keep at least two available network IP addresses for CAE configuration and optimization.
Security Group
You can select Auto generate or Use existing.
NOTE:This group must allow access from the selected subnet to both the subnet gateway address and the access addresses and ports of middleware such as RDS and CSE instances.
Organization
If you use CAE for the first time, select Create Organization from the drop-down list and enter an organization name.
- Click Create Now in the Create Environment card.
- If this is not your first time using CAE, choose Components.
- Click next to Environment in the upper part of the page.
- In the displayed Create Environment dialog box, enter an environment name.
- If you use CAE for the first time, a message is displayed indicating that no environment has been created.
- Click OK.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot