Amazon s3 üzerinde bir bucket (demet) yaratıp, bunu static website hosting ile dışarı yayına vermek istiyorsanız,
Bucketi seçip sağ taraftan properties kısmından, static website hosting kısmında ayarlarınızı kayıt etmeniz gerekiyor.
Ancak The specified bucket is not valid. hatası alıyorsanız, burada bucket isminizde geçersiz karakterler olabilir. Örneğin bemim bucket ismimde test_test gibi bir alt çizgi (underscore) vardı.
Amazon s3 bu siteyi yayınlayabilmek için bana bir dns kaydı oluşturacağından ve dns kaydında alt çizgi bulunamayacağından ötürü “The specified bucket is not valid.” hatası veriyordu.
Bucket ismimi değiştirdim, ve artık save işlemini yapabildim.
Ek olarak
Bunun dışarıdan erişime açık olabilmesi için Permissions kısmından edit bucket policy kısmına aşağıdaki tanımı yapmanız gerekiyor. Daha sonra static-website hosting kısmındaki URL yi açtığınızda sayfanızın açıldığını göreceksiniz.
{ "Version":"2008-10-17", "Statement":[{ "Sid":"PublicReadGetObject", "Effect":"Allow", "Principal": { "AWS": "*" }, "Action":["s3:GetObject"], "Resource":["arn:aws:s3:::bucekt-adi/*" ] } ] }
Amazon S3 – static website hosting – The specified bucket is not valid hatasi | Merve Demir
[…] via Dubluve.net http://dubluve.net/2013/05/13/amazon-s3-static-website-hosting-the-specified-bucket-is-not-valid-hat… […]
Amazon S3 – static website hosting – The specified bucket is not valid hatasi | Lé Blog
[…] Bucketi seçip sağ taraftan properties kısmından, static website hosting kısmında ayarlarınızı kayıt etmeni… Devamı için : Amazon S3 – static website hosting – The specified bucket is not valid hatasi […]
Amazon S3 – static website hosting – The specified bucket is not valid hatasi | Kara Kule
[…] Bucketi seçip sağ taraftan properties kısmından, static website hosting kısmında ayarlarınızı kayıt etmeni… Devamı için : Amazon S3 – static website hosting – The specified bucket is not valid hatasi […]
Amazon S3 – static website hosting – The specified bucket is not valid hatasi | kodluyorum
[…] Bucketi seçip sağ taraftan properties kısmından, static website hosting kısmında ayarlarınızı kayıt etmeni… Devamı için : Amazon S3 – static website hosting – The specified bucket is not valid hatasi […]