en un clic
cis-aws-storage-4-4
Ensure the creation of Elastic File Cache
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Menu
Ensure the creation of Elastic File Cache
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Basé sur la classification professionnelle SOC
eBPF-based post-exploitation for kernel-level credential harvesting, process hiding, and traffic interception on Linux
AWS post-exploitation for IAM privilege escalation, data exfiltration, persistence, and operational security via boto3
Azure/Entra ID post-exploitation for tenant compromise, Key Vault extraction, managed identity abuse, and token manipulation
CI/CD pipeline attacks for secret extraction, pipeline injection, and supply chain compromise via GitHub/Jenkins/GitLab
Kubernetes post-exploitation for container escape, secret extraction, RBAC abuse, and cluster persistence
macOS post-exploitation for credential harvesting, DTrace monitoring, TCC bypass, and stealth operations via native tools
| name | cis-aws-storage-4.4 |
| description | Ensure the creation of Elastic File Cache |
| category | cis-storage-services |
| version | 1.0.0 |
| author | cyberstrike-official |
| tags | ["cis","aws","storage","fsx","file-cache","cache-creation","vpc","kms","level-2"] |
| cis_id | 4.4 |
| 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.2","cis-aws-storage-4.3","cis-aws-storage-4.5"] |
| prerequisites | ["cis-aws-storage-4.2","cis-aws-storage-4.3"] |
| severity_boost | {} |
With the prerequisites completed, we can now proceed to create our Elastic File Cache.
By implementing an Elastic File Cache, frequently accessed data is stored closer to the application, reducing latency and speeding up access times. This approach optimizes resource utilization, improves user experience, and ensures that the system can handle high-demand workloads effectively.
Without implementing Elastic File Cache, applications may experience higher latency, slower data access times, and reduced performance, particularly for frequently accessed data. This can negatively impact user experience and system efficiency.
# List all File Caches
aws fsx describe-file-caches --query 'FileCaches[].[FileCacheId,FileCachePath,Lifecycle,StorageCapacity]' --output table
# Describe a specific File Cache
aws fsx describe-file-caches --file-cache-ids <cache-id>
# Check Data Repository Associations
aws fsx describe-data-repository-associations --filters Name=file-cache-id,Values=<cache-id>
Elastic File Cache should be properly created and configured with:
s3://(example-bucket)/(example-prefix)/ns1 or subdirectory such as /ns1/subdir within Amazon File Cache to associate with the S3 data repository. The first forward slash in the path is required# Create File Cache
aws fsx create-file-cache \
--file-cache-type LUSTRE \
--file-cache-type-version 2.12 \
--storage-capacity 1200 \
--subnet-ids <subnet-id> \
--security-group-ids <security-group-id> \
--data-repository-associations '[
{
"FileCachePath": "/ns1",
"DataRepositoryPath": "s3://<bucket-name>/<prefix>",
"DataRepositorySubdirectories": []
}
]' \
--kms-key-id "alias/aws/fsx"
# Verify cache creation
aws fsx describe-file-caches --file-cache-ids <cache-id>
By default, no Elastic File Cache exists. It must be explicitly created and configured.
This control does not map to specific CIS Controls but follows general AWS security best practices for encryption, network isolation, and access control.
Level 2