title: How to run a ktor application inside AWS lambda?
body: <p>I don't find a way to use a ktor application inside an AWS lambda...</p>
  
  <p>That is, instead of starting an embedded server or using an external server as described in <a href="http://ktor.io/servers/engine.html" rel="noreferrer">http://ktor.io/servers/engine.html</a>, I just need to "execute" the pipeline.</p>
  
  <p>I suppose this is more or less like the TestEngine but I am not so familiar with the ktor framework to be sure</p>
  
  <p>Note :</p>
  
  <p>I have already found examples to run one kotlin function per lambda (the best tutorial IMHO being <a href="https://aws.amazon.com/fr/blogs/machine-learning/use-amazon-rekognition-to-build-an-end-to-end-serverless-photo-recognition-system/" rel="noreferrer">https://aws.amazon.com/fr/blogs/machine-learning/use-amazon-rekognition-to-build-an-end-to-end-serverless-photo-recognition-system/</a>).</p>
  
  <p>The problem is I dont want to manage one lambda per function (I want one microservice per lambda, the microservice being responsible for multiple tightly coupled operations)</p>