| name | cis-aws-storage-4.9 |
| description | Ensure cleaning up FSx Resources |
| category | cis-storage-services |
| version | 1.0.0 |
| author | cyberstrike-official |
| tags | ["cis","aws","storage","fsx","cleanup","resource-management","cost-optimization","level-2"] |
| cis_id | 4.9 |
| cis_benchmark | CIS AWS Storage Services Benchmark v1.0.0 |
| tech_stack | ["aws"] |
| cwe_ids | [] |
| chains_with | ["cis-aws-storage-4.1","cis-aws-storage-4.3","cis-aws-storage-4.4"] |
| prerequisites | [] |
| severity_boost | {} |
4.9 Ensure cleaning up FSx Resources (Manual)
Profile Applicability
Description
Cleaning up FSx resources involves removing unused or unnecessary FSx file systems and associated components to optimize costs and maintain a secure cloud environment. This includes deleting redundant file systems, snapshots, and mount targets, while ensuring all data is backed up or migrated. Regular cleanup prevents resource sprawl, reduces expenses, and maintains the overall health and performance of your AWS infrastructure.
Rationale
The rationale for cleaning up FSx resources is to optimize costs and ensure a secure and efficient cloud environment. By removing unused or unnecessary file systems, snapshots, and mount targets, you prevent resource sprawl and reduce unnecessary expenses. Regular cleanup also helps maintain the overall health and performance of your AWS infrastructure, ensuring it remains organized and secure.
Impact
Failing to clean up FSx resources can lead to:
- Cost Impact: Continued billing for unused File Cache resources, EC2 instances, and S3 storage
- Security Impact: Orphaned resources may contain sensitive data and expand attack surface
- Operational Impact: Resource sprawl makes infrastructure management more difficult
- Compliance Impact: Unused resources may violate data retention policies
Audit Procedure
AWS Console
Review FSx Resources:
- Navigate to the AWS Elastic File Cache console
- Review all existing File Caches
- Identify File Caches that are no longer needed
- Verify that data has been backed up or migrated before deletion
Review Associated Resources:
-
EC2 Instances:
- Navigate to Amazon EC2 console
- Identify instances created for FSx testing/usage
- Verify if instances are still needed
-
S3 Buckets:
- Navigate to Amazon S3 console
- Identify buckets associated with FSx File Cache
- Verify if data should be retained or if bucket can be deleted
- Check bucket size and storage costs
-
Security Groups and Network Resources:
- Review security groups created for FSx
- Identify unused VPC resources
AWS CLI