May 2019
Intermediate to advanced
308 pages
8h 5m
English
We can use either AWS IAM or Amazon Cognito to authenticate users using API Gateway. When the users are authenticated by the AWS services, the AWS billing rule applies cost only to requests from valid, authenticated clients. Any other requests from any malicious actors that are not authenticated will be dealt with by AWS and will not fall under our billing obligations.
In the following diagram, this approach is demonstrated:

The preceding diagram can be explained as follows:
Read now
Unlock full access