An app on EFS slows to a crawl under load; `PercentIOLimit` sits at 100% or throughput flat-lines.
AdvancedTroubleshootingS3, EBS and EFS
Answer
Likely causes → In Bursting mode, throughput depends on stored size, and BurstCreditBalance has run out. PercentIOLimit at 100% means the file system has hit the I/O operation limit for General Purpose performance mode. Lots of small-file metadata operations also have high per-operation latency on NFS.
Diagnose →
aws efs describe-file-systems --file-system-id fs-0abc --query 'FileSystems[].[ThroughputMode,PerformanceMode,SizeInBytes.Value]'
# CloudWatch AWS/EFS: BurstCreditBalance, PermittedThroughput, MeteredIOBytes, PercentIOLimit
Fix →
- Switch to Elastic throughput:
aws efs update-file-system --file-system-id fs-0abc --throughput-mode elastic - Spread I/O across more clients and threads, and avoid hot
lsloops over huge directories - Cache read-heavy content locally
Prevent → Use Elastic throughput by default for spiky workloads, and keep databases off EFS.
More on S3, EBS and EFS
`BucketAlreadyExists: The requested bucket name is not available. The bucket namespace is shared by all users of the system.`Beginner`PermanentRedirect: The bucket you are attempting to access must be addressed using the specified endpoint.`BeginnerA partner account uploads objects into your bucket, but your own admins get `403 Forbidden` reading them.Intermediate`aws s3 cp` gets `An error occurred (AccessDenied) when calling the GetObject operation` but the IAM policy allows `s3:GetObject` and the bucket policy is fine.IntermediateAn S3 static website endpoint returns `403 Forbidden` with `Code: AccessDenied`.IntermediateHigh-throughput writes get `503 SlowDown: Please reduce your request rate.`Intermediate