Updated on 2025-05-07 GMT+08:00

Cloud Resource Provisioning and Configuration

Deployment includes setting up and testing the cloud environment and getting the migration ready.

Set up cloud resources based on your application's design. You can set up cloud resources in these three ways:

  • Create them manually on the cloud platform.
  • Write scripts or connect to an automation platform to use the cloud platform's APIs to set up resources in bulk. Each cloud service has an API for resource lifecycle management. Check the service's help document for API details.

    To create an ECS using an API, see Creating an ECS.

  • Use Huawei Cloud Resource Formation Service (RFS) to manage and set up resources in bulk. See RFS documentation for details.

A comparison table of the three methods is below. Choose the method that best fits your needs.

Table 1 Comparison of the three methods

Method

Scenario

Advantage

Disadvantage

Manual setup on the console

Setting up a few cloud resources

Easy operation

It takes a lot of time with many cloud resources.

Using scripts to call APIs for resource setup

  • Setting up many cloud resources
  • Customizing services (The program runs as needed to create and delete resources automatically.)
  • Automation: It reduces resource management and labor.
  • Flexibility: It allows you to quickly create, configure, start, and stop cloud resources for flexible deployment.
  • Programmability: You can use APIs with rich functions and parameters to perform secondary development using programming languages to meet specific needs.
  • Speed: It eliminates manual steps.
  • Consistency: It ensures uniform resource deployment and reduces misoperation risks.
  • Learning curve: You need to learn APIs, programming languages, and tools.
  • Complexity: Scripts become harder to manage and maintain as services grow.
  • Security risks: Improper security measures can expose critical data or lead to resource abuse.

AOS resource orchestration

Setting up many cloud resources

  • Automation: It automates cloud resource deployment and management, boosting efficiency.
  • Visualization: Templates show resource dependencies and configurations, reducing errors and improving management.
  • Reusability: Templates can be reused and edited, saving time and effort.
  • Traceability: Audit features help trace faults and backtrack issues.
  • Consistency: It ensures consistent resource configurations, minimizing human errors.
  • Learning Curve: You need to learn the template language and cloud services.
  • Complex debugging: Errors involving multiple resources take longer to find.
  • Security risks: You need to securely manage sensitive information and keys.
  • Risk management: Template errors can make resources unavailable.
  • Not suitable for special scenarios: It does not fit cases needing complex interactions or manual steps.
  • Possible problems: Missing or misconfigured dependent resources can cause failures.
  • Restrictions: Direct OS control is limited, and not all resource types are supported.