AWS S3

Use multipart upload to upload objects with size 5MB-5TB  to S3 bucket. Unless you abort or complete the multipart upload, you will be charged for the parts storage and any requests relating to those parts. You can also configure bucket  lifecycle policy to abort the multipart upload.

S3 is a global namespace and S3  bucket URL has to be globally unique.

if S3 uptime is below the SLA during any period(monthly) , AWS provides service credits.

Static Web Site Hosting 

The bucket name has to be same as "Name" value in the "A" Record Set element ( inside the Route 53 Hosted Zone )  whose Alias Target is the s3 endpoint.

One thing to note is that Alias Target points to  region specific s3 endpoint and not bucket specific (
s3-website-us-east-1.amazonaws.com. )  but the specific bucket must exist and should have public access at least for viewing (reading) . It should say "Public"  under the Access column for that bucket. If that is not the case , you will not see it appearing in the "Alias Target" drop-down.

Public read permissions are also required  for the content files which you are planning to make available as part of static web site.

If you configure a bucket for static web site hosting and just opt to redirect the traffic to another bucket. It will be a browser redirect.

S3 URL 

virtual-hosted-style
  • http://bucket.s3.aws-region.amazonaws.com
  • http://bucket.s3.amazonaws.com : This won't work for regions created after March 2019.
path-style 
  • http://s3.amazonaws.com/bucket :  for us-east-1 region.
  • http://s3.aws-region.amazonaws.com/bucket : for rest of the regions







Comments

Popular posts from this blog

SQL

Analytics

HIVE