I am new to Amazon AWS and fairly new to Web hosting in general. I previously used Bluehost for web hosting, but my company is switching to AWS. I'm wondering what the best practices are for uploading php, html, and css files. We are constantly adding and tweaking the pages on our site and I need to know how to fit this into the AWS way of doing things.
Previously we simply used an FTP client to change the files on our server. Now I used Elastic Beanstalk to set up our stack, and have figured out how to use the FTP program to upload files to an EC2 volume using SFTP. However, when a new Instance gets launched, it does not contain the most recent changes.
I know that with Elastic Beanstalk I could upload a new version, but I don't really want to have to zip-up, upload, and deploy a new version of all my files, even if I've made just one small change.
We are not hosting a static website. We make pretty heavy use of a MySQL database to generate and change pages.
Are there better options out there? Ideally, I would have one place to keep my php etc files and any running instances would get the files from there.
Any help, direction, tutorials are much appreciated. Thanks