Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

InvalidParameterValueError - Source bundle is empty or exceeds maximum allowed size: 524288000

I use eb cli to deploy django applicatoin. It suddenly started showing error InvalidParameterValueError - Source bundle is empty or exceeds maximum allowed size: 524288000 while deploying my app using eb deploy command. It showing error for both my production and stating environment.

My source bundle size should be below the limit. What is the cause and how to fix it?

like image 747
Bigair Avatar asked Dec 04 '25 14:12

Bigair


1 Answers

As per the BeanStalk documentation, Your source bundle must meet the following requirements:

  • Consist of a single ZIP file or WAR file (you can include multiple WAR files inside your ZIP file)
  • Not exceed 512 MB
  • Not include a parent folder or top-level directory (subdirectories are fine)

You can reduce the size of your source bundle by adding the unnecessary files to your .gitignore file. You can estimate the folder sizes using the command du -shc * in the root directory of your application.

like image 67
Ravi Kumar CH Avatar answered Dec 07 '25 04:12

Ravi Kumar CH



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!