Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions docs/compute/drivers/ec2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,35 @@ It allows users to rent virtual servers in more than 15 regions such as:
Note that pricing information is not available for China (Beijing)
region.

Driver capabilities
-------------------

The EC2 driver works within the region selected when the driver is created.
The table distinguishes shared compute methods from EC2-specific options.

.. list-table::
:header-rows: 1
:widths: 30 70

* - Operation
- EC2 behavior
* - Instance types (``list_sizes``)
- Reads the bundled instance type catalog for the driver's region rather
than querying EC2. The returned price is the Linux rate from Libcloud's
pricing data when available.
* - AMIs (``list_images``)
- Queries EC2 in the driver's region. Use ``ex_owner``, ``ex_image_ids``,
or ``ex_filters`` to narrow the results.
* - Locations (``list_locations``)
- Lists the available zones that EC2 reports for the driver's region; it
does not list AWS regions.
* - Spot Instances (``create_node``)
- Pass the EC2-specific option ``ex_spot=True`` to request a Spot Instance.
Optionally set ``ex_spot_max_price``.
* - Starting and stopping (``start_node``, ``stop_node``)
- Uses the shared compute API. The older ``ex_start_node`` and
``ex_stop_node`` names are aliases kept for compatibility.

Using temporary security credentials
------------------------------------

Expand Down