TurnKey Linux Virtual Appliance Library

Can you have more then one EC2 account on the same hub account?

sales's picture

Can you have more then one ec2 account on the same hub account?  I had set up a test lamp server for my brother but right now it is on my hub account which of course its tied to my ec2 account.   We would like to run it on a more perminant basis but of course I dont want to pay for my brothers instance.  I would like to manage it for him though.

If i can't do this, is there a way to take a backup from one server on one turnkey hub account and restore it to a server on another account?




Jeremy Davis's picture

No and Yes! :)

No you can't have multiple AWS accounts linked to the one Hub account. It was a feature of the Hub some time ago, but was removed due to the backend maintenance complexity (for the TKL devs).

But you can 'move' an appliance using TKLBAM. The steps would look something like this:

  1. Run a TKLBAM backup of the desired instance on your account.
  2. Create a new AWS/Hub account for your brother.
  3. Launch an instance of the desired appliance (from your brother's account).
  4. Associate the new appliance (running on your brother's account) with your Hub account (ie input your Hub API key).
  5. Restore the TKLBAM backup (from your account) to the new appliance (running on your brother's account).
  6. Disassociate the appliance (on your brother's account) from your Hub account (ie remove your API key).
    		rm -rf /var/lib/tklbam
  7. Associate the appliance with your brother's account (using his Hub API key).
  8. I would run another TKLBAM backup once you have confirmed that everything is as it should be.

Reference here.

Jeremy Davis's picture

A server clone is exactly that!

A clone of a current server! You may also notice that if you are using HubDNS that the launching a clone will 'steal' the domain name of the original server...!

But back to your question, AFAIK no currently there is not. Feel free to lodge a feature request (as an issue on the GitHub tracker) regarding that. If/when I see it I will apply the appropriate tags (i.e. 'tklbam' and 'feature request').

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)