TurnKey Linux Virtual Appliance Library

Turn off and on TKL Moodle instance in EC2

Hi, i recently launch an instance on EC2 and i need to turn it off while i am not using it and i read that in order to be able to do that i need to attach a EBS as a root device to my instance and i do not know how to do that , it there someoe that can help me ?

i really appreciate your help

Thank you

Alon Swartz's picture

Use TKLBAM

Use TKLBAM to back up your instance, then you can terminate it. Later you can launch another moodle instance, and restore from backup. For more information see the announcement.

I'd recommend testing your backup by restoring it to a test instance before terminating the original server.

BTW, the TurnKey Amazon images are instance-store backed, not EBS backed. It's not the same as attaching an EBS volume. The terminology can be a bit confusing...

Jeremy's picture

Have a look at this blog by Alon

Here. Hopefully that helps you out.

[edit] Alon beat me to it and his suggestion is probably better.

Thank you

Thank you for the info, i did a test with tklbam and it did restore everthing , the only thing is that every time i launch a new instance and restore the backup it assigns a new ip address and thas is what i am trying to avoid.

 

i am working with some peers that are out of the city so we want to have the same ip  so we can work with the same ip and not checking everytime what is the IP to get into.

 

Hope you can help

Alon Swartz's picture

Thats what Elastic IP's are for

Just create an Elastic IP in /profile/clouds, and specify it when launching the instance. From that point on, you can choose "Launch a new server like this one", and it will remember the instance size, region, elastic IP, etc.

Example

i think this is what i am looking for, check on this link abot booting from EBS device

 

http://winnersdontlose.com/?p=95

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)