convert

boxfuse:convert

Converts this Image from the CloudCaptain Vault into an AWS AMI..

Usage: mvn boxfuse:convert -Dboxfuse.image=image

> mvn boxfuse:convert -Dboxfuse.image=hello:1.0

Waiting for AWS to create an AMI for axelfontaine/hello:1.0 in eu-central-1 (this may take up to 50 seconds) ...
AMI created in 00:12.603s -> ami-74d4d369

Properties

Plugin Parameter Maven/System property Default Description
user boxfuse.user Required - Your CloudCaptain Client user. Also configurable via the BOXFUSE_USER environment variable or the Maven settings.xml
secret boxfuse.secret Required - Your CloudCaptain Client secret. Also configurable via the BOXFUSE_SECRET environment variable or the Maven settings.xml
serverid boxfuse.serverid boxfuse The id of the server in the Maven settings.xml file to load the credentials from.

This is an alternative to passing the credentials in directly through properties.
env boxfuse.env prod Use the AWS region of this CloudCaptain environment to create the AMI
image boxfuse.image The Image to use

Sample Configuration

<configuration>
    <user>1234567890abcdef1234567890abcdef12345678</user>
    <secret>ABCDEFGHIJKL1234567abcdefghijklmnopqrstu</secret>
    <image>hello:1.0</image>
</configuration>

Dynamically defined properties

After you execute convert, CloudCaptain will automatically define the following Maven properties

Maven property Description
boxfuse.aws.region.ami The id of the new AMI (where region is the region the AMI was created it according to the env parameter
boxfuse.image The image that was used to create the AMI

pull