title: How to deploy next.js 9 to aws lambda
body: <p>I am developing a project with next.js9. I have some problems and questions. I would like to deploy my next.js 9 project to AWS lambda.</p>
  
  <ol>
  <li><p>official next.js 9 doc tell me "each page in the pages directory becomes a serverless lambda." Above library is not working like doc. How can I deploy from each page to each lambda?</p></li>
  <li><p>What is reasonable solution to deployment? please someone who use nextjs 9 in production level help me.</p></li>
  <li><p>I am using this library <a href="https://github.com/danielcondemarin/serverless-next.js" rel="noreferrer">https://github.com/danielcondemarin/serverless-next.js</a>.
  it's working well. but all options are fixed. I would like to deploy my project to Tokyo region. but I have no idea how to change region. always deploy to N. virginia region. I already checked doc but I think they don't have options. and test like this yml file.</p></li>
  </ol>
  
  <p>serverless.yml</p>
  
  <pre><code>myNextApplication:
    component: serverless-next.js
  region: ap-northeast-1
  </code></pre>
  
  <p>but it was not working. if someone know how to change region with serverless-next.js. Please help me.</p>
  
  <p>Thank you in advance</p>