kill

boxfuse:kill

Gracefully kill all Instances of an App in the specified Environment.

Usage: mvn boxfuse:kill -Dboxfuse.instances=instance

> mvn boxfuse:kill -Dboxfuse.instances=vb-ec717c5e

Killing Instance vb-ec717c5e on VirtualBox ...
Instance killed in 00:03.493s

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 dev Use the AWS test or prod environments instead of the local dev one
instances boxfuse.instances The comma-separated list of ids of the Instance to work with

Sample Configuration

<configuration>
    <user>1234567890abcdef1234567890abcdef12345678</user>
    <secret>ABCDEFGHIJKL1234567abcdefghijklmnopqrstu</secret>
    <env>prod</env>
    <instances>vb-ec717c5e</instances>
</configuration>

open