After doing a big research, I’ve not found any guide to upload images to S3 with private ACL.
I’m experiencing a weird behavior where the backups work but not uploadimg of images.
I narrowed the issue down to a problem with ACL of the bucket (I proved that the problem is the ACL since I’m able to upload file using the sdk without specifing the ACL flag). In some cases the “block access to public” permission are set at account level and not bucket level so deactivating the checkbox in the bucket config won’t work.
Ho riscontrato lo stesso problema. Il caricamento del backup funziona, ma il caricamento delle immagini mostra “Il bucket non consente ACL”.
E si è risolto modificando un’autorizzazione in IAM e due impostazioni nel bucket.
Per prima cosa ho modificato la guida sull’autorizzazione IAM da “s3:HeadBucket” a “s3:ListBucket” perché Amazon ha detto che HeadBucket non è un’autorizzazione valida.
Quindi la parte più importante, abilita le ACL, si chiama Edit Object Ownership nella scheda permission, con le ACL abilitate e impostate su object writer, tutto funziona bene ora.