Aws-sdk-php: S3 get free space

Created on 17 Jan 2017  路  4Comments  路  Source: aws/aws-sdk-php

How can I calculate total free space available in s3 bucket ?

guidance

Most helpful comment

@sm2017 What @Thamaraiselvam was trying to say with this is, that there is no such concept in regards to S3. You don't have a bucket with 100GB total space, you have A Bucket, and that's it.

All 4 comments

According to Amazon:

Write, read, and delete objects containing from 1 byte to 5 terabytes of data each. The number of objects you can store is unlimited.

Reference:
http://stackoverflow.com/a/3981067/2975952
https://aws.amazon.com/s3/details/

Thanks
But I want to know , how can I get total free disk space of bucket in php??
Assume I have a bucket with 100GB total space and 10GB used space . so I have 90 GB free space in the bucket. Is there any way to get free space in php??

@sm2017 What @Thamaraiselvam was trying to say with this is, that there is no such concept in regards to S3. You don't have a bucket with 100GB total space, you have A Bucket, and that's it.

OK , thanks a lot

Was this page helpful?
0 / 5 - 0 ratings

Related issues

andy3rdworld picture andy3rdworld  路  4Comments

Intrepidity picture Intrepidity  路  4Comments

liquorvicar picture liquorvicar  路  5Comments

chiukit picture chiukit  路  4Comments

aanton picture aanton  路  4Comments