Evaluating the Best Architecture

In the previous chapter, we looked at how the AWS Cognito service provides simple and secure user authentication for mobile and web applications.

In this chapter, we will discuss traditional web hosting, and web hosting on the cloud using AWS, and look at the best architecture for the application. We will also look at the comparison between EC2 instances with load balancer, Docker, and serverless architecture, such as Amazon Lambda, and evaluate the results.

Most traditional web hosting comes in two types: dedicated and shared, and it depends on one machine only. In dedicated web hosting, clients have to pay upfront for one or more servers from the service provider, and they have full control of the resources. ...

Get Expert AWS Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.