-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
Open
Labels
Description
🚀 The feature, motivation and pitch
Description
Amazon FSx for Lustre is a high-performance shared file system. It's optimized for HPC and build workloads, making it perfect for Docker layer caching. This task investigates using FSx for Lustre as a shared persistent cache across all build instances, with ECR as a fallback.
What You'll Do
- Research FSx for Lustre configuration options and best practices
- Create Terraform configuration for FSx Lustre file system
- Determine optimal size (start with 1.2TB minimum)
- Choose throughput tier (125 MB/s per TiB is cheapest)
- Enable LZ4 compression for space savings
- Configure security groups for NFS access
- Develop mount automation:
- Create systemd service to mount FSx on instance boot
- Add to Packer AMI configuration
- Handle mount failures gracefully (fallback to local)
- Configure Docker to use FSx-mounted storage
- Test performance with real builds
- Compare costs and performance vs ECR-only solution
- Document setup and troubleshooting procedures
Deliverables
- Terraform configuration for FSx file system
- Mount automation script (
mount-fsx-cache.sh) - Updated Packer AMI with FSx mount
- Docker daemon configuration for FSx storage
- Performance test results (build times, cache hit rates)
Alternatives
No response
Additional context
No response
Before submitting a new issue...
- Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Todo