Skip to content

kraft cloud

▄▀▄▀ kraft.cloud

Manage resources on The Millisecond Platform.

Learn more & sign up for the beta at https://kraft.cloud

Quickly switch between metros using the --metro flag or use the KRAFTCLOUD_METRO environmental variable.

Set authentication by using kraft login or set KRAFTCLOUD_TOKEN environmental variable.

kraft cloud [FLAGS] [SUBCOMMAND|DIR]

Examples

# List all images in your account
$ kraft cloud image list
# List all instances in Frankfurt
$ kraft cloud --metro fra0 instance list
# Create a new NGINX instance in Frankfurt and start it immediately
$ kraft cloud --metro fra0 instance create -S \
-p 80:443/http+redirect \
-p 443:8080/http+tls \
nginx:latest
# Get the status of an instance based on its UUID and output as JSON
$ kraft cloud --metro fra0 instance status -o json UUID
# Stop an instance based on its UUID
$ kraft cloud instance stop UUID
# Start an instance based on its UUID
$ kraft cloud instance start UUID
# Get logs of an instance based on its UUID
$ kraft cloud instance logs UUID
# Delete an instance based on its UUID
$ kraft cloud instance remove UUID

Options

-h, --help help for cloud
--metro string Set the KraftCloud metro
--token string Set the KraftCloud token

Aliases

The kraft cloud command can also be run as:

cl

See Also