Serverless Application Deployment Flashcards
Serverless Application Model, Lambda and API Gateway
What is API Gateway?
acts as a bridge between your application and the backend services.
It helps you create, publish, and maintain APIs so that your application can securely access data or functionality from other AWS services or your own backend services.
It also helps in managing the traffic to your APIs and provides security features to control access.
What are Stage Variables?
Stage variables in the context of the AWS API Gateway are like customizable settings for different deployment stages of your API. They allow you to adjust configurations or endpoint behavior based on the stage, making it easier to manage your API in different environments.
Name some of the release stages you can manage in API Gateway?
Alpha (initial)
Beta (more advanced)
Production (live stage)
What is the integration timeout for Lambda, HTTP and HTTP proxy?
Timeout:
30 seconds Lambda functions in API Gateway
50 milliseconds for HTTP
29 seconds for HTTP proxy integrations
How can you reduce the number of calls made to your endpoint and reduce latency of API requests?
Use API caching to cache your endpoint’s responses
Name 3 AWS Gateway integration types?
AWS_Proxy (lambda proxy integration)
HTTP (http custom integration)
HTTP_PROXY
How do you add permissions?
If you use the API Gateway console, the console automatically adds the permissions
If you set up a stage variable to call a Lambda function through API, you must manually add these permissions
What does SAM stand for?
Serverless Application Model
What is the Serverless Application Model (AWS SAM)?
SAM is an open-source framework that simplifies the process of building and deploying serverless applications on AWS. It extends AWS CloudFormation, allowing developers to define serverless applications at a higher level of abstraction, thus streamlining the development and deployment of serverless applications on AWS.
What is Cloud Formation?
AWS CloudFormation is an AWS service that helps you automate the process of managing and provisioning your infrastructure on the cloud using code.