



We hope this will soon be available via Lambda Packages, but for now, you will also need to add this line to your Zappa JSON settings file in each environment: "use_precompiled_packages": false, These shared object files contain a compiled binary static build of SQLite 3.30.1 that can be used with the corresponding version of Python. Note that only the Python 3.6 and 3.8 runtimes are supported at this time.
#How to install sqlite centos 7 download
Newer versions of Django (v2.1+) require a newer version of SQLite (3.8.3+) than is available on AWS Lambda instances (3.7.17).īecause of this, you will need to download the provided _sqlite3.so for your Python version (available in the shared-objects directory of this repository) and put it at the root of your Django project. This is because the database is transferred between S3 storage and the Lambda instance for each request. ** Concurrent writes will often be lost and not show up in concurrent readers. This will cause problems for applications with concurrent writes**, but it scales very well for high-read applications that don't have concurrent writes (like a CMS for your blog), and it's orders of magnitude cheaper than AWS RDS or Aurora (pennies per month instead of many dollars per month). Install via pip: $ pip install django-s3-sqliteĪdd to your installed apps: INSTALLED_APPS += ĭjango-s3-sqlite allows use of an S3-synced SQLite database as a Django database engine. Thanks to Rich Jones for all of his amazing work. This project was inspired and started with Zappa.
