# Ensure Storage Classes are Configured

- Source: https://support.icompaas.com/support/solutions/articles/62000234548-ensure-storage-classes-are-configured
- Section: [Solutions](https://support.icompaas.com/support/solutions) › [CIS AWS Storage Services Benchmarks v1.0.0](https://support.icompaas.com/support/solutions/62000112689) › [CIS AWS Storage Services](https://support.icompaas.com/support/solutions/folders/62000169254)
- Last updated: 2026-05-29
- Publisher: iCompaas, Inc. (https://www.icompaas.com)

Profile Applicability:

-    **Level 2**

### Description:

AWS offers multiple storage classes for S3, each optimized for specific access patterns and cost requirements. Proper configuration of storage classes ensures that data is stored in the most cost-effective tier based on frequency of access, retention, and compliance requirements. This helps manage storage costs while maintaining performance and durability.

### Rationale:

Configuring appropriate storage classes ensures:

-   Cost optimization for infrequently accessed or archival data  
    
-   Data lifecycle management and tiering policies are enforced  
    
-   Compliance and backup strategies align with business needs  
    
-   Automation of transitions and deletions via lifecycle policies  
    

### Default Value:

By default, S3 objects are stored in the Standard storage class unless specified otherwise.

### Impact:

Pros:  
 • Reduces storage costs based on access frequency and data size  
• Supports long-term retention using classes like Glacier or Deep Archive  
 • Enables automated transitions using lifecycle rules

Cons:  
 • Misconfigured policies may lead to unexpected retrieval costs  
• Access latency may increase for archival classes  
 • Requires monitoring and review as data patterns evolve

### Pre-requisites:

IAM Permissions Required: s3:PutLifecycleConfiguration, s3:GetLifecycleConfiguration, s3:GetBucketLocation  
 s3:GetObject, s3:PutObject, s3:PutBucketPolicy (for bucket-specific changes)

### Remediation:

### Test Plan:

Using AWS Console:

1.  Log in to the AWS Management Console
2.  Navigate to S3 > Buckets
3.  Select a bucket and go to the Management tab
4.  Check for existing Lifecycle rules
5.  Review configured storage class transitions, such as:

-   Standard to Infrequent Access  
    
-   Standard to Glacier  
    
-   Standard to Deep Archive  
    • Confirm rules are active and match data access needs  
    

Using AWS CLI:

aws s3api get-bucket-lifecycle-configuration \\
  --bucket <bucket-name>
aws s3api get-bucket-location \\
  --bucket <bucket-name>

### Implementation Plan:

Using AWS Console:

1.  Go to S3 > Buckets
2.  Select the target bucket
3.  Click the Management tab and choose Create lifecycle rule
4.  Name the rule and choose prefix or tags to filter objects
5.  Set transition actions (e.g., move to INTELLIGENT\_TIERING, GLACIER, or DEEP\_ARCHIVE)
6.   Optionally, add expiration rules for object deletion
7.  Review and create the rule

Using AWS CLI:  
 Create a JSON lifecycle configuration file (lifecycle.json):

{
  "Rules": \[
    {
      "ID": "TransitionToGlacier",
      "Prefix": "",
      "Status": "Enabled",
      "Transitions": \[
        {
          "Days": 30,
          "StorageClass": "GLACIER"
        }
      \]
    }
  \]
}

Apply the lifecycle configuration:

aws s3api put-bucket-lifecycle-configuration \\
  --bucket <bucket-name> \\
  --lifecycle-configuration file://lifecycle.json

### Backout Plan:

Using AWS Console:

1.  Go to the Management tab of the bucket
2.  Select the lifecycle rule and click Delete
3.  Save changes to remove the transition or expiration policy

Using AWS CLI:

aws s3api delete-bucket-lifecycle \\
  --bucket <bucket-name>

### References:

-   [https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-class-intro.html](https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-class-intro.html)
-    [https://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-configuration-examples.html](https://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-configuration-examples.html)
-   [https://docs.aws.amazon.com/cli/latest/reference/s3api/](https://docs.aws.amazon.com/cli/latest/reference/s3api/)

## Related compliance guidance

- [SOC 2 compliance: a practical implementation guide for cloud-native SaaS teams](https://support.icompaas.com/compliance/soc-2-trust-services-criteria): Configuration checks like this one are the technical half of a SOC 2 / ISO 27001 programme — the guide shows where they fit, what else an auditor expects, and how to evidence them.
- [ISO/IEC 27001:2022 compliance: a practical implementation guide](https://support.icompaas.com/compliance/iso-27001-2022): ISO 27001 Annex A.8 (technological controls) is where cloud hardening evidence lands; the guide shows how to run the ISMS around it.
