Book Image

Implementing Cloud Design Patterns for AWS

Book Image

Implementing Cloud Design Patterns for AWS

Overview of this book

Table of Contents (18 chapters)
Implementing Cloud Design Patterns for AWS
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Direct storage hosting


The example for the previous pattern was a hybrid of AWS services that used a virtual machine for the web application layer, and the highly available S3 storage for non-application static data. You most likely noticed a very large improvement that could have been made, that is, of not using a virtual machine to host the static application content, and instead use S3 throughout.

In the direct storage hosting pattern, this will be the case where we will not have a virtual machine at all, but will host the entire web application through S3. It is important to note that this pattern is only useful for static website content. S3 does not have an execution layer, so it does not allow server-side languages such as PHP. Another point to note is that although JavaScript can be executed in this pattern, as it is client-side JavaScript, any asynchronous calls that are made to retrieve data will likely not have the same DNS entry. If that is the case, you might be able to utilize...