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

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠