AWS API Gateway
AWS API Gateway
AWS API Gateway -
- Enables developers to create, publish, maintain, monitoring, and secure APIs at any scale
- Allows creating, deploying and managing a restful api to to expose backend HTTP endpoints, lamda functions or other AWS services
- Together with lamda, API Gateway forms the app facing part of the AWS Serverless Infrastructure
Features -
- API Gateway can execute Lamda code in your account,start step function state machines, or make calls to elastic beanstalk, EC2, or web services outside of AWS with publically acceessible HTTP endpoints
- API Gateway helps you define plans that meter and restric third party developer access to your API
- API Gateway helps you to manage traffic to your backend systems by allowing you to set throttling rules based on the number of requests per sec for each HTTP method in your API
- You can set up a cache with a customaizable keys and time-to-live in sec for your API data to avoid hitting your backend service for each request.
- API Gateway lets you run multiple versions of the same API simultaneously with API lifecycle
- After you build, test and deploy the APIs, you can package them in an API gateway usage plan as a software as a service product through AWS Marketplace
- API Gateway offers the ability to create, update and delete documention associated with each portion of your API, such as methods and resources
- You can create a data mapping definations from an HTTP APIs method req data to the HTTP API method response parameters
- Use wildcard custom domains names (*.example.com) to create multiples URLs that route to one API Gateway HTTP API
- You can configure your custom domain name to route requests to different APIs. Using multi-level base path mapping, you can implement path-based API versioning and migrate API traffic between APIs according to request path with many segments
- All the APIs created expose HTTP endpoints only. API Gateway does not support unencrypted (HTTP) endpoints
AWS API Gateway Monitoring -
- API Gateway console is integrated with Cloudwatch, so you get backend performance metric such as API calls, latency and errror rates
- You can set up custom alarms on API Gateway APIs
- API Gateway can also log API execution errors to Cloudwatch logs
AWS API Gateway security -
- To authorize and verify API requests to AWS services, API Gateway can help you leverage signature version 4. Using signature version 4 authentication, you can use IAM and access policies to authorize access to your APIs and all your other AWS resources
- You can enable AWS WAF for your APIs in API Gateway, making it easier to protect your APIs against common web exploits such as SQL injection and cross-site scripting (XSS)
- For API Gateway HTTP APIs, in addition to the previously OIDC/OAuth2 authorization option, you can also secure them using lamda authorizers and IAM authorizers
- You pay only for the API calls you recieve and the amount data transfered out.
- API Gateway also provides optional data caching charge at an hourly rate that varies based on the cache size you select
Comments
Post a Comment