7. Teardown
The Ash Console is currently in beta and not production-ready. It is under active development and subject to breaking changes.
This section will guide you through the steps to delete the entities created in the previous sections.
- Using the Ash Console
- Using the Ash CLI
Delete the resources
From the Resources
tab of the project, click on the ...
and then Delete
button of the Avalanche nodes, Subnet and Block explorer resources:
Delete the cloud region
From the Cloud Regions
tab of the project, click on the ...
and then Delete
button of the cloud region:
Deleting the cloud region will also delete all the resources associated with it.
Delete the nodeId
secrets
From the Secrets
tab of the project, click on the ...
and then Delete
button of the Node ID secrets:
Delete the project
From the Project overview
tab, click on Project Settings
and then Delete
button:
Delete the resources
for i in {1..5}; do
ash console resource delete -y local-node-0$i
done
# If you created a Subnet
ash console resource delete -y ash-subnet
# If you created a Blockscout
ash console resource delete -y ash-blockscout
Wait for the resources to be deleted (removed from the list):
ash console resource list
Resources of project 'devnet-guide':
+---------------+-------------+------+-----------------+------+------------+--------+-------------------+
| Resource name | Resource ID | Type | Cloud region ID | Size | Created at | Status | Resource specific |
+===============+=============+======+=================+======+============+========+===================+
+---------------+-------------+------+-----------------+------+------------+--------+-------------------+
Delete the cloud region
ash console region remove -y aws/us-east-1
Wait for the cloud region to be removed (removed from the list):
ash console region list
Cloud regions of project 'devnet-guide':
+--------------+-----------+-----------------------+------------+--------+
| Cloud region | Region ID | Cloud creds secret ID | Created at | Status |
+==============+===========+=======================+============+========+
+--------------+-----------+-----------------------+------------+--------+
Deleting the cloud region will also delete all the resources associated with it.
Delete the nodeId
secrets
for i in {1..5}; do
ash console secret delete -y local-node-id-0$i
done
# If you created a Subnet
ash console secret delete -y ewoq-key
You can also keep the nodeId
secrets for later use as they will be used for all devnet (local
) networks.
Delete the project
ash console project delete -y devnet-guide