S3 static hosting Flashcards
What protocol is used to access S3 static hosting?
HTTP
What can you use to access this feature?
Your browser
How does S3 static hosting work?
AWS delivers HTML files to you
What files are required to use the S3 static hosting?
Index.html and Error.html
What does Index.html do?
Returns a default page, it is like an entry point to most websites.
What does Error.html do?
Returns a default page when something went wrong.
Define the essential elements of the S3 static hosting architecture?
S3 bucket.
Website endpoint (specific address)
Index and Error files
Can you define a custom domain for a bucket?
Yes
What is necessary to create a custom domain for a bucket?
- The bucket name needs to be DNS compatible and match the domain.
- The domain has to be created via Route53.
What influences the endpoint address?
The bucket name and the region where the bucket was created in.
What are the most typical use cases of S3 static hosting?
- Offloading. S3 storage is cheaper than EC2. Perfect for delivery of any type of media.
- Out-of-band pages. S3 bucket is cheaper than EC2 to show informative error messages or maintenance messages.
What is one of the major benefits of using S3 static hosting?
It is cheap and computing resources are not needed.
What are the components for pricing?
- Storage used (GB per month fee)
- Data transfer fee. IN is free, OUT has a per GB fee
- Number of operations. it has a cost per 1000 operations.
What is one of the most important components for pricing to take into account when you use the S3 static hosting?
The number of operations. S3 will charge you per 1000 operations.