This workshop has been deprecated and archived. The new Amazon EKS Workshop is now available at

Cleaning up

If you are running in your own account, you may keep your Ocean cluster and your Account, as it is free of charge for up to 20 Nodes. If you are running in an account that was created for you as part of an AWS event, there is no need to delete the resources used in this chapter as the AWS account will be closed automatically, but you should still proceed with the deletion of the Ocean cluster and closing of the account.

To delete the resources used in this chapter from your EKS cluster:

kubectl delete -f test_deployments.yaml
kubectl delete deployment spotinst-kubernetes-cluster-controller -n kube-system

In order to delete the Ocean cluster, on the Ocean dashboard click Actions, and then “Delete”.

Click “Delete Cluster” in the prompt.

Next in order to delete your Organization, click the blue “Chat” button on far right edge of your Console, and ask the 24/7 Tech Support team to delete it.

If your wish to make further use of your Organization (to connect your real cloud account later, for example) you may leave your Organization intact, and instead ask the Tech Support team to allow you to create a new account, and make that one your default. Once that is done, you can ask for the account you were using during the workshop to be deleted.

Finally, to detach your AWS cloud account from the platform, you need to delete the CloudFormation stack used to create the IAM Role and Policy during the account connection stage. Browse to the AWS ClouFormation Console, go to Stacks, Search for “spotinst-iam” and delete the Stack.