This guide shows you how to deploy Dragonfly, a simple, performant, and cost-efficient in-memory data store.
To run this example, follow these steps:
Install the unikraft CLI.
You need a BuildKit builder. The easiest way to get one is via Docker.
Alternatively, you can also directly set up and use BuildKit, see the quick start.
Clone the examples repository and cd into the examples/dragonflydb/ directory:
You can list information about the instance by running:
Code
unikraft instances list
Code
METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATEDfra dragonflydb-10zgk running <my-org>/dragonflydb 512MiB 1 dry-moon-x6bgl6c0.fra.unikraft.app 2 minutes ago
When done, you can remove the instance:
Code
unikraft instances delete dragonflydb-10zgk
Customize your app
To customize the app, update the files in the repository, listed below:
Kraftfile: the Unikraft Cloud specification, including command-line arguments
Dockerfile: In case you need to add files to your instance's rootfs
Learn more
Use the --help option for detailed information on using Unikraft Cloud: