Deleting Instance Pools
Permanently delete instance pools that you no longer need.
When you delete an instance pool, the resources that are associated with the pool are permanently deleted. Resources include instances created by the pool, instances that are attached to the pool, and attached boot volumes and block volumes created by the pool. Block volumes attached to instances after they were created are detached but not deleted.
If an autoscaling configuration applies to the instance pool, then the autoscaling configuration is deleted asynchronously after the pool is deleted. You can also manually delete the autoscaling configuration.
- Navigate to the Instance pools list page. If you need help finding the list page, see Listing Instance Pools.
- From the actions menu for the instance you want to delete, select Terminate.
-
Confirm deletion when prompted.
To track the progress of the operation and troubleshoot errors that might occur when deleting an instance pool, use the associated work request.
Use the
instance-pool terminate
command and required parameters to delete an instance pool:oci compute-management instance-pool terminate --from-json <file://path/to/file.json>
<file://path/to/file.json> is the path to a JSON file that defines the instance details. For information about how to generate an example of the JSON file, see Advanced JSON Options.
For a complete list of flags and variable options for the Compute service CLI commands, see the command line reference for Compute.
For information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see SDKs and the CLI.
Use this API operation to delete an instance pool: