How to increase S3 storage for account displays 100% usage in storage lens

0

I use S3 to store video records from Twilio Services using the I AM account After storing some objects it stopped receiving any new objects and displays in Storage Lens that it uses 100% of its storage (258.2 MB) (271 objects) Here is the policy for I AM account

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "UploadUserDenyEverything",
            "Effect": "Deny",
            "NotAction": "*",
            "Resource": "*"
        },
        {
            "Sid": "UploadUserAllowPutObject",
            "Effect": "Allow",
            "Action": [
                "s3:PutObject"
            ],
            "Resource": [
                "arn:aws:s3:::bucketname/folder/*"
            ],
            "Condition": {
                "StringEquals": {
                    "s3:x-amz-acl": [
                        "public-read"
                    ]
                }
            }
        }
    ]
}

I got this error in twilio error log

Access denied to external S3 bucket configured in recording settings: Access denied to external S3 bucket configured in recording settings. Review your account's recording settings. The media will not be uploaded until the configuration has been fixed.

Any help would be appreciated.

1 Answer
1

Hello

The total volume of data and number of objects you can store are unlimited. Can you please provide details of where in Storage lens are you seeing 100%?

The error indicates access deny error which points to something in permissions. What is the process through which files are uploaded to S3 bucket? You can try uploading through CLI with the same IAM role to troubleshoot.

AWS
answered 2 years ago
  • Thank you for your answer I Tried using CLI and get access denied then I edited the permissions and it works right now

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions