4 ms·
Each EC2 instance is a virtual, private server which looks just like any other linux box. However, files on disk are part of shared drives and are not guarantee
by keefe 17y ago
Each EC2 instance is a virtual, private server which looks just like any other linux box. However, files on disk are part of shared drives and are not guaranteed to persist. You have three choices : attach and pay for an elastic block store that IS persistent, make periodic backups to S3 or forgo the use of the disk altogether and use SimpleDB instead of mySQL. I'd recommend using an elastic block store.
- latortuga 17y agoI'll back this up with the addendum that SimpleDB has useful applications where using it might be a better choice than MySQL (e.g. a service that gets lots of reads but real-time updates isn't necessarily mission critical)
- keefe 17y agoI think it's also interesting to note that once you do a cluster, you have a distributed system and instantaneous writes are no longer a cheap operation... Plus how many operations do you need to access full data in your database? For simple one off access, you could propagate the changes into ram on each of your cluster machines (memcached) and only relatively "unimportant" search operations would see stale data.