4 ms·
API Gateway becomes your HTTP server, your routing layer defined in Flask/Sinatra/Express & co is implemented in API GW integration configuration and handling r
by meekins 8y ago
API Gateway becomes your HTTP server, your routing layer defined in Flask/Sinatra/Express & co is implemented in API GW integration configuration and handling routed requests is implemented as Lambdas that process events from API GW.
- mozey 8y agoWith AWS Lambda I try to avoid using API Gateway as it seems to me that is exactly where the lock-in occurs. Instead I have one catch-all route on API GW and I keep my routing layer in the app. This also makes it easier to run the app on dev without recreating the entire AWS environment
- meekins 8y agoYou can absolutely do that. Then you just need to do more custom work to enable route level observability and metrics.
- scarface74 8y agoIf you work for any size corporation, they aren’t going to just switch their infrastructure because a developer said that they pinky promise the migration will be easy. You’re always for all practical purposes locked into your infrastructure once your business grows.