Compute

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

    Besides managing cloud and virtual servers, compute component also allows youto 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 casestightly coupled with compute resources.

    • - represents a cloud or virtual server.
    • NodeImage - represents an operating systemimage.
    • - represents a physical locationwhere 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 servereasier. It allows you to create a server and run shell commands on it once theserver has been created.

    For more information and examples, please see the .

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

    Examples

    We have .

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