Facade Configuration

Purpose & Background

In this lab, you will:

Setting up an API in front of the monolith will enable the redirection of requests to microservices as you develop them in subsequent labs. The separation of the front-end and back-end is a common practice in web application, which you will achieve with the convenient static hosting feature provided by S3. Finally, you will set up a user pool in Cognito and customize the verification process.

Facade Architecture Diagram

Prerequisites

  • Environment Setup

AWS Services Used in This Lab

Amazon API Gateway is an AWS service for creating, publishing, maintaining, monitoring, and securing REST, HTTP, and WebSocket APIs at any scale. API developers can create APIs that access AWS or other web services, as well as data stored in the AWS Cloud. As an API Gateway API developer, you can create APIs for use in your own client applications. Or you can make your APIs available to third-party app developers.

Amazon S3 has a simple web services interface that you can use to store and retrieve any amount of data, at any time, from anywhere on the web. It gives any developer access to the same highly scalable, reliable, fast, inexpensive data storage infrastructure that Amazon uses to run its own global network of web sites. The service aims to maximize benefits of scale and to pass those benefits on to developers.

Amazon Cognito lets you add user sign-up, sign-in, and access control to your web and mobile apps quickly and easily. Amazon Cognito scales to millions of users and supports sign-in with social identity providers, such as Facebook, Google, and Amazon, and enterprise identity providers via SAML 2.0.