title: How to deal with large dependencies in AWS Lambda?
body: <p>I am using AWS Lambda and the functions I need to deploy require many different packages. Using <code>serverless-python-requirements</code> the zip file that is generated is 169.5MB, far greater than the 50MB limit. I have tried using Lambda Layers, but this doesn't solve the size issue.</p>
  <p>I have also tried dumping the zip file in an s3 bucket, but it is still too large to load when invoking the function. I need all of these packages and I'm not sure how I can deploy them all.</p>
  <p>My <code>requirements.txt</code> file looks like:</p>
  <pre><code>bs4==0.0.1
  gensim==3.8.3
  matplotlib==3.2.2
  nltk==3.5
  numpy==1.19.0
  openpyxl==3.0.4
  pandas==1.0.5
  pyLDAvis==2.1.2
  spacy==2.3.1
  XlsxWriter==1.2.9
  </code></pre>