Elastifile Cluster Removal : Decommissioning Process

How to stop and delete an Elastifile Cloud File System (ECFS) cluster on Google Cloud.
  1. In the Cloud Console, add the following roles to the service account you are using for this tutorial. For more information, read Granting, changing, and revoking access to resources
  2. Go to the IAM page
    1. Compute Instance Admin (v1)
    2. Compute Network Admin
    3. Compute Security Admin
    4. Service Account User
    5. Storage Admin
    6. Storage Object Admin
  3. In the Cloud Console, open Cloud Shell : OPEN Cloud Shell

Now we will be doing the following to delete everything related to a Elastifile cluster : 

  • Remove all storage nodes and EMS nodes from the ECFS cluster
  • Delete the Firewall Rules associated with Instances.
  • Delete the Network Routes associated with Instances.
PLEASE NOTE:  Be extremely careful of which resource you are deleting as this is a non-recoverable step and anything deleted will not be restored.

Remove above mentioned resources from UI 

Please find the instances from the UI that you want to delete and disable the delete-protection using the GUI and then proceed to delete them one by one. 

After you have deleted the instances, you can move to firewall rules and search the connected firewall rules using the filter GUI. Please delete them one-by-one. 

After that you can delete the network routes, search for the connected routes using EMS details and then delete them.

Please be extremely careful in which resource you are deleting as this is a non-recoverable step and anything deleted will not be restored.


At the end of document, are the various references to delete the above resources using command line and the commands are mentioned in detail : 

PLEASE NOTE:  This is just a reference for how you can accomplish following tasks using command line cloud shell. The commands are just to demonstrate features, please do not copy and paste without proper understanding.

One example is : 

gcloud compute instances list --filter="labels.cluster-hash:$CLUSTERHASH" --project $PROJECT

Here you need to replace $PROJECT and $CLUSTERHASH with respective values and it should list the instances you need to delete, After which you can run : 

gcloud compute instances update $i --no-deletion-protection  --project $PROJECT 

Here you need to replace $i and $PROJECT with respective values and it should disable delete protection on the instances you need to delete, After which you can run : 

gcloud -q compute instances delete $i --delete-disks=all  --project $PROJECT

Which should delete the instances and the disks along with it. After which you can delete the firewalls and routes in a similiar manner.

The commands are mentioned in detail in following links :

Please contact Google Elastifile support at https://support.elastifile.com if you need any further help. 

Was this helpful?

How can we improve it?
true
Search
Clear search
Close search
Google apps
Main menu
14105064501453849853
true
Search Help Center
true
true
true
false
false