AWS & Serverless Flashcards
AWS API Gateway allows you to create, publish, maintain, monitor and secure what?
APIs
Can the APIs you create be scalable by default?
Yes
APIs created can access what two key things?
AWS Web services & Data stored on AWS Cloud
A client hits an registered API endpoint that’s connected to what?
API Gateway
Once the client hits an endpoint the API Gateway receives a method request that is processed through Gateway’s integration. It can respond by calling a Lambda or accessing data through services such as -> DynamoDB, EC2, S3 etc. This process is considered what?
An integrational request.
The AWS API Gateway is considered to be a ____ between your app and AWS services
mediator
An incoming response from the executed service (Lambda or another service) is processed through the Gateway’s integration than returns to the client as a method response. What is this process called?
An integrational response.
You just created a new API what is the next step?
Create a resource
What is a resource?
The path that is the direct endpoint the client can hit in order to trigger an action
Your new API now has a resource what is the next step in order to gain use out of the resourcePath (endpoint)
Add an access method for that resourcePath (REST API HTTP methods… GET, POST etc)
The resource of the new API is set up with an access method, what is the next thing that must be done?
You must stage (or deploy) your API.
When defining an access method for a resource you must specify what?
An integration type -> Lambda Function, HTTP, Mock or other Service.
AWS CloudWatch essentially allows you to do what?
Watch/Monitor -> AWS Cloud resources/services
AWS CloudWatch has logging, and metrics but what another key thing can it do?
send out alerts or alarms about errors or any information.
You create what based on CloudWatch monitoring feedback?
events to be triggered.