Compute

    In addition to managing the servers this component also allows you to run deployment scripts on newly created servers. Deployment or “bootstrap” scripts allow you to execute arbitrary shell commands. This functionality is usually used to prepare your freshly created server, install your SSH key, and run a configuration management tool (such as Puppet, Chef, or cfengine) on it.

    Besides managing cloud and virtual servers, compute component also allows you to manage cloud block storage (not to be confused with cloud object storage) for providers which support it. Block storage management lives under compute API, because it is in most cases tightly coupled with compute resources.

    • - represents a cloud or virtual server.
    • NodeImage - represents an operating system image.
    • - represents a physical location where a server can be.
    • NodeState - represents a node state. Standard states are: , rebooting, terminated, pending, stopped, suspended, , erro, unknown.
    • - represents an SSH key pair object.

    Supported Providers

    For a list of supported providers see .

    For more information, please see the pricing page.

    Deployment

    Libcloud provides deployment functionality which makes bootstrapping a server easier. It allows you to create a server and run shell commands on it once the server has been created.

    For more information and examples, please see the .

    For more information and examples, please see the key pair management page.

    Examples

    We have .

    For a full reference of all the classes and methods exposed by the compute API, see this page.