简体   繁体   中英

aws s3 bucket availability ( health ) check using api

I have implemented s3 file upload in a node.js application, sometime the s3 bucket goes down for maintenance or some other reason. I thought about implementing api that check weather the s3 bucket is healthy ( working fine ) or not , so that user be aware of the issue. but was unable to find the api endpoint for this.

I did found a similar question but it didn't help me.

Thanks

S3 has 99.999999999% uptime durability, which should really be enough not to worry about. To be safe, include an error check in the SDK upload. If you are seriously worried, then maybe queue up a few re-tries and then inform the user. For larger objects use multipart upload.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM