Can I migrate a blog that is running in an instance, to a new instance using the console?
Edit:
I want to migrate a wordpress blog from one instance to another and all I have is the Instance IP and the password file.
|
Can I migrate a blog that is running in an instance, to a new instance using the console? Edit: I want to migrate a wordpress blog from one instance to another and all I have is the Instance IP and the password file. |
||||
|
|
|
Depends. But probably not. "Running" is a very generic term. Now, if you want to have an exact copy of your current system to redeploy you could shut it down and use the console tools to create a new AMI based on the current state of your machine. You would then be able to deploy new EC2 VMs based on your current machine. See here for EBS instances or here for S3 instances. Problem is, this can't deal with data changing. This tends to happen rather often with a blog. What you really want is an AMI that uses data stored in an EBS volume: EBS volumes are intended to be resilient, EC2 images are not. Have the blog software configured and set up to use data on EBS, set your EBS volume to remain on termination, and create an AMI. Now you can migrate the instance and still use your data. If you really want high-availability/persistence, you should use a distributed SQL database. But that's probably overkill. Edited |
|||||||||||
|
|
If by console you mean the AWS Management Console, then no. That is for controlling the virtual hardware resources associated with your account, not the software and data inside them. If by console you mean the unix (or your OS's) terminal, then almost certainly yes, but you will have to give us a lot more details about your OS, blog engine, data storage type, etc. |
|||
|
|