All Products
Search
Document Center

Cloud Architect Design Tools:Release resources

Last Updated:Feb 01, 2024

After an application is deployed, you can release the resources that are involved in the application if you no longer need the resources. This saves resources and costs. This topic describes how to release the resources involved in an application in the Cloud Architect Design Tools (CADT) console.

Usage notes

  • CADT allows you to release pay-as-you-go resources, but does not allow you to release subscription resources before the expiration time.

  • If data is stored in some resources, such as Object Storage Service (OSS) buckets and Simple Log Service projects, you must manually delete the data before you use CADT to release the resources. Otherwise, the resources fail to be released.

  • If you have manually created resources without using CADT, such as Elastic Compute Service (ECS) instances by using the console or calling an API operation, in a virtual private cloud (VPC) or vSwitch that is created by using CADT, you must manually delete the resources before you use CADT to release the VPC or vSwitch.

  • If some of the resources fail to be released, troubleshoot issues based on the error details and release the resources again.

  • You can use CADT to release only the resources that are created by using CADT. If you want to release an imported resource, go to the console of the service.

Release one or more resources

CADT allows you to release one or more resources in an application. Resources that are not released from the application are not affected.

  1. Log on to the CADT console. In the top toolbar, choose Application > My Applications.

  2. On the All Applications tab, find the application for which you want to release resources and click View Architecture.

  3. Turn on Edit.

  4. Select a resource that you want to release. For example, right-click ecs-1 and select Delete.image..png

  5. In the message that appears, click OK.image..png

  6. Confirm that the Delete icon is added to ecs-1. This means that the resource is to be released after the application is deployed.

    image..png

  7. Repeat the operations to add the Delete icon to other resources that you want to release in the application based on your business requirements.

  8. Click Save. Then, click Deploy Application.image..png

  9. Click Next: Price List after you verify the resources. Click Next Step: Confirm Order. Then, click Next Step: Pay and Create.image..png

  10. After the application is deployed, the state of ecs-1 is Deleted. Click Back to view the architecture.image..png

  11. Confirm that ecs-1 is deleted from the architecture.image..png

Release all resources

CADT allows you to release all resources in an application at a time with convenient operations.

  1. Log on to the CADT console.

  2. In the top toolbar, choose Application > My Applications. On the All Applications tab, find the application for which you want to release resources and click View Architecture.

    image..png

    image..png

  3. Click Resource List in the lower part of the canvas. Click Release All Resources.image

  4. In the message that appears, click OK.imageimage

  5. The system starts to release the resources.image

  6. Wait until all the resources are released. imageThe following figure shows that the resources are released.

    image

Delete an application

After all the resources involved in an application are released, you can delete the application if you no longer need the application.

  1. In the top toolbar, choose Application > My Applications.image..png

  2. Find the application that you want to delete and click Delete Application.image

  3. In the message that appears, click OK.image