TurnKey Linux Virtual Appliance Library

Moodle & EBS volume

Hi,

looking to confirm that if we create and attach an EBS volume to our moodle instances, our stored content will be persistent meaning we can reattach it should we need to stop & start the instances or perhaps upgrade to a larger ec2 instance.

Thanks!

David

Alon Swartz's picture

EBS volumes are like external harddrives...

EBS volumes are like external harddrives. You can attach and mount them on the system, but if you want the data to be "persistent", you will need to mount bind the volume and configure it in such a way that the database and all files moodle uses will be stored on the volume. It's a little tricky but possible.

The easier alternative would be to use TKLBAM to backup the system. Once all data is backed up, you can terminate the instance. Later you can "restore the backup to a new cloud server", which will essentially launch a new moodle instance, configure TKLBAM and perform the restore automatically on boot.

BTW, persistent instances (i.e. EBS backed instances) are currently under development, and will provide the ability to stop/start the instance which is what you are looking for. But keep in mind that even though the instance will be persistent, EBS volumes do sometimes fail, so it's important to have backups - and TKLBAM makes that easy.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)