El contenido no se encuentra disponible en el idioma seleccionado. Estamos trabajando continuamente para agregar más idiomas. Gracias por su apoyo.
- Service Overview
- Billing
- Getting Started
-
User Guide
- Overview
- Permissions Management
- Environment Management
- Application Management
- Component Management
- Instance Management
- Component Configurations
- Component O&M
- System Settings
- Key Operations Recorded by CTS
-
Best Practices
- CAE Best Practices
- Using CAE to Host Nginx Static File Servers
- Interconnecting GitLab with Jenkins for Automatic Build and Deployment on CAE
- Deploying Components Based on the Dependency Sequence Using the Jenkins Pipeline
- Deploying Spring Cloud Applications to CAE to Automatically Connect to the Nacos Engine
- Graceful Startup of a Spring Cloud Application
- Health Check
- Lifecycle Management
- Sending Event Alarms to WeCom
-
Connecting to the CodeArts Pipeline to Automatically Upgrade CAE Components
- Overview
- Upgrading a CAE Component After Uploading a Software Package Built Using the Pipeline to a CodeArts Release Repo
- Upgrading a CAE Component After Uploading a Software Package Built Using the Pipeline to the OBS Bucket
- Upgrading a CAE Component After Uploading an Image Built Using the Pipeline to the SWR Image Repository
- Configuring PromQL to Implement Custom Auto Scaling
- Configuring the Interconnection Between CAE and DEW to Help Applications Obtain Encrypted Secrets from DEW
- Deploying ASP.NET Core Applications to CAE
- Connecting the Network Through Enterprise Routes
- API Reference
-
FAQs
- Component Management FAQs
- Environment Management
-
Component Configuration FAQs
- Is Manual Scaling Still Effective When a Scaling Policy Is Configured?
- Can Components Be Scaled Without a Scaling Policy?
- Why Is My Instance Abnormal After Cloud Storage Is Configured?
- What Do I Do If a Component Becomes Not Ready?
- How Does CAE Support Dark Launch?
- How Do I Provide Prometheus Metrics for a Java Application?
- System Configuration FAQs
- Service Resources FAQs
- General Reference
Show all
Copied.
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.
- Click
- 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