When done, invoke the following command to deploy this application on KraftCloud:
The output shows the instance URL and other details:
In this case, the instance name is mariadb-w2g2z and the service group twilight-sun-82lt4ddk.
They are different for each run.
To test the deployment, first forward the port with the kraft cloud tunnel command. Be sure to use the service group returned by the kraft cloud deploy command:
You can now, on a separate console, use the mysql command line tool to test that the set up works:
You should see output such as:
To disconnect, simply kill the tunnel command with ctrl-C
At any point in time, you can list information about the instance:
When done, you can remove the instance:
Customize your Application
To customize the application, update the files in the repository, listed below:
Kraftfile: the KraftCloud specification, including command-line arguments
Dockerfile: In case you need to add files to your instanceβs rootfs