Forum archive
Moving old TYPO3 Appliance (TurnKey 12.0) a M1.small instance to a T2.medium on the hub
Hello.
I need to move an old server with a TYPO3 Appliance based on TurnKey 12.0 from the current M1.small instance on turnkey Hub (M1.small EBS-backed PVM - 1.7 GB RAM, 1 vCPU, 80G rootfs, 160 GB tmp)
to a new instance T2.medium.
I can't do it using "clone a new server from latest snapshot" because the T2.medium instance is not in the list of available instances to chooose.
I have already tried in a different way:
1. Launched new server based on current Typo3 Appliance and T2.medium instance.
2. used TKLBAM from the new server to restore a full backup of current server based on TurnKey 12.0 from the current M1.small
The problem is thata when I launch TKLBAM I receive an error and the restore don't run.
In any case I realized that even if I succeed on restoring old server on new instance on the new server I have new versions of PHP, MYSQL etc...
This means I have to upgrade my TYPO3 version (and other php - mysql apps too).
This requires too much works.
Then, my question is:
is there a way to install an old turnkey appliance (TYPO3 Appliance - TurnKey 12.0) on TurnKey Hub?
Thanks in advance for any idea
Rino
So the first thing to do is see what you have and where they are. Traditionally I have always used
fdisk -lfor that but I recently discoveredlsblkwhich gives a nicer layout IMO.I don't have access to a m1.medium ATM so I'm not sure what it'll be but my guess is that it'd be
/dev/xvda2. If it's not mounted already (possibly already mounted to/mnt) you'll need to mount it somewhere./mntis as good a place as anywhere. So assuming that my guesses are right, do something like this (adjust as necessary if I am wrong).Then create an empty file, make it secure and make it swap. Again adjust if need be (this will create 2GB swap file).
To ensure that it remounts after reboot, you'll also want to add an entry (or 2) to your
Then mount the swap file (as per fstab entries):/etc/fstab. Something like this (the first line might already exist as per comments above; adjust as need be).FWIW if it didn't have instance store (as per the newer t2 instances) then you would have to decide if you really need swap, or whether you'd be better upgrading to an instance with more RAM. As you pay for excessive i/o operations on EBS volumes (i/o on instance storage isn't charged by AWS), a heavily used swap could turn out to be quite expensive...