create

boxfuseCreate

Creates a new App in the CloudCaptain Console.

Usage: gradle boxfuseCreate -Dboxfuse.app=appName

> gradle boxfuseCreate -Dboxfuse.app=hello

Creating axelfontaine/hello ...
Successfully created axelfontaine/hello

Class name

com.boxfuse.client.gradle.task.CreateTask

Properties

Plugin Parameter Gradle/System property Default Description
user boxfuse.user Required - Your CloudCaptain Client user. Also configurable via the BOXFUSE_USER environment variable
secret boxfuse.secret Required - Your CloudCaptain Client secret. Also configurable via the BOXFUSE_SECRET environment variable
app boxfuse.app The name of the application
appType boxfuse.app.type single-instance

The type of app to create.

Possible values:

  • single-instance (Elastic IP)
  • load-balanced-https (ALB + Auto Scaling)
  • load-balanced (Classic ELB + Auto Scaling)
  • worker (Auto-Scaling)
  • one-off
dbType boxfuse.db.type none

The type of database your app needs.

Possible values:

  • none (no database)
  • postgresql (CloudCaptain-managed PostgreSQL database)
  • mysql (CloudCaptain-managed MySQL database)
logsType boxfuse.logs.type cloudwatch-logs

The type of centralized logging service your app needs.

Possible values:

  • none (no centralized logging)
  • cloudwatch-logs (AWS CloudWatch Logs)
tlsType boxfuse.tls.type none

load-balanced apps only

The type of automatic TLS (SSL) certificate management your app needs.

Possible values:

  • none (No automatic TLS (SSL) certificate management)
  • acm (Automatic TLS (SSL) certificates with AWS Certificate Manager)

Sample Configuration

boxfuse {
    user='1234567890abcdef1234567890abcdef12345678'
    secret='ABCDEFGHIJKL1234567abcdefghijklmnopqrstu'
    app='hello'
    appType='load-balanced'
    dbType='postgresql'
    logsType='cloudwatch-logs'
    tlsType='acm'
}

info