AWS API Gateway

Basics

  • Easy service to publish, maintain and monitor and secure APIs at any scale.
  • “front door” to different backend services that runs on EC2 or Lambda, etc.
  • Low cost and efficient
  • Throttle api gtwy support to prevent attacks
  • Cloudwatch integrations + logs
  • Same-origin-policy support
  • Cross-origin resource sharing support

API Caching

  • improves the latency
  • cache is expired on a certain TTL period