Django SQLite Backup

May 29, 2023 | Tags: Django python sqlite AWS

SQLite is a great database. It is embeddable, very portable and great for read-only applications. However, since it is stored in a single file, it can be hard to manage it in production environments with ephemeral file systems as you will need another process to back it up for you. Sometimes, you do not have access to the file system directly, see Heroku or Render, for example.

[Read more]

AWS cloud init logs

May 30, 2022 | Tags: AWS TIL

When a new instance is created, if there is any script running as the instance starts the output/logs of the running commands will go on /var/log/cloud-init-output.log.

[Read more]