-
I really like the idea of kratos (and other ory products) but all my projects are based on serverless architecture. I was wondering if it was possible to run it on say lambda or cloud run (basically frozen execution between requests). And if so if there are some limitations I should be aware of. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Kratos has no native serverless support. |
Beta Was this translation helpful? Give feedback.
Kratos has no native serverless support.
I'd say that the request handlers work fine in a serverless deployment. You would have to figure out the database connection and some of the global state that is available through the central registry as well as background tasks such as the email courier worker (#1033). Maybe you would be interested in a hosted Kratos managed by Ory instead? It is easier than serverless deployment 😉
If so, PM @jaredpreston on our slack or drop us an email at [email protected] 👋