De-provisioning a Nucleator Account

How to revert the actions taken by account setup, so that you can start anew from a completely clean account

 

nucleator account setup is intended to provision required resources within your Account to support the mainline case of repeated creation and deletion of defined Nucleator Cages and Stacksets.

If you need to "un-setup" an Account that was previously set up by Nucleator, here are the steps that you should follow to do so cleanly.  This is most often required in circumstances where you are testing changes to Nucleator functionality.  We rarely need to take these steps during mainline operations.

  1. Visit the S3 Console in your Account and delete the contents of buckets created by Nucleator:
    • Nucleator CFT template bucket
    • billing bucket
    • cloudtrail (ct) bucket
  2. Visit the S3 Console and delete all buckets created by Nucleator.  This removes potential race conditions if AWS is adding objects to these buckets after you have deleted the contents noted above.
  3. Visit the CloudFormation Console within your Account and delete all parent-level stacks that were created by Nucleator.  CloudFormation chains deletion of all child stacks.
  4. Confirm that all Nucleator-created CloudFormation stacks have been deleted cleanly.  If needed, resolve any dependent resource-conflicts and repeat CFT stack deletion until stacks reach DELETE_COMPLETE state.
  5. Visit EC2 Console and delete all keypairs created by Nucleator.
  6. Move your ~/.nucleator directory aside.  For example:

    mv ~/.nucleator ~/nucleator.<todays_date>

You can then restart the nucleator installation and configuration process:

  1. re-run nucleator init to recreate a ~/.nucleator directory
  2. selectively copy content back into ~/.nucleator as needed.  For example, you may want to move your customer-credentials file into the newly created .nucleator configuration directory:

    cp ~/.nucleator.2014.01.26/<todays_date> ~/.nucleator/
  3. continue on from initial steps, form nucleator update onward


Next: Creating and Maintaining Nucleator Stacksets

Installation Documentation Releases License Community