Remove an Environment
Removing an environment from your subscription will not only remove the environment from your subscription but also all resources associated with it. And once deleted, you will not be able to get that environment or the deployed resources back.
Remove Environment Through NCache Cloud Portal
To remove an environment from your subscription, follow these steps:
From NCache Cloud Portal, go to your Subscription Dashboard.
Click on the Deployment Environments button to view all environments under that subscription.
Select the environment you want to remove and click the Remove button.
You will be prompted with a Warning message to confirm whether you want to remove the environment or not. Type the environment name in the textbox and click Delete.
Remove Environment Manually
To manually remove an environment, you have to manually deactivate all deployed servers and then remove the environment. Follow the steps mentioned below to delete the servers and remove an environment from your subscription:
Manually Remove Machines from Azure
Go to your Azure Portal and search for Virtual Machines in the search bar.
From the list of machines, find the machine or machines that are a part of the environment you want to remove. You can search by the machine's name, subscription, resource group, etc.
Access your machine(s) and deactivate NCache with the Cloud Activation Key. Follow steps mentioned in the Manually Deactivate section to know how to deactivate NCache on a cloud machine using the provided activation key.
After successful deactivation, select the machine or machines that are part of the environment to be removed and click on the Delete button. This will remove these machines from your environment and subscription.
Manually Remove Machines from AWS
Go to your AWS Console and search for EC2 in the search bar or find it under the Compute section.
In EC2, click on Instances to go to all instances dashboard.
From the list of instances, find the instance or instances that are a part of the environment you want to remove. You can filter these instances by the instance name, ID, type, etc.
Access your cloud machine(s) and deactivate NCache by following the steps mentioned in the Manually Deactivate section.
After successful deactivation, select the instance you want to remove and click on the Instant state button.
Select the Terminate instance to remove that instance.
When done, go to your Subscription Dashboard of NCache Cloud Portal.
Click on Deployment Environments.
You will see that the environment you wanted to remove will show no servers. Select the environment and click on the Remove button.
Remove an environment whose machines have been manually deactivated in order to release the used licenses.
This will remove the selected environment from your cloud subscription.