Esta página ainda não está disponível no idioma selecionado. Estamos trabalhando para adicionar mais opções de idiomas. Agradecemos sua compreensão.
- 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
Copied.
Installing obsutil
If software package deployment is not involved, skip this section.
Prerequisites
- Obtain the AK/SK. For details, see Obtaining the AK/SK.
- You have obtained the endpoint of the region where CAE is deployed. For details, see Regions and Endpoints.
- You have created a bucket in OBS in the same region as CAE where the component is deployed to store software packages. For details, see Creating a Bucket. In this example, the bucket name is cae-obs.
Download and Installation
- Select an operating system (OS):
Before downloading and installing Jenkins, run the following command on the VM where Jenkins is located to check the VM OS type:
echo $HOSTTYPE
- If the command output is x86_64, download the AMD 64-bit OS.
- If the command output is aarch64, download the Arm 64-bit OS.
- The obsutil tool is used to upload the software package to OBS after building. For details, see Downloading and Installing obsutil.
Initial Configurations
{path}/obsutil config -i=ak -k=sk -e={endpoint}
- {path} is the obsutil installation path, for example, /root/tools/obsutil/obsutil_linux_amd64_5.4.6.
- {endpoint} is the obtained endpoint of the region where CAE is deployed.
Verifying That obsutil Can Be Used to Upload Files to OBS
- Create a test file. For example, test.txt.
touch test.txt
- Use obsutil to upload the file to OBS.
~/tools/obsutil/obsutil_linux_amd64_5.4.6/obsutil cp test.txt obs://{OBS bucket name}
Replace {OBS bucket name} with the name of the OBS bucket to be used. In this example, the bucket name is cae-obs. Upload the test.txt file created in the current directory to the cae-obs bucket. If "Upload successfully" is displayed, the upload is successful.
Figure 1 Uploading a file to OBS - Log in to OBS and choose Object Storage.
- Click bucket cae-obs. On the Objects page, view the uploaded file test.txt.
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