You are browsing a read-only backup copy of Wikitech. The primary site can be found at wikitech.wikimedia.org

Help:Suspending instances

From Wikitech-static
Revision as of 23:40, 2 October 2012 by imported>Ryan Lane
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Occasionally it's needed to suspend instances, rather than destroying them. Note that if you suspend a user's instances, they can un-suspend them if they have access to reboot the instances, so you'll need to disable the user's account if you want to avoid that. Here's the steps to disable instances:

  1. Find out which host is running the instance (run on the controller):
    euca-describe-instances
  2. On the specified host, use virsh to suspend the instance:
    virsh suspend i-<instancenumber>