หน้านี้ยังไม่พร้อมใช้งานในภาษาท้องถิ่นของคุณ เรากำลังพยายามอย่างหนักเพื่อเพิ่มเวอร์ชันภาษาอื่น ๆ เพิ่มเติม ขอบคุณสำหรับการสนับสนุนเสมอมา
- 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.
CAE Best Practices
This document summarizes practices in common application scenarios of Cloud Application Engine (CAE). Each practice case is given detailed solution description and operation guidance, helping you easily build your services based on CAE.
Best Practice |
Description |
---|---|
This section describes how to use CAE to host the Nginx static file server. Create an image for service code and deploy it to CAE, and store the static files in the parallel file system associated with a component. In this way, you can host the frontend components of services and static files. |
|
Interconnecting GitLab with Jenkins for Automatic Build and Deployment on CAE |
This section uses Java project build and deployment as an example to describe how to complete the following process: code submission > Jenkins build > software package upload/image upload > CAE deployment. |
Deploying Components Based on the Dependency Sequence Using the Jenkins Pipeline |
This section describes how to use Jenkins to deploy and upgrade microservice components. The upgrade involves multiple microservice components. |
Deploying Spring Cloud Applications to CAE to Automatically Connect to the Nacos Engine |
This section describes how to use the CAE source code deployment capability to automatically deploy a provider service and a consumer service, helping you experience automatic access to the Nacos engine. |
This section describes how to configure graceful startup for Spring Cloud application to perform operations such as upgrade, restart, and scale-out during component O&M. |
|
This section describes how to use three health check mechanisms (liveliness probe, readiness probe, and startup probe) provided by CAE to check whether your application instances are running properly to ensure normal service running. |
|
Lifecycle management is a method used to execute calls at a specific stage. This topic describes how to use lifecycle (processing after startup and processing before stopping) provided by CAE to process events. |
|
This section describes how to set event notification rules to help you understand the component running status in a timely manner and quickly locate faults. |
|
Connecting to the CodeArts Pipeline to Automatically Upgrade CAE Components |
CAE provides the CodeArts commercial extension, which can connect to the CodeArts pipeline to automatically upgrade CAE components. This section describes how to use the CAE upgrade extension in different scenarios. |
Assume that a component provides a custom metric http_requests_total (indicating the total number of HTTP requests). This section uses this metric as an example to describe how to use PromQL to implement custom auto scaling. |
|
This section describes how to configure the interconnection between CAE and DEW to help applications obtain encrypted secrets from DEW. |
|
CAE source code deployment supports Docker running. You can configure a Dockerfile, install the build environment in this file, and define build commands. In this way, more projects programmed in various languages can be deployed in CAE. This section uses the ASP.NET Core application as an example to describe how to deploy the ASP.NET Core application to CAE. |
|
CAE allows the CAE environment to access the VPC on the tenant side. This section describes how to use enterprise routes to connect the network after the public network is disabled. |
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