Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

View file
nameCurrentImplementation.drawio

API Gateway vs Application Load Balancer (…Draft…)

There are a number of pros and cons associated with using API Gateway (APIGW) vs Application Load Balancers (ALB).

Advantages of APIGW over ALB:

APIGW offers more features than ALB, such as request/response mapping, throttling, fine grained authorisation checking etc.

API Gateway is paid by usage and is cheaper if there are less than 100 requests per second

Advantages of ALB over APIGW

ALB is generally easier to configure

ALB is an hourly charge + usage which is cheaper to run if there are over 100 requests per second

HTTP to HTTPS redirection can be performed by the ALB. This is not possible with APIGW where it has to be done in Cloudfront or by the web server inside the VPC.