Say, you have a Rails (or actually any other kind) application running on Amazon EC2, and whenever you perform some maintenance, which might include shutting down or re-creating your instances, you might want S3 to display your "maintenance mode" page instead of your app.
So, basically, that might mean:
- Uploading text saying when you're going to be back online to S3
- ???
- S3 serving this page to any request to your domain while you perform upgrades/re-instantiating instances, etc.
- ???
- EC2 instances are back serving your customers
I understand that most probably it is not possible — at least I have no idea how to do this. Just want to make sure it is not possible.
Anyway. Any ideas? :)