|Manage Your Cloud / Cloud Tasks|
In order to ensure optimal system performance, or to perform system maintenance, it is sometimes necessary to move running instances between Node Controllers (NCs). You can migrate instances individually, or migrate all instances from a given NC.
euca-migrate-instances -i [instance_id]
You can also optionally specify --dest=[destination NC IP] or --exclude-dest=[excluded NC IP], to ensure that the instance is migrated to one of the specified Node Controllers, or to avoid migrating the instance to any of the specified Node Controllers. These flags may be used more than once to specify multiple Node Controllers.
euca-migrate-instances --source=[NC IP]
You can also optionally specify --stop-source, to stop the specified Node Controller and ensure that no new instances are started on that NC while the migration occurs. This allows you to safely remove the NC without interrupting running instances. The NC will remain in the DISABLED state until it is explicitly enabled using euca-modify-service -s start [NC IP].