I’ve successfully used on-prem fn as a connection layer beneath API gateways and ESBs, but for cloud projects every time I use them (regardless of the provider), I end up swapping them out for microservices before too long. Deployment and management have always lagged far behind on-prem solutions.