Top
PRIMECLUSTER Installation and Administration Guide4.6 Cloud Services
FUJITSU Software

A.5.9 Procedure for deleting cloud resources

To finish using the smart workload recovery feature, use the AWS Management Console and follow these steps to delete your cloud resources.

Note

This procedure also deletes the user's application and various data. Back up important data before performing this procedure.

  1. Set the value of the tag "fujitsu.pclswr.is_recovery_target" of the instance of the cluster node to false.

  2. Stop the instance of the cluster node.

  3. Terminate the instance of the cluster node.

  4. Deregister the AMI associated with the instance in step 3.

  5. If you created a snapshot on a volume attached to the instance in step 3, delete the snapshot.

  6. If the IAM role attached to the instance in step 3 is not used by another instance, delete the IAM role.

    If the IAM role is being used by other instances, and you do not want CloudWatchAgentServerPolicy policy on other instances, remove it from the IAM role.

  7. Delete Lambda function in the target system.

  8. Delete IAM role that was used for the Lambda function in Step 7.

  9. Delete policy that you created for use with the Lambda function in Step 7.

  10. Delete the Amazon EventBridge rules in the system you want to delete.

  11. Delete CloudWatch alarms used on the instance in step 3.

  12. Delete load balancer for the ELB used by the instance in step 3.

  13. Delete target group for the ELB that was used in the instance in Step 3.

  14. Delete mounted EFS file system on the instance in step 3.

  15. Delete Amazon DynamoDB table in the target system.

  16. Delete security group in the target system.

  17. Delete log group for CloudWatch Logs in the deleted system.

  18. If it is not being used by another system, remove the following.

    • Security groups configured for the PrivateLink VPC and VPC endpoint in the deleted system

    • Subnets in the target system

    • VPC in the system to be deleted

See

For instructions about using the AWS Management Console, see the official AWS documentation.