Chapter 13 Serverless Applications Flashcards
Endpoint types for API Gateway
- Regional endpoints: inside AWS region
- Edge Optimized Region: connection points via CF edge locations
- Private Endpoints: only live inside a VPC
For API Gateway, what is a ‘stage’?
A named reference to a deployment, which is a snapshot of the API.
What is a canary release?
When you launch a deployment and allow original deployment to remain. Only a small portion of traffic is routed to the new deployment.
Amazon Cognito User Pools
secure, scalable user directories, works with SAML and providers like Facebook. It produces a JWT. This is the basic web app service that it most applicable.
Amazon Cognito Identity Pools
social and enterprise identity federation which acts as gatekeeper for accessing AWS resources
What is device tracking and remembering?
Cognito feature which allows service to remember client device so that in MFA scenario user doesn’t have to provide token again after absence of activity.
User still has to go through MFA process initially though.
For devices in Cognito, all devices are 1. _____ using a 2. ______, but only some are 3. ______
- tracked
- key pair
- remembered
Aurora is 1. ____ way replication across 2. _____ AZs
- six
2. three
AWS SAM is an extension of ______
AWS Cloudformation.
SAM is beneficial because it allows you to easily tie Lambda functions with a SAM specific concept called an ‘event’. This event could be something like an API Gateway endpoint.
Three main benefits of serverless model
- no server management
- flexible scaling
- automated high availability
How to secure your APIs with API Gateway?
Use Gateway to setup authorizers with Amazon Cognito user pools on an AWS Lambda Function
Where can you look at common use cases and their AWS solutions for serverless deployments?
AWS Serverless Application Repository
What communication protocol/s does API Gateway support?
It only supports HTTPS and websockets
Remember, that means no “HTTP”!
Does Amazon Cognito support device tracking and remembering?
yes