Talk: Building Cloud-Ready Apps

In March 2012, the Singapore PHP User Group was running a lab entitled “PHP In the Cloud”. I put this talk together for them on relatively short notice, but overall I think it turned out pretty well.

In the talk, I mention four things that you can do to help ensure that your app can scale horizontally in the cloud:

  1. Store your file uploads on an external file storage service such as Amazon S3.
  2. Do not keep your database on the localhost.
  3. Use an external memcache server or service for PHP session storage.
  4. Keep your VCS repo lean.