Skip to Content
Hybrid Cloud for Developers
book

Hybrid Cloud for Developers

by Manoj Hirway
April 2018
Intermediate to advanced content levelIntermediate to advanced
280 pages
8h 37m
English
Packt Publishing
Content preview from Hybrid Cloud for Developers

Pausing a VM

A VM can be paused when you do not want it to consume resources when not in need. A paused VM does not consume the resources it requires when it is running. VMs may have to be paused to free up resources so that other VMs can perform better in situations of high workload. This can be done by simply invoking the pause_server() function call and passing the server ID or Server object instance:

def pause_server(conn):    server_id="7cdaa375-f1b5-40ab-81bd-7e3d052f370d"    conn.compute.pause_server(server_id)
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hybrid Cloud for Architects

Hybrid Cloud for Architects

Alok Shrivastwa
OpenStack: Building a Cloud Environment

OpenStack: Building a Cloud Environment

Alok Shrivastwa, Sunil Sarat, Kevin Jackson, Cody Bunch, Egle Sigler, Tony Campbell

Publisher Resources

ISBN: 9781788830874Supplemental Content