Hello Serverfault members.
I want to achieve the following setup on EC2: A load balancer starts and stops instances which only serve static content. (a javascript based application) I do not want to manually update the code of the application on the currently running instances if I release a new verision. So I thought about uploading the code to a cdn and mounting the drive with local cache on the webserver instances (dropbox like). this way any running instances would have automatically the latest version and the speed advantage of local content.
what is the best solution for this?
I have tried using s3 and s3fs / s3fs-c but because of bugs in their current implementation they are not usable for me. theoretically, would the temporary caching of s3fs be what I want to achieve?