After you deploy an application, you can release its resources in Cloud Architect Design Tools (CADT) when they are no longer needed. This helps you save resources and reduce costs. This topic describes how to release resources in CADT and provides important notes.
Notes
-
CADT supports the release of pay-as-you-go resources. Subscription resources cannot be released before their subscription expires.
-
For resources that contain data, such as Object Storage Service (OSS) and Simple Log Service (SLS), you must manually delete the data before you release the resources in CADT. Otherwise, the release operation fails.
-
If you use other methods, such as the console or an API, to create resources such as an Elastic Compute Service (ECS) instance within a Virtual Private Cloud (VPC) or vSwitch that was created by CADT, you must manually delete these resources first. Then, you can release the VPC or vSwitch in CADT.
-
If a partial release occurs, follow the instructions in the error message to resolve the issue. Then, release the resources in CADT again.
-
CADT can only release new resources. It does not support releasing imported resources that are shown on the architecture graph. To release imported resources, you must go to the product's console and delete them manually.
Release partial resources
You can use CADT to release single or multiple resources in an application without affecting other resources.
-
Log on to the CADT console and go to the My Applications page.
-
On the My Applications page, find the application with the resources to release and click View Architecture Graph .
-
Open Edit mode.
-
Select the resource to release. For example, to release ecs-1, right-click ecs-1 and click Delete .

-
Confirm the resource release.

-
A delete marker is added to ecs-1. The ecs-1 instance still exists but is now pending deletion. The instance is permanently released only after you complete the deployment.

-
Repeat this step to add delete markers to other resources in the application as needed.
-
When you are finished, Save the application and click Deploy Application .

-
Complete the resource validation, pricing, and deployment steps.

-
After the deployment is complete, the status of ecs-1 changes to Deleted . Click Back to view the application architecture graph.

-
The ecs-1 instance is now removed from the architecture graph.

Release all resources
You can use CADT to release all resources in an application with a single click.
-
Log on to the CADT console.
-
Go to Applications > My Applications . Find the application architecture that you want to release and click View Architecture Graph .

-
Open the Resource List and click Release All Resources .
-
Confirm that you want to release all resources, and then click OK .
-
The resource release process begins.
-
Wait for all resources to be released. The following figure shows the result after the resources are successfully released.
Delete an application
After all resources in an application are released, you can delete the application if you no longer need it.
-
Go to Applications > My Applications .
-
Find the application whose resources you just released and click Delete Application .

-
Confirm the deletion.
