Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.1.0, 0.2.0, 0.3.0, 0.4.0
-
None
-
None
Description
It seems the python bindings to Whirr have EBS support:
https://issues.apache.org/jira/browse/WHIRR-3
Let's implement this in the Java implementation. While portable volume support isn't complete in jclouds, EC2 variants (aws-ec2, eucalyptus) do support EBS mappings via the Template:
ex. from org.jclouds.ec2.compute.EC2ComputeServiceLiveTest.testMapEBS()
template.getOptions().as(EC2TemplateOptions.class)//
.mapEphemeralDeviceToDeviceName("/dev/sdm", "ephemeral0")//
.mapNewVolumeToDeviceName("/dev/sdn", volumeSize, true)//
.mapEBSSnapshotToDeviceName("/dev/sdo", snapshot.getId(), volumeSize, true);