I see. Though I don’t really know AWS API, from what I read today I can say that it is possible to create a ktor host for AWS Lambda, without servlet at all, but that has few drawbacks. One is that writing a host is relatively complex 🙂 Second is that all ktor suspendable async capabilities is of no use here and we will probably need a prototype to if it actually makes sense, might require some changes in ktor. Third is that API is quite limited, so some of the ktor functions will have to throw exceptions, e.g. websockets, cookies, etc. But may worth it, if it is economically makes sense and helps in local testing and development.