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 回答
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
已回答 2 年前
  • Thank you for your answer I Tried using CLI and get access denied then I edited the permissions and it works right now

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则