Deploy Rasa NLU on AWS Lambda

I only want to use Rasa NLU (i.e. no Core or X). Would it be possible to deploy this over AWS Lambda? Or are there limitations that would prevent me?

The startup time of Rasa is often very slow (it needs to download the model, extract it, and load it as python objects into memory), so that could be an issue. AWS lambda is known for a slow startup time, combining that with the slow Rasa startup, might mean that you have requests that take 10+ seconds to complete.

If that’s fine, then I think it should work, but the glue code might not be all that simple. You’ll need to glue together Rasa and the lambda SDK