title: Elastic Beanstalk - SQLite database
body: <p>I have a simple javascript site that I am hosting on Elastic Beanstalk. Part of this app uses an SQLite database to handle logging and analytics.</p>
  
  <p>Whenever a new version of the site is deployed to the Elastic Beanstalk instance it  destroys the previous version and in turn I lose the contents of my SQLite database.</p>
  
  <p>Does anybody have any solutions to this issue? Would storing the SQLite database in an S3 bucket work?</p>
  
  <p>I know I can use an RDS database but I am trying to avoid rewriting my code.</p>