On 30 Jul 2012, at 11:16, John Shaver wrote:
> Currently, with my free micro instance, am I correct in my
> understanding that if I were to restart the instance, I would lose
> everything in it? It seems there is no persistence of data for the
> instance. I've got apache all setup and configured with all of our
> files uploaded. How do I go about setting up some kind of
> persistence of data? Or is the idea to never stop the instance? I'm
> not talking about backups, here, I have those. I just don't want to
> have to start with a new OS and restore backups for something as
> simple as restarting the instance.
>
This depends on if you started the instance with an EBS backed AMI. If you did, you should see an EBS volume listed in your volumes. If not, then you are correct in assuming that if you turn off your instance it disappears forever. In order to have persistence, you need to attach a volume.
You could launch a volume, attach it to the current instance, mount it as a filesystem, and copy your setup and then use that to get a persistent instance setup. I do not have any specific procedure on hand, but there may well be some already out there.
> For those of you who have more experience with AWS, how do you setup
> your web servers?
What do you mean? Are you looking for instructions on how to install Apache?
> One more questions, what is the easiest way to move an instance from
> one region to another?
>
I am not sure about this one. It may be tricky. AMI's are not transferrable that I am aware of. You could snapshot your instance, find a similar AMI in another region and transfer data from the snapshot. I have not done this so I am just guessing.