WRENCH
1.11
Cyberinfrastructure Simulation Workbench
|
Overview | Installation | Getting Started | WRENCH 101 | WRENCH 102 |
A cloud service provides mechanisms to manage the set of VMs instantiated on hardware resources. Each VM instance, while it's running, exposes its own bare-metal compute service to which standard jobs can be submitted. As a result, one never submits a job directly to a cloud service.
It is possible to create, shutdown, start, suspend, and resume VMs (see a complete list of functions available in the wrench::CloudComputeService
API documentation). The figure below shows the state transition diagram of a VM instance:
Here is an example interaction with a wrench::CloudComputeService
:
Note that the cloud service will decide on which physical resources VM instances should be started. The underlying physical resources are completely hidden by the cloud service abstraction. If you want more control over how the physical resources are used you likely need a virtualized cluster services.
See the execution controller implementation in examples/basic-examples/cloud-bag-of-tasks/TwoTasksAtATimeCloudWMS.cpp
for a more complete example.