From bd8038084d8d71b1e32fb87ebc7685bc44919ca8 Mon Sep 17 00:00:00 2001 From: Unikraft Bot Date: Thu, 25 Jun 2026 04:44:29 +0000 Subject: [PATCH] chore: Update guides from examples repository Signed-off-by: Unikraft Bot --- pages/guides/caddy2.7-go1.21.mdx | 78 ++--- pages/guides/debian-ssh.mdx | 78 ++--- pages/guides/dragonflydb.mdx | 78 ++--- pages/guides/duckdb-go1.21.mdx | 78 ++--- pages/guides/github-webhook-node.mdx | 78 ++--- pages/guides/grafana.mdx | 78 ++--- pages/guides/haproxy.mdx | 78 ++--- pages/guides/httpserver-boost1.74-gpp13.2.mdx | 78 ++--- pages/guides/httpserver-bun.mdx | 78 ++--- pages/guides/httpserver-c-debug.mdx | 78 ++--- pages/guides/httpserver-dotnet10.0.mdx | 78 ++--- pages/guides/httpserver-elixir1.16.mdx | 78 ++--- pages/guides/httpserver-erlang26.2.mdx | 78 ++--- .../httpserver-expressjs4.18-node21.mdx | 78 ++--- pages/guides/httpserver-flask-redis.mdx | 140 ++++---- pages/guides/httpserver-gcc13.2.mdx | 78 ++--- pages/guides/httpserver-go1.21.mdx | 78 ++--- pages/guides/httpserver-go1.22-redis.mdx | 173 +++++----- pages/guides/httpserver-gpp13.2.mdx | 78 ++--- .../httpserver-java17-spring-petclinic.mdx | 78 ++--- .../httpserver-java17-springboot3.5.x.mdx | 78 ++--- pages/guides/httpserver-java21.mdx | 78 ++--- pages/guides/httpserver-lua5.1.mdx | 78 ++--- .../guides/httpserver-nginx-vite-vanilla.mdx | 78 ++--- .../httpserver-node-express-puppeteer.mdx | 78 ++--- .../httpserver-node-vite-ssr-vanilla.mdx | 78 ++--- pages/guides/httpserver-node-vite-vanilla.mdx | 78 ++--- pages/guides/httpserver-node21-nextjs.mdx | 78 ++--- .../guides/httpserver-node21-solid-start.mdx | 78 ++--- .../guides/httpserver-node22-react-router.mdx | 78 ++--- pages/guides/httpserver-node22-sveltekit.mdx | 78 ++--- pages/guides/httpserver-node26.mdx | 78 ++--- pages/guides/httpserver-perl5.42.mdx | 78 ++--- pages/guides/httpserver-php8.2.mdx | 78 ++--- ...httpserver-prisma-expressjs4.19-node18.mdx | 78 ++--- .../httpserver-python3.12-django5.0.mdx | 78 ++--- .../httpserver-python3.12-fastapi-0.121.3.mdx | 78 ++--- .../httpserver-python3.12-flask3.0-sqlite.mdx | 78 ++--- .../guides/httpserver-python3.12-flask3.0.mdx | 78 ++--- pages/guides/httpserver-python3.12.mdx | 78 ++--- pages/guides/httpserver-ruby3.2.mdx | 78 ++--- .../guides/httpserver-rust-trunkrs-leptos.mdx | 78 ++--- pages/guides/httpserver-rust1.75-tokio.mdx | 78 ++--- .../guides/httpserver-rust1.88-actix-web4.mdx | 76 ++--- .../guides/httpserver-rust1.88-rocket0.5.mdx | 78 ++--- pages/guides/httpserver-rust1.91.mdx | 78 ++--- pages/guides/hugo0.122.mdx | 78 ++--- pages/guides/imaginary.mdx | 78 ++--- pages/guides/mariadb.mdx | 78 ++--- pages/guides/mcp-server-arxiv.mdx | 78 ++--- pages/guides/mcp-server-simple.mdx | 78 ++--- pages/guides/memcached1.6.mdx | 78 ++--- pages/guides/minio.mdx | 78 ++--- pages/guides/mongodb.mdx | 78 ++--- pages/guides/mysql.mdx | 242 ++++++++++++++ pages/guides/nginx-flask-mongo.mdx | 298 +++++++++--------- pages/guides/nginx.mdx | 82 ++--- pages/guides/node-playwright-chromium.mdx | 78 ++--- pages/guides/node-playwright-firefox.mdx | 78 ++--- pages/guides/node-playwright-webkit.mdx | 78 ++--- pages/guides/node18-agario.mdx | 78 ++--- pages/guides/node18-wingsio.mdx | 78 ++--- pages/guides/node21-websocket.mdx | 78 ++--- pages/guides/node24-karaoke.mdx | 78 ++--- pages/guides/novnc-browser.mdx | 78 ++--- pages/guides/opentelemetry-collector.mdx | 62 ++-- pages/guides/phoenix-postgres.mdx | 220 ++++++------- pages/guides/postgres.mdx | 97 +++--- pages/guides/python-playwright-chromium.mdx | 78 ++--- pages/guides/redis7.2.mdx | 78 ++--- pages/guides/ruby3.2-rails.mdx | 78 ++--- pages/guides/skipper0.18.mdx | 78 ++--- pages/guides/spin-wagi-http.mdx | 78 ++--- pages/guides/traefik.mdx | 78 ++--- pages/guides/tyk.mdx | 201 ++++++------ pages/guides/visual-studio-code-server.mdx | 96 +++--- pages/guides/vsftpd.mdx | 86 ++--- pages/guides/wazero-import-go.mdx | 78 ++--- pages/guides/wordpress-all-in-one.mdx | 78 ++--- pages/guides/wordpress.mdx | 272 ++++++++-------- zudoku.config.tsx | 1 + 81 files changed, 3757 insertions(+), 3515 deletions(-) create mode 100644 pages/guides/mysql.mdx diff --git a/pages/guides/caddy2.7-go1.21.mdx b/pages/guides/caddy2.7-go1.21.mdx index 34123e82..3b0ca0d3 100644 --- a/pages/guides/caddy2.7-go1.21.mdx +++ b/pages/guides/caddy2.7-go1.21.mdx @@ -25,10 +25,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/caddy2.7-go1.21/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/caddy2.7-go1.21/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/caddy2.7-go1.21/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -68,40 +68,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: caddy27-go121-vhf4m -uuid: db624eff-4739-4500-873c-f7c58e4eefd7 -state: starting -image: /caddy27-go121 -resources: - memory: 256MiB - vcpus: 1 -service: - uuid: 085cfc91-34d2-0e4d-5f19-fe67832f16a8 - name: frosty-sky-vz8kwsmb - domains: - - fqdn: frosty-sky-vz8kwsmb.fra.unikraft.app -networks: -- uuid: a72ea1ab-9686-c5b5-a8c2-fd58922f30f3 - private-ip: 10.0.6.2 - mac: 12:b0:a9:b2:fd:13 -timestamps: - created: just now +metro: fra +name: caddy27-go121-vhf4m +uuid: db624eff-4739-4500-873c-f7c58e4eefd7 +state: starting +image: /caddy27-go121 +resources: + memory: 256MiB + vcpus: 1 +service: + uuid: 085cfc91-34d2-0e4d-5f19-fe67832f16a8 + name: frosty-sky-vz8kwsmb + domains: + - fqdn: frosty-sky-vz8kwsmb.fra.unikraft.app +networks: +- uuid: a72ea1ab-9686-c5b5-a8c2-fd58922f30f3 + private-ip: 10.0.6.2 + mac: 12:b0:a9:b2:fd:13 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: caddy27-go121-vhf4m - ├───────── uuid: db624eff-4739-4500-873c-f7c58e4eefd7 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://frosty-sky-vz8kwsmb.fra.unikraft.app - ├──────── image: oci://unikraft.io//caddy27-go121@sha256:25df97e3c43147c683f31dd062d0fa75122358b596de5804ca246c4e8613dd56 - ├─────── memory: 256 MiB - ├────── service: frosty-sky-vz8kwsmb - ├─ private fqdn: caddy27-go121-vhf4m.internal - └─── private ip: 10.0.6.2 +[●] Deployed successfully! + │ + ├───────── name: caddy27-go121-vhf4m + ├───────── uuid: db624eff-4739-4500-873c-f7c58e4eefd7 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://frosty-sky-vz8kwsmb.fra.unikraft.app + ├──────── image: oci://unikraft.io//caddy27-go121@sha256:25df97e3c43147c683f31dd062d0fa75122358b596de5804ca246c4e8613dd56 + ├─────── memory: 256 MiB + ├────── service: frosty-sky-vz8kwsmb + ├─ private fqdn: caddy27-go121-vhf4m.internal + └─── private ip: 10.0.6.2 ``` @@ -136,13 +136,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra caddy27-go121-vhf4m running /caddy27-go121 256MiB 1 frosty-sky-vz8kwsmb.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra caddy27-go121-vhf4m running /caddy27-go121 256MiB 1 frosty-sky-vz8kwsmb.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -caddy27-go121-vhf4m frosty-sky-vz8kwsmb.fra.unikraft.app running 1 minute ago oci://unikraft.io//caddy27-go121@sha256:... 256 MiB 1 20.18 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +caddy27-go121-vhf4m frosty-sky-vz8kwsmb.fra.unikraft.app running 1 minute ago oci://unikraft.io//caddy27-go121@sha256:... 256 MiB 1 20.18 ms ``` diff --git a/pages/guides/debian-ssh.mdx b/pages/guides/debian-ssh.mdx index 62100636..2de897f5 100644 --- a/pages/guides/debian-ssh.mdx +++ b/pages/guides/debian-ssh.mdx @@ -23,10 +23,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/debian-ssh` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/debian-ssh/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/debian-ssh/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -66,40 +66,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: debian-ssh-2uwg5 -uuid: b3d158c5-fb52-4685-a76b-2497973308dc -state: starting -image: /debian-ssh -resources: - memory: 1024MiB - vcpus: 1 -service: - uuid: 5771bead-c045-52fa-1f89-5bc4f1cf3c38 - name: nameless-cherry-sw2e9ul2 - domains: - - fqdn: nameless-cherry-sw2e9ul2.fra.unikraft.app -networks: -- uuid: 9d76ad3f-2149-f0af-d77f-76daba253d33 - private-ip: 10.0.0.109 - mac: 12:b0:1d:bd:54:f6 -timestamps: - created: just now +metro: fra +name: debian-ssh-2uwg5 +uuid: b3d158c5-fb52-4685-a76b-2497973308dc +state: starting +image: /debian-ssh +resources: + memory: 1024MiB + vcpus: 1 +service: + uuid: 5771bead-c045-52fa-1f89-5bc4f1cf3c38 + name: nameless-cherry-sw2e9ul2 + domains: + - fqdn: nameless-cherry-sw2e9ul2.fra.unikraft.app +networks: +- uuid: 9d76ad3f-2149-f0af-d77f-76daba253d33 + private-ip: 10.0.0.109 + mac: 12:b0:1d:bd:54:f6 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: debian-ssh-2uwg5 - ├───────── uuid: b3d158c5-fb52-4685-a76b-2497973308dc - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://nameless-cherry-sw2e9ul2.fra.unikraft.app - ├──────── image: oci://unikraft.io//debian-ssh@sha256:2442b4d5e078e7bc9ccd887fac65623511551592315d341a219f34a2c6628949 - ├─────── memory: 1024 MiB - ├────── service: nameless-cherry-sw2e9ul2 - ├─ private fqdn: debian-ssh-2uwg5.internal - └─── private ip: 10.0.0.109 +[●] Deployed successfully! + │ + ├───────── name: debian-ssh-2uwg5 + ├───────── uuid: b3d158c5-fb52-4685-a76b-2497973308dc + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://nameless-cherry-sw2e9ul2.fra.unikraft.app + ├──────── image: oci://unikraft.io//debian-ssh@sha256:2442b4d5e078e7bc9ccd887fac65623511551592315d341a219f34a2c6628949 + ├─────── memory: 1024 MiB + ├────── service: nameless-cherry-sw2e9ul2 + ├─ private fqdn: debian-ssh-2uwg5.internal + └─── private ip: 10.0.0.109 ``` @@ -140,13 +140,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra debian-ssh-2uwg5 running /debian-ssh 1.0GiB 1 nameless-cherry-sw2e9ul2.fra.unikraft… 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra debian-ssh-2uwg5 running /debian-ssh 1.0GiB 1 nameless-cherry-sw2e9ul2.fra.unikraft… 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -debian-ssh-2uwg5 nameless-cherry-sw2e9ul2.fra.unikraft.app running since 5mins oci://unikraft.io//debian-ssh@sha256:... 1.0 GiB 1 217.26 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +debian-ssh-2uwg5 nameless-cherry-sw2e9ul2.fra.unikraft.app running since 5mins oci://unikraft.io//debian-ssh@sha256:... 1.0 GiB 1 217.26 ms ``` diff --git a/pages/guides/dragonflydb.mdx b/pages/guides/dragonflydb.mdx index 52826be1..df5e17b4 100644 --- a/pages/guides/dragonflydb.mdx +++ b/pages/guides/dragonflydb.mdx @@ -24,10 +24,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/dragonflydb/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/dragonflydb/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/dragonflydb/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -67,40 +67,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: dragonflydb-10zgk -uuid: 6282ef0c-2161-494c-a3f3-2d16055096c2 -state: starting -image: /dragonflydb -resources: - memory: 512MiB - vcpus: 1 -service: - uuid: 18326b44-a571-6195-b9e6-9368832ff2b3 - name: dry-moon-x6bgl6c0 - domains: - - fqdn: dry-moon-x6bgl6c0.fra.unikraft.app -networks: -- uuid: 87aa7a40-2a83-f315-b656-e07a8637af64 - private-ip: 10.0.6.5 - mac: 12:b0:8f:c2:51:55 -timestamps: - created: just now +metro: fra +name: dragonflydb-10zgk +uuid: 6282ef0c-2161-494c-a3f3-2d16055096c2 +state: starting +image: /dragonflydb +resources: + memory: 512MiB + vcpus: 1 +service: + uuid: 18326b44-a571-6195-b9e6-9368832ff2b3 + name: dry-moon-x6bgl6c0 + domains: + - fqdn: dry-moon-x6bgl6c0.fra.unikraft.app +networks: +- uuid: 87aa7a40-2a83-f315-b656-e07a8637af64 + private-ip: 10.0.6.5 + mac: 12:b0:8f:c2:51:55 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: dragonflydb-10zgk - ├───────── uuid: 6282ef0c-2161-494c-a3f3-2d16055096c2 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://dry-moon-x6bgl6c0.fra.unikraft.app - ├──────── image: oci://unikraft.io//dragonflydb@sha256:21e6d3ff1f86292e14266bcf5c6e73d3b7a86a0ec4102c66a0961373af743f19 - ├─────── memory: 512 MiB - ├────── service: dry-moon-x6bgl6c0 - ├─ private fqdn: dragonflydb-10zgk.internal - └─── private ip: 10.0.6.5 +[●] Deployed successfully! + │ + ├───────── name: dragonflydb-10zgk + ├───────── uuid: 6282ef0c-2161-494c-a3f3-2d16055096c2 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://dry-moon-x6bgl6c0.fra.unikraft.app + ├──────── image: oci://unikraft.io//dragonflydb@sha256:21e6d3ff1f86292e14266bcf5c6e73d3b7a86a0ec4102c66a0961373af743f19 + ├─────── memory: 512 MiB + ├────── service: dry-moon-x6bgl6c0 + ├─ private fqdn: dragonflydb-10zgk.internal + └─── private ip: 10.0.6.5 ``` @@ -158,13 +158,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra dragonflydb-10zgk running /dragonflydb 512MiB 1 dry-moon-x6bgl6c0.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra dragonflydb-10zgk running /dragonflydb 512MiB 1 dry-moon-x6bgl6c0.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -dragonflydb-10zgk dry-moon-x6bgl6c0.fra.unikraft.app running 1 minute ago oci://unikraft.io//dragonflydb@sha256:... 512 MiB 1 28.74 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +dragonflydb-10zgk dry-moon-x6bgl6c0.fra.unikraft.app running 1 minute ago oci://unikraft.io//dragonflydb@sha256:... 512 MiB 1 28.74 ms ``` diff --git a/pages/guides/duckdb-go1.21.mdx b/pages/guides/duckdb-go1.21.mdx index ffd6a3d2..85939301 100644 --- a/pages/guides/duckdb-go1.21.mdx +++ b/pages/guides/duckdb-go1.21.mdx @@ -24,10 +24,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/duckdb-go1.21/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/duckdb-go1.21/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/duckdb-go1.21/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -67,40 +67,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: duckdb-go121-qfd8x -uuid: 90960d27-458b-4dd7-a037-2a9a3a47f095 -state: starting -image: /duckdb-go121 -resources: - memory: 256MiB - vcpus: 1 -service: - uuid: 0e3c61f1-5ad3-7d75-ceaf-079ea83394f6 - name: autumn-gorilla-hg4h6sup - domains: - - fqdn: autumn-gorilla-hg4h6sup.fra.unikraft.app -networks: -- uuid: 0f66c51a-dcad-94fc-d0a8-b0570e3d1b97 - private-ip: 10.0.6.2 - mac: 12:b0:31:d1:4b:90 -timestamps: - created: just now +metro: fra +name: duckdb-go121-qfd8x +uuid: 90960d27-458b-4dd7-a037-2a9a3a47f095 +state: starting +image: /duckdb-go121 +resources: + memory: 256MiB + vcpus: 1 +service: + uuid: 0e3c61f1-5ad3-7d75-ceaf-079ea83394f6 + name: autumn-gorilla-hg4h6sup + domains: + - fqdn: autumn-gorilla-hg4h6sup.fra.unikraft.app +networks: +- uuid: 0f66c51a-dcad-94fc-d0a8-b0570e3d1b97 + private-ip: 10.0.6.2 + mac: 12:b0:31:d1:4b:90 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: duckdb-go121-qfd8x - ├───────── uuid: 90960d27-458b-4dd7-a037-2a9a3a47f095 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://autumn-gorilla-hg4h6sup.fra.unikraft.app - ├──────── image: oci://unikraft.io//duckdb-go121@sha256:6999293f8694ac00beb6a1d639fab8f96f78c2e6ecb8ccb2311539908895a699 - ├─────── memory: 256 MiB - ├────── service: autumn-gorilla-hg4h6sup - ├─ private fqdn: duckdb-go121-qfd8x.internal - └─── private ip: 10.0.6.2 +[●] Deployed successfully! + │ + ├───────── name: duckdb-go121-qfd8x + ├───────── uuid: 90960d27-458b-4dd7-a037-2a9a3a47f095 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://autumn-gorilla-hg4h6sup.fra.unikraft.app + ├──────── image: oci://unikraft.io//duckdb-go121@sha256:6999293f8694ac00beb6a1d639fab8f96f78c2e6ecb8ccb2311539908895a699 + ├─────── memory: 256 MiB + ├────── service: autumn-gorilla-hg4h6sup + ├─ private fqdn: duckdb-go121-qfd8x.internal + └─── private ip: 10.0.6.2 ``` @@ -135,13 +135,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra duckdb-go121-qfd8x running /duckdb-go121 256MiB 1 autumn-gorilla-hg4h6sup.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra duckdb-go121-qfd8x running /duckdb-go121 256MiB 1 autumn-gorilla-hg4h6sup.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -duckdb-go121-qfd8x autumn-gorilla-hg4h6sup.fra.unikraft.app running 1 minute ago oci://unikraft.io//duckdb-go121@sha256:... 256 MiB 1 32.12 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +duckdb-go121-qfd8x autumn-gorilla-hg4h6sup.fra.unikraft.app running 1 minute ago oci://unikraft.io//duckdb-go121@sha256:... 256 MiB 1 32.12 ms ``` diff --git a/pages/guides/github-webhook-node.mdx b/pages/guides/github-webhook-node.mdx index f37cfd9e..fbba49fb 100644 --- a/pages/guides/github-webhook-node.mdx +++ b/pages/guides/github-webhook-node.mdx @@ -26,10 +26,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/github-webhook-node/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/github-webhook-node/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/github-webhook-node/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -72,40 +72,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: github-webhook-node-bzq7u -uuid: 8a8634f1-fc78-4cc0-aa36-8f082d8a59f5 -state: starting -image: /github-webhook-node -resources: - memory: 1024MiB - vcpus: 1 -service: - uuid: 67c7cca2-ca82-1467-e2f1-1b455edb638c - name: dry-cloud-uuw0qlb6 - domains: - - fqdn: dry-cloud-uuw0qlb6.fra.unikraft.app -networks: -- uuid: 6153b689-b713-97c3-f8bb-bd08cc47f6bc - private-ip: 10.0.1.205 - mac: 12:b0:d0:97:b0:d2 -timestamps: - created: just now +metro: fra +name: github-webhook-node-bzq7u +uuid: 8a8634f1-fc78-4cc0-aa36-8f082d8a59f5 +state: starting +image: /github-webhook-node +resources: + memory: 1024MiB + vcpus: 1 +service: + uuid: 67c7cca2-ca82-1467-e2f1-1b455edb638c + name: dry-cloud-uuw0qlb6 + domains: + - fqdn: dry-cloud-uuw0qlb6.fra.unikraft.app +networks: +- uuid: 6153b689-b713-97c3-f8bb-bd08cc47f6bc + private-ip: 10.0.1.205 + mac: 12:b0:d0:97:b0:d2 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: github-webhook-node-bzq7u - ├───────── uuid: 8a8634f1-fc78-4cc0-aa36-8f082d8a59f5 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://dry-cloud-uuw0qlb6.fra.unikraft.app - ├──────── image: oci://unikraft.io//github-webhook-node@sha256:10974aac67ce6355148e21d91f918960bf0af29ad840fffeeb2fd01f8c905f66 - ├─────── memory: 1024 MiB - ├────── service: dry-cloud-uuw0qlb6 - ├─ private fqdn: github-webhook-node-bzq7u.internal - └─── private ip: 10.0.1.205 +[●] Deployed successfully! + │ + ├───────── name: github-webhook-node-bzq7u + ├───────── uuid: 8a8634f1-fc78-4cc0-aa36-8f082d8a59f5 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://dry-cloud-uuw0qlb6.fra.unikraft.app + ├──────── image: oci://unikraft.io//github-webhook-node@sha256:10974aac67ce6355148e21d91f918960bf0af29ad840fffeeb2fd01f8c905f66 + ├─────── memory: 1024 MiB + ├────── service: dry-cloud-uuw0qlb6 + ├─ private fqdn: github-webhook-node-bzq7u.internal + └─── private ip: 10.0.1.205 ``` @@ -172,13 +172,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra github-webhook-node-bzq7u standby /github-webhook-node 1.0GiB 1 dry-cloud-uuw0qlb6.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra github-webhook-node-bzq7u standby /github-webhook-node 1.0GiB 1 dry-cloud-uuw0qlb6.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -github-webhook-node-bzq7u dry-cloud-uuw0qlb6.fra.unikraft.app standby standby oci://unikraft.io//github-webhook-node@sha256:... 1.0 GiB 1 197.47 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +github-webhook-node-bzq7u dry-cloud-uuw0qlb6.fra.unikraft.app standby standby oci://unikraft.io//github-webhook-node@sha256:... 1.0 GiB 1 197.47 ms ``` diff --git a/pages/guides/grafana.mdx b/pages/guides/grafana.mdx index 761f1c82..778000c7 100644 --- a/pages/guides/grafana.mdx +++ b/pages/guides/grafana.mdx @@ -24,10 +24,10 @@ To run it, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/grafana/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/grafana/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/grafana/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -67,40 +67,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: grafana-sikrv -uuid: 1d8f0b36-39ff-45a2-8baa-664640c60885 -state: starting -image: /grafana -resources: - memory: 2048MiB - vcpus: 1 -service: - uuid: baedae7b-0836-4b53-d1f5-a6bbcd373155 - name: dawn-water-4jlnvgpy - domains: - - fqdn: dawn-water-4jlnvgpy.fra.unikraft.app -networks: -- uuid: de0faba6-9c16-f108-a32a-f6bc4133a9cd - private-ip: 10.0.6.6 - mac: 12:b0:fb:95:5b:66 -timestamps: - created: just now +metro: fra +name: grafana-sikrv +uuid: 1d8f0b36-39ff-45a2-8baa-664640c60885 +state: starting +image: /grafana +resources: + memory: 2048MiB + vcpus: 1 +service: + uuid: baedae7b-0836-4b53-d1f5-a6bbcd373155 + name: dawn-water-4jlnvgpy + domains: + - fqdn: dawn-water-4jlnvgpy.fra.unikraft.app +networks: +- uuid: de0faba6-9c16-f108-a32a-f6bc4133a9cd + private-ip: 10.0.6.6 + mac: 12:b0:fb:95:5b:66 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: grafana-sikrv - ├───────── uuid: 1d8f0b36-39ff-45a2-8baa-664640c60885 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://icy-sea-i6m5fwyk.fra.unikraft.app - ├──────── image: oci://unikraft.io//grafana@sha256:484d6f98cdc321443188b8f2900035182dffdb45069f3cd087dcb6851ddff3bc - ├─────── memory: 2048 MiB - ├────── service: dawn-water-4jlnvgpy - ├─ private fqdn: grafana-mgby4.internal - └─── private ip: 10.0.6.6 +[●] Deployed successfully! + │ + ├───────── name: grafana-sikrv + ├───────── uuid: 1d8f0b36-39ff-45a2-8baa-664640c60885 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://icy-sea-i6m5fwyk.fra.unikraft.app + ├──────── image: oci://unikraft.io//grafana@sha256:484d6f98cdc321443188b8f2900035182dffdb45069f3cd087dcb6851ddff3bc + ├─────── memory: 2048 MiB + ├────── service: dawn-water-4jlnvgpy + ├─ private fqdn: grafana-mgby4.internal + └─── private ip: 10.0.6.6 ``` @@ -128,13 +128,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra grafana-sikrv running /grafana 2048MiB 1 icy-sea-i6m5fwyk.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra grafana-sikrv running /grafana 2048MiB 1 icy-sea-i6m5fwyk.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -grafana-sikrv icy-sea-i6m5fwyk.fra.unikraft.app running 11 minutes ago oci://unikraft.io//grafana@sha256:... 2048 MiB 1 502.65 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +grafana-sikrv icy-sea-i6m5fwyk.fra.unikraft.app running 11 minutes ago oci://unikraft.io//grafana@sha256:... 2048 MiB 1 502.65 ms ``` diff --git a/pages/guides/haproxy.mdx b/pages/guides/haproxy.mdx index 77345f2a..f0cff772 100644 --- a/pages/guides/haproxy.mdx +++ b/pages/guides/haproxy.mdx @@ -25,10 +25,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/haproxy/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/haproxy/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/haproxy/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -68,40 +68,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: haproxy-rfx6z -uuid: 09bd081e-e082-4f73-8ba8-531123a39e2e -state: starting -image: /haproxy -resources: - memory: 256MiB - vcpus: 1 -service: - uuid: c349833c-dacc-7763-306e-553f512c4d0e - name: cool-paper-svzzr3qq - domains: - - fqdn: cool-paper-svzzr3qq.fra.unikraft.app -networks: -- uuid: 494814aa-38cc-c4ed-dcad-5b7173b3033b - private-ip: 10.0.6.5 - mac: 12:b0:a4:a5:0d:24 -timestamps: - created: just now +metro: fra +name: haproxy-rfx6z +uuid: 09bd081e-e082-4f73-8ba8-531123a39e2e +state: starting +image: /haproxy +resources: + memory: 256MiB + vcpus: 1 +service: + uuid: c349833c-dacc-7763-306e-553f512c4d0e + name: cool-paper-svzzr3qq + domains: + - fqdn: cool-paper-svzzr3qq.fra.unikraft.app +networks: +- uuid: 494814aa-38cc-c4ed-dcad-5b7173b3033b + private-ip: 10.0.6.5 + mac: 12:b0:a4:a5:0d:24 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: haproxy-rfx6z - ├───────── uuid: 09bd081e-e082-4f73-8ba8-531123a39e2e - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://cool-paper-svzzr3qq.fra.unikraft.app - ├──────── image: oci://unikraft.io//haproxy@sha256:32296847231c151506820ec4914c1d7416e5b7200caf07c1e40eaa3ea5033d21 - ├─────── memory: 256 MiB - ├────── service: cool-paper-svzzr3qq - ├─ private fqdn: haproxy-rfx6z.internal - └─── private ip: 10.0.6.5 +[●] Deployed successfully! + │ + ├───────── name: haproxy-rfx6z + ├───────── uuid: 09bd081e-e082-4f73-8ba8-531123a39e2e + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://cool-paper-svzzr3qq.fra.unikraft.app + ├──────── image: oci://unikraft.io//haproxy@sha256:32296847231c151506820ec4914c1d7416e5b7200caf07c1e40eaa3ea5033d21 + ├─────── memory: 256 MiB + ├────── service: cool-paper-svzzr3qq + ├─ private fqdn: haproxy-rfx6z.internal + └─── private ip: 10.0.6.5 ``` @@ -128,13 +128,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra haproxy-rfx6z running /haproxy 256MiB 1 cool-paper-svzzr3qq.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra haproxy-rfx6z running /haproxy 256MiB 1 cool-paper-svzzr3qq.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -haproxy-rfx6z cool-paper-svzzr3qq.fra.unikraft.app running 1 minute ago oci://unikraft.io//haproxy@sha256:... 256 MiB 1 26.60 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +haproxy-rfx6z cool-paper-svzzr3qq.fra.unikraft.app running 1 minute ago oci://unikraft.io//haproxy@sha256:... 256 MiB 1 26.60 ms ``` diff --git a/pages/guides/httpserver-boost1.74-gpp13.2.mdx b/pages/guides/httpserver-boost1.74-gpp13.2.mdx index b4e237fe..5e015de8 100644 --- a/pages/guides/httpserver-boost1.74-gpp13.2.mdx +++ b/pages/guides/httpserver-boost1.74-gpp13.2.mdx @@ -23,10 +23,10 @@ To run this example, follow these steps: 2. Clone the [example repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-boost1.74-gpp13.2/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-boost1.74-gpp13.2/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/httpserver-boost1.74-gpp13.2/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -66,40 +66,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: httpserver-boost174-gpp132-rae7s -uuid: 5a9886fa-f8a3-4860-afcf-d5eb13fdc38d -state: starting -image: /httpserver-boost174-gpp132 -resources: - memory: 256MiB - vcpus: 1 -service: - uuid: 52cfb573-c035-9f0c-5db7-63615d26f182 - name: red-snow-3bn7bzc8 - domains: - - fqdn: red-snow-3bn7bzc8.fra.unikraft.app -networks: -- uuid: 44a3d2c5-9ee5-fffc-b72f-d6109072bb8c - private-ip: 10.0.6.4 - mac: 12:b0:97:bc:2c:03 -timestamps: - created: just now +metro: fra +name: httpserver-boost174-gpp132-rae7s +uuid: 5a9886fa-f8a3-4860-afcf-d5eb13fdc38d +state: starting +image: /httpserver-boost174-gpp132 +resources: + memory: 256MiB + vcpus: 1 +service: + uuid: 52cfb573-c035-9f0c-5db7-63615d26f182 + name: red-snow-3bn7bzc8 + domains: + - fqdn: red-snow-3bn7bzc8.fra.unikraft.app +networks: +- uuid: 44a3d2c5-9ee5-fffc-b72f-d6109072bb8c + private-ip: 10.0.6.4 + mac: 12:b0:97:bc:2c:03 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: httpserver-boost174-gpp132-rae7s - ├───────── uuid: 5a9886fa-f8a3-4860-afcf-d5eb13fdc38d - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://red-snow-3bn7bzc8.fra.unikraft.app - ├──────── image: oci://unikraft.io//httpserver-boost174-gpp132@sha256:61cf86b89fed46351af53689e27189315e466576475f61c7240bf17644613489 - ├─────── memory: 256 MiB - ├────── service: red-snow-3bn7bzc8 - ├─ private fqdn: httpserver-boost174-gpp132-rae7s.internal - └─── private ip: 10.0.6.4 +[●] Deployed successfully! + │ + ├───────── name: httpserver-boost174-gpp132-rae7s + ├───────── uuid: 5a9886fa-f8a3-4860-afcf-d5eb13fdc38d + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://red-snow-3bn7bzc8.fra.unikraft.app + ├──────── image: oci://unikraft.io//httpserver-boost174-gpp132@sha256:61cf86b89fed46351af53689e27189315e466576475f61c7240bf17644613489 + ├─────── memory: 256 MiB + ├────── service: red-snow-3bn7bzc8 + ├─ private fqdn: httpserver-boost174-gpp132-rae7s.internal + └─── private ip: 10.0.6.4 ``` @@ -134,13 +134,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra httpserver-boost174-gpp132-rae7s running /httpserver-boost174-gpp132 256MiB 1 red-snow-3bn7bzc8.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra httpserver-boost174-gpp132-rae7s running /httpserver-boost174-gpp132 256MiB 1 red-snow-3bn7bzc8.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-boost174-gpp132-rae7s red-snow-3bn7bzc8.fra.unikraft.app running 1 minute ago oci://unikraft.io//httpserver-boost174-gpp132@sha256:... 256 MiB 1 15.00 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +httpserver-boost174-gpp132-rae7s red-snow-3bn7bzc8.fra.unikraft.app running 1 minute ago oci://unikraft.io//httpserver-boost174-gpp132@sha256:... 256 MiB 1 15.00 ms ``` diff --git a/pages/guides/httpserver-bun.mdx b/pages/guides/httpserver-bun.mdx index 5afd7267..c862286a 100644 --- a/pages/guides/httpserver-bun.mdx +++ b/pages/guides/httpserver-bun.mdx @@ -23,10 +23,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-bun` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-bun/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/httpserver-bun/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -66,40 +66,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: httpserver-bun-700mp -uuid: e467a880-075c-41e0-97ac-88e3e938523e -state: starting -image: /httpserver-bun -resources: - memory: 512MiB - vcpus: 1 -service: - uuid: 00cddace-e5e1-be6e-3423-86cccb5a1031 - name: quiet-pond-ao44imcg - domains: - - fqdn: quiet-pond-ao44imcg.fra.unikraft.app -networks: -- uuid: 3e41aab5-96c3-23e8-4afc-e2109f3f60de - private-ip: 10.0.3.3 - mac: 12:b0:6e:91:eb:5a -timestamps: - created: just now +metro: fra +name: httpserver-bun-700mp +uuid: e467a880-075c-41e0-97ac-88e3e938523e +state: starting +image: /httpserver-bun +resources: + memory: 512MiB + vcpus: 1 +service: + uuid: 00cddace-e5e1-be6e-3423-86cccb5a1031 + name: quiet-pond-ao44imcg + domains: + - fqdn: quiet-pond-ao44imcg.fra.unikraft.app +networks: +- uuid: 3e41aab5-96c3-23e8-4afc-e2109f3f60de + private-ip: 10.0.3.3 + mac: 12:b0:6e:91:eb:5a +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: httpserver-bun-700mp - ├───────── uuid: e467a880-075c-41e0-97ac-88e3e938523e - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://quiet-pond-ao44imcg.fra.unikraft.app - ├──────── image: oci://unikraft.io//httpserver-bun@sha256:dfcbee1efe0d8a1d43ab2dab70cf1cc5066bb1353aa1c528c745533d2cc33276 - ├─────── memory: 512 MiB - ├────── service: quiet-pond-ao44imcg - ├─ private fqdn: httpserver-bun-700mp.internal - └─── private ip: 10.0.3.3 +[●] Deployed successfully! + │ + ├───────── name: httpserver-bun-700mp + ├───────── uuid: e467a880-075c-41e0-97ac-88e3e938523e + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://quiet-pond-ao44imcg.fra.unikraft.app + ├──────── image: oci://unikraft.io//httpserver-bun@sha256:dfcbee1efe0d8a1d43ab2dab70cf1cc5066bb1353aa1c528c745533d2cc33276 + ├─────── memory: 512 MiB + ├────── service: quiet-pond-ao44imcg + ├─ private fqdn: httpserver-bun-700mp.internal + └─── private ip: 10.0.3.3 ``` @@ -134,13 +134,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra httpserver-bun-700mp running /httpserver-bun 512MiB 1 quiet-pond-ao44imcg.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra httpserver-bun-700mp running /httpserver-bun 512MiB 1 quiet-pond-ao44imcg.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-bun-700mp quiet-pond-ao44imcg.fra.unikraft.app running since 3mins oci://unikraft.io//httpserver-bun@sha256:... 512 MiB 1 289.03 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +httpserver-bun-700mp quiet-pond-ao44imcg.fra.unikraft.app running since 3mins oci://unikraft.io//httpserver-bun@sha256:... 512 MiB 1 289.03 ms ``` diff --git a/pages/guides/httpserver-c-debug.mdx b/pages/guides/httpserver-c-debug.mdx index 3a07a54e..cafd8018 100644 --- a/pages/guides/httpserver-c-debug.mdx +++ b/pages/guides/httpserver-c-debug.mdx @@ -23,10 +23,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-c-debug` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-c-debug/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/httpserver-c-debug/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -66,40 +66,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: httpserver-c-debug-5pvem -uuid: 08629a94-e2b1-466e-abb9-15ce46411b66 -state: starting -image: /httpserver-c-debug -resources: - memory: 256MiB - vcpus: 1 -service: - uuid: 2e016406-0c59-4d74-6deb-fdcb206fdb1e - name: patient-snow-zdzhdy8r - domains: - - fqdn: patient-snow-zdzhdy8r.fra.unikraft.app -networks: -- uuid: 80a11393-8eca-ec11-3028-fb8908b21894 - private-ip: 10.0.0.109 - mac: 12:b0:45:b3:18:b2 -timestamps: - created: just now +metro: fra +name: httpserver-c-debug-5pvem +uuid: 08629a94-e2b1-466e-abb9-15ce46411b66 +state: starting +image: /httpserver-c-debug +resources: + memory: 256MiB + vcpus: 1 +service: + uuid: 2e016406-0c59-4d74-6deb-fdcb206fdb1e + name: patient-snow-zdzhdy8r + domains: + - fqdn: patient-snow-zdzhdy8r.fra.unikraft.app +networks: +- uuid: 80a11393-8eca-ec11-3028-fb8908b21894 + private-ip: 10.0.0.109 + mac: 12:b0:45:b3:18:b2 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: httpserver-c-debug-5pvem - ├───────── uuid: 08629a94-e2b1-466e-abb9-15ce46411b66 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://patient-snow-zdzhdy8r.fra.unikraft.app - ├──────── image: oci://unikraft.io//httpserver-c-debug@sha256:b24b95e236c8eff69615dd4f5d257beed5ee4047fd98d1b6fb200f89c63fa54c - ├─────── memory: 256 MiB - ├────── service: patient-snow-zdzhdy8r - ├─ private fqdn: httpserver-c-debug-5pvem.internal - └─── private ip: 10.0.0.109 +[●] Deployed successfully! + │ + ├───────── name: httpserver-c-debug-5pvem + ├───────── uuid: 08629a94-e2b1-466e-abb9-15ce46411b66 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://patient-snow-zdzhdy8r.fra.unikraft.app + ├──────── image: oci://unikraft.io//httpserver-c-debug@sha256:b24b95e236c8eff69615dd4f5d257beed5ee4047fd98d1b6fb200f89c63fa54c + ├─────── memory: 256 MiB + ├────── service: patient-snow-zdzhdy8r + ├─ private fqdn: httpserver-c-debug-5pvem.internal + └─── private ip: 10.0.0.109 ``` @@ -150,13 +150,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra httpserver-c-debug-5pvem running /httpserver-c-debug 256MiB 1 patient-snow-zdzhdy8r.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra httpserver-c-debug-5pvem running /httpserver-c-debug 256MiB 1 patient-snow-zdzhdy8r.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-c-debug-5pvem patient-snow-zdzhdy8r.fra.unikraft.app running since 4mins oci://unikraft.io//httpserver-c-debug@sha256:... 256 MiB 1 66.56 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +httpserver-c-debug-5pvem patient-snow-zdzhdy8r.fra.unikraft.app running since 4mins oci://unikraft.io//httpserver-c-debug@sha256:... 256 MiB 1 66.56 ms ``` diff --git a/pages/guides/httpserver-dotnet10.0.mdx b/pages/guides/httpserver-dotnet10.0.mdx index 29fc127a..f9c670ae 100644 --- a/pages/guides/httpserver-dotnet10.0.mdx +++ b/pages/guides/httpserver-dotnet10.0.mdx @@ -23,10 +23,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-dotnet10.0/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-dotnet10.0/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/httpserver-dotnet10.0/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -66,40 +66,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: httpserver-dotnet100-dsmkh -uuid: 25459494-cb43-4009-9d05-f0996de5b7e4 -state: starting -image: /httpserver-dotnet100 -resources: - memory: 512MiB - vcpus: 1 -service: - uuid: 35a84131-01b7-b3cd-03a4-7acdd2c4f5f9 - name: cold-fog-hl98aw6q - domains: - - fqdn: cold-fog-hl98aw6q.fra.unikraft.app -networks: -- uuid: d4ddf6b4-91e5-8692-03a2-1e42552f6dbe - private-ip: 10.0.3.1 - mac: 12:b0:c0:f1:05:bd -timestamps: - created: just now +metro: fra +name: httpserver-dotnet100-dsmkh +uuid: 25459494-cb43-4009-9d05-f0996de5b7e4 +state: starting +image: /httpserver-dotnet100 +resources: + memory: 512MiB + vcpus: 1 +service: + uuid: 35a84131-01b7-b3cd-03a4-7acdd2c4f5f9 + name: cold-fog-hl98aw6q + domains: + - fqdn: cold-fog-hl98aw6q.fra.unikraft.app +networks: +- uuid: d4ddf6b4-91e5-8692-03a2-1e42552f6dbe + private-ip: 10.0.3.1 + mac: 12:b0:c0:f1:05:bd +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: httpserver-dotnet100-dsmkh - ├───────── uuid: 25459494-cb43-4009-9d05-f0996de5b7e4 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://cold-fog-hl98aw6q.fra.unikraft.app - ├──────── image: oci://unikraft.io//httpserver-dotnet100@sha256:4fad7453995ae96b636696e9929ee0e7376bfbbd63ab9698c1f1e02602aa2575 - ├─────── memory: 512 MiB - ├────── service: cold-fog-hl98aw6q - ├─ private fqdn: httpserver-dotnet100-dsmkh.internal - └─── private ip: 10.0.3.1 +[●] Deployed successfully! + │ + ├───────── name: httpserver-dotnet100-dsmkh + ├───────── uuid: 25459494-cb43-4009-9d05-f0996de5b7e4 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://cold-fog-hl98aw6q.fra.unikraft.app + ├──────── image: oci://unikraft.io//httpserver-dotnet100@sha256:4fad7453995ae96b636696e9929ee0e7376bfbbd63ab9698c1f1e02602aa2575 + ├─────── memory: 512 MiB + ├────── service: cold-fog-hl98aw6q + ├─ private fqdn: httpserver-dotnet100-dsmkh.internal + └─── private ip: 10.0.3.1 ``` @@ -134,13 +134,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra httpserver-dotnet100-dsmkh running /httpserver-dotnet100 512MiB 1 cold-fog-hl98aw6q.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra httpserver-dotnet100-dsmkh running /httpserver-dotnet100 512MiB 1 cold-fog-hl98aw6q.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-dotnet100-dsmkh cold-fog-hl98aw6q.fra.unikraft.app running 2 minutes ago oci://unikraft.io//httpserver-dotnet100@sha256:... 512 MiB 1 328.69 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +httpserver-dotnet100-dsmkh cold-fog-hl98aw6q.fra.unikraft.app running 2 minutes ago oci://unikraft.io//httpserver-dotnet100@sha256:... 512 MiB 1 328.69 ms ``` diff --git a/pages/guides/httpserver-elixir1.16.mdx b/pages/guides/httpserver-elixir1.16.mdx index 81134059..b470b93e 100644 --- a/pages/guides/httpserver-elixir1.16.mdx +++ b/pages/guides/httpserver-elixir1.16.mdx @@ -23,10 +23,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-elixir1.16/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-elixir1.16/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/httpserver-elixir1.16/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -66,40 +66,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: httpserver-elixir116-qo9k3 -uuid: e5fbf089-b000-4b2d-a827-44a1f5d28f24 -state: starting -image: /httpserver-elixir116 -resources: - memory: 1024MiB - vcpus: 1 -service: - uuid: ddbc554c-3ce1-01ea-27d9-61690cb85717 - name: small-water-tl8lr8am - domains: - - fqdn: small-water-tl8lr8am.fra.unikraft.app -networks: -- uuid: 4e9f6ce2-9f8d-04ed-35e8-073582ac66bc - private-ip: 10.0.3.4 - mac: 12:b0:a2:d1:d5:d4 -timestamps: - created: just now +metro: fra +name: httpserver-elixir116-qo9k3 +uuid: e5fbf089-b000-4b2d-a827-44a1f5d28f24 +state: starting +image: /httpserver-elixir116 +resources: + memory: 1024MiB + vcpus: 1 +service: + uuid: ddbc554c-3ce1-01ea-27d9-61690cb85717 + name: small-water-tl8lr8am + domains: + - fqdn: small-water-tl8lr8am.fra.unikraft.app +networks: +- uuid: 4e9f6ce2-9f8d-04ed-35e8-073582ac66bc + private-ip: 10.0.3.4 + mac: 12:b0:a2:d1:d5:d4 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: httpserver-elixir116-qo9k3 - ├───────── uuid: e5fbf089-b000-4b2d-a827-44a1f5d28f24 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://small-water-tl8lr8am.fra.unikraft.app - ├──────── image: oci://unikraft.io//httpserver-elixir116@sha256:67f5df003758a1180932e931727f8cb7006bbbf6fdd84058e27fe05e4829bba0 - ├─────── memory: 1024 MiB - ├────── service: small-water-tl8lr8am - ├─ private fqdn: httpserver-elixir116-qo9k3.internal - └─── private ip: 10.0.3.4 +[●] Deployed successfully! + │ + ├───────── name: httpserver-elixir116-qo9k3 + ├───────── uuid: e5fbf089-b000-4b2d-a827-44a1f5d28f24 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://small-water-tl8lr8am.fra.unikraft.app + ├──────── image: oci://unikraft.io//httpserver-elixir116@sha256:67f5df003758a1180932e931727f8cb7006bbbf6fdd84058e27fe05e4829bba0 + ├─────── memory: 1024 MiB + ├────── service: small-water-tl8lr8am + ├─ private fqdn: httpserver-elixir116-qo9k3.internal + └─── private ip: 10.0.3.4 ``` @@ -134,13 +134,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra httpserver-elixir116-qo9k3 running /httpserver-elixir116 1.0GiB 1 small-water-tl8lr8am.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra httpserver-elixir116-qo9k3 running /httpserver-elixir116 1.0GiB 1 small-water-tl8lr8am.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-elixir116-qo9k3 small-water-tl8lr8am.fra.unikraft.app running since 9mins oci://unikraft.io//httpserver-elixir116@sha256:... 1.0 GiB 1 437.43 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +httpserver-elixir116-qo9k3 small-water-tl8lr8am.fra.unikraft.app running since 9mins oci://unikraft.io//httpserver-elixir116@sha256:... 1.0 GiB 1 437.43 ms ``` diff --git a/pages/guides/httpserver-erlang26.2.mdx b/pages/guides/httpserver-erlang26.2.mdx index c2c3637f..1f61021d 100644 --- a/pages/guides/httpserver-erlang26.2.mdx +++ b/pages/guides/httpserver-erlang26.2.mdx @@ -23,10 +23,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-erlang26.2/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-erlang26.2/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/httpserver-erlang26.2/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -66,40 +66,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: httpserver-erlang262-sw2bp -uuid: 1c4a8a51-fb61-45fc-87b8-26d192a7c2bc -state: starting -image: /httpserver-erlang262 -resources: - memory: 512MiB - vcpus: 1 -service: - uuid: c7a6b443-c424-8a96-ce90-e833841b6eca - name: patient-field-ck629j2u - domains: - - fqdn: patient-field-ck629j2u.fra.unikraft.app -networks: -- uuid: 6d767165-9196-e27d-bb12-5eb5a9188654 - private-ip: 10.0.3.3 - mac: 12:b0:05:ce:23:30 -timestamps: - created: just now +metro: fra +name: httpserver-erlang262-sw2bp +uuid: 1c4a8a51-fb61-45fc-87b8-26d192a7c2bc +state: starting +image: /httpserver-erlang262 +resources: + memory: 512MiB + vcpus: 1 +service: + uuid: c7a6b443-c424-8a96-ce90-e833841b6eca + name: patient-field-ck629j2u + domains: + - fqdn: patient-field-ck629j2u.fra.unikraft.app +networks: +- uuid: 6d767165-9196-e27d-bb12-5eb5a9188654 + private-ip: 10.0.3.3 + mac: 12:b0:05:ce:23:30 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: httpserver-erlang262-sw2bp - ├───────── uuid: 1c4a8a51-fb61-45fc-87b8-26d192a7c2bc - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://patient-field-ck629j2u.fra.unikraft.app - ├──────── image: oci://unikraft.io//httpserver-erlang262@sha256:d99feefa7973ba43f726356497f54c34a16421aa25a27fa547d2c1add418204e - ├─────── memory: 512 MiB - ├────── service: patient-field-ck629j2u - ├─ private fqdn: httpserver-erlang262-sw2bp.internal - └─── private ip: 10.0.3.3 +[●] Deployed successfully! + │ + ├───────── name: httpserver-erlang262-sw2bp + ├───────── uuid: 1c4a8a51-fb61-45fc-87b8-26d192a7c2bc + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://patient-field-ck629j2u.fra.unikraft.app + ├──────── image: oci://unikraft.io//httpserver-erlang262@sha256:d99feefa7973ba43f726356497f54c34a16421aa25a27fa547d2c1add418204e + ├─────── memory: 512 MiB + ├────── service: patient-field-ck629j2u + ├─ private fqdn: httpserver-erlang262-sw2bp.internal + └─── private ip: 10.0.3.3 ``` @@ -134,13 +134,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra httpserver-erlang262-sw2bp running /httpserver-erlang262 512MiB 1 patient-field-ck629j2u.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra httpserver-erlang262-sw2bp running /httpserver-erlang262 512MiB 1 patient-field-ck629j2u.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-erlang262-sw2bp patient-field-ck629j2u.fra.unikraft.app running since 35secs oci://unikraft.io//httpserver-erlang262@sha256:... 512 MiB 1 404.04 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +httpserver-erlang262-sw2bp patient-field-ck629j2u.fra.unikraft.app running since 35secs oci://unikraft.io//httpserver-erlang262@sha256:... 512 MiB 1 404.04 ms ``` diff --git a/pages/guides/httpserver-expressjs4.18-node21.mdx b/pages/guides/httpserver-expressjs4.18-node21.mdx index 7d5aa3db..4af589de 100644 --- a/pages/guides/httpserver-expressjs4.18-node21.mdx +++ b/pages/guides/httpserver-expressjs4.18-node21.mdx @@ -24,10 +24,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-expressjs4.18-node21` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-expressjs4.18-node21/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/httpserver-expressjs4.18-node21/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -67,40 +67,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: httpserver-expressjs418-node21-lb3p2 -uuid: a1b2c3d4-e5f6-7890-abcd-ef1234567890 -state: starting -image: /httpserver-expressjs418-node21 -resources: - memory: 512MiB - vcpus: 1 -service: - uuid: aa081882-8173-7ea1-4136-aeee1d7d2316 - name: calm-ocean-r9x4mk7v - domains: - - fqdn: calm-ocean-r9x4mk7v.fra.unikraft.app -networks: -- uuid: 98ee012f-7acb-82f2-ddcb-7866393890a6 - private-ip: 10.0.3.4 - mac: 12:b0:97:42:f6:d9 -timestamps: - created: just now +metro: fra +name: httpserver-expressjs418-node21-lb3p2 +uuid: a1b2c3d4-e5f6-7890-abcd-ef1234567890 +state: starting +image: /httpserver-expressjs418-node21 +resources: + memory: 512MiB + vcpus: 1 +service: + uuid: aa081882-8173-7ea1-4136-aeee1d7d2316 + name: calm-ocean-r9x4mk7v + domains: + - fqdn: calm-ocean-r9x4mk7v.fra.unikraft.app +networks: +- uuid: 98ee012f-7acb-82f2-ddcb-7866393890a6 + private-ip: 10.0.3.4 + mac: 12:b0:97:42:f6:d9 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: httpserver-expressjs418-node21-lb3p2 - ├───────── uuid: a1b2c3d4-e5f6-7890-abcd-ef1234567890 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://calm-ocean-r9x4mk7v.fra.unikraft.app - ├──────── image: oci://unikraft.io//httpserver-expressjs418-node21@sha256:2e7d3f1a9c4b8e05d6f2a3b7c1e4d8f0a2b5c9e3d7f1a4b8 - ├─────── memory: 512 MiB - ├────── service: calm-ocean-r9x4mk7v - ├─ private fqdn: httpserver-expressjs418-node21-lb3p2.internal - └─── private ip: 10.0.3.4 +[●] Deployed successfully! + │ + ├───────── name: httpserver-expressjs418-node21-lb3p2 + ├───────── uuid: a1b2c3d4-e5f6-7890-abcd-ef1234567890 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://calm-ocean-r9x4mk7v.fra.unikraft.app + ├──────── image: oci://unikraft.io//httpserver-expressjs418-node21@sha256:2e7d3f1a9c4b8e05d6f2a3b7c1e4d8f0a2b5c9e3d7f1a4b8 + ├─────── memory: 512 MiB + ├────── service: calm-ocean-r9x4mk7v + ├─ private fqdn: httpserver-expressjs418-node21-lb3p2.internal + └─── private ip: 10.0.3.4 ``` @@ -135,13 +135,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra httpserver-expressjs418-node21-lb3p2 running /httpserver-expressjs418-node21 512MiB 1 calm-ocean-r9x4mk7v.fra... 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra httpserver-expressjs418-node21-lb3p2 running /httpserver-expressjs418-node21 512MiB 1 calm-ocean-r9x4mk7v.fra... 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-expressjs418-node21-lb3p2 calm-ocean-r9x4mk7v.fra... running since 3mins oci://unikraft.io//httpserver-expressjs418-node21@sha256:... 512 MiB 1 312.45 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +httpserver-expressjs418-node21-lb3p2 calm-ocean-r9x4mk7v.fra... running since 3mins oci://unikraft.io//httpserver-expressjs418-node21@sha256:... 512 MiB 1 312.45 ms ``` diff --git a/pages/guides/httpserver-flask-redis.mdx b/pages/guides/httpserver-flask-redis.mdx index 3e08575f..2ab99a24 100644 --- a/pages/guides/httpserver-flask-redis.mdx +++ b/pages/guides/httpserver-flask-redis.mdx @@ -25,10 +25,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-flask-redis` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-flask-redis/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/httpserver-flask-redis/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -71,41 +71,41 @@ The output shows the Redis instance details: ```ansi title="unikraft" -metro: fra -name: redis-09p2q -uuid: 0355f93a-7b60-4ade-9359-b01671e812b3 -state: starting -image: /redis -resources: - memory: 256MiB - vcpus: 1 -service: - uuid: 19c050b2-b5c9-4e8e-9d25-a9053ff09270 - name: damp-brook-xmmmwzwo - domains: - - fqdn: redis.internal -networks: -- uuid: 97df34f7-63bc-4f02-a1b4-5ba07278de00 - private-ip: 10.0.0.41 - mac: 12:b0:0a:00:00:29 -timestamps: - created: just now -scale-to-zero: policy=idle,stateful=true,cooldown-time=1s +metro: fra +name: redis-09p2q +uuid: 0355f93a-7b60-4ade-9359-b01671e812b3 +state: starting +image: /redis +resources: + memory: 256MiB + vcpus: 1 +service: + uuid: 19c050b2-b5c9-4e8e-9d25-a9053ff09270 + name: damp-brook-xmmmwzwo + domains: + - fqdn: redis.internal +networks: +- uuid: 97df34f7-63bc-4f02-a1b4-5ba07278de00 + private-ip: 10.0.0.41 + mac: 12:b0:0a:00:00:29 +timestamps: + created: just now +scale-to-zero: policy=idle,stateful=true,cooldown-time=1s ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: redis-o9abw - ├───────── uuid: 9dd4c7b5-7cc4-4b99-ac70-b10af54ef075 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: redis.internal - ├──────── image: oci://unikraft.io//redis@sha256:3e35bc6c8048269741a0c0b4b165a10112736c48dbf869c76bb263a237502462 - ├─────── memory: 256 MiB - ├────── service: sparkling-fire-rnd4o9kb - ├─ private fqdn: redis-o9abw.internal - └─── private ip: 10.0.0.41 +[●] Deployed successfully! + │ + ├───────── name: redis-o9abw + ├───────── uuid: 9dd4c7b5-7cc4-4b99-ac70-b10af54ef075 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: redis.internal + ├──────── image: oci://unikraft.io//redis@sha256:3e35bc6c8048269741a0c0b4b165a10112736c48dbf869c76bb263a237502462 + ├─────── memory: 256 MiB + ├────── service: sparkling-fire-rnd4o9kb + ├─ private fqdn: redis-o9abw.internal + └─── private ip: 10.0.0.41 ``` @@ -133,45 +133,45 @@ The output shows the Flask instance details: ```ansi title="unikraft" -metro: fra -name: flask-q62qa -uuid: d081ec92-629b-45b3-8caf-059e0a87dffd -state: starting -image: /flask -runtime: - env: +metro: fra +name: flask-q62qa +uuid: d081ec92-629b-45b3-8caf-059e0a87dffd +state: starting +image: /flask +runtime: + env: REDIS_HOST: redis.internal REDIS_PORT: 6379 -resources: - memory: 512MiB - vcpus: 1 -service: - uuid: ac1cd90e-a1fe-478c-8f58-8598fa80c494 - name: hidden-silence-htyml3s2 - domains: - - fqdn: hidden-silence-htyml3s2.fra.unikraft.app -networks: -- uuid: d2f3d024-3082-4e98-be22-f36df84263a1 - private-ip: 10.0.0.53 - mac: 12:b0:0a:00:00:35 -timestamps: - created: just now -scale-to-zero: policy=on,cooldown-time=1s +resources: + memory: 512MiB + vcpus: 1 +service: + uuid: ac1cd90e-a1fe-478c-8f58-8598fa80c494 + name: hidden-silence-htyml3s2 + domains: + - fqdn: hidden-silence-htyml3s2.fra.unikraft.app +networks: +- uuid: d2f3d024-3082-4e98-be22-f36df84263a1 + private-ip: 10.0.0.53 + mac: 12:b0:0a:00:00:35 +timestamps: + created: just now +scale-to-zero: policy=on,cooldown-time=1s ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: flask-a06h2 - ├───────── uuid: 431f67ed-1f18-4dc1-86db-68dac4edff51 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://withered-cherry-xfcrfp93.fra.unikraft.app - ├──────── image: oci://unikraft.io//flask@sha256:3d29ca3a8a3d434f41acf7c8093435836dcbacca9190c51ec39dbb4ddf1ee45a - ├─────── memory: 512 MiB - ├────── service: withered-cherry-xfcrfp93 - ├─ private fqdn: flask-a06h2.internal - └─── private ip: 10.0.0.53 +[●] Deployed successfully! + │ + ├───────── name: flask-a06h2 + ├───────── uuid: 431f67ed-1f18-4dc1-86db-68dac4edff51 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://withered-cherry-xfcrfp93.fra.unikraft.app + ├──────── image: oci://unikraft.io//flask@sha256:3d29ca3a8a3d434f41acf7c8093435836dcbacca9190c51ec39dbb4ddf1ee45a + ├─────── memory: 512 MiB + ├────── service: withered-cherry-xfcrfp93 + ├─ private fqdn: flask-a06h2.internal + └─── private ip: 10.0.0.53 ``` diff --git a/pages/guides/httpserver-gcc13.2.mdx b/pages/guides/httpserver-gcc13.2.mdx index 7addcf13..4d81bc2b 100644 --- a/pages/guides/httpserver-gcc13.2.mdx +++ b/pages/guides/httpserver-gcc13.2.mdx @@ -23,10 +23,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-gcc13.2` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-gcc13.2/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/httpserver-gcc13.2/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -66,40 +66,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: httpserver-gcc132-is2s9 -uuid: bec814ce-6ed5-4858-b247-e7f0b17750f5 -state: starting -image: /httpserver-gcc132 -resources: - memory: 256MiB - vcpus: 1 -service: - uuid: c36a4df6-b78d-677e-ea24-3e7a519a4130 - name: still-resonance-bja3lste - domains: - - fqdn: still-resonance-bja3lste.fra.unikraft.app -networks: -- uuid: 0f17e562-b57a-d40b-eecc-74e9058ecaaf - private-ip: 10.0.0.49 - mac: 12:b0:10:70:49:2f -timestamps: - created: just now +metro: fra +name: httpserver-gcc132-is2s9 +uuid: bec814ce-6ed5-4858-b247-e7f0b17750f5 +state: starting +image: /httpserver-gcc132 +resources: + memory: 256MiB + vcpus: 1 +service: + uuid: c36a4df6-b78d-677e-ea24-3e7a519a4130 + name: still-resonance-bja3lste + domains: + - fqdn: still-resonance-bja3lste.fra.unikraft.app +networks: +- uuid: 0f17e562-b57a-d40b-eecc-74e9058ecaaf + private-ip: 10.0.0.49 + mac: 12:b0:10:70:49:2f +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: httpserver-gcc132-is2s9 - ├───────── uuid: bec814ce-6ed5-4858-b247-e7f0b17750f5 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://still-resonance-bja3lste.fra.unikraft.app - ├──────── image: oci://unikraft.io//httpserver-gcc132@sha256:375677bf052f14c18ca79c86d2f47a68f3ea5f8636bcd8830753a254f0e06c1b - ├─────── memory: 256 MiB - ├────── service: still-resonance-bja3lste - ├─ private fqdn: httpserver-gcc132-is2s9.internal - └─── private ip: 10.0.0.49 +[●] Deployed successfully! + │ + ├───────── name: httpserver-gcc132-is2s9 + ├───────── uuid: bec814ce-6ed5-4858-b247-e7f0b17750f5 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://still-resonance-bja3lste.fra.unikraft.app + ├──────── image: oci://unikraft.io//httpserver-gcc132@sha256:375677bf052f14c18ca79c86d2f47a68f3ea5f8636bcd8830753a254f0e06c1b + ├─────── memory: 256 MiB + ├────── service: still-resonance-bja3lste + ├─ private fqdn: httpserver-gcc132-is2s9.internal + └─── private ip: 10.0.0.49 ``` @@ -134,13 +134,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra httpserver-gcc132-is2s9 standby /httpserver-gcc132 256MiB 1 still-resonance-bja3lste.fra.unikraft… 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra httpserver-gcc132-is2s9 standby /httpserver-gcc132 256MiB 1 still-resonance-bja3lste.fra.unikraft… 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-gcc132-is2s9 still-resonance-bja3lste.fra.unikraft.app standby standby oci://unikraft.io//httpserver-gcc132@sha256:... 256 MiB 1 12.91 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +httpserver-gcc132-is2s9 still-resonance-bja3lste.fra.unikraft.app standby standby oci://unikraft.io//httpserver-gcc132@sha256:... 256 MiB 1 12.91 ms ``` diff --git a/pages/guides/httpserver-go1.21.mdx b/pages/guides/httpserver-go1.21.mdx index 8ec4f80a..126540b4 100644 --- a/pages/guides/httpserver-go1.21.mdx +++ b/pages/guides/httpserver-go1.21.mdx @@ -23,10 +23,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-go1.21/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-go1.21/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/httpserver-go1.21/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -66,40 +66,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: httpserver-go121-9a2wv -uuid: 8bb34040-9434-4a28-bd1e-c24ee532e2da -state: starting -image: /httpserver-go121 -resources: - memory: 256MiB - vcpus: 1 -service: - uuid: cc4ed399-32da-eb56-3671-b477108d1040 - name: red-dew-jtk6yxk1 - domains: - - fqdn: red-dew-jtk6yxk1.fra.unikraft.app -networks: -- uuid: 51f79dc1-e989-908d-894b-bdf0a87e7901 - private-ip: 10.0.3.3 - mac: 12:b0:57:91:bb:a5 -timestamps: - created: just now +metro: fra +name: httpserver-go121-9a2wv +uuid: 8bb34040-9434-4a28-bd1e-c24ee532e2da +state: starting +image: /httpserver-go121 +resources: + memory: 256MiB + vcpus: 1 +service: + uuid: cc4ed399-32da-eb56-3671-b477108d1040 + name: red-dew-jtk6yxk1 + domains: + - fqdn: red-dew-jtk6yxk1.fra.unikraft.app +networks: +- uuid: 51f79dc1-e989-908d-894b-bdf0a87e7901 + private-ip: 10.0.3.3 + mac: 12:b0:57:91:bb:a5 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: httpserver-go121-9a2wv - ├───────── uuid: 8bb34040-9434-4a28-bd1e-c24ee532e2da - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://red-dew-jtk6yxk1.fra.unikraft.app - ├──────── image: oci://unikraft.io//httpserver-go121@sha256:b16d61bb7898e764d8c11ab5a0b995e8c25a25b5ff89e161fc994ebf25a75680 - ├─────── memory: 256 MiB - ├────── service: red-dew-jtk6yxk1 - ├─ private fqdn: httpserver-go121-9a2wv.internal - └─── private ip: 10.0.3.3 +[●] Deployed successfully! + │ + ├───────── name: httpserver-go121-9a2wv + ├───────── uuid: 8bb34040-9434-4a28-bd1e-c24ee532e2da + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://red-dew-jtk6yxk1.fra.unikraft.app + ├──────── image: oci://unikraft.io//httpserver-go121@sha256:b16d61bb7898e764d8c11ab5a0b995e8c25a25b5ff89e161fc994ebf25a75680 + ├─────── memory: 256 MiB + ├────── service: red-dew-jtk6yxk1 + ├─ private fqdn: httpserver-go121-9a2wv.internal + └─── private ip: 10.0.3.3 ``` @@ -134,13 +134,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra httpserver-go121-9a2wv running /httpserver-go121 256MiB 1 red-dew-jtk6yxk1.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra httpserver-go121-9a2wv running /httpserver-go121 256MiB 1 red-dew-jtk6yxk1.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-go121-9a2wv red-dew-jtk6yxk1.fra.unikraft.app running 1 minute ago oci://unikraft.io//httpserver-go121@sha256:... 256 MiB 1 9.32 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +httpserver-go121-9a2wv red-dew-jtk6yxk1.fra.unikraft.app running 1 minute ago oci://unikraft.io//httpserver-go121@sha256:... 256 MiB 1 9.32 ms ``` diff --git a/pages/guides/httpserver-go1.22-redis.mdx b/pages/guides/httpserver-go1.22-redis.mdx index 08fb2883..0ad707e8 100644 --- a/pages/guides/httpserver-go1.22-redis.mdx +++ b/pages/guides/httpserver-go1.22-redis.mdx @@ -23,10 +23,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-go1.22-redis` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-go1.22-redis/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/httpserver-go1.22-redis/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -46,7 +46,7 @@ export UKC_METRO=fra -## Deploy Redis +## Redis First, deploy the Redis instance. Redis is an internal service (not publicly accessible), reached via the `go122-redis.internal` domain. @@ -72,50 +72,50 @@ The output shows the Redis instance details: ```ansi title="unikraft" -metro: fra -name: httpserver-go-122-redis-db-2xc9u -uuid: 8abe24f6-5670-4e9b-8955-8ec10f3bad21 -state: starting -image: /httpserver-go-122-redis-db -resources: - memory: 256MiB - vcpus: 1 -service: - name: late-sound-rhboe98o - uuid: 01953c15-8a2e-4c1a-ac24-98a9417c5aa2 - domains: - - fqdn: go122-redis.internal -networks: -- uuid: e76ae319-d210-4566-ad75-baed32fc3d2b - private-ip: 10.0.0.85 - mac: 12:b0:0a:00:00:55 -timestamps: - created: just now -scale-to-zero: - enabled: true - policy: idle - stateful: true - cooldown-time: 1s +metro: fra +name: httpserver-go-122-redis-db-2xc9u +uuid: 8abe24f6-5670-4e9b-8955-8ec10f3bad21 +state: starting +image: /httpserver-go-122-redis-db +resources: + memory: 256MiB + vcpus: 1 +service: + name: late-sound-rhboe98o + uuid: 01953c15-8a2e-4c1a-ac24-98a9417c5aa2 + domains: + - fqdn: go122-redis.internal +networks: +- uuid: e76ae319-d210-4566-ad75-baed32fc3d2b + private-ip: 10.0.0.85 + mac: 12:b0:0a:00:00:55 +timestamps: + created: just now +scale-to-zero: + enabled: true + policy: idle + stateful: true + cooldown-time: 1s ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: httpserver-go-122-redis-db-2xc9u - ├───────── uuid: 8abe24f6-5670-4e9b-8955-8ec10f3bad21 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: go122-redis.internal - ├──────── image: oci://unikraft.io//httpserver-go-122-redis-db@sha256:0b007ec2f56194da3a468aa93f4a2b8f267b1726ef3780355fbadb228fdf5c23 - ├─────── memory: 256 MiB - ├────── service: late-sound-rhboe98o - ├─ private fqdn: httpserver-go-122-redis-db-2xc9u.internal - └─── private ip: 10.0.0.85 +[●] Deployed successfully! + │ + ├───────── name: httpserver-go-122-redis-db-2xc9u + ├───────── uuid: 8abe24f6-5670-4e9b-8955-8ec10f3bad21 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: go122-redis.internal + ├──────── image: oci://unikraft.io//httpserver-go-122-redis-db@sha256:0b007ec2f56194da3a468aa93f4a2b8f267b1726ef3780355fbadb228fdf5c23 + ├─────── memory: 256 MiB + ├────── service: late-sound-rhboe98o + ├─ private fqdn: httpserver-go-122-redis-db-2xc9u.internal + └─── private ip: 10.0.0.85 ``` -## Deploy Go HTTP Server +## Go HTTP Server Next, deploy the Go HTTP server. It connects to Redis using the `REDIS_ADDR` and `REDIS_PASS` environment variables: @@ -138,48 +138,48 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: httpserver-go-122-redis-app-bnnnc -uuid: 82093bcf-fc4c-471c-89c8-4d0b7810e280 -state: starting -image: /httpserver-go-122-redis-app -runtime: - env: +metro: fra +name: httpserver-go-122-redis-app-bnnnc +uuid: 82093bcf-fc4c-471c-89c8-4d0b7810e280 +state: starting +image: /httpserver-go-122-redis-app +runtime: + env: REDIS_ADDR: go122-redis.internal:6379 REDIS_PASS: unikraft -resources: - memory: 256MiB - vcpus: 1 -service: - name: frosty-cherry-32qs6na2 - uuid: bcb9a2af-cfce-4731-9844-5a368696ee7d - domains: - - fqdn: frosty-cherry-32qs6na2.fra.unikraft.app -networks: -- uuid: f9030f74-4e85-445b-a57e-36ec76137c88 - private-ip: 10.0.0.173 - mac: 12:b0:0a:00:00:ad -timestamps: - created: just now -scale-to-zero: - enabled: true - policy: on - cooldown-time: 1s +resources: + memory: 256MiB + vcpus: 1 +service: + name: frosty-cherry-32qs6na2 + uuid: bcb9a2af-cfce-4731-9844-5a368696ee7d + domains: + - fqdn: frosty-cherry-32qs6na2.fra.unikraft.app +networks: +- uuid: f9030f74-4e85-445b-a57e-36ec76137c88 + private-ip: 10.0.0.173 + mac: 12:b0:0a:00:00:ad +timestamps: + created: just now +scale-to-zero: + enabled: true + policy: on + cooldown-time: 1s ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: httpserver-go-122-redis-app-bnnnc - ├───────── uuid: 82093bcf-fc4c-471c-89c8-4d0b7810e280 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://frosty-cherry-32qs6na2.fra.unikraft.app - ├──────── image: oci://unikraft.io//httpserver-go-122-redis-app@sha256:b923ac1ea60f83bdc61564aff95b11bac8a9e084f62532d0e882484d26e99da9 - ├─────── memory: 256 MiB - ├────── service: frosty-cherry-32qs6na2 - ├─ private fqdn: httpserver-go-122-redis-app-bnnnc.internal - └─── private ip: 10.0.0.173 +[●] Deployed successfully! + │ + ├───────── name: httpserver-go-122-redis-app-bnnnc + ├───────── uuid: 82093bcf-fc4c-471c-89c8-4d0b7810e280 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://frosty-cherry-32qs6na2.fra.unikraft.app + ├──────── image: oci://unikraft.io//httpserver-go-122-redis-app@sha256:b923ac1ea60f83bdc61564aff95b11bac8a9e084f62532d0e882484d26e99da9 + ├─────── memory: 256 MiB + ├────── service: frosty-cherry-32qs6na2 + ├─ private fqdn: httpserver-go-122-redis-app-bnnnc.internal + └─── private ip: 10.0.0.173 ``` @@ -224,15 +224,15 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra httpserver-go-122-redis-app-bnnnc standby /httpserver-go-122-redis-app 256MiB 1 frosty-cherry-32qs6na2.fra.unikraft.app 4 minutes ago -fra httpserver-go-122-redis-db-2xc9u standby /httpserver-go-122-redis-db 256MiB 1 go122-redis.internal 5 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra httpserver-go-122-redis-app-bnnnc standby /httpserver-go-122-redis-app 256MiB 1 frosty-cherry-32qs6na2.fra.unikraft.app 4 minutes ago +fra httpserver-go-122-redis-db-2xc9u standby /httpserver-go-122-redis-db 256MiB 1 go122-redis.internal 5 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-go-122-redis-app-bnnnc frosty-cherry-32qs6na2.fra.unikraft.app running since 3secs oci://unikraft.io//httpserver-go-122-redis-a... 256 MiB 1 968.01 ms -httpserver-go-122-redis-db-2xc9u go122-redis.internal running since 35secs oci://unikraft.io//httpserver-go-122-redis-... 256 MiB 1 1707.20 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +httpserver-go-122-redis-app-bnnnc frosty-cherry-32qs6na2.fra.unikraft.app running since 3secs oci://unikraft.io//httpserver-go-122-redis-a... 256 MiB 1 968.01 ms +httpserver-go-122-redis-db-2xc9u go122-redis.internal running since 35secs oci://unikraft.io//httpserver-go-122-redis-... 256 MiB 1 1707.20 ms ``` @@ -248,8 +248,7 @@ unikraft instances delete httpserver-go-122-redis-db-2xc9u httpserver-go-122-red ``` ```bash title="kraft" -kraft cloud instance remove httpserver-go-122-redis-db-2xc9u -kraft cloud instance remove httpserver-go-122-redis-app-bnnnc +kraft cloud instance remove httpserver-go-122-redis-db-2xc9u httpserver-go-122-redis-app-bnnnc ``` diff --git a/pages/guides/httpserver-gpp13.2.mdx b/pages/guides/httpserver-gpp13.2.mdx index 400a1f1d..3821d82d 100644 --- a/pages/guides/httpserver-gpp13.2.mdx +++ b/pages/guides/httpserver-gpp13.2.mdx @@ -23,10 +23,10 @@ To run this example, follow these steps: 2. Clone the [example repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-gpp13.2/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-gpp13.2/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/httpserver-gpp13.2/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -66,40 +66,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: httpserver-gpp132-jzbuo -uuid: b8e015fd-d006-49d5-849e-3fd497c9159a -state: starting -image: /httpserver-gpp132 -resources: - memory: 256MiB - vcpus: 1 -service: - uuid: fd89859a-cf60-fa1f-1d43-0989a7c18b10 - name: throbbing-wave-grxjih4t - domains: - - fqdn: throbbing-wave-grxjih4t.fra.unikraft.app -networks: -- uuid: 636ebc7e-bf82-d71d-5432-5445084a4308 - private-ip: 10.0.6.5 - mac: 12:b0:0f:20:02:9d -timestamps: - created: just now +metro: fra +name: httpserver-gpp132-jzbuo +uuid: b8e015fd-d006-49d5-849e-3fd497c9159a +state: starting +image: /httpserver-gpp132 +resources: + memory: 256MiB + vcpus: 1 +service: + uuid: fd89859a-cf60-fa1f-1d43-0989a7c18b10 + name: throbbing-wave-grxjih4t + domains: + - fqdn: throbbing-wave-grxjih4t.fra.unikraft.app +networks: +- uuid: 636ebc7e-bf82-d71d-5432-5445084a4308 + private-ip: 10.0.6.5 + mac: 12:b0:0f:20:02:9d +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: httpserver-gpp132-jzbuo - ├───────── uuid: b8e015fd-d006-49d5-849e-3fd497c9159a - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://throbbing-wave-grxjih4t.fra.unikraft.app - ├──────── image: oci://unikraft.io//httpserver-gpp132@sha256:a58873987104b52c13b79168a2e2f1a81876ba6efacd6dbc98e996afe5c09699 - ├─────── memory: 256 MiB - ├────── service: throbbing-wave-grxjih4t - ├─ private fqdn: httpserver-gpp132-jzbuo.internal - └─── private ip: 10.0.6.5 +[●] Deployed successfully! + │ + ├───────── name: httpserver-gpp132-jzbuo + ├───────── uuid: b8e015fd-d006-49d5-849e-3fd497c9159a + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://throbbing-wave-grxjih4t.fra.unikraft.app + ├──────── image: oci://unikraft.io//httpserver-gpp132@sha256:a58873987104b52c13b79168a2e2f1a81876ba6efacd6dbc98e996afe5c09699 + ├─────── memory: 256 MiB + ├────── service: throbbing-wave-grxjih4t + ├─ private fqdn: httpserver-gpp132-jzbuo.internal + └─── private ip: 10.0.6.5 ``` @@ -134,13 +134,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra httpserver-gpp132-jzbuo running /httpserver-gpp132 256MiB 1 throbbing-wave-grxjih4t.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra httpserver-gpp132-jzbuo running /httpserver-gpp132 256MiB 1 throbbing-wave-grxjih4t.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-gpp132-jzbuo throbbing-wave-grxjih4t.fra.unikraft.app running 1 minute ago oci://unikraft.io//httpserver-gpp132@sha256:... 256 MiB 1 15.61 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +httpserver-gpp132-jzbuo throbbing-wave-grxjih4t.fra.unikraft.app running 1 minute ago oci://unikraft.io//httpserver-gpp132@sha256:... 256 MiB 1 15.61 ms ``` diff --git a/pages/guides/httpserver-java17-spring-petclinic.mdx b/pages/guides/httpserver-java17-spring-petclinic.mdx index 68effa6a..24e5dbec 100644 --- a/pages/guides/httpserver-java17-spring-petclinic.mdx +++ b/pages/guides/httpserver-java17-spring-petclinic.mdx @@ -24,10 +24,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-java17-spring-petclinic/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-java17-spring-petclinic/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/httpserver-java17-spring-petclinic/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -67,40 +67,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: httpserver-java17-spring-petclinic-r4s3x -uuid: 5a3b7e2c-1f4d-4a8e-b6c9-2d3f8a1e7b4c -state: starting -image: /httpserver-java17-spring-petclinic -resources: - memory: 1024MiB - vcpus: 1 -service: - uuid: f4c2b1a0-3e5d-8b7a-9c6d-1e2f3a4b5c6d - name: bitter-dust-a7b2c3d4 - domains: - - fqdn: bitter-dust-a7b2c3d4.fra.unikraft.app -networks: -- uuid: 7d6e5f4a-3b2c-1d0e-9f8a-7b6c5d4e3f2a - private-ip: 10.0.4.2 - mac: 12:b0:4a:1c:8f:73 -timestamps: - created: just now +metro: fra +name: httpserver-java17-spring-petclinic-r4s3x +uuid: 5a3b7e2c-1f4d-4a8e-b6c9-2d3f8a1e7b4c +state: starting +image: /httpserver-java17-spring-petclinic +resources: + memory: 1024MiB + vcpus: 1 +service: + uuid: f4c2b1a0-3e5d-8b7a-9c6d-1e2f3a4b5c6d + name: bitter-dust-a7b2c3d4 + domains: + - fqdn: bitter-dust-a7b2c3d4.fra.unikraft.app +networks: +- uuid: 7d6e5f4a-3b2c-1d0e-9f8a-7b6c5d4e3f2a + private-ip: 10.0.4.2 + mac: 12:b0:4a:1c:8f:73 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: httpserver-java17-spring-petclinic-r4s3x - ├───────── uuid: 5a3b7e2c-1f4d-4a8e-b6c9-2d3f8a1e7b4c - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://bitter-dust-a7b2c3d4.fra.unikraft.app - ├──────── image: oci://unikraft.io//httpserver-java17-spring-petclinic@sha256:3e9d1f8a7b2c4e5f6a3b8c2d1e4f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f - ├─────── memory: 1024 MiB - ├────── service: bitter-dust-a7b2c3d4 - ├─ private fqdn: httpserver-java17-spring-petclinic-r4s3x.internal - └─── private ip: 10.0.4.2 +[●] Deployed successfully! + │ + ├───────── name: httpserver-java17-spring-petclinic-r4s3x + ├───────── uuid: 5a3b7e2c-1f4d-4a8e-b6c9-2d3f8a1e7b4c + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://bitter-dust-a7b2c3d4.fra.unikraft.app + ├──────── image: oci://unikraft.io//httpserver-java17-spring-petclinic@sha256:3e9d1f8a7b2c4e5f6a3b8c2d1e4f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f + ├─────── memory: 1024 MiB + ├────── service: bitter-dust-a7b2c3d4 + ├─ private fqdn: httpserver-java17-spring-petclinic-r4s3x.internal + └─── private ip: 10.0.4.2 ``` @@ -127,13 +127,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra httpserver-java17-spring-petclinic-r4s3x running /httpserver-java17-spring-petclinic 1024MiB 1 bitter-dust-a7b2c3d4.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra httpserver-java17-spring-petclinic-r4s3x running /httpserver-java17-spring-petclinic 1024MiB 1 bitter-dust-a7b2c3d4.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-java17-spring-petclinic-r4s3x bitter-dust-a7b2c3d4.fra.unikraft.app running 1 minute ago oci://unikraft.io//httpserver-java17-spring-petclinic@sha256:... 1.0 GiB 1 521.43 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +httpserver-java17-spring-petclinic-r4s3x bitter-dust-a7b2c3d4.fra.unikraft.app running 1 minute ago oci://unikraft.io//httpserver-java17-spring-petclinic@sha256:... 1.0 GiB 1 521.43 ms ``` diff --git a/pages/guides/httpserver-java17-springboot3.5.x.mdx b/pages/guides/httpserver-java17-springboot3.5.x.mdx index b118c107..62d47d3a 100644 --- a/pages/guides/httpserver-java17-springboot3.5.x.mdx +++ b/pages/guides/httpserver-java17-springboot3.5.x.mdx @@ -23,10 +23,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-java17-springboot3.5.x/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-java17-springboot3.5.x/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/httpserver-java17-springboot3.5.x/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -66,40 +66,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: httpserver-java17-springboot35x-qseeo -uuid: b081166d-a2a0-43af-982d-1aa17f06b5c4 -state: starting -image: /httpserver-java17-springboot35x -resources: - memory: 1024MiB - vcpus: 1 -service: - uuid: 04f5b3ce-0aae-a50a-9d58-e6fa618b2cdc - name: long-dust-si7xsngk - domains: - - fqdn: long-dust-si7xsngk.fra.unikraft.app -networks: -- uuid: 4bde3abf-faf8-3a14-ceb9-bc05e646dfac - private-ip: 10.0.6.2 - mac: 12:b0:eb:ad:60:a2 -timestamps: - created: just now +metro: fra +name: httpserver-java17-springboot35x-qseeo +uuid: b081166d-a2a0-43af-982d-1aa17f06b5c4 +state: starting +image: /httpserver-java17-springboot35x +resources: + memory: 1024MiB + vcpus: 1 +service: + uuid: 04f5b3ce-0aae-a50a-9d58-e6fa618b2cdc + name: long-dust-si7xsngk + domains: + - fqdn: long-dust-si7xsngk.fra.unikraft.app +networks: +- uuid: 4bde3abf-faf8-3a14-ceb9-bc05e646dfac + private-ip: 10.0.6.2 + mac: 12:b0:eb:ad:60:a2 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: httpserver-java17-springboot35x-qseeo - ├───────── uuid: b081166d-a2a0-43af-982d-1aa17f06b5c4 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://long-dust-si7xsngk.fra.unikraft.app - ├──────── image: oci://unikraft.io//httpserver-java17-springboot35x@sha256:cc2f2ad18ce8e36b8e8f4debee096fef7b0bb8b47762575a2ba5a9de8199c64a - ├─────── memory: 1024 MiB - ├────── service: long-dust-si7xsngk - ├─ private fqdn: httpserver-java17-springboot35x-qseeo.internal - └─── private ip: 10.0.6.2 +[●] Deployed successfully! + │ + ├───────── name: httpserver-java17-springboot35x-qseeo + ├───────── uuid: b081166d-a2a0-43af-982d-1aa17f06b5c4 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://long-dust-si7xsngk.fra.unikraft.app + ├──────── image: oci://unikraft.io//httpserver-java17-springboot35x@sha256:cc2f2ad18ce8e36b8e8f4debee096fef7b0bb8b47762575a2ba5a9de8199c64a + ├─────── memory: 1024 MiB + ├────── service: long-dust-si7xsngk + ├─ private fqdn: httpserver-java17-springboot35x-qseeo.internal + └─── private ip: 10.0.6.2 ``` @@ -182,13 +182,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra httpserver-java17-springboot35x-qseeo running /httpserver-java17-springboot35x 1024MiB 1 long-dust-si7xsngk.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra httpserver-java17-springboot35x-qseeo running /httpserver-java17-springboot35x 1024MiB 1 long-dust-si7xsngk.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-java17-springboot35x-qseeo long-dust-si7xsngk.fra.unikraft.app running 1 minute ago oci://unikraft.io//httpserver-java17-springboot35x@sha256:... 1.0 GiB 1 421.30 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +httpserver-java17-springboot35x-qseeo long-dust-si7xsngk.fra.unikraft.app running 1 minute ago oci://unikraft.io//httpserver-java17-springboot35x@sha256:... 1.0 GiB 1 421.30 ms ``` diff --git a/pages/guides/httpserver-java21.mdx b/pages/guides/httpserver-java21.mdx index 99ddf0e5..906a7d1b 100644 --- a/pages/guides/httpserver-java21.mdx +++ b/pages/guides/httpserver-java21.mdx @@ -24,10 +24,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-java21` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-java21/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/httpserver-java21/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -67,40 +67,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: httpserver-java21-5xw9m -uuid: b2c3d4e5-f6a7-8901-bcde-f12345678901 -state: starting -image: /httpserver-java21 -resources: - memory: 1GiB - vcpus: 1 -service: - uuid: 9d96e042-1601-352b-10c7-4a8c7ececbcb - name: gentle-wind-b2x9pkqm - domains: - - fqdn: gentle-wind-b2x9pkqm.fra.unikraft.app -networks: -- uuid: 25185154-a4d5-0da1-e28f-3b3e42190b56 - private-ip: 10.0.3.5 - mac: 12:b0:29:0f:68:f3 -timestamps: - created: just now +metro: fra +name: httpserver-java21-5xw9m +uuid: b2c3d4e5-f6a7-8901-bcde-f12345678901 +state: starting +image: /httpserver-java21 +resources: + memory: 1GiB + vcpus: 1 +service: + uuid: 9d96e042-1601-352b-10c7-4a8c7ececbcb + name: gentle-wind-b2x9pkqm + domains: + - fqdn: gentle-wind-b2x9pkqm.fra.unikraft.app +networks: +- uuid: 25185154-a4d5-0da1-e28f-3b3e42190b56 + private-ip: 10.0.3.5 + mac: 12:b0:29:0f:68:f3 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: httpserver-java21-5xw9m - ├───────── uuid: b2c3d4e5-f6a7-8901-bcde-f12345678901 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://gentle-wind-b2x9pkqm.fra.unikraft.app - ├──────── image: oci://unikraft.io//httpserver-java21@sha256:4f8a2c6e1d9b3f7a5c0e2b4d8f6a1c3e7b9d2f4a6c8e0b2d4f6a8c0e2b4d6f - ├─────── memory: 1 GiB - ├────── service: gentle-wind-b2x9pkqm - ├─ private fqdn: httpserver-java21-5xw9m.internal - └─── private ip: 10.0.3.5 +[●] Deployed successfully! + │ + ├───────── name: httpserver-java21-5xw9m + ├───────── uuid: b2c3d4e5-f6a7-8901-bcde-f12345678901 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://gentle-wind-b2x9pkqm.fra.unikraft.app + ├──────── image: oci://unikraft.io//httpserver-java21@sha256:4f8a2c6e1d9b3f7a5c0e2b4d8f6a1c3e7b9d2f4a6c8e0b2d4f6a8c0e2b4d6f + ├─────── memory: 1 GiB + ├────── service: gentle-wind-b2x9pkqm + ├─ private fqdn: httpserver-java21-5xw9m.internal + └─── private ip: 10.0.3.5 ``` @@ -135,13 +135,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra httpserver-java21-5xw9m running /httpserver-java21 1GiB 1 gentle-wind-b2x9pkqm.fra.unik... 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra httpserver-java21-5xw9m running /httpserver-java21 1GiB 1 gentle-wind-b2x9pkqm.fra.unik... 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-java21-5xw9m gentle-wind-b2x9pkqm.fra.unik... running since 3mins oci://unikraft.io//httpserver-java21@sha256:... 1 GiB 1 421.30 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +httpserver-java21-5xw9m gentle-wind-b2x9pkqm.fra.unik... running since 3mins oci://unikraft.io//httpserver-java21@sha256:... 1 GiB 1 421.30 ms ``` diff --git a/pages/guides/httpserver-lua5.1.mdx b/pages/guides/httpserver-lua5.1.mdx index 5b80aaf7..2ebfbcbd 100644 --- a/pages/guides/httpserver-lua5.1.mdx +++ b/pages/guides/httpserver-lua5.1.mdx @@ -23,10 +23,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-lua5.1/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-lua5.1/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/httpserver-lua5.1/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -66,40 +66,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: httpserver-lua51-ma2i9 -uuid: e7389eee-9808-4152-b2ec-1f3c0541fd05 -state: starting -image: /httpserver-lua51 -resources: - memory: 256MiB - vcpus: 1 -service: - uuid: 51a41f63-7e88-c443-b9bf-83cd7c04d975 - name: young-night-5fpf0jj8 - domains: - - fqdn: young-night-5fpf0jj8.fra.unikraft.app -networks: -- uuid: afcc149e-cd07-a4b6-905a-6d498e251e14 - private-ip: 10.0.3.3 - mac: 12:b0:fe:e4:63:48 -timestamps: - created: just now +metro: fra +name: httpserver-lua51-ma2i9 +uuid: e7389eee-9808-4152-b2ec-1f3c0541fd05 +state: starting +image: /httpserver-lua51 +resources: + memory: 256MiB + vcpus: 1 +service: + uuid: 51a41f63-7e88-c443-b9bf-83cd7c04d975 + name: young-night-5fpf0jj8 + domains: + - fqdn: young-night-5fpf0jj8.fra.unikraft.app +networks: +- uuid: afcc149e-cd07-a4b6-905a-6d498e251e14 + private-ip: 10.0.3.3 + mac: 12:b0:fe:e4:63:48 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: httpserver-lua51-ma2i9 - ├───────── uuid: e7389eee-9808-4152-b2ec-1f3c0541fd05 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://young-night-5fpf0jj8.fra.unikraft.app - ├──────── image: oci://unikraft.io//httpserver-lua51@sha256:278cb8b14f9faf9c2702dddd8bfb6124912d82c11b4a2c6590b6e32fc4049472 - ├─────── memory: 256 MiB - ├────── service: young-night-5fpf0jj8 - ├─ private fqdn: httpserver-lua51-ma2i9.internal - └─── private ip: 10.0.3.3 +[●] Deployed successfully! + │ + ├───────── name: httpserver-lua51-ma2i9 + ├───────── uuid: e7389eee-9808-4152-b2ec-1f3c0541fd05 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://young-night-5fpf0jj8.fra.unikraft.app + ├──────── image: oci://unikraft.io//httpserver-lua51@sha256:278cb8b14f9faf9c2702dddd8bfb6124912d82c11b4a2c6590b6e32fc4049472 + ├─────── memory: 256 MiB + ├────── service: young-night-5fpf0jj8 + ├─ private fqdn: httpserver-lua51-ma2i9.internal + └─── private ip: 10.0.3.3 ``` @@ -134,13 +134,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra httpserver-lua51-ma2i9 running /httpserver-lua51 256MiB 1 young-night-5fpf0jj8.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra httpserver-lua51-ma2i9 running /httpserver-lua51 256MiB 1 young-night-5fpf0jj8.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-lua51-ma2i9 young-night-5fpf0jj8.fra.unikraft.app running 1 minute ago oci://unikraft.io//httpserver-lua51@sha256:... 256 MiB 1 15.09 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +httpserver-lua51-ma2i9 young-night-5fpf0jj8.fra.unikraft.app running 1 minute ago oci://unikraft.io//httpserver-lua51@sha256:... 256 MiB 1 15.09 ms ``` diff --git a/pages/guides/httpserver-nginx-vite-vanilla.mdx b/pages/guides/httpserver-nginx-vite-vanilla.mdx index ad0ab365..7e65792c 100644 --- a/pages/guides/httpserver-nginx-vite-vanilla.mdx +++ b/pages/guides/httpserver-nginx-vite-vanilla.mdx @@ -26,10 +26,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-nginx-vite-vanilla` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-nginx-vite-vanilla/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/httpserver-nginx-vite-vanilla/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -69,40 +69,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: httpserver-nginx-vite-vanilla-2rk6p -uuid: d4e5f6a7-b8c9-0123-defa-234567890123 -state: starting -image: /httpserver-nginx-vite-vanilla -resources: - memory: 256MiB - vcpus: 1 -service: - uuid: ed42569f-a592-20e1-f506-7cb1bc1c84d6 - name: swift-lake-m4n8vqzp - domains: - - fqdn: swift-lake-m4n8vqzp.fra.unikraft.app -networks: -- uuid: d05bbdcf-8a0f-b8fe-0d9f-976c4c973701 - private-ip: 10.0.3.7 - mac: 12:b0:1a:5c:59:a9 -timestamps: - created: just now +metro: fra +name: httpserver-nginx-vite-vanilla-2rk6p +uuid: d4e5f6a7-b8c9-0123-defa-234567890123 +state: starting +image: /httpserver-nginx-vite-vanilla +resources: + memory: 256MiB + vcpus: 1 +service: + uuid: ed42569f-a592-20e1-f506-7cb1bc1c84d6 + name: swift-lake-m4n8vqzp + domains: + - fqdn: swift-lake-m4n8vqzp.fra.unikraft.app +networks: +- uuid: d05bbdcf-8a0f-b8fe-0d9f-976c4c973701 + private-ip: 10.0.3.7 + mac: 12:b0:1a:5c:59:a9 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: httpserver-nginx-vite-vanilla-2rk6p - ├───────── uuid: d4e5f6a7-b8c9-0123-defa-234567890123 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://swift-lake-m4n8vqzp.fra.unikraft.app - ├──────── image: oci://unikraft.io//httpserver-nginx-vite-vanilla@sha256:9c5f2d8b4e7a1c3f6d9b2e5a8c1f4d7a0b3e6c9f2d5a8b1e4c7f0d3a6b9c2 - ├─────── memory: 256 MiB - ├────── service: swift-lake-m4n8vqzp - ├─ private fqdn: httpserver-nginx-vite-vanilla-2rk6p.internal - └─── private ip: 10.0.3.7 +[●] Deployed successfully! + │ + ├───────── name: httpserver-nginx-vite-vanilla-2rk6p + ├───────── uuid: d4e5f6a7-b8c9-0123-defa-234567890123 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://swift-lake-m4n8vqzp.fra.unikraft.app + ├──────── image: oci://unikraft.io//httpserver-nginx-vite-vanilla@sha256:9c5f2d8b4e7a1c3f6d9b2e5a8c1f4d7a0b3e6c9f2d5a8b1e4c7f0d3a6b9c2 + ├─────── memory: 256 MiB + ├────── service: swift-lake-m4n8vqzp + ├─ private fqdn: httpserver-nginx-vite-vanilla-2rk6p.internal + └─── private ip: 10.0.3.7 ``` @@ -147,13 +147,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra httpserver-nginx-vite-vanilla-2rk6p running /httpserver-nginx-vite-vanilla 256MiB 1 swift-lake-m4n8vqzp.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra httpserver-nginx-vite-vanilla-2rk6p running /httpserver-nginx-vite-vanilla 256MiB 1 swift-lake-m4n8vqzp.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-nginx-vite-vanilla-2rk6p swift-lake-m4n8vqzp.fra.unikraft.app running since 3mins oci://unikraft.io//httpserver-nginx-vite-vanilla@sha256:... 256 MiB 1 198.62 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +httpserver-nginx-vite-vanilla-2rk6p swift-lake-m4n8vqzp.fra.unikraft.app running since 3mins oci://unikraft.io//httpserver-nginx-vite-vanilla@sha256:... 256 MiB 1 198.62 ms ``` diff --git a/pages/guides/httpserver-node-express-puppeteer.mdx b/pages/guides/httpserver-node-express-puppeteer.mdx index 4cbb710d..2b5b1cb8 100644 --- a/pages/guides/httpserver-node-express-puppeteer.mdx +++ b/pages/guides/httpserver-node-express-puppeteer.mdx @@ -24,10 +24,10 @@ To run it, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-node-express-puppeteer/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-node-express-puppeteer/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/httpserver-node-express-puppeteer/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -75,40 +75,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: httpserver-node-express-puppeteer-7afg3 -uuid: 7bb479d7-5b3e-444f-b07c-eae4da6f57cc -state: starting -image: /httpserver-node-express-puppeteer -resources: - memory: 4096MiB - vcpus: 1 -service: - uuid: 996b9cc1-5a51-e707-d443-5c98ea86ded8 - name: little-snow-7qwu6vv5 - domains: - - fqdn: little-snow-7qwu6vv5.fra.unikraft.app -networks: -- uuid: 034fa25e-9154-7842-ccdd-289256cc7a17 - private-ip: 10.0.3.1 - mac: 12:b0:8f:3c:f5:16 -timestamps: - created: just now +metro: fra +name: httpserver-node-express-puppeteer-7afg3 +uuid: 7bb479d7-5b3e-444f-b07c-eae4da6f57cc +state: starting +image: /httpserver-node-express-puppeteer +resources: + memory: 4096MiB + vcpus: 1 +service: + uuid: 996b9cc1-5a51-e707-d443-5c98ea86ded8 + name: little-snow-7qwu6vv5 + domains: + - fqdn: little-snow-7qwu6vv5.fra.unikraft.app +networks: +- uuid: 034fa25e-9154-7842-ccdd-289256cc7a17 + private-ip: 10.0.3.1 + mac: 12:b0:8f:3c:f5:16 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: httpserver-node-express-puppeteer-7afg3 - ├───────── uuid: 7bb479d7-5b3e-444f-b07c-eae4da6f57cc - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://nameless-fog-0tvh1uov.fra.unikraft.app - ├──────── image: oci://unikraft.io//httpserver-node-express-puppeteer@sha256:78d0b180161c876f17d05116b93011ddcd44c76758d6fa0359f05938e67cea65 - ├─────── memory: 4096 MiB - ├────── service: little-snow-7qwu6vv5 - ├─ private fqdn: httpserver-node-express-puppeteer-7afg3.internal - └─── private ip: 10.0.3.1 +[●] Deployed successfully! + │ + ├───────── name: httpserver-node-express-puppeteer-7afg3 + ├───────── uuid: 7bb479d7-5b3e-444f-b07c-eae4da6f57cc + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://nameless-fog-0tvh1uov.fra.unikraft.app + ├──────── image: oci://unikraft.io//httpserver-node-express-puppeteer@sha256:78d0b180161c876f17d05116b93011ddcd44c76758d6fa0359f05938e67cea65 + ├─────── memory: 4096 MiB + ├────── service: little-snow-7qwu6vv5 + ├─ private fqdn: httpserver-node-express-puppeteer-7afg3.internal + └─── private ip: 10.0.3.1 ``` @@ -139,13 +139,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra httpserver-node-express-puppeteer-7afg3 running /httpserver-node-express-puppeteer 4096MiB 1 nameless-fog-0tvh1uov.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra httpserver-node-express-puppeteer-7afg3 running /httpserver-node-express-puppeteer 4096MiB 1 nameless-fog-0tvh1uov.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-node-express-puppeteer-7afg3 nameless-fog-0tvh1uov.fra.unikraft.app running since 6mins oci://unikraft.io//httpserver-node-express-puppeteer@s... 4.0 GiB 1 15.27 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +httpserver-node-express-puppeteer-7afg3 nameless-fog-0tvh1uov.fra.unikraft.app running since 6mins oci://unikraft.io//httpserver-node-express-puppeteer@s... 4.0 GiB 1 15.27 ms ``` diff --git a/pages/guides/httpserver-node-vite-ssr-vanilla.mdx b/pages/guides/httpserver-node-vite-ssr-vanilla.mdx index d7fd972b..9e5e933a 100644 --- a/pages/guides/httpserver-node-vite-ssr-vanilla.mdx +++ b/pages/guides/httpserver-node-vite-ssr-vanilla.mdx @@ -40,10 +40,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-node-vite-ssr-vanilla/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-node-vite-ssr-vanilla/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/httpserver-node-vite-ssr-vanilla/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -83,40 +83,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: httpserver-node-vite-ssr-vanilla-k8x2m -uuid: 1a2b3c4d-5e6f-7a8b-9c0d-a1b2c3d4e5f6 -state: starting -image: /httpserver-node-vite-ssr-vanilla -resources: - memory: 1024MiB - vcpus: 1 -service: - uuid: 2b3c4d5e-6f7a-8b9c-0d1e-b2c3d4e5f6a7 - name: warm-sky-qp3mn4rs - domains: - - fqdn: warm-sky-qp3mn4rs.fra.unikraft.app -networks: -- uuid: 3c4d5e6f-7a8b-9c0d-1e2f-c3d4e5f6a7b8 - private-ip: 10.0.3.4 - mac: 12:b0:5b:2d:9a:84 -timestamps: - created: just now +metro: fra +name: httpserver-node-vite-ssr-vanilla-k8x2m +uuid: 1a2b3c4d-5e6f-7a8b-9c0d-a1b2c3d4e5f6 +state: starting +image: /httpserver-node-vite-ssr-vanilla +resources: + memory: 1024MiB + vcpus: 1 +service: + uuid: 2b3c4d5e-6f7a-8b9c-0d1e-b2c3d4e5f6a7 + name: warm-sky-qp3mn4rs + domains: + - fqdn: warm-sky-qp3mn4rs.fra.unikraft.app +networks: +- uuid: 3c4d5e6f-7a8b-9c0d-1e2f-c3d4e5f6a7b8 + private-ip: 10.0.3.4 + mac: 12:b0:5b:2d:9a:84 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: httpserver-node-vite-ssr-vanilla-k8x2m - ├───────── uuid: 1a2b3c4d-5e6f-7a8b-9c0d-a1b2c3d4e5f6 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://warm-sky-qp3mn4rs.fra.unikraft.app - ├──────── image: oci://unikraft.io//httpserver-node-vite-ssr-vanilla@sha256:4f8a2c6e1b3d5f7a9c0e2b4d6f8a0c2e4b6d8f0a2c4e6b8d0f2a4c6e8b0d2f4a - ├─────── memory: 1024 MiB - ├────── service: warm-sky-qp3mn4rs - ├─ private fqdn: httpserver-node-vite-ssr-vanilla-k8x2m.internal - └─── private ip: 10.0.3.4 +[●] Deployed successfully! + │ + ├───────── name: httpserver-node-vite-ssr-vanilla-k8x2m + ├───────── uuid: 1a2b3c4d-5e6f-7a8b-9c0d-a1b2c3d4e5f6 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://warm-sky-qp3mn4rs.fra.unikraft.app + ├──────── image: oci://unikraft.io//httpserver-node-vite-ssr-vanilla@sha256:4f8a2c6e1b3d5f7a9c0e2b4d6f8a0c2e4b6d8f0a2c4e6b8d0f2a4c6e8b0d2f4a + ├─────── memory: 1024 MiB + ├────── service: warm-sky-qp3mn4rs + ├─ private fqdn: httpserver-node-vite-ssr-vanilla-k8x2m.internal + └─── private ip: 10.0.3.4 ``` @@ -144,13 +144,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra httpserver-node-vite-ssr-vanilla-k8x2m running /httpserver-node-vite-ssr-vanilla 1024MiB 1 warm-sky-qp3mn4rs.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra httpserver-node-vite-ssr-vanilla-k8x2m running /httpserver-node-vite-ssr-vanilla 1024MiB 1 warm-sky-qp3mn4rs.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-node-vite-ssr-vanilla-k8x2m warm-sky-qp3mn4rs.fra.unikraft.app running 1 minute ago oci://unikraft.io//httpserver-node-vite-ssr-vanilla@sha256:... 1.0 GiB 1 89.34 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +httpserver-node-vite-ssr-vanilla-k8x2m warm-sky-qp3mn4rs.fra.unikraft.app running 1 minute ago oci://unikraft.io//httpserver-node-vite-ssr-vanilla@sha256:... 1.0 GiB 1 89.34 ms ``` diff --git a/pages/guides/httpserver-node-vite-vanilla.mdx b/pages/guides/httpserver-node-vite-vanilla.mdx index bdc6bfc0..db576173 100644 --- a/pages/guides/httpserver-node-vite-vanilla.mdx +++ b/pages/guides/httpserver-node-vite-vanilla.mdx @@ -44,10 +44,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-node-vite-vanilla/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-node-vite-vanilla/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/httpserver-node-vite-vanilla/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -87,40 +87,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: httpserver-node-vite-vanilla-w9f3p -uuid: 4d5e6f7a-8b9c-0d1e-2f3a-d4e5f6a7b8c9 -state: starting -image: /httpserver-node-vite-vanilla -resources: - memory: 4096MiB - vcpus: 1 -service: - uuid: 5e6f7a8b-9c0d-1e2f-3a4b-e5f6a7b8c9d0 - name: bold-rain-mv5tx8wy - domains: - - fqdn: bold-rain-mv5tx8wy.fra.unikraft.app -networks: -- uuid: 6f7a8b9c-0d1e-2f3a-4b5c-f6a7b8c9d0e1 - private-ip: 10.0.5.2 - mac: 12:b0:6c:3e:ab:95 -timestamps: - created: just now +metro: fra +name: httpserver-node-vite-vanilla-w9f3p +uuid: 4d5e6f7a-8b9c-0d1e-2f3a-d4e5f6a7b8c9 +state: starting +image: /httpserver-node-vite-vanilla +resources: + memory: 4096MiB + vcpus: 1 +service: + uuid: 5e6f7a8b-9c0d-1e2f-3a4b-e5f6a7b8c9d0 + name: bold-rain-mv5tx8wy + domains: + - fqdn: bold-rain-mv5tx8wy.fra.unikraft.app +networks: +- uuid: 6f7a8b9c-0d1e-2f3a-4b5c-f6a7b8c9d0e1 + private-ip: 10.0.5.2 + mac: 12:b0:6c:3e:ab:95 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: httpserver-node-vite-vanilla-w9f3p - ├───────── uuid: 4d5e6f7a-8b9c-0d1e-2f3a-d4e5f6a7b8c9 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://bold-rain-mv5tx8wy.fra.unikraft.app - ├──────── image: oci://unikraft.io//httpserver-node-vite-vanilla@sha256:5a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b - ├─────── memory: 4096 MiB - ├────── service: bold-rain-mv5tx8wy - ├─ private fqdn: httpserver-node-vite-vanilla-w9f3p.internal - └─── private ip: 10.0.5.2 +[●] Deployed successfully! + │ + ├───────── name: httpserver-node-vite-vanilla-w9f3p + ├───────── uuid: 4d5e6f7a-8b9c-0d1e-2f3a-d4e5f6a7b8c9 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://bold-rain-mv5tx8wy.fra.unikraft.app + ├──────── image: oci://unikraft.io//httpserver-node-vite-vanilla@sha256:5a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b + ├─────── memory: 4096 MiB + ├────── service: bold-rain-mv5tx8wy + ├─ private fqdn: httpserver-node-vite-vanilla-w9f3p.internal + └─── private ip: 10.0.5.2 ``` @@ -148,13 +148,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra httpserver-node-vite-vanilla-w9f3p running /httpserver-node-vite-vanilla 4096MiB 1 bold-rain-mv5tx8wy.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra httpserver-node-vite-vanilla-w9f3p running /httpserver-node-vite-vanilla 4096MiB 1 bold-rain-mv5tx8wy.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-node-vite-vanilla-w9f3p bold-rain-mv5tx8wy.fra.unikraft.app running 1 minute ago oci://unikraft.io//httpserver-node-vite-vanilla@sha256:... 4 GiB 1 91.27 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +httpserver-node-vite-vanilla-w9f3p bold-rain-mv5tx8wy.fra.unikraft.app running 1 minute ago oci://unikraft.io//httpserver-node-vite-vanilla@sha256:... 4 GiB 1 91.27 ms ``` diff --git a/pages/guides/httpserver-node21-nextjs.mdx b/pages/guides/httpserver-node21-nextjs.mdx index 9ce89fc8..a1223f68 100644 --- a/pages/guides/httpserver-node21-nextjs.mdx +++ b/pages/guides/httpserver-node21-nextjs.mdx @@ -23,10 +23,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-node21-nextjs` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-node21-nextjs/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/httpserver-node21-nextjs/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -66,40 +66,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: httpserver-node21-nextjs-bfrq0 -uuid: 2adf9664-c4ae-4e0e-99de-c9781282b370 -state: starting -image: /httpserver-node21-nextjs -resources: - memory: 768MiB - vcpus: 1 -service: - uuid: 43e93d04-615b-0d81-07af-8506c25b1802 - name: small-frog-ri8c1vtw - domains: - - fqdn: small-frog-ri8c1vtw.fra.unikraft.app -networks: -- uuid: e6e3adf9-8512-b678-4dae-6bbf2f4aad17 - private-ip: 10.0.28.2 - mac: 12:b0:2a:aa:d4:82 -timestamps: - created: just now +metro: fra +name: httpserver-node21-nextjs-bfrq0 +uuid: 2adf9664-c4ae-4e0e-99de-c9781282b370 +state: starting +image: /httpserver-node21-nextjs +resources: + memory: 768MiB + vcpus: 1 +service: + uuid: 43e93d04-615b-0d81-07af-8506c25b1802 + name: small-frog-ri8c1vtw + domains: + - fqdn: small-frog-ri8c1vtw.fra.unikraft.app +networks: +- uuid: e6e3adf9-8512-b678-4dae-6bbf2f4aad17 + private-ip: 10.0.28.2 + mac: 12:b0:2a:aa:d4:82 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: httpserver-node21-nextjs-bfrq0 - ├───────── uuid: 2adf9664-c4ae-4e0e-99de-c9781282b370 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://small-frog-ri8c1vtw.fra.unikraft.app - ├──────── image: oci://unikraft.io//httpserver-node21-nextjs@sha256:ea5b2f145eea9762431ebdea933dd1dfb8427fe23306d2bd7966dd502d6c88f6 - ├─────── memory: 768 MiB - ├────── service: small-frog-ri8c1vtw - ├─ private fqdn: httpserver-node21-nextjs-bfrq0.internal - └─── private ip: 10.0.28.2 +[●] Deployed successfully! + │ + ├───────── name: httpserver-node21-nextjs-bfrq0 + ├───────── uuid: 2adf9664-c4ae-4e0e-99de-c9781282b370 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://small-frog-ri8c1vtw.fra.unikraft.app + ├──────── image: oci://unikraft.io//httpserver-node21-nextjs@sha256:ea5b2f145eea9762431ebdea933dd1dfb8427fe23306d2bd7966dd502d6c88f6 + ├─────── memory: 768 MiB + ├────── service: small-frog-ri8c1vtw + ├─ private fqdn: httpserver-node21-nextjs-bfrq0.internal + └─── private ip: 10.0.28.2 ``` @@ -136,13 +136,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra httpserver-node21-nextjs-bfrq0 running /httpserver-node21-nextjs@sha256 768MiB 1 small-frog-ri8c1vtw.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra httpserver-node21-nextjs-bfrq0 running /httpserver-node21-nextjs@sha256 768MiB 1 small-frog-ri8c1vtw.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-node21-nextjs-bfrq0 small-frog-ri8c1vtw.fra.unikraft.app running 1 minute ago oci://unikraft.io//httpserver-node21-nextjs@sha256... 768 MiB 1 83.60 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +httpserver-node21-nextjs-bfrq0 small-frog-ri8c1vtw.fra.unikraft.app running 1 minute ago oci://unikraft.io//httpserver-node21-nextjs@sha256... 768 MiB 1 83.60 ms ``` diff --git a/pages/guides/httpserver-node21-solid-start.mdx b/pages/guides/httpserver-node21-solid-start.mdx index e260a653..f145bd58 100644 --- a/pages/guides/httpserver-node21-solid-start.mdx +++ b/pages/guides/httpserver-node21-solid-start.mdx @@ -23,10 +23,10 @@ To do so, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-node21-solid-start/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-node21-solid-start/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/httpserver-node21-solid-start/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -66,40 +66,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: httpserver-node21-solid-start-lvoa2 -uuid: 4e6ccb1f-0533-4dc1-be67-eca8dfc1f8c6 -state: starting -image: /httpserver-node21-solid-start -resources: - memory: 512MiB - vcpus: 1 -service: - uuid: 46865b94-fd59-7d38-485d-c110a41b0949 - name: long-star-1tms9h1z - domains: - - fqdn: long-star-1tms9h1z.fra.unikraft.app -networks: -- uuid: 1b8eccba-a635-e4db-3a3f-162fbe1f692f - private-ip: 10.0.6.8 - mac: 12:b0:8e:29:47:83 -timestamps: - created: just now +metro: fra +name: httpserver-node21-solid-start-lvoa2 +uuid: 4e6ccb1f-0533-4dc1-be67-eca8dfc1f8c6 +state: starting +image: /httpserver-node21-solid-start +resources: + memory: 512MiB + vcpus: 1 +service: + uuid: 46865b94-fd59-7d38-485d-c110a41b0949 + name: long-star-1tms9h1z + domains: + - fqdn: long-star-1tms9h1z.fra.unikraft.app +networks: +- uuid: 1b8eccba-a635-e4db-3a3f-162fbe1f692f + private-ip: 10.0.6.8 + mac: 12:b0:8e:29:47:83 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: httpserver-node21-solid-start-lvoa2 - ├───────── uuid: 4e6ccb1f-0533-4dc1-be67-eca8dfc1f8c6 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://long-star-1tms9h1z.fra.unikraft.app - ├──────── image: oci://unikraft.io//httpserver-node21-solid-start@sha256:eb2e79b2fc5c28bb43923a1fc4931db94ebc3f939a6fbe00d06189c0ae2e02fd - ├─────── memory: 512 MiB - ├────── service: long-star-1tms9h1z - ├─ private fqdn: httpserver-node21-solid-start-lvoa2.internal - └─── private ip: 10.0.6.8 +[●] Deployed successfully! + │ + ├───────── name: httpserver-node21-solid-start-lvoa2 + ├───────── uuid: 4e6ccb1f-0533-4dc1-be67-eca8dfc1f8c6 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://long-star-1tms9h1z.fra.unikraft.app + ├──────── image: oci://unikraft.io//httpserver-node21-solid-start@sha256:eb2e79b2fc5c28bb43923a1fc4931db94ebc3f939a6fbe00d06189c0ae2e02fd + ├─────── memory: 512 MiB + ├────── service: long-star-1tms9h1z + ├─ private fqdn: httpserver-node21-solid-start-lvoa2.internal + └─── private ip: 10.0.6.8 ``` @@ -125,13 +125,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra httpserver-node21-solid-start-lvoa2 running /httpserver-node21-solid-start 512MiB 1 long-star-1tms9h1z.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra httpserver-node21-solid-start-lvoa2 running /httpserver-node21-solid-start 512MiB 1 long-star-1tms9h1z.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-node21-solid-start-lvoa2 long-star-1tms9h1z.fra.unikraft.app running 1 minutes ago oci://unikraft.io//httpserver-node21-solid-start@sha256... 512 MiB 1 67.65 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +httpserver-node21-solid-start-lvoa2 long-star-1tms9h1z.fra.unikraft.app running 1 minutes ago oci://unikraft.io//httpserver-node21-solid-start@sha256... 512 MiB 1 67.65 ms ``` diff --git a/pages/guides/httpserver-node22-react-router.mdx b/pages/guides/httpserver-node22-react-router.mdx index 89392e61..ac7829d5 100644 --- a/pages/guides/httpserver-node22-react-router.mdx +++ b/pages/guides/httpserver-node22-react-router.mdx @@ -24,10 +24,10 @@ To do so, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-node22-react-router/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-node22-react-router/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/httpserver-node22-react-router/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -67,40 +67,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: httpserver-node22-react-router-jvj6b -uuid: 4e6ccb1f-0533-4dc1-be67-eca8dfc1f8c6 -state: starting -image: /httpserver-node22-react-router -resources: - memory: 768MiB - vcpus: 1 -service: - uuid: 46865b94-fd59-7d38-485d-c110a41b0949 - name: long-star-1tms9h1z - domains: - - fqdn: long-star-1tms9h1z.fra.unikraft.app -networks: -- uuid: 270bdb2f-42a2-f26d-4a8c-43de55608490 - private-ip: 10.0.6.8 - mac: 12:b0:00:61:6e:70 -timestamps: - created: just now +metro: fra +name: httpserver-node22-react-router-jvj6b +uuid: 4e6ccb1f-0533-4dc1-be67-eca8dfc1f8c6 +state: starting +image: /httpserver-node22-react-router +resources: + memory: 768MiB + vcpus: 1 +service: + uuid: 46865b94-fd59-7d38-485d-c110a41b0949 + name: long-star-1tms9h1z + domains: + - fqdn: long-star-1tms9h1z.fra.unikraft.app +networks: +- uuid: 270bdb2f-42a2-f26d-4a8c-43de55608490 + private-ip: 10.0.6.8 + mac: 12:b0:00:61:6e:70 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: httpserver-node22-react-router-jvj6b - ├───────── uuid: 4e6ccb1f-0533-4dc1-be67-eca8dfc1f8c6 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://long-star-1tms9h1z.fra.unikraft.app - ├──────── image: oci://unikraft.io//httpserver-node22-react-router@sha256:300eefce3de136ad9c782f010b69da01100ae5f0ca17f038f92321d735d6675f - ├─────── memory: 768 MiB - ├────── service: long-star-1tms9h1z - ├─ private fqdn: httpserver-node22-react-router-jvj6b.internal - └─── private ip: 10.0.6.8 +[●] Deployed successfully! + │ + ├───────── name: httpserver-node22-react-router-jvj6b + ├───────── uuid: 4e6ccb1f-0533-4dc1-be67-eca8dfc1f8c6 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://long-star-1tms9h1z.fra.unikraft.app + ├──────── image: oci://unikraft.io//httpserver-node22-react-router@sha256:300eefce3de136ad9c782f010b69da01100ae5f0ca17f038f92321d735d6675f + ├─────── memory: 768 MiB + ├────── service: long-star-1tms9h1z + ├─ private fqdn: httpserver-node22-react-router-jvj6b.internal + └─── private ip: 10.0.6.8 ``` @@ -126,13 +126,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra httpserver-node22-react-router-jvj6b running /httpserver-node22-react-router 768MiB 1 long-star-1tms9h1z.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra httpserver-node22-react-router-jvj6b running /httpserver-node22-react-router 768MiB 1 long-star-1tms9h1z.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-node22-react-router-jvj6b long-star-1tms9h1z.fra.unikraft.app running 1 minutes ago oci://unikraft.io//httpserver-node22-react-router@sha256... 768 MiB 1 67.65 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +httpserver-node22-react-router-jvj6b long-star-1tms9h1z.fra.unikraft.app running 1 minutes ago oci://unikraft.io//httpserver-node22-react-router@sha256... 768 MiB 1 67.65 ms ``` diff --git a/pages/guides/httpserver-node22-sveltekit.mdx b/pages/guides/httpserver-node22-sveltekit.mdx index 431d7e8a..51518bc0 100644 --- a/pages/guides/httpserver-node22-sveltekit.mdx +++ b/pages/guides/httpserver-node22-sveltekit.mdx @@ -25,10 +25,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-node22-sveltekit/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-node22-sveltekit/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/httpserver-node22-sveltekit/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -68,40 +68,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: httpserver-node22-sveltekit-zmt39 -uuid: cd5071b0-5605-4771-b75d-4789393e60de -state: starting -image: /httpserver-node22-sveltekit -resources: - memory: 512MiB - vcpus: 1 -service: - uuid: 2cd097b5-795c-7184-2968-1508c630fb2b - name: dark-fog-z18n0ej1 - domains: - - fqdn: dark-fog-z18n0ej1.fra.unikraft.app -networks: -- uuid: e715723d-4659-2006-bd7b-68a5a3c33cce - private-ip: 10.0.3.3 - mac: 12:b0:a0:31:90:5a -timestamps: - created: just now +metro: fra +name: httpserver-node22-sveltekit-zmt39 +uuid: cd5071b0-5605-4771-b75d-4789393e60de +state: starting +image: /httpserver-node22-sveltekit +resources: + memory: 512MiB + vcpus: 1 +service: + uuid: 2cd097b5-795c-7184-2968-1508c630fb2b + name: dark-fog-z18n0ej1 + domains: + - fqdn: dark-fog-z18n0ej1.fra.unikraft.app +networks: +- uuid: e715723d-4659-2006-bd7b-68a5a3c33cce + private-ip: 10.0.3.3 + mac: 12:b0:a0:31:90:5a +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: httpserver-node22-sveltekit-zmt39 - ├───────── uuid: cd5071b0-5605-4771-b75d-4789393e60de - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://dark-fog-z18n0ej1.fra.unikraft.app - ├──────── image: oci://unikraft.io//httpserver-node22-sveltekit@sha256:4cea210aef3513bd68490640b511ebcff2b867e9222028b9938faccffc21cb83 - ├─────── memory: 512 MiB - ├────── service: dark-fog-z18n0ej1 - ├─ private fqdn: httpserver-node22-sveltekit-zmt39.internal - └─── private ip: 10.0.3.3 +[●] Deployed successfully! + │ + ├───────── name: httpserver-node22-sveltekit-zmt39 + ├───────── uuid: cd5071b0-5605-4771-b75d-4789393e60de + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://dark-fog-z18n0ej1.fra.unikraft.app + ├──────── image: oci://unikraft.io//httpserver-node22-sveltekit@sha256:4cea210aef3513bd68490640b511ebcff2b867e9222028b9938faccffc21cb83 + ├─────── memory: 512 MiB + ├────── service: dark-fog-z18n0ej1 + ├─ private fqdn: httpserver-node22-sveltekit-zmt39.internal + └─── private ip: 10.0.3.3 ``` @@ -143,13 +143,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra httpserver-node22-sveltekit-zmt39 running /httpserver-node22-sveltekit 512MiB 1 dark-fog-z18n0ej1.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra httpserver-node22-sveltekit-zmt39 running /httpserver-node22-sveltekit 512MiB 1 dark-fog-z18n0ej1.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-node22-sveltekit-zmt39 dark-fog-z18n0ej1.fra.unikraft.app running 5 minutes ago oci://unikraft.io//httpserver-node22-sveltekit@sha256:... 512 MiB 1 72.86 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +httpserver-node22-sveltekit-zmt39 dark-fog-z18n0ej1.fra.unikraft.app running 5 minutes ago oci://unikraft.io//httpserver-node22-sveltekit@sha256:... 512 MiB 1 72.86 ms ``` diff --git a/pages/guides/httpserver-node26.mdx b/pages/guides/httpserver-node26.mdx index 90e64ef7..6f12e106 100644 --- a/pages/guides/httpserver-node26.mdx +++ b/pages/guides/httpserver-node26.mdx @@ -24,10 +24,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-node26` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-node26/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/httpserver-node26/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -67,40 +67,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: httpserver-node26-v8mp4 -uuid: c3d4e5f6-a7b8-9012-cdef-123456789012 -state: starting -image: /httpserver-node26 -resources: - memory: 512MiB - vcpus: 1 -service: - uuid: 8c6367b6-d913-4b24-fbc4-922cf124c8f8 - name: bright-star-k3m7pqnx - domains: - - fqdn: bright-star-k3m7pqnx.fra.unikraft.app -networks: -- uuid: 229c5467-216f-79dd-e2f9-3307b196fad3 - private-ip: 10.0.3.6 - mac: 12:b0:25:ce:7f:75 -timestamps: - created: just now +metro: fra +name: httpserver-node26-v8mp4 +uuid: c3d4e5f6-a7b8-9012-cdef-123456789012 +state: starting +image: /httpserver-node26 +resources: + memory: 512MiB + vcpus: 1 +service: + uuid: 8c6367b6-d913-4b24-fbc4-922cf124c8f8 + name: bright-star-k3m7pqnx + domains: + - fqdn: bright-star-k3m7pqnx.fra.unikraft.app +networks: +- uuid: 229c5467-216f-79dd-e2f9-3307b196fad3 + private-ip: 10.0.3.6 + mac: 12:b0:25:ce:7f:75 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: httpserver-node26-v8mp4 - ├───────── uuid: c3d4e5f6-a7b8-9012-cdef-123456789012 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://bright-star-k3m7pqnx.fra.unikraft.app - ├──────── image: oci://unikraft.io//httpserver-node26@sha256:7b3e1f9d5a2c8e4b0f6d3a7c5e2b9f4d1a8c6e3b0f7d4a1c8e5b2f9d6a3c0 - ├─────── memory: 512 MiB - ├────── service: bright-star-k3m7pqnx - ├─ private fqdn: httpserver-node26-v8mp4.internal - └─── private ip: 10.0.3.6 +[●] Deployed successfully! + │ + ├───────── name: httpserver-node26-v8mp4 + ├───────── uuid: c3d4e5f6-a7b8-9012-cdef-123456789012 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://bright-star-k3m7pqnx.fra.unikraft.app + ├──────── image: oci://unikraft.io//httpserver-node26@sha256:7b3e1f9d5a2c8e4b0f6d3a7c5e2b9f4d1a8c6e3b0f7d4a1c8e5b2f9d6a3c0 + ├─────── memory: 512 MiB + ├────── service: bright-star-k3m7pqnx + ├─ private fqdn: httpserver-node26-v8mp4.internal + └─── private ip: 10.0.3.6 ``` @@ -135,13 +135,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra httpserver-node26-v8mp4 running /httpserver-node26 512MiB 1 bright-star-k3m7pqnx.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra httpserver-node26-v8mp4 running /httpserver-node26 512MiB 1 bright-star-k3m7pqnx.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-node26-v8mp4 bright-star-k3m7pqnx.fra.unikraft.app running since 3mins oci://unikraft.io//httpserver-node26@sha256:... 512 MiB 1 276.18 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +httpserver-node26-v8mp4 bright-star-k3m7pqnx.fra.unikraft.app running since 3mins oci://unikraft.io//httpserver-node26@sha256:... 512 MiB 1 276.18 ms ``` diff --git a/pages/guides/httpserver-perl5.42.mdx b/pages/guides/httpserver-perl5.42.mdx index dc193f1c..2b00a323 100644 --- a/pages/guides/httpserver-perl5.42.mdx +++ b/pages/guides/httpserver-perl5.42.mdx @@ -23,10 +23,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-perl5.42/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-perl5.42/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/httpserver-perl5.42/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -66,40 +66,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: httpserver-perl542-xue8j -uuid: 59d08bbc-cbb7-4c6b-a2cb-847828845db9 -state: starting -image: /httpserver-perl542 -resources: - memory: 512MiB - vcpus: 1 -service: - uuid: b62c0c0a-2de6-9068-1e93-223fa8f1edbf - name: fragrant-water-wau08gaw - domains: - - fqdn: fragrant-water-wau08gaw.fra.unikraft.app -networks: -- uuid: 22bdfc9c-2f69-eb7e-5b5e-929aba51a2c0 - private-ip: 10.0.1.161 - mac: 12:b0:d4:aa:c1:98 -timestamps: - created: just now +metro: fra +name: httpserver-perl542-xue8j +uuid: 59d08bbc-cbb7-4c6b-a2cb-847828845db9 +state: starting +image: /httpserver-perl542 +resources: + memory: 512MiB + vcpus: 1 +service: + uuid: b62c0c0a-2de6-9068-1e93-223fa8f1edbf + name: fragrant-water-wau08gaw + domains: + - fqdn: fragrant-water-wau08gaw.fra.unikraft.app +networks: +- uuid: 22bdfc9c-2f69-eb7e-5b5e-929aba51a2c0 + private-ip: 10.0.1.161 + mac: 12:b0:d4:aa:c1:98 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: httpserver-perl542-xue8j - ├───────── uuid: 59d08bbc-cbb7-4c6b-a2cb-847828845db9 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://fragrant-water-wau08gaw.fra.unikraft.app - ├──────── image: oci://unikraft.io//httpserver-perl542@sha256:af86e8f03c0d4cfd596ccfd9a9d18ea75ac68c996c9cde31f64db24dc11100fe - ├─────── memory: 512 MiB - ├────── service: fragrant-water-wau08gaw - ├─ private fqdn: httpserver-perl542-xue8j.internal - └─── private ip: 10.0.1.161 +[●] Deployed successfully! + │ + ├───────── name: httpserver-perl542-xue8j + ├───────── uuid: 59d08bbc-cbb7-4c6b-a2cb-847828845db9 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://fragrant-water-wau08gaw.fra.unikraft.app + ├──────── image: oci://unikraft.io//httpserver-perl542@sha256:af86e8f03c0d4cfd596ccfd9a9d18ea75ac68c996c9cde31f64db24dc11100fe + ├─────── memory: 512 MiB + ├────── service: fragrant-water-wau08gaw + ├─ private fqdn: httpserver-perl542-xue8j.internal + └─── private ip: 10.0.1.161 ``` @@ -134,13 +134,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra httpserver-perl542-xue8j standby /httpserver-perl542 512MiB 1 fragrant-water-wau08gaw.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra httpserver-perl542-xue8j standby /httpserver-perl542 512MiB 1 fragrant-water-wau08gaw.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-perl542-xue8j fragrant-water-wau08gaw.fra.unikraft.app standby standby oci://unikraft.io//httpserver-perl542@sha256:... 512 MiB 1 109.46 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +httpserver-perl542-xue8j fragrant-water-wau08gaw.fra.unikraft.app standby standby oci://unikraft.io//httpserver-perl542@sha256:... 512 MiB 1 109.46 ms ``` diff --git a/pages/guides/httpserver-php8.2.mdx b/pages/guides/httpserver-php8.2.mdx index b4dbc44d..ae592da7 100644 --- a/pages/guides/httpserver-php8.2.mdx +++ b/pages/guides/httpserver-php8.2.mdx @@ -23,10 +23,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-php8.2/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-php8.2/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/httpserver-php8.2/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -66,40 +66,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: httpserver-php82-g00si -uuid: 033b2f4b-72ff-414d-b0de-63571477c657 -state: starting -image: /httpserver-php82 -resources: - memory: 512MiB - vcpus: 1 -service: - uuid: a6f268b1-05c3-31c1-7d9b-76cb952fd713 - name: aged-fire-rh0oi0tj - domains: - - fqdn: aged-fire-rh0oi0tj.fra.unikraft.app -networks: -- uuid: f18bc9d1-a75d-dbd0-6566-599c2a1a95a6 - private-ip: 10.0.3.3 - mac: 12:b0:af:34:d3:e8 -timestamps: - created: just now +metro: fra +name: httpserver-php82-g00si +uuid: 033b2f4b-72ff-414d-b0de-63571477c657 +state: starting +image: /httpserver-php82 +resources: + memory: 512MiB + vcpus: 1 +service: + uuid: a6f268b1-05c3-31c1-7d9b-76cb952fd713 + name: aged-fire-rh0oi0tj + domains: + - fqdn: aged-fire-rh0oi0tj.fra.unikraft.app +networks: +- uuid: f18bc9d1-a75d-dbd0-6566-599c2a1a95a6 + private-ip: 10.0.3.3 + mac: 12:b0:af:34:d3:e8 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: httpserver-php82-g00si - ├───────── uuid: 033b2f4b-72ff-414d-b0de-63571477c657 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://aged-fire-rh0oi0tj.fra.unikraft.app - ├──────── image: oci://unikraft.io//httpserver-php82@sha256:dccaac053982673765b8f00497a9736c31458ab23ad59a550b09aa8dedfabb34 - ├─────── memory: 512 MiB - ├────── service: aged-fire-rh0oi0tj - ├─ private fqdn: httpserver-php82-g00si.internal - └─── private ip: 10.0.3.3 +[●] Deployed successfully! + │ + ├───────── name: httpserver-php82-g00si + ├───────── uuid: 033b2f4b-72ff-414d-b0de-63571477c657 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://aged-fire-rh0oi0tj.fra.unikraft.app + ├──────── image: oci://unikraft.io//httpserver-php82@sha256:dccaac053982673765b8f00497a9736c31458ab23ad59a550b09aa8dedfabb34 + ├─────── memory: 512 MiB + ├────── service: aged-fire-rh0oi0tj + ├─ private fqdn: httpserver-php82-g00si.internal + └─── private ip: 10.0.3.3 ``` @@ -134,13 +134,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra httpserver-php82-g00si running /httpserver-php82 512MiB 1 aged-fire-rh0oi0tj.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra httpserver-php82-g00si running /httpserver-php82 512MiB 1 aged-fire-rh0oi0tj.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-php82-g00si aged-fire-rh0oi0tj.fra.unikraft.app running 50 seconds ago oci://unikraft.io//httpserver-php82@sha256:... 512 MiB 1 32.80 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +httpserver-php82-g00si aged-fire-rh0oi0tj.fra.unikraft.app running 50 seconds ago oci://unikraft.io//httpserver-php82@sha256:... 512 MiB 1 32.80 ms ``` diff --git a/pages/guides/httpserver-prisma-expressjs4.19-node18.mdx b/pages/guides/httpserver-prisma-expressjs4.19-node18.mdx index ef30fd39..745d3cb8 100644 --- a/pages/guides/httpserver-prisma-expressjs4.19-node18.mdx +++ b/pages/guides/httpserver-prisma-expressjs4.19-node18.mdx @@ -25,10 +25,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-prisma-expressjs4.19-node18/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-prisma-expressjs4.19-node18/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/httpserver-prisma-expressjs4.19-node18/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -68,40 +68,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: httpserver-prisma-expressjs419-node18-hdof1 -uuid: 066f55cb-bcbd-45e5-9f6b-b3866c3a3a4c -state: starting -image: /httpserver-prisma-expressjs419-node18 -resources: - memory: 512MiB - vcpus: 1 -service: - uuid: b7da8a3b-ca4d-979a-3ae9-9634bca98008 - name: funky-sun-4bf8v7g9 - domains: - - fqdn: funky-sun-4bf8v7g9.fra.unikraft.app -networks: -- uuid: 63d977e8-548c-f0af-cc97-39856660f612 - private-ip: 10.0.28.2 - mac: 12:b0:43:fb:5c:30 -timestamps: - created: just now +metro: fra +name: httpserver-prisma-expressjs419-node18-hdof1 +uuid: 066f55cb-bcbd-45e5-9f6b-b3866c3a3a4c +state: starting +image: /httpserver-prisma-expressjs419-node18 +resources: + memory: 512MiB + vcpus: 1 +service: + uuid: b7da8a3b-ca4d-979a-3ae9-9634bca98008 + name: funky-sun-4bf8v7g9 + domains: + - fqdn: funky-sun-4bf8v7g9.fra.unikraft.app +networks: +- uuid: 63d977e8-548c-f0af-cc97-39856660f612 + private-ip: 10.0.28.2 + mac: 12:b0:43:fb:5c:30 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: httpserver-prisma-expressjs419-node18-hdof1 - ├───────── uuid: 066f55cb-bcbd-45e5-9f6b-b3866c3a3a4c - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://funky-sun-4bf8v7g9.fra.unikraft.app - ├──────── image: oci://unikraft.io//httpserver-prisma-expressjs419-node18@sha256:770d4af1d490daea11171c680eaf99e2a6017a262ba9fbf1ba8d708f5fc32bfe - ├─────── memory: 512 MiB - ├────── service: funky-sun-4bf8v7g9 - ├─ private fqdn: httpserver-prisma-expressjs419-node18-hdof1.internal - └─── private ip: 10.0.28.2 +[●] Deployed successfully! + │ + ├───────── name: httpserver-prisma-expressjs419-node18-hdof1 + ├───────── uuid: 066f55cb-bcbd-45e5-9f6b-b3866c3a3a4c + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://funky-sun-4bf8v7g9.fra.unikraft.app + ├──────── image: oci://unikraft.io//httpserver-prisma-expressjs419-node18@sha256:770d4af1d490daea11171c680eaf99e2a6017a262ba9fbf1ba8d708f5fc32bfe + ├─────── memory: 512 MiB + ├────── service: funky-sun-4bf8v7g9 + ├─ private fqdn: httpserver-prisma-expressjs419-node18-hdof1.internal + └─── private ip: 10.0.28.2 ``` @@ -138,13 +138,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra httpserver-prisma-expressjs419-node18-hdof1 running /httpserver-prisma-expressjs419-node18 512MiB 1 funky-sun-4bf8v7g9.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra httpserver-prisma-expressjs419-node18-hdof1 running /httpserver-prisma-expressjs419-node18 512MiB 1 funky-sun-4bf8v7g9.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-prisma-expressjs419-node18-hdof1 funky-sun-4bf8v7g9.fra.unikraft.app running 1 minute ago oci://unikraft.io//httpserver-prisma-expressjs419-node18@sha256:... 512 MiB 1 37.94 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +httpserver-prisma-expressjs419-node18-hdof1 funky-sun-4bf8v7g9.fra.unikraft.app running 1 minute ago oci://unikraft.io//httpserver-prisma-expressjs419-node18@sha256:... 512 MiB 1 37.94 ms ``` diff --git a/pages/guides/httpserver-python3.12-django5.0.mdx b/pages/guides/httpserver-python3.12-django5.0.mdx index 6bd3d94c..25c76587 100644 --- a/pages/guides/httpserver-python3.12-django5.0.mdx +++ b/pages/guides/httpserver-python3.12-django5.0.mdx @@ -23,10 +23,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-python3.12-django5.0/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-python3.12-django5.0/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/httpserver-python3.12-django5.0/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -66,40 +66,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: httpserver-python312-django50-vt56c -uuid: d8469447-fdf6-4caf-9fea-494218ca6f72 -state: starting -image: /httpserver-python312-django50 -resources: - memory: 1024MiB - vcpus: 1 -service: - uuid: 109aa11f-da45-8d57-d5e4-6eb509ee3e73 - name: dawn-sound-n5wrkxi2 - domains: - - fqdn: dawn-sound-n5wrkxi2.fra.unikraft.app -networks: -- uuid: 95f37ba4-2586-54a2-bf3e-5764c91c4fc1 - private-ip: 10.0.6.5 - mac: 12:b0:9c:af:65:e7 -timestamps: - created: just now +metro: fra +name: httpserver-python312-django50-vt56c +uuid: d8469447-fdf6-4caf-9fea-494218ca6f72 +state: starting +image: /httpserver-python312-django50 +resources: + memory: 1024MiB + vcpus: 1 +service: + uuid: 109aa11f-da45-8d57-d5e4-6eb509ee3e73 + name: dawn-sound-n5wrkxi2 + domains: + - fqdn: dawn-sound-n5wrkxi2.fra.unikraft.app +networks: +- uuid: 95f37ba4-2586-54a2-bf3e-5764c91c4fc1 + private-ip: 10.0.6.5 + mac: 12:b0:9c:af:65:e7 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: httpserver-python312-django50-vt56c - ├───────── uuid: d8469447-fdf6-4caf-9fea-494218ca6f72 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://dawn-sound-n5wrkxi2.fra.unikraft.app - ├──────── image: oci://unikraft.io//httpserver-python312-django50@sha256:221666d414299aff54dbf10020b3d540270ee0c5907c1c6a728ca254ce8b0e50 - ├─────── memory: 1024 MiB - ├────── service: dawn-sound-n5wrkxi2 - ├─ private fqdn: httpserver-python312-django50-vt56c.internal - └─── private ip: 10.0.6.5 +[●] Deployed successfully! + │ + ├───────── name: httpserver-python312-django50-vt56c + ├───────── uuid: d8469447-fdf6-4caf-9fea-494218ca6f72 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://dawn-sound-n5wrkxi2.fra.unikraft.app + ├──────── image: oci://unikraft.io//httpserver-python312-django50@sha256:221666d414299aff54dbf10020b3d540270ee0c5907c1c6a728ca254ce8b0e50 + ├─────── memory: 1024 MiB + ├────── service: dawn-sound-n5wrkxi2 + ├─ private fqdn: httpserver-python312-django50-vt56c.internal + └─── private ip: 10.0.6.5 ``` @@ -157,13 +157,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra httpserver-python312-django50-vt56c running /httpserver-python312-django50 1024MiB 1 dawn-sound-n5wrkxi2.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra httpserver-python312-django50-vt56c running /httpserver-python312-django50 1024MiB 1 dawn-sound-n5wrkxi2.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-python312-django50-vt56c dawn-sound-n5wrkxi2.fra.unikraft.app running 1 minute ago oci://unikraft.io//httpserver-python312-django50@sha256:... 1024 MiB 1 80.32 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +httpserver-python312-django50-vt56c dawn-sound-n5wrkxi2.fra.unikraft.app running 1 minute ago oci://unikraft.io//httpserver-python312-django50@sha256:... 1024 MiB 1 80.32 ms ``` diff --git a/pages/guides/httpserver-python3.12-fastapi-0.121.3.mdx b/pages/guides/httpserver-python3.12-fastapi-0.121.3.mdx index 2b018ce7..67fc4188 100644 --- a/pages/guides/httpserver-python3.12-fastapi-0.121.3.mdx +++ b/pages/guides/httpserver-python3.12-fastapi-0.121.3.mdx @@ -23,10 +23,10 @@ To run this example, follow these steps: 1. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-python3.12-fastapi-0.121.3/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-python3.12-fastapi-0.121.3/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/httpserver-python3.12-fastapi-0.121.3/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -66,40 +66,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: httpserver-python312-fastapi-01213-0n84f -uuid: 5d7fc331-3c23-4953-b025-d152a872ea29 -state: starting -image: /httpserver-python312-fastapi-01213 -resources: - memory: 512MiB - vcpus: 1 -service: - uuid: ced3df54-64cc-9217-3441-e0b4995319f0 - name: dry-water-0oexx89g - domains: - - fqdn: dry-water-0oexx89g.fra.unikraft.app -networks: -- uuid: 66d1766f-0a03-8b62-eb1a-0adb09b07b1d - private-ip: 10.0.1.69 - mac: 12:b0:a1:15:7c:4a -timestamps: - created: just now +metro: fra +name: httpserver-python312-fastapi-01213-0n84f +uuid: 5d7fc331-3c23-4953-b025-d152a872ea29 +state: starting +image: /httpserver-python312-fastapi-01213 +resources: + memory: 512MiB + vcpus: 1 +service: + uuid: ced3df54-64cc-9217-3441-e0b4995319f0 + name: dry-water-0oexx89g + domains: + - fqdn: dry-water-0oexx89g.fra.unikraft.app +networks: +- uuid: 66d1766f-0a03-8b62-eb1a-0adb09b07b1d + private-ip: 10.0.1.69 + mac: 12:b0:a1:15:7c:4a +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: httpserver-python312-fastapi-01213-0n84f - ├───────── uuid: 5d7fc331-3c23-4953-b025-d152a872ea29 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://dry-water-0oexx89g.fra.unikraft.app - ├──────── image: oci://unikraft.io//httpserver-python312-fastapi-01213@sha256:fb2a00dcf1cfc3ac821cbda05f82f38d66e63121344b9bc60c6a6e2f11917b98 - ├─────── memory: 512 MiB - ├────── service: dry-water-0oexx89g - ├─ private fqdn: httpserver-python312-fastapi-01213-0n84f.internal - └─── private ip: 10.0.1.69 +[●] Deployed successfully! + │ + ├───────── name: httpserver-python312-fastapi-01213-0n84f + ├───────── uuid: 5d7fc331-3c23-4953-b025-d152a872ea29 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://dry-water-0oexx89g.fra.unikraft.app + ├──────── image: oci://unikraft.io//httpserver-python312-fastapi-01213@sha256:fb2a00dcf1cfc3ac821cbda05f82f38d66e63121344b9bc60c6a6e2f11917b98 + ├─────── memory: 512 MiB + ├────── service: dry-water-0oexx89g + ├─ private fqdn: httpserver-python312-fastapi-01213-0n84f.internal + └─── private ip: 10.0.1.69 ``` @@ -133,13 +133,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra httpserver-python312-fastapi-01213-0n84f standby /httpserver-python312-fastapi-01213 512MiB 1 dry-water-0oexx89g.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra httpserver-python312-fastapi-01213-0n84f standby /httpserver-python312-fastapi-01213 512MiB 1 dry-water-0oexx89g.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-python312-fastapi-01213-0n84f dry-water-0oexx89g.fra.unikraft.app standby standby oci://unikraft.io//httpserver-python312-fastapi-01213@sha25... 512 MiB 1 169.45 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +httpserver-python312-fastapi-01213-0n84f dry-water-0oexx89g.fra.unikraft.app standby standby oci://unikraft.io//httpserver-python312-fastapi-01213@sha25... 512 MiB 1 169.45 ms ``` diff --git a/pages/guides/httpserver-python3.12-flask3.0-sqlite.mdx b/pages/guides/httpserver-python3.12-flask3.0-sqlite.mdx index fda27ef9..03fed021 100644 --- a/pages/guides/httpserver-python3.12-flask3.0-sqlite.mdx +++ b/pages/guides/httpserver-python3.12-flask3.0-sqlite.mdx @@ -23,10 +23,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-python3.12-flask3.0-sqlite/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-python3.12-flask3.0-sqlite/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/httpserver-python3.12-flask3.0-sqlite/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -66,40 +66,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: httpserver-python312-flask30-sqlite-qodkd -uuid: e00e7aca-962d-409c-87c2-c245ca08b54b -state: starting -image: /httpserver-python312-flask30-sqlite -resources: - memory: 768MiB - vcpus: 1 -service: - uuid: 1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d - name: lingering-orangutan-840mmdvd - domains: - - fqdn: lingering-orangutan-840mmdvd.fra.unikraft.app -networks: -- uuid: 2b3c4d5e-6f7a-8b9c-0d1e-2f3a4b5c6d7e - private-ip: 10.0.3.3 - mac: 12:b0:8a:4f:2c:91 -timestamps: - created: just now +metro: fra +name: httpserver-python312-flask30-sqlite-qodkd +uuid: e00e7aca-962d-409c-87c2-c245ca08b54b +state: starting +image: /httpserver-python312-flask30-sqlite +resources: + memory: 768MiB + vcpus: 1 +service: + uuid: 1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d + name: lingering-orangutan-840mmdvd + domains: + - fqdn: lingering-orangutan-840mmdvd.fra.unikraft.app +networks: +- uuid: 2b3c4d5e-6f7a-8b9c-0d1e-2f3a4b5c6d7e + private-ip: 10.0.3.3 + mac: 12:b0:8a:4f:2c:91 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: httpserver-python312-flask30-sqlite-qodkd - ├───────── uuid: e00e7aca-962d-409c-87c2-c245ca08b54b - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://lingering-orangutan-840mmdvd.fra.unikraft.app - ├──────── image: oci://unikraft.io//httpserver-python312-flask30-sqlite@sha256:bdb0bf35a9675b9b3836cbb626606da0606334d91768c7ba31195c3062d6f517 - ├─────── memory: 768 MiB - ├────── service: lingering-orangutan-840mmdvd - ├─ private fqdn: httpserver-python312-flask30-sqlite-qodkd.internal - └─── private ip: 10.0.3.3 +[●] Deployed successfully! + │ + ├───────── name: httpserver-python312-flask30-sqlite-qodkd + ├───────── uuid: e00e7aca-962d-409c-87c2-c245ca08b54b + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://lingering-orangutan-840mmdvd.fra.unikraft.app + ├──────── image: oci://unikraft.io//httpserver-python312-flask30-sqlite@sha256:bdb0bf35a9675b9b3836cbb626606da0606334d91768c7ba31195c3062d6f517 + ├─────── memory: 768 MiB + ├────── service: lingering-orangutan-840mmdvd + ├─ private fqdn: httpserver-python312-flask30-sqlite-qodkd.internal + └─── private ip: 10.0.3.3 ``` @@ -151,13 +151,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra httpserver-python312-flask30-sqlite-qodkd running /httpserver-python312-flask30-sqlite 768MiB 1 lingering-orangutan-840mmdvd.fra.... 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra httpserver-python312-flask30-sqlite-qodkd running /httpserver-python312-flask30-sqlite 768MiB 1 lingering-orangutan-840mmdvd.fra.... 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-python312-flask30-sqlite-qodkd lingering-orangutan-840mmdvd.fra.... running 1 minute ago oci://unikraft.io//httpserver-python312-flask30-sqlite@sha256... 768 MiB 1 166.25 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +httpserver-python312-flask30-sqlite-qodkd lingering-orangutan-840mmdvd.fra.... running 1 minute ago oci://unikraft.io//httpserver-python312-flask30-sqlite@sha256... 768 MiB 1 166.25 ms ``` diff --git a/pages/guides/httpserver-python3.12-flask3.0.mdx b/pages/guides/httpserver-python3.12-flask3.0.mdx index 45c18b49..cebff99e 100644 --- a/pages/guides/httpserver-python3.12-flask3.0.mdx +++ b/pages/guides/httpserver-python3.12-flask3.0.mdx @@ -23,10 +23,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-python3.12-flask3.0/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-python3.12-flask3.0/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/httpserver-python3.12-flask3.0/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -66,40 +66,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: httpserver-python312-flask30-bxwxm -uuid: 3ff1ebad-2639-4214-bab4-ed35c4c32fa4 -state: starting -image: /httpserver-python312-flask30 -resources: - memory: 512MiB - vcpus: 1 -service: - uuid: 2021ca1e-5e47-a35c-bde2-7190f3815c07 - name: damp-sunset-azd6dtyt - domains: - - fqdn: damp-sunset-azd6dtyt.fra.unikraft.app -networks: -- uuid: 4dc3b272-4fa2-ddb4-7ce0-5e66e8112a61 - private-ip: 10.0.6.5 - mac: 12:b0:66:99:b3:3f -timestamps: - created: just now +metro: fra +name: httpserver-python312-flask30-bxwxm +uuid: 3ff1ebad-2639-4214-bab4-ed35c4c32fa4 +state: starting +image: /httpserver-python312-flask30 +resources: + memory: 512MiB + vcpus: 1 +service: + uuid: 2021ca1e-5e47-a35c-bde2-7190f3815c07 + name: damp-sunset-azd6dtyt + domains: + - fqdn: damp-sunset-azd6dtyt.fra.unikraft.app +networks: +- uuid: 4dc3b272-4fa2-ddb4-7ce0-5e66e8112a61 + private-ip: 10.0.6.5 + mac: 12:b0:66:99:b3:3f +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: httpserver-python312-flask30-bxwxm - ├───────── uuid: 3ff1ebad-2639-4214-bab4-ed35c4c32fa4 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://damp-sunset-azd6dtyt.fra.unikraft.app - ├──────── image: oci://unikraft.io//httpserver-python312-flask30@sha256:d6c8e4c5a4f44e1d642d8eaeaa1d820b2841194dd6c5d4a872ae0a895c767da9 - ├─────── memory: 512 MiB - ├────── service: damp-sunset-azd6dtyt - ├─ private fqdn: httpserver-python312-flask30-bxwxm.internal - └─── private ip: 10.0.6.5 +[●] Deployed successfully! + │ + ├───────── name: httpserver-python312-flask30-bxwxm + ├───────── uuid: 3ff1ebad-2639-4214-bab4-ed35c4c32fa4 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://damp-sunset-azd6dtyt.fra.unikraft.app + ├──────── image: oci://unikraft.io//httpserver-python312-flask30@sha256:d6c8e4c5a4f44e1d642d8eaeaa1d820b2841194dd6c5d4a872ae0a895c767da9 + ├─────── memory: 512 MiB + ├────── service: damp-sunset-azd6dtyt + ├─ private fqdn: httpserver-python312-flask30-bxwxm.internal + └─── private ip: 10.0.6.5 ``` @@ -134,13 +134,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra httpserver-python312-flask30-bxwxm running /httpserver-python312-flask30 512MiB 1 damp-sunset-azd6dtyt.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra httpserver-python312-flask30-bxwxm running /httpserver-python312-flask30 512MiB 1 damp-sunset-azd6dtyt.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-python312-flask30-bxwxm damp-sunset-azd6dtyt.fra.unikraft.app running 1 minute ago oci://unikraft.io//httpserver-python312-flask30@sha256:... 512 MiB 1 222.27 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +httpserver-python312-flask30-bxwxm damp-sunset-azd6dtyt.fra.unikraft.app running 1 minute ago oci://unikraft.io//httpserver-python312-flask30@sha256:... 512 MiB 1 222.27 ms ``` diff --git a/pages/guides/httpserver-python3.12.mdx b/pages/guides/httpserver-python3.12.mdx index 0daee9b5..b7f21f3a 100644 --- a/pages/guides/httpserver-python3.12.mdx +++ b/pages/guides/httpserver-python3.12.mdx @@ -23,10 +23,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-python3.12/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-python3.12/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/httpserver-python3.12/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -66,40 +66,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: httpserver-python312-ma2i9 -uuid: e7389eee-9808-4152-b2ec-1f3c0541fd05 -state: starting -image: /httpserver-python312 -resources: - memory: 512MiB - vcpus: 1 -service: - uuid: 51a41f63-7e88-c443-b9bf-83cd7c04d975 - name: young-night-5fpf0jj8 - domains: - - fqdn: young-night-5fpf0jj8.fra.unikraft.app -networks: -- uuid: 53da3490-c6f5-3718-25f1-219a65163c73 - private-ip: 10.0.3.3 - mac: 12:b0:18:0c:cb:aa -timestamps: - created: just now +metro: fra +name: httpserver-python312-ma2i9 +uuid: e7389eee-9808-4152-b2ec-1f3c0541fd05 +state: starting +image: /httpserver-python312 +resources: + memory: 512MiB + vcpus: 1 +service: + uuid: 51a41f63-7e88-c443-b9bf-83cd7c04d975 + name: young-night-5fpf0jj8 + domains: + - fqdn: young-night-5fpf0jj8.fra.unikraft.app +networks: +- uuid: 53da3490-c6f5-3718-25f1-219a65163c73 + private-ip: 10.0.3.3 + mac: 12:b0:18:0c:cb:aa +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: httpserver-python312-ma2i9 - ├───────── uuid: e7389eee-9808-4152-b2ec-1f3c0541fd05 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://young-night-5fpf0jj8.fra.unikraft.app - ├──────── image: oci://unikraft.io//httpserver-python312@sha256:278cb8b14f9faf9c2702dddd8bfb6124912d82c11b4a2c6590b6e32fc4049472 - ├─────── memory: 512 MiB - ├────── service: young-night-5fpf0jj8 - ├─ private fqdn: httpserver-python312-ma2i9.internal - └─── private ip: 10.0.3.3 +[●] Deployed successfully! + │ + ├───────── name: httpserver-python312-ma2i9 + ├───────── uuid: e7389eee-9808-4152-b2ec-1f3c0541fd05 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://young-night-5fpf0jj8.fra.unikraft.app + ├──────── image: oci://unikraft.io//httpserver-python312@sha256:278cb8b14f9faf9c2702dddd8bfb6124912d82c11b4a2c6590b6e32fc4049472 + ├─────── memory: 512 MiB + ├────── service: young-night-5fpf0jj8 + ├─ private fqdn: httpserver-python312-ma2i9.internal + └─── private ip: 10.0.3.3 ``` @@ -134,13 +134,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra httpserver-python312-ma2i9 running /httpserver-python312 512MiB 1 young-night-5fpf0jj8.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra httpserver-python312-ma2i9 running /httpserver-python312 512MiB 1 young-night-5fpf0jj8.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-python312-ma2i9 young-night-5fpf0jj8.fra.unikraft.app running 1 minute ago oci://unikraft.io//httpserver-python312@sha256:... 512 MiB 1 15.09 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +httpserver-python312-ma2i9 young-night-5fpf0jj8.fra.unikraft.app running 1 minute ago oci://unikraft.io//httpserver-python312@sha256:... 512 MiB 1 15.09 ms ``` diff --git a/pages/guides/httpserver-ruby3.2.mdx b/pages/guides/httpserver-ruby3.2.mdx index 148dde11..e683a01c 100644 --- a/pages/guides/httpserver-ruby3.2.mdx +++ b/pages/guides/httpserver-ruby3.2.mdx @@ -23,10 +23,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-ruby3.2/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-ruby3.2/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/httpserver-ruby3.2/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -66,40 +66,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: httpserver-ruby32-s6l8n -uuid: b1ebbbc0-5efa-476c-adb6-99866773245c -state: starting -image: /httpserver-ruby32 -resources: - memory: 256MiB - vcpus: 1 -service: - uuid: bcc07c7c-9289-11f4-6e3d-8f7fdde45256 - name: silent-resonance-1jtz5c66 - domains: - - fqdn: silent-resonance-1jtz5c66.fra.unikraft.app -networks: -- uuid: 50203783-cf51-81d1-aa2d-615f939043af - private-ip: 10.0.3.3 - mac: 12:b0:0a:4f:7a:84 -timestamps: - created: just now +metro: fra +name: httpserver-ruby32-s6l8n +uuid: b1ebbbc0-5efa-476c-adb6-99866773245c +state: starting +image: /httpserver-ruby32 +resources: + memory: 256MiB + vcpus: 1 +service: + uuid: bcc07c7c-9289-11f4-6e3d-8f7fdde45256 + name: silent-resonance-1jtz5c66 + domains: + - fqdn: silent-resonance-1jtz5c66.fra.unikraft.app +networks: +- uuid: 50203783-cf51-81d1-aa2d-615f939043af + private-ip: 10.0.3.3 + mac: 12:b0:0a:4f:7a:84 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: httpserver-ruby32-s6l8n - ├───────── uuid: b1ebbbc0-5efa-476c-adb6-99866773245c - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://silent-resonance-1jtz5c66.fra.unikraft.app - ├──────── image: oci://unikraft.io//httpserver-ruby32@sha256:4cf3b341898e6ebff18ff2b68353ef872dded650c9d16a6f005a8fbe8a7cbb3d - ├─────── memory: 256 MiB - ├────── service: silent-resonance-1jtz5c66 - ├─ private fqdn: httpserver-ruby32-s6l8n.internal - └─── private ip: 10.0.3.3 +[●] Deployed successfully! + │ + ├───────── name: httpserver-ruby32-s6l8n + ├───────── uuid: b1ebbbc0-5efa-476c-adb6-99866773245c + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://silent-resonance-1jtz5c66.fra.unikraft.app + ├──────── image: oci://unikraft.io//httpserver-ruby32@sha256:4cf3b341898e6ebff18ff2b68353ef872dded650c9d16a6f005a8fbe8a7cbb3d + ├─────── memory: 256 MiB + ├────── service: silent-resonance-1jtz5c66 + ├─ private fqdn: httpserver-ruby32-s6l8n.internal + └─── private ip: 10.0.3.3 ``` @@ -134,13 +134,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra httpserver-ruby32-s6l8n running /httpserver-ruby32 256MiB 1 silent-resonance-1jtz5c66.fra.unikraf… 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra httpserver-ruby32-s6l8n running /httpserver-ruby32 256MiB 1 silent-resonance-1jtz5c66.fra.unikraf… 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-ruby32-s6l8n silent-resonance-1jtz5c66.fra.unikraft.app running 12 minutes ago oci://unikraft.io//httpserver-ruby32@sha256:... 256 MiB 1 71.19 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +httpserver-ruby32-s6l8n silent-resonance-1jtz5c66.fra.unikraft.app running 12 minutes ago oci://unikraft.io//httpserver-ruby32@sha256:... 256 MiB 1 71.19 ms ``` diff --git a/pages/guides/httpserver-rust-trunkrs-leptos.mdx b/pages/guides/httpserver-rust-trunkrs-leptos.mdx index ee476a28..98034696 100644 --- a/pages/guides/httpserver-rust-trunkrs-leptos.mdx +++ b/pages/guides/httpserver-rust-trunkrs-leptos.mdx @@ -23,10 +23,10 @@ To run it, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-rust-trunkrs-leptos/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-rust-trunkrs-leptos/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/httpserver-rust-trunkrs-leptos/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -66,40 +66,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: httpserver-rust-trunkrs-leptos-n2j7k -uuid: 7b8c9d0e-1f2a-3b4c-5d6e-7f8a9b0c1d2e -state: starting -image: /httpserver-rust-trunkrs-leptos -resources: - memory: 256MiB - vcpus: 1 -service: - uuid: 8c9d0e1f-2a3b-4c5d-6e7f-8a9b0c1d2e3f - name: cool-wind-by4hq7nm - domains: - - fqdn: cool-wind-by4hq7nm.fra.unikraft.app -networks: -- uuid: 9d0e1f2a-3b4c-5d6e-7f8a-9b0c1d2e3f4a - private-ip: 10.0.2.3 - mac: 12:b0:7d:4f:bc:a6 -timestamps: - created: just now +metro: fra +name: httpserver-rust-trunkrs-leptos-n2j7k +uuid: 7b8c9d0e-1f2a-3b4c-5d6e-7f8a9b0c1d2e +state: starting +image: /httpserver-rust-trunkrs-leptos +resources: + memory: 256MiB + vcpus: 1 +service: + uuid: 8c9d0e1f-2a3b-4c5d-6e7f-8a9b0c1d2e3f + name: cool-wind-by4hq7nm + domains: + - fqdn: cool-wind-by4hq7nm.fra.unikraft.app +networks: +- uuid: 9d0e1f2a-3b4c-5d6e-7f8a-9b0c1d2e3f4a + private-ip: 10.0.2.3 + mac: 12:b0:7d:4f:bc:a6 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: httpserver-rust-trunkrs-leptos-n2j7k - ├───────── uuid: 7b8c9d0e-1f2a-3b4c-5d6e-7f8a9b0c1d2e - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://cool-wind-by4hq7nm.fra.unikraft.app - ├──────── image: oci://unikraft.io//httpserver-rust-trunkrs-leptos@sha256:6b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c - ├─────── memory: 256 MiB - ├────── service: cool-wind-by4hq7nm - ├─ private fqdn: httpserver-rust-trunkrs-leptos-n2j7k.internal - └─── private ip: 10.0.2.3 +[●] Deployed successfully! + │ + ├───────── name: httpserver-rust-trunkrs-leptos-n2j7k + ├───────── uuid: 7b8c9d0e-1f2a-3b4c-5d6e-7f8a9b0c1d2e + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://cool-wind-by4hq7nm.fra.unikraft.app + ├──────── image: oci://unikraft.io//httpserver-rust-trunkrs-leptos@sha256:6b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c + ├─────── memory: 256 MiB + ├────── service: cool-wind-by4hq7nm + ├─ private fqdn: httpserver-rust-trunkrs-leptos-n2j7k.internal + └─── private ip: 10.0.2.3 ``` @@ -134,13 +134,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra httpserver-rust-trunkrs-leptos-n2j7k running /httpserver-rust-trunkrs-leptos 256MiB 1 cool-wind-by4hq7nm.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra httpserver-rust-trunkrs-leptos-n2j7k running /httpserver-rust-trunkrs-leptos 256MiB 1 cool-wind-by4hq7nm.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-rust-trunkrs-leptos-n2j7k cool-wind-by4hq7nm.fra.unikraft.app running 1 minute ago oci://unikraft.io//httpserver-rust-trunkrs-leptos@sha256:... 256 MiB 1 8.42 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +httpserver-rust-trunkrs-leptos-n2j7k cool-wind-by4hq7nm.fra.unikraft.app running 1 minute ago oci://unikraft.io//httpserver-rust-trunkrs-leptos@sha256:... 256 MiB 1 8.42 ms ``` diff --git a/pages/guides/httpserver-rust1.75-tokio.mdx b/pages/guides/httpserver-rust1.75-tokio.mdx index 42f6b30d..d39153fc 100644 --- a/pages/guides/httpserver-rust1.75-tokio.mdx +++ b/pages/guides/httpserver-rust1.75-tokio.mdx @@ -23,10 +23,10 @@ To run this example, follow these steps: 1. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-rust1.75-tokio/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-rust1.75-tokio/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/httpserver-rust1.75-tokio/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -66,40 +66,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: httpserver-rust175-tokio-6gxsp -uuid: d5719f64-0653-42d7-b2de-aa6dee0ce467 -state: starting -image: /httpserver-rust175-tokio -resources: - memory: 256MiB - vcpus: 1 -service: - uuid: b59ce5aa-7dac-5241-386c-be48db955f3f - name: empty-dawn-3coedrce - domains: - - fqdn: empty-dawn-3coedrce.fra.unikraft.app -networks: -- uuid: 9136307f-2ee6-2a0b-99af-c5a0fc1727f5 - private-ip: 10.0.6.3 - mac: 12:b0:38:a0:73:f3 -timestamps: - created: just now +metro: fra +name: httpserver-rust175-tokio-6gxsp +uuid: d5719f64-0653-42d7-b2de-aa6dee0ce467 +state: starting +image: /httpserver-rust175-tokio +resources: + memory: 256MiB + vcpus: 1 +service: + uuid: b59ce5aa-7dac-5241-386c-be48db955f3f + name: empty-dawn-3coedrce + domains: + - fqdn: empty-dawn-3coedrce.fra.unikraft.app +networks: +- uuid: 9136307f-2ee6-2a0b-99af-c5a0fc1727f5 + private-ip: 10.0.6.3 + mac: 12:b0:38:a0:73:f3 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: httpserver-rust175-tokio-6gxsp - ├───────── uuid: d5719f64-0653-42d7-b2de-aa6dee0ce467 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://empty-dawn-3coedrce.fra.unikraft.app - ├──────── image: oci://unikraft.io//httpserver-rust175-tokio@sha256:0ce75912711aa2329232a2ca6c3ccb7a244b6d546fafc081f815c2fde8224856 - ├─────── memory: 256 MiB - ├────── service: empty-dawn-3coedrce - ├─ private fqdn: httpserver-rust175-tokio-6gxsp.internal - └─── private ip: 10.0.6.3 +[●] Deployed successfully! + │ + ├───────── name: httpserver-rust175-tokio-6gxsp + ├───────── uuid: d5719f64-0653-42d7-b2de-aa6dee0ce467 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://empty-dawn-3coedrce.fra.unikraft.app + ├──────── image: oci://unikraft.io//httpserver-rust175-tokio@sha256:0ce75912711aa2329232a2ca6c3ccb7a244b6d546fafc081f815c2fde8224856 + ├─────── memory: 256 MiB + ├────── service: empty-dawn-3coedrce + ├─ private fqdn: httpserver-rust175-tokio-6gxsp.internal + └─── private ip: 10.0.6.3 ``` @@ -134,13 +134,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra httpserver-rust175-tokio-6gxsp running /httpserver-rust175-tokio 256MiB 1 empty-dawn-3coedrce.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra httpserver-rust175-tokio-6gxsp running /httpserver-rust175-tokio 256MiB 1 empty-dawn-3coedrce.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-rust175-tokio-6gxsp empty-dawn-3coedrce.fra.unikraft.app running 1 minute ago oci://unikraft.io//httpserver-rust175-tokio@sha256:... 256 MiB 1 21.41 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +httpserver-rust175-tokio-6gxsp empty-dawn-3coedrce.fra.unikraft.app running 1 minute ago oci://unikraft.io//httpserver-rust175-tokio@sha256:... 256 MiB 1 21.41 ms ``` diff --git a/pages/guides/httpserver-rust1.88-actix-web4.mdx b/pages/guides/httpserver-rust1.88-actix-web4.mdx index c85c0015..68dfe484 100644 --- a/pages/guides/httpserver-rust1.88-actix-web4.mdx +++ b/pages/guides/httpserver-rust1.88-actix-web4.mdx @@ -23,10 +23,10 @@ To run it, follow these steps: 1. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-rust1.88-actix-web4/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-rust1.88-actix-web4/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/httpserver-rust1.88-actix-web4/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -66,39 +66,39 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: httpserver-rust188-actix-web4-3pj27 -uuid: 3e729de6-a1fb-5818-63d4-51a905fa6a5d -state: starting -image: /httpserver-rust188-actix-web4 -resources: - memory: 256MiB - vcpus: 1 -service: - uuid: bf564711-3ec0-be8c-64ca-e27c5034d3fe - name: autumn-silence-wupu2nus - domains: - - fqdn: autumn-silence-wupu2nus.fra.unikraft.app -networks: -- uuid: 53417e5b-ae43-6307-d433-9a22c0d249a9 - private-ip: 10.0.3.3 - mac: 12:b0:58:9f:9e:51 -timestamps: - created: just now +metro: fra +name: httpserver-rust188-actix-web4-3pj27 +uuid: 3e729de6-a1fb-5818-63d4-51a905fa6a5d +state: starting +image: /httpserver-rust188-actix-web4 +resources: + memory: 256MiB + vcpus: 1 +service: + uuid: bf564711-3ec0-be8c-64ca-e27c5034d3fe + name: autumn-silence-wupu2nus + domains: + - fqdn: autumn-silence-wupu2nus.fra.unikraft.app +networks: +- uuid: 53417e5b-ae43-6307-d433-9a22c0d249a9 + private-ip: 10.0.3.3 + mac: 12:b0:58:9f:9e:51 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: httpserver-rust188-actix-web4-3pj27 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://autumn-silence-wupu2nus.fra.unikraft.app - ├──────── image: oci://unikraft.io//httpserver-rust188-actix-web4@sha256:11723705230f0f4545d2be7e4867dc67b396870769e91f05e2fa6d9da94f9b59 - ├─────── memory: 256 MiB - ├────── service: autumn-silence-wupu2nus - ├─ private fqdn: httpserver-rust188-actix-web4-3pj27.internal - └─── private ip: 10.0.3.3 +[●] Deployed successfully! + │ + ├───────── name: httpserver-rust188-actix-web4-3pj27 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://autumn-silence-wupu2nus.fra.unikraft.app + ├──────── image: oci://unikraft.io//httpserver-rust188-actix-web4@sha256:11723705230f0f4545d2be7e4867dc67b396870769e91f05e2fa6d9da94f9b59 + ├─────── memory: 256 MiB + ├────── service: autumn-silence-wupu2nus + ├─ private fqdn: httpserver-rust188-actix-web4-3pj27.internal + └─── private ip: 10.0.3.3 ``` @@ -135,13 +135,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra httpserver-rust188-actix-web4-3pj27 running /httpserver-rust188-actix-web4 256MiB 1 autumn-silence-wupu2nus.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra httpserver-rust188-actix-web4-3pj27 running /httpserver-rust188-actix-web4 256MiB 1 autumn-silence-wupu2nus.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-rust188-actix-web4-3pj27 autumn-silence-wupu2nus.fra.unikraft.app running 10 minutes ago oci://unikraft.io//httpserver-rust188-actix-web4@sha256:... 256 MiB 1 11.67 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +httpserver-rust188-actix-web4-3pj27 autumn-silence-wupu2nus.fra.unikraft.app running 10 minutes ago oci://unikraft.io//httpserver-rust188-actix-web4@sha256:... 256 MiB 1 11.67 ms ``` diff --git a/pages/guides/httpserver-rust1.88-rocket0.5.mdx b/pages/guides/httpserver-rust1.88-rocket0.5.mdx index b42a8ce2..b205d4a1 100644 --- a/pages/guides/httpserver-rust1.88-rocket0.5.mdx +++ b/pages/guides/httpserver-rust1.88-rocket0.5.mdx @@ -23,10 +23,10 @@ To run it, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-rust1.88-rocket0.5/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-rust1.88-rocket0.5 -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/httpserver-rust1.88-rocket0.5 + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -66,40 +66,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: httpserver-rust188-rocket05-tuwq3 -uuid: b6fe13e4-93b7-402b-bdec-1bc4d81bc275 -state: starting -image: /httpserver-rust188-rocket05 -resources: - memory: 256MiB - vcpus: 1 -service: - uuid: 57da8f4a-5c68-3d4c-3b8f-987ee2ba0fb3 - name: empty-bobo-n3htmpye - domains: - - fqdn: empty-bobo-n3htmpye.fra.unikraft.app -networks: -- uuid: fb33101e-f3b6-0859-38b9-71fb057cab4a - private-ip: 10.0.6.6 - mac: 12:b0:07:e5:d1:fe -timestamps: - created: just now +metro: fra +name: httpserver-rust188-rocket05-tuwq3 +uuid: b6fe13e4-93b7-402b-bdec-1bc4d81bc275 +state: starting +image: /httpserver-rust188-rocket05 +resources: + memory: 256MiB + vcpus: 1 +service: + uuid: 57da8f4a-5c68-3d4c-3b8f-987ee2ba0fb3 + name: empty-bobo-n3htmpye + domains: + - fqdn: empty-bobo-n3htmpye.fra.unikraft.app +networks: +- uuid: fb33101e-f3b6-0859-38b9-71fb057cab4a + private-ip: 10.0.6.6 + mac: 12:b0:07:e5:d1:fe +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: httpserver-rust188-rocket05-tuwq3 - ├───────── uuid: b6fe13e4-93b7-402b-bdec-1bc4d81bc275 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://empty-bobo-n3htmpye.fra.unikraft.app - ├──────── image: oci://unikraft.io//httpserver-rust188-rocket05@sha256:23a7a6e155758e6e8f75e9570f0aec5fb744f08c1bad2454d7386367c5ea45d6 - ├─────── memory: 256 MiB - ├────── service: empty-bobo-n3htmpye - ├─ private fqdn: httpserver-rust188-rocket05-tuwq3.internal - └─── private ip: 10.0.6.6 +[●] Deployed successfully! + │ + ├───────── name: httpserver-rust188-rocket05-tuwq3 + ├───────── uuid: b6fe13e4-93b7-402b-bdec-1bc4d81bc275 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://empty-bobo-n3htmpye.fra.unikraft.app + ├──────── image: oci://unikraft.io//httpserver-rust188-rocket05@sha256:23a7a6e155758e6e8f75e9570f0aec5fb744f08c1bad2454d7386367c5ea45d6 + ├─────── memory: 256 MiB + ├────── service: empty-bobo-n3htmpye + ├─ private fqdn: httpserver-rust188-rocket05-tuwq3.internal + └─── private ip: 10.0.6.6 ``` @@ -134,13 +134,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra httpserver-rust188-rocket05-tuwq3 running /httpserver-rust188-rocket05 256MiB 1 empty-bobo-n3htmpye.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra httpserver-rust188-rocket05-tuwq3 running /httpserver-rust188-rocket05 256MiB 1 empty-bobo-n3htmpye.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-rust188-rocket05-tuwq3 empty-bobo-n3htmpye.fra.unikraft.app running 1 minute ago oci://unikraft.io//httpserver-rust188-rocket05@sha256:... 256 MiB 1 17.41 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +httpserver-rust188-rocket05-tuwq3 empty-bobo-n3htmpye.fra.unikraft.app running 1 minute ago oci://unikraft.io//httpserver-rust188-rocket05@sha256:... 256 MiB 1 17.41 ms ``` diff --git a/pages/guides/httpserver-rust1.91.mdx b/pages/guides/httpserver-rust1.91.mdx index 2251233a..6a3386be 100644 --- a/pages/guides/httpserver-rust1.91.mdx +++ b/pages/guides/httpserver-rust1.91.mdx @@ -23,10 +23,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/httpserver-rust1.91` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/httpserver-rust1.91/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/httpserver-rust1.91/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -66,40 +66,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: httpserver-rust191-pinzf -uuid: 8acb3d35-38ba-4929-81de-950340662c14 -state: starting -image: /httpserver-rust191 -resources: - memory: 384MiB - vcpus: 1 -service: - uuid: 3bf42986-3032-1ff2-fe4d-2041db03b628 - name: snowy-feather-k4pfgl8t - domains: - - fqdn: snowy-feather-k4pfgl8t.fra.unikraft.app -networks: -- uuid: d64344f4-e159-c7c3-7f1b-ba10bcc60f67 - private-ip: 10.0.2.53 - mac: 12:b0:1d:12:0e:46 -timestamps: - created: just now +metro: fra +name: httpserver-rust191-pinzf +uuid: 8acb3d35-38ba-4929-81de-950340662c14 +state: starting +image: /httpserver-rust191 +resources: + memory: 384MiB + vcpus: 1 +service: + uuid: 3bf42986-3032-1ff2-fe4d-2041db03b628 + name: snowy-feather-k4pfgl8t + domains: + - fqdn: snowy-feather-k4pfgl8t.fra.unikraft.app +networks: +- uuid: d64344f4-e159-c7c3-7f1b-ba10bcc60f67 + private-ip: 10.0.2.53 + mac: 12:b0:1d:12:0e:46 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: httpserver-rust191-pinzf - ├───────── uuid: 8acb3d35-38ba-4929-81de-950340662c14 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://snowy-feather-k4pfgl8t.fra.unikraft.app - ├──────── image: oci://unikraft.io//httpserver-rust191@sha256:7725556f4db01037438c08d5f934eabe89f33c172b4ae6c7424b3286351619e9 - ├─────── memory: 384 MiB - ├────── service: snowy-feather-k4pfgl8t - ├─ private fqdn: httpserver-rust191-pinzf.internal - └─── private ip: 10.0.2.53 +[●] Deployed successfully! + │ + ├───────── name: httpserver-rust191-pinzf + ├───────── uuid: 8acb3d35-38ba-4929-81de-950340662c14 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://snowy-feather-k4pfgl8t.fra.unikraft.app + ├──────── image: oci://unikraft.io//httpserver-rust191@sha256:7725556f4db01037438c08d5f934eabe89f33c172b4ae6c7424b3286351619e9 + ├─────── memory: 384 MiB + ├────── service: snowy-feather-k4pfgl8t + ├─ private fqdn: httpserver-rust191-pinzf.internal + └─── private ip: 10.0.2.53 ``` @@ -134,13 +134,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra httpserver-rust191-pinzf standby /httpserver-rust191 384MiB 1 snowy-feather-k4pfgl8t.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra httpserver-rust191-pinzf standby /httpserver-rust191 384MiB 1 snowy-feather-k4pfgl8t.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -httpserver-rust191-pinzf snowy-feather-k4pfgl8t.fra.unikraft.app standby standby oci://unikraft.io//httpserver-rust191@sha256:... 384 MiB 1 11.67 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +httpserver-rust191-pinzf snowy-feather-k4pfgl8t.fra.unikraft.app standby standby oci://unikraft.io//httpserver-rust191@sha256:... 384 MiB 1 11.67 ms ``` diff --git a/pages/guides/hugo0.122.mdx b/pages/guides/hugo0.122.mdx index 87c53413..8079cbe8 100644 --- a/pages/guides/hugo0.122.mdx +++ b/pages/guides/hugo0.122.mdx @@ -24,10 +24,10 @@ To run it, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/hugo0.122/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/hugo0.122/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/hugo0.122/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -67,40 +67,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: hugo0122-zpabu -uuid: dfc6e06c-76cc-4aa1-a053-c4eded0d2456 -state: starting -image: /hugo0122 -resources: - memory: 512MiB - vcpus: 1 -service: - uuid: f5492054-269e-2bcb-1d6c-18b2129c423a - name: morning-rain-jikpfy3t - domains: - - fqdn: morning-rain-jikpfy3t.fra.unikraft.app -networks: -- uuid: 4dd794e8-ee05-6d97-fdc8-b86f92dc1b44 - private-ip: 10.0.6.4 - mac: 12:b0:fe:77:90:47 -timestamps: - created: just now +metro: fra +name: hugo0122-zpabu +uuid: dfc6e06c-76cc-4aa1-a053-c4eded0d2456 +state: starting +image: /hugo0122 +resources: + memory: 512MiB + vcpus: 1 +service: + uuid: f5492054-269e-2bcb-1d6c-18b2129c423a + name: morning-rain-jikpfy3t + domains: + - fqdn: morning-rain-jikpfy3t.fra.unikraft.app +networks: +- uuid: 4dd794e8-ee05-6d97-fdc8-b86f92dc1b44 + private-ip: 10.0.6.4 + mac: 12:b0:fe:77:90:47 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: hugo0122-zpabu - ├───────── uuid: dfc6e06c-76cc-4aa1-a053-c4eded0d2456 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://morning-rain-jikpfy3t.fra.unikraft.app - ├──────── image: oci://unikraft.io//hugo0122@sha256:68d20fdb707076b1cd0f2848b17cc75670d8a92b740edb9417aeb8463fef7f19 - ├─────── memory: 512 MiB - ├────── service: morning-rain-jikpfy3t - ├─ private fqdn: hugo0122-zpabu.internal - └─── private ip: 10.0.6.4 +[●] Deployed successfully! + │ + ├───────── name: hugo0122-zpabu + ├───────── uuid: dfc6e06c-76cc-4aa1-a053-c4eded0d2456 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://morning-rain-jikpfy3t.fra.unikraft.app + ├──────── image: oci://unikraft.io//hugo0122@sha256:68d20fdb707076b1cd0f2848b17cc75670d8a92b740edb9417aeb8463fef7f19 + ├─────── memory: 512 MiB + ├────── service: morning-rain-jikpfy3t + ├─ private fqdn: hugo0122-zpabu.internal + └─── private ip: 10.0.6.4 ``` @@ -140,13 +140,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra hugo0122-zpabu running /hugo0122 512MiB 1 morning-rain-jikpfy3t.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra hugo0122-zpabu running /hugo0122 512MiB 1 morning-rain-jikpfy3t.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -hugo0122-zpabu morning-rain-jikpfy3t.fra.unikraft.app running 1 minute ago oci://unikraft.io//hugo0122@sha256:... 512 MiB 1 77.17 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +hugo0122-zpabu morning-rain-jikpfy3t.fra.unikraft.app running 1 minute ago oci://unikraft.io//hugo0122@sha256:... 512 MiB 1 77.17 ms ``` diff --git a/pages/guides/imaginary.mdx b/pages/guides/imaginary.mdx index 76357387..a401984f 100644 --- a/pages/guides/imaginary.mdx +++ b/pages/guides/imaginary.mdx @@ -24,10 +24,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/imaginary/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/imaginary/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/imaginary/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -67,40 +67,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: imaginary-mwb4y -uuid: 8cf18bf7-2bf6-4f23-be07-f9c234c7962d -state: starting -image: /imaginary -resources: - memory: 512MiB - vcpus: 1 -service: - uuid: b9b7fa60-5f4f-13e5-41e9-eeea476f4398 - name: divine-wind-1ycjvhqs - domains: - - fqdn: divine-wind-1ycjvhqs.fra.unikraft.app -networks: -- uuid: 91467bd9-8d52-a378-4426-7014ca09e5d5 - private-ip: 10.0.3.3 - mac: 12:b0:e2:ed:95:49 -timestamps: - created: just now +metro: fra +name: imaginary-mwb4y +uuid: 8cf18bf7-2bf6-4f23-be07-f9c234c7962d +state: starting +image: /imaginary +resources: + memory: 512MiB + vcpus: 1 +service: + uuid: b9b7fa60-5f4f-13e5-41e9-eeea476f4398 + name: divine-wind-1ycjvhqs + domains: + - fqdn: divine-wind-1ycjvhqs.fra.unikraft.app +networks: +- uuid: 91467bd9-8d52-a378-4426-7014ca09e5d5 + private-ip: 10.0.3.3 + mac: 12:b0:e2:ed:95:49 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: imaginary-mwb4y - ├───────── uuid: 8cf18bf7-2bf6-4f23-be07-f9c234c7962d - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://divine-wind-1ycjvhqs.fra.unikraft.app - ├──────── image: oci://unikraft.io//imaginary@sha256:673834bc531038bb621266f7fd635a04e559050cbe82876df811fd4b975ea4fe - ├─────── memory: 512 MiB - ├────── service: divine-wind-1ycjvhqs - ├─ private fqdn: imaginary-mwb4y.internal - └─── private ip: 10.0.3.3 +[●] Deployed successfully! + │ + ├───────── name: imaginary-mwb4y + ├───────── uuid: 8cf18bf7-2bf6-4f23-be07-f9c234c7962d + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://divine-wind-1ycjvhqs.fra.unikraft.app + ├──────── image: oci://unikraft.io//imaginary@sha256:673834bc531038bb621266f7fd635a04e559050cbe82876df811fd4b975ea4fe + ├─────── memory: 512 MiB + ├────── service: divine-wind-1ycjvhqs + ├─ private fqdn: imaginary-mwb4y.internal + └─── private ip: 10.0.3.3 ``` @@ -153,13 +153,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra imaginary-mwb4y running /imaginary 512MiB 1 divine-wind-1ycjvhqs.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra imaginary-mwb4y running /imaginary 512MiB 1 divine-wind-1ycjvhqs.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -imaginary-mwb4y divine-wind-1ycjvhqs.fra.unikraft.app running 54 seconds ago oci://unikraft.io//imaginary@sha256:... 512 MiB 1 32.26 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +imaginary-mwb4y divine-wind-1ycjvhqs.fra.unikraft.app running 54 seconds ago oci://unikraft.io//imaginary@sha256:... 512 MiB 1 32.26 ms ``` diff --git a/pages/guides/mariadb.mdx b/pages/guides/mariadb.mdx index ded94ab7..f3a0e464 100644 --- a/pages/guides/mariadb.mdx +++ b/pages/guides/mariadb.mdx @@ -23,10 +23,10 @@ To run it, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/mariadb/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/mariadb -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/mariadb + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -66,40 +66,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: mariadb-w2g2z -uuid: ba696c22-adff-4fba-88b9-d1b790ca2357 -state: starting -image: /mariadb -resources: - memory: 1024MiB - vcpus: 1 -service: - uuid: ca8ae7e9-3767-85f6-3d70-b77bcf894a7c - name: twilight-sun-82lt4ddk - domains: - - fqdn: twilight-sun-82lt4ddk.fra.unikraft.app -networks: -- uuid: 935ba4ef-39c2-07e7-d2ae-8cd3c9aae07c - private-ip: 10.0.6.3 - mac: 12:b0:ee:29:71:e4 -timestamps: - created: just now +metro: fra +name: mariadb-w2g2z +uuid: ba696c22-adff-4fba-88b9-d1b790ca2357 +state: starting +image: /mariadb +resources: + memory: 1024MiB + vcpus: 1 +service: + uuid: ca8ae7e9-3767-85f6-3d70-b77bcf894a7c + name: twilight-sun-82lt4ddk + domains: + - fqdn: twilight-sun-82lt4ddk.fra.unikraft.app +networks: +- uuid: 935ba4ef-39c2-07e7-d2ae-8cd3c9aae07c + private-ip: 10.0.6.3 + mac: 12:b0:ee:29:71:e4 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: mariadb-w2g2z - ├───────── uuid: ba696c22-adff-4fba-88b9-d1b790ca2357 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://twilight-sun-82lt4ddk.fra.unikraft.app - ├──────── image: oci://unikraft.io//mariadb@sha256:6e31d28b351eb12a070e3074f0a500532d0a494332947e9d8dbfa093d2d551fd - ├─────── memory: 1024 MiB - ├────── service: twilight-sun-82lt4ddk - ├─ private fqdn: mariadb-w2g2z.internal - └─── private ip: 10.0.6.3 +[●] Deployed successfully! + │ + ├───────── name: mariadb-w2g2z + ├───────── uuid: ba696c22-adff-4fba-88b9-d1b790ca2357 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://twilight-sun-82lt4ddk.fra.unikraft.app + ├──────── image: oci://unikraft.io//mariadb@sha256:6e31d28b351eb12a070e3074f0a500532d0a494332947e9d8dbfa093d2d551fd + ├─────── memory: 1024 MiB + ├────── service: twilight-sun-82lt4ddk + ├─ private fqdn: mariadb-w2g2z.internal + └─── private ip: 10.0.6.3 ``` @@ -157,13 +157,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra mariadb-w2g2z running /mariadb 1024MiB 1 twilight-sun-82lt4ddk.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra mariadb-w2g2z running /mariadb 1024MiB 1 twilight-sun-82lt4ddk.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -mariadb-w2g2z twilight-sun-82lt4ddk.fra.unikraft.app running 1 minute ago oci://unikraft.io//mariadb@sha256... 1.0 GiB 1 159.06 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +mariadb-w2g2z twilight-sun-82lt4ddk.fra.unikraft.app running 1 minute ago oci://unikraft.io//mariadb@sha256... 1.0 GiB 1 159.06 ms ``` diff --git a/pages/guides/mcp-server-arxiv.mdx b/pages/guides/mcp-server-arxiv.mdx index 02f9e133..bbc9e6fb 100644 --- a/pages/guides/mcp-server-arxiv.mdx +++ b/pages/guides/mcp-server-arxiv.mdx @@ -36,10 +36,10 @@ To run this MCP server on Unikraft Cloud: 1. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/mcp-server-arxiv/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/mcp-server-arxiv/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/mcp-server-arxiv/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -79,40 +79,40 @@ The output shows your instance details: ```ansi title="unikraft" -metro: fra -name: mcp-server-arxiv-l7l24 -uuid: 1a721bb8-4472-4149-9870-789b1df5f80a -state: starting -image: /mcp-server-arxiv -resources: - memory: 2048MiB - vcpus: 1 -service: - uuid: 94b10356-3df8-b2fa-cd17-60ca8193c86c - name: billowing-breeze-nuusy7l2 - domains: - - fqdn: billowing-breeze-nuusy7l2.fra.unikraft.app -networks: -- uuid: e6754486-5398-bb06-420e-de23ed73da3f - private-ip: 10.0.1.149 - mac: 12:b0:26:13:a0:89 -timestamps: - created: just now +metro: fra +name: mcp-server-arxiv-l7l24 +uuid: 1a721bb8-4472-4149-9870-789b1df5f80a +state: starting +image: /mcp-server-arxiv +resources: + memory: 2048MiB + vcpus: 1 +service: + uuid: 94b10356-3df8-b2fa-cd17-60ca8193c86c + name: billowing-breeze-nuusy7l2 + domains: + - fqdn: billowing-breeze-nuusy7l2.fra.unikraft.app +networks: +- uuid: e6754486-5398-bb06-420e-de23ed73da3f + private-ip: 10.0.1.149 + mac: 12:b0:26:13:a0:89 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: mcp-server-arxiv-l7l24 - ├───────── uuid: 1a721bb8-4472-4149-9870-789b1df5f80a - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://billowing-breeze-nuusy7l2.fra.unikraft.app - ├──────── image: oci://unikraft.io//mcp-server-arxiv@sha256:ea1e677ccc03628a3e7d57a4cd41118e3d2a631bcb2c34203bb9b175e7977f00 - ├─────── memory: 2048 MiB - ├────── service: billowing-breeze-nuusy7l2 - ├─ private fqdn: mcp-server-arxiv-l7l24.internal - └─── private ip: 10.0.1.149 +[●] Deployed successfully! + │ + ├───────── name: mcp-server-arxiv-l7l24 + ├───────── uuid: 1a721bb8-4472-4149-9870-789b1df5f80a + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://billowing-breeze-nuusy7l2.fra.unikraft.app + ├──────── image: oci://unikraft.io//mcp-server-arxiv@sha256:ea1e677ccc03628a3e7d57a4cd41118e3d2a631bcb2c34203bb9b175e7977f00 + ├─────── memory: 2048 MiB + ├────── service: billowing-breeze-nuusy7l2 + ├─ private fqdn: mcp-server-arxiv-l7l24.internal + └─── private ip: 10.0.1.149 ``` @@ -154,13 +154,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra mcp-server-arxiv-l7l24 standby /mcp-server-arxiv 2.0GiB 1 billowing-breeze-nuusy7l2.fra.unikraf… 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra mcp-server-arxiv-l7l24 standby /mcp-server-arxiv 2.0GiB 1 billowing-breeze-nuusy7l2.fra.unikraf… 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -mcp-server-arxiv-l7l24 billowing-breeze-nuusy7l2.fra.unikraft.app standby standby oci://unikraft.io//mcp-server-arxiv@sha256:... 2.0 GiB 1 213.07 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +mcp-server-arxiv-l7l24 billowing-breeze-nuusy7l2.fra.unikraft.app standby standby oci://unikraft.io//mcp-server-arxiv@sha256:... 2.0 GiB 1 213.07 ms ``` diff --git a/pages/guides/mcp-server-simple.mdx b/pages/guides/mcp-server-simple.mdx index 8f2fba56..d368e208 100644 --- a/pages/guides/mcp-server-simple.mdx +++ b/pages/guides/mcp-server-simple.mdx @@ -28,10 +28,10 @@ To run this MCP server on Unikraft Cloud: 1. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/mcp-server-simple/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/mcp-server-simple/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/mcp-server-simple/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -71,40 +71,40 @@ The output shows your instance details: ```ansi title="unikraft" -metro: fra -name: mcp-server-simple-bbdcb -uuid: e87d3591-3497-4f30-bd76-1dc886059647 -state: starting -image: /mcp-server-simple -resources: - memory: 512MiB - vcpus: 1 -service: - uuid: 3cfc78af-748d-c6ba-5bfb-427b3bd7e9aa - name: cool-paper-b6mht7jv - domains: - - fqdn: cool-paper-b6mht7jv.fra.unikraft.app -networks: -- uuid: 6a712117-5b67-d89a-7e2e-4a57e1732724 - private-ip: 10.0.0.193 - mac: 12:b0:39:2b:a3:15 -timestamps: - created: just now +metro: fra +name: mcp-server-simple-bbdcb +uuid: e87d3591-3497-4f30-bd76-1dc886059647 +state: starting +image: /mcp-server-simple +resources: + memory: 512MiB + vcpus: 1 +service: + uuid: 3cfc78af-748d-c6ba-5bfb-427b3bd7e9aa + name: cool-paper-b6mht7jv + domains: + - fqdn: cool-paper-b6mht7jv.fra.unikraft.app +networks: +- uuid: 6a712117-5b67-d89a-7e2e-4a57e1732724 + private-ip: 10.0.0.193 + mac: 12:b0:39:2b:a3:15 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: mcp-server-simple-bbdcb - ├───────── uuid: e87d3591-3497-4f30-bd76-1dc886059647 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://cool-paper-b6mht7jv.fra.unikraft.app - ├──────── image: oci://unikraft.io//mcp-server-simple@sha256:cbbfb441ee313a6c7c0de571e9002f0f6031312e203ffb6be3b8f4950df3bc20 - ├─────── memory: 512 MiB - ├────── service: cool-paper-b6mht7jv - ├─ private fqdn: mcp-server-simple-bbdcb.internal - └─── private ip: 10.0.0.193 +[●] Deployed successfully! + │ + ├───────── name: mcp-server-simple-bbdcb + ├───────── uuid: e87d3591-3497-4f30-bd76-1dc886059647 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://cool-paper-b6mht7jv.fra.unikraft.app + ├──────── image: oci://unikraft.io//mcp-server-simple@sha256:cbbfb441ee313a6c7c0de571e9002f0f6031312e203ffb6be3b8f4950df3bc20 + ├─────── memory: 512 MiB + ├────── service: cool-paper-b6mht7jv + ├─ private fqdn: mcp-server-simple-bbdcb.internal + └─── private ip: 10.0.0.193 ``` @@ -155,13 +155,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra mcp-server-simple-bbdcb standby /mcp-server-simple 512MiB 1 cool-paper-b6mht7jv.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra mcp-server-simple-bbdcb standby /mcp-server-simple 512MiB 1 cool-paper-b6mht7jv.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -mcp-server-simple-bbdcb cool-paper-b6mht7jv.fra.unikraft.app standby standby oci://unikraft.io//mcp-server-simple@sha256:... 512 MiB 1 9.15 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +mcp-server-simple-bbdcb cool-paper-b6mht7jv.fra.unikraft.app standby standby oci://unikraft.io//mcp-server-simple@sha256:... 512 MiB 1 9.15 ms ``` diff --git a/pages/guides/memcached1.6.mdx b/pages/guides/memcached1.6.mdx index 22f6d57c..42209e15 100644 --- a/pages/guides/memcached1.6.mdx +++ b/pages/guides/memcached1.6.mdx @@ -25,10 +25,10 @@ To run it, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/memcached1.6/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/memcached1.6/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/memcached1.6/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -68,40 +68,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: memcached16-arkv7 -uuid: da436eca-bc64-46d7-a04c-72832652b10e -state: starting -image: /memcached16 -resources: - memory: 256MiB - vcpus: 1 -service: - uuid: ce58c122-62e5-b82d-955d-63053dbc13ec - name: weathered-smoke-hehsdinv - domains: - - fqdn: weathered-smoke-hehsdinv.fra.unikraft.app -networks: -- uuid: 1e9e37f9-1ba5-7c92-350e-f399db32d93d - private-ip: 10.0.6.5 - mac: 12:b0:e3:15:81:6b -timestamps: - created: just now +metro: fra +name: memcached16-arkv7 +uuid: da436eca-bc64-46d7-a04c-72832652b10e +state: starting +image: /memcached16 +resources: + memory: 256MiB + vcpus: 1 +service: + uuid: ce58c122-62e5-b82d-955d-63053dbc13ec + name: weathered-smoke-hehsdinv + domains: + - fqdn: weathered-smoke-hehsdinv.fra.unikraft.app +networks: +- uuid: 1e9e37f9-1ba5-7c92-350e-f399db32d93d + private-ip: 10.0.6.5 + mac: 12:b0:e3:15:81:6b +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: memcached16-arkv7 - ├───────── uuid: da436eca-bc64-46d7-a04c-72832652b10e - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://weathered-smoke-hehsdinv.fra.unikraft.app - ├──────── image: oci://unikraft.io//memcached16@sha256:f53cdbce4dc185e8acc8ecb93a0ab0ba99085ca0837a0ad2062aae9e31382e58 - ├─────── memory: 256 MiB - ├────── service: weathered-smoke-hehsdinv - ├─ private fqdn: memcached16-arkv7.internal - └─── private ip: 10.0.6.5 +[●] Deployed successfully! + │ + ├───────── name: memcached16-arkv7 + ├───────── uuid: da436eca-bc64-46d7-a04c-72832652b10e + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://weathered-smoke-hehsdinv.fra.unikraft.app + ├──────── image: oci://unikraft.io//memcached16@sha256:f53cdbce4dc185e8acc8ecb93a0ab0ba99085ca0837a0ad2062aae9e31382e58 + ├─────── memory: 256 MiB + ├────── service: weathered-smoke-hehsdinv + ├─ private fqdn: memcached16-arkv7.internal + └─── private ip: 10.0.6.5 ``` @@ -160,13 +160,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra memcached16-arkv7 running /memcached16 256MiB 1 weathered-smoke-hehsdinv.fra.unikraft… 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra memcached16-arkv7 running /memcached16 256MiB 1 weathered-smoke-hehsdinv.fra.unikraft… 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -memcached16-arkv7 weathered-smoke-hehsdinv.fra.unikraft.app running 11 minutes ago oci://unikraft.io//memcached16@sha256:... 256 MiB 1 19.27 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +memcached16-arkv7 weathered-smoke-hehsdinv.fra.unikraft.app running 11 minutes ago oci://unikraft.io//memcached16@sha256:... 256 MiB 1 19.27 ms ``` diff --git a/pages/guides/minio.mdx b/pages/guides/minio.mdx index 32a64645..e30bf374 100644 --- a/pages/guides/minio.mdx +++ b/pages/guides/minio.mdx @@ -25,10 +25,10 @@ To run it, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/minio/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/minio/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/minio/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -68,40 +68,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: minio-w2my8 -uuid: 31e691ad-05a0-48b6-ad49-7f79da8e1754 -state: starting -image: /minio -resources: - memory: 512MiB - vcpus: 1 -service: - uuid: 8fdad5ff-9276-5f35-f94e-3d9d9b244a15 - name: icy-bird-tregaga9 - domains: - - fqdn: icy-bird-tregaga9.fra.unikraft.app -networks: -- uuid: f3a7d1f6-b1ca-68d0-6b45-7e9179ad0966 - private-ip: 10.0.6.4 - mac: 12:b0:44:5e:b0:54 -timestamps: - created: just now +metro: fra +name: minio-w2my8 +uuid: 31e691ad-05a0-48b6-ad49-7f79da8e1754 +state: starting +image: /minio +resources: + memory: 512MiB + vcpus: 1 +service: + uuid: 8fdad5ff-9276-5f35-f94e-3d9d9b244a15 + name: icy-bird-tregaga9 + domains: + - fqdn: icy-bird-tregaga9.fra.unikraft.app +networks: +- uuid: f3a7d1f6-b1ca-68d0-6b45-7e9179ad0966 + private-ip: 10.0.6.4 + mac: 12:b0:44:5e:b0:54 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: minio-w2my8 - ├───────── uuid: 31e691ad-05a0-48b6-ad49-7f79da8e1754 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://icy-bird-tregaga9.fra.unikraft.app - ├──────── image: oci://unikraft.io//minio@sha256:ba4657c607495326b0e29b512fb33a4179cd1b2a15fbfdd3ccc6e66209a701dd - ├─────── memory: 512 MiB - ├────── service: icy-bird-tregaga9 - ├─ private fqdn: minio-w2my8.internal - └─── private ip: 10.0.6.4 +[●] Deployed successfully! + │ + ├───────── name: minio-w2my8 + ├───────── uuid: 31e691ad-05a0-48b6-ad49-7f79da8e1754 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://icy-bird-tregaga9.fra.unikraft.app + ├──────── image: oci://unikraft.io//minio@sha256:ba4657c607495326b0e29b512fb33a4179cd1b2a15fbfdd3ccc6e66209a701dd + ├─────── memory: 512 MiB + ├────── service: icy-bird-tregaga9 + ├─ private fqdn: minio-w2my8.internal + └─── private ip: 10.0.6.4 ``` @@ -129,13 +129,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra minio-w2my8 running /minio 512MiB 1 icy-bird-tregaga9.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra minio-w2my8 running /minio 512MiB 1 icy-bird-tregaga9.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -minio-w2my8 icy-bird-tregaga9.fra.unikraft.app running 1 minute ago oci://unikraft.io//minio@sha256:... 512 MiB 1 73.65 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +minio-w2my8 icy-bird-tregaga9.fra.unikraft.app running 1 minute ago oci://unikraft.io//minio@sha256:... 512 MiB 1 73.65 ms ``` diff --git a/pages/guides/mongodb.mdx b/pages/guides/mongodb.mdx index 92cd6f68..304dfbd1 100644 --- a/pages/guides/mongodb.mdx +++ b/pages/guides/mongodb.mdx @@ -24,10 +24,10 @@ To run it, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/mongodb/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/mongodb/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/mongodb/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -67,40 +67,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: mongodb-6tiuu -uuid: 99779597-0bdb-4160-b902-a160c3ab4b2a -state: starting -image: /mongodb -resources: - memory: 1024MiB - vcpus: 1 -service: - uuid: 91309c0c-fd6f-271d-cab6-2694b0991fbe - name: bold-brook-khkwv7of - domains: - - fqdn: bold-brook-khkwv7of.fra.unikraft.app -networks: -- uuid: 24cc79e5-bb3f-cdcd-fd5d-e4605015a228 - private-ip: 10.0.6.4 - mac: 12:b0:d7:7b:83:97 -timestamps: - created: just now +metro: fra +name: mongodb-6tiuu +uuid: 99779597-0bdb-4160-b902-a160c3ab4b2a +state: starting +image: /mongodb +resources: + memory: 1024MiB + vcpus: 1 +service: + uuid: 91309c0c-fd6f-271d-cab6-2694b0991fbe + name: bold-brook-khkwv7of + domains: + - fqdn: bold-brook-khkwv7of.fra.unikraft.app +networks: +- uuid: 24cc79e5-bb3f-cdcd-fd5d-e4605015a228 + private-ip: 10.0.6.4 + mac: 12:b0:d7:7b:83:97 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: mongodb-6tiuu - ├───────── uuid: 99779597-0bdb-4160-b902-a160c3ab4b2a - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://bold-brook-khkwv7of.fra.unikraft.app - ├──────── image: oci://unikraft.io//mongodb@sha256:e6ff5153f106e2d5e2a10881818cd1b90fe3ff1294ad80879b2239ffc52aff0e - ├─────── memory: 1024 MiB - ├────── service: bold-brook-khkwv7of - ├─ private fqdn: mongodb-6tiuu.internal - └─── private ip: 10.0.6.4 +[●] Deployed successfully! + │ + ├───────── name: mongodb-6tiuu + ├───────── uuid: 99779597-0bdb-4160-b902-a160c3ab4b2a + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://bold-brook-khkwv7of.fra.unikraft.app + ├──────── image: oci://unikraft.io//mongodb@sha256:e6ff5153f106e2d5e2a10881818cd1b90fe3ff1294ad80879b2239ffc52aff0e + ├─────── memory: 1024 MiB + ├────── service: bold-brook-khkwv7of + ├─ private fqdn: mongodb-6tiuu.internal + └─── private ip: 10.0.6.4 ``` @@ -146,13 +146,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra mongodb-6tiuu running /mongodb 1.0GiB 1 bold-brook-khkwv7of.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra mongodb-6tiuu running /mongodb 1.0GiB 1 bold-brook-khkwv7of.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -mongodb-6tiuu bold-brook-khkwv7of.fra.unikraft.app running 20 minutes ago oci://unikraft.io//mongodb@sha256:... 1.0 GiB 1 82.41 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +mongodb-6tiuu bold-brook-khkwv7of.fra.unikraft.app running 20 minutes ago oci://unikraft.io//mongodb@sha256:... 1.0 GiB 1 82.41 ms ``` diff --git a/pages/guides/mysql.mdx b/pages/guides/mysql.mdx new file mode 100644 index 00000000..87342871 --- /dev/null +++ b/pages/guides/mysql.mdx @@ -0,0 +1,242 @@ +--- +title: "MySQL" +--- + +import { Tabs, TabsContent, TabsList, TabsTrigger } from "zudoku/ui/Tabs" + +{/* vale off */} +{/* THIS FILE WAS AUTOGENERATED FROM THE PUBLIC EXAMPLE REPOSITORY. DO NOT EDIT THIS FILE DIRECTLY. */} + + +This guide shows you how to use [MySQL](https://www.mysql.com), one of the most popular open source relational databases. +To run it, follow these steps: + +1. Install the CLI. + Use the [unikraft CLI](/cli/unikraft). + You need a [BuildKit](https://github.com/moby/buildkit) builder. The easiest way to get one is via [Docker](https://docs.docker.com/engine/install/). + Alternatively, you can also directly set up and use BuildKit, see the [quick start](https://github.com/moby/buildkit#quick-start). + + :::note + The unikraft CLI is the current standard, while kraft is the legacy version. + Choose one of the CLIs below and only run the commands associated with it for the rest of this guide. + ::: + +2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/mysql/` directory: + +```bash +git clone https://github.com/unikraft-cloud/examples +cd examples/mysql +``` + +Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. +This guide uses `fra` (Frankfurt, 🇩🇪): + + + +```bash title="unikraft" +unikraft login +``` + +```bash title="kraft" +# Set Unikraft Cloud access token +export UKC_TOKEN=token +# Set metro to Frankfurt, DE +export UKC_METRO=fra +``` + + + +When done, invoke the following command to deploy this app on Unikraft Cloud: + + + +```bash title="unikraft" +unikraft build . --output /mysql:latest +unikraft run --scale-to-zero policy=idle,cooldown-time=1000,stateful=true --metro fra -p 3306:3306/tls -m 1G -e MYSQL_ROOT_PASSWORD="unikraft" --image /mysql:latest +``` + +```bash title="kraft" +kraft cloud deploy --scale-to-zero idle --scale-to-zero-cooldown 1s --scale-to-zero-stateful --env MYSQL_ROOT_PASSWORD="unikraft" -p 3306:3306/tls -M 1Gi . +``` + + + +The output shows the instance address and other details: + +```ansi +metro: fra +name: mysql-b3mlh +uuid: 19479d80-0995-4ed2-b08e-86b29eda3f3 +state: starting +image: /mysql +runtime: + env: + MYSQL_ROOT_PASSWORD: * +resources: + memory: 1GiB + vcpus: 1 +service: + name: purple-wood-hqb663gu + uuid: d2bcd1c0-c980-4d5b-9777-2bec2b0d0645 + domains: + - fqdn: purple-wood-hqb663gu.fra.unikraft.app +networks: +- uuid: 3e3a6cd5-ca66-41ec-8c28-5280b049f732 + private-ip: 10.0.14.181 + mac: 12:b0:0a:00:0e:b5 +timestamps: + created: just now +scale-to-zero: + enabled: true + policy: idle + stateful: true + cooldown-time: 1s +``` + +or + +```ansi title="kraft" +[●] Deployed successfully! + │ + ├───────── name: mysql-b3mlh + ├───────── uuid: 19479d80-0995-4ed2-b08e-86b29eda3f3 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://purple-wood-hqb663gu.fra.unikraft.app + ├──────── image: oci://unikraft.io//mysql@sha256:f51ecc121c9ca34abb88a2bc6a69765501304f7893f7e85af15fbec3dc86e2bd + ├─────── memory: 1024 MiB + ├────── service: purple-wood-hqb663gu + ├─ private fqdn: mysql-b3mlh.internal + └─── private ip: 10.0.3.3 +``` + +In this case, the instance name is `mysql-b3mlh` which is different for each run. + +To test the deployment, first forward the port with the `socat` command. + +```bash +socat TCP-LISTEN:3306,reuseaddr,fork OPENSSL:purple-wood-hqb663gu.fra.unikraft.app:3306,verify=0 +``` + +You can now, on a separate console, use the `mysql` command line tool to test that the set up works: + +```bash +mysql -h 127.0.0.1 --ssl-mode=DISABLED -u root -punikraft mysql <<< "select count(*) from user" +``` + +Or use the `mariadb` client command line tool: + +```bash +mariadb -h 127.0.0.1 --ssl=OFF -u root -punikraft mysql <<< "select count(*) from user" +``` + +You should see output such as: + +```ansi +count(*) +6 +``` + +To disconnect, kill the `socat` command using `Ctrl+c`. + +:::note +This guide uses `socat` for port forwarding only when a service doesn't support TLS and isn't HTTP-based (TLS/SNI determines the correct instance to send traffic to). +Also note that port forwarding isn't needed when connecting via an instance's private IP/FQDN. +For example, when a MySQL instance serves as a database server to another instance that acts as a frontend and which **does** support TLS. +::: + +You can list information about the instance by running: + + + +```bash title="unikraft" +unikraft instances list +``` + +```bash title="kraft" +kraft cloud instance list +``` + + + + + +```ansi title="unikraft" +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra mysql-b3mlh running /mysql 1024MiB 1 purple-wood-hqb663gu.fra.unikraft.app 2 minutes ago +``` + +```ansi title="kraft" +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +mysql-b3mlh purple-wood-hqb663gu.fra.unikraft.app running 5 minutes ago oci://unikraft.io//mysql@sha256:... 1024 MiB 1 11.13 ms +``` + + + +When done, you can remove the instance: + + + +```bash title="unikraft" +unikraft instance remove mysql-b3mlh +``` + +```bash title="kraft" +kraft cloud instance remove mysql-b3mlh +``` + + + +:::tip +This example uses the [`idle` scale-to-zero policy](/api/platform/v1/instances#scaletozero_policy) by default. +::: + +## Using volumes + +You can use [volumes](/platform/volumes) for data persistence for your MySQL instance. +For that you would first create a volume: + + + +```bash title="unikraft" +unikraft volume create --set metro=fra --set name=mysql-store --set size=512M +``` + +```bash title="kraft" +kraft cloud volume create --name mysql-store --size 512Mi +``` + + + +Then start the MySQL instance and mount that volume: + +```bash +unikraft build . --output /mysql:latest +unikraft run --scale-to-zero policy=idle,cooldown-time=1000,stateful=true --metro fra -p 3306:3306/tls -m 1G -e MYSQL_ROOT_PASSWORD="unikraft" --volume mysql-store:/var/lib --image /mysql:latest +``` + +or + +```bash title="kraft" +kraft cloud deploy --scale-to-zero idle --scale-to-zero-stateful --scale-to-zero-cooldown 1s -M 1Gi -p 3306:3306/tls --env MYSQL_ROOT_PASSWORD="unikraft" --volume mysql-store:/var/lib . +``` + + +## Learn more + +Use the `--help` option for detailed information on using Unikraft Cloud: + + + +```bash title="unikraft" +unikraft --help +``` + +```bash title="kraft" +kraft cloud --help +``` + + + +Or visit the [CLI Reference](/cli/unikraft) or the [legacy CLI Reference](/cli/kraft/overview). +{/* vale on */} diff --git a/pages/guides/nginx-flask-mongo.mdx b/pages/guides/nginx-flask-mongo.mdx index d204269b..8f0b8ff9 100644 --- a/pages/guides/nginx-flask-mongo.mdx +++ b/pages/guides/nginx-flask-mongo.mdx @@ -9,7 +9,7 @@ import { Tabs, TabsContent, TabsList, TabsTrigger } from "zudoku/ui/Tabs" [Flask](https://flask.palletsprojects.com/en/stable/) is a lightweight WSGI web application framework in Python, and [MongoDB](https://www.mongodb.com/) is a NoSQL database that stores data in JSON-like documents. -This example deploys three services on Unikraft Cloud: Nginx (reverse proxy), Flask (backend), and MongoDB (database). +This example deploys three services on Unikraft Cloud: NGINX (reverse proxy), Flask (backend), and MongoDB (database). **Credits**: This example is based on this [Awesome Compose example](https://github.com/docker/awesome-compose/tree/master/nginx-flask-mongo). @@ -29,10 +29,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/nginx-flask-mongo` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/nginx-flask-mongo/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/nginx-flask-mongo/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -52,14 +52,14 @@ export UKC_METRO=fra -## Create the volume +## MongoDB Create a volume for MongoDB data persistence: ```bash title="unikraft" -unikraft volume create --metro=fra --name=mongo-data --size=1G +unikraft volume create --metro fra --name mongo-data --size 1G ``` ```bash title="kraft" @@ -68,32 +68,34 @@ kraft cloud volume create --name mongo-data --size 1Gi -The output shows the volume details: +You can list the created volume by running: -```text title="unikraft" -metro: fra -name: mongo-data -uuid: 9c7723f3-7e1f-4e06-afe6-c811240faf5a -state: available -size: 1GiB -filesystem: ext4 -quota-policy: static -persistent: true -timestamps: - created: just now +```bash title="unikraft" +unikraft volume list +``` + +```bash title="kraft" +kraft cloud volume list +``` + + + + + +```ansi title="unikraft" +METRO NAME STATE SIZE CREATED +fra mongo-data available 1GiB just now ``` ```ansi title="kraft" -NAME CREATED AT SIZE ATTACHED TO MOUNTED BY STATE PERSISTENT +NAME CREATED AT SIZE ATTACHED TO MOUNTED BY STATE PERSISTENT mongo-data now 1.0 GiB available true ``` -## Deploy MongoDB - First, deploy the MongoDB instance. MongoDB is an internal service (not publicly accessible), reached via the `mongo.internal` domain: @@ -115,54 +117,54 @@ The output shows the MongoDB instance details: ```text title="unikraft" -metro: fra -name: mongo-o3qhq -uuid: 90158c53-6654-4e73-bad1-1d6ab4452001 -state: starting -image: /mongo -resources: - memory: 1GiB - vcpus: 1 -service: - name: restless-glade-l8pu2mf0 - uuid: 77a04441-2479-433a-b468-32f23e475f58 - domains: - - fqdn: mongo.internal -volumes: -- name: mongo-data - uuid: 9c7723f3-7e1f-4e06-afe6-c811240faf5a - at: /data/db -networks: -- uuid: 4f891227-d381-42f4-88a4-25a97b95a9e3 - private-ip: 10.0.15.21 - mac: 12:b0:0a:00:0f:15 -timestamps: - created: just now -scale-to-zero: - enabled: true - policy: idle - stateful: true - cooldown-time: 1s +metro: fra +name: mongo-o3qhq +uuid: 90158c53-6654-4e73-bad1-1d6ab4452001 +state: starting +image: /mongo +resources: + memory: 1GiB + vcpus: 1 +service: + name: restless-glade-l8pu2mf0 + uuid: 77a04441-2479-433a-b468-32f23e475f58 + domains: + - fqdn: mongo.internal +volumes: +- name: mongo-data + uuid: 9c7723f3-7e1f-4e06-afe6-c811240faf5a + at: /data/db +networks: +- uuid: 4f891227-d381-42f4-88a4-25a97b95a9e3 + private-ip: 10.0.15.21 + mac: 12:b0:0a:00:0f:15 +timestamps: + created: just now +scale-to-zero: + enabled: true + policy: idle + stateful: true + cooldown-time: 1s ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: mongo-hwoaz - ├───────── uuid: 56d43696-af3e-4ccb-aa81-9ae872b7bf43 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: mongo.internal - ├──────── image: oci://unikraft.io//mongo@sha256:68894454735e0e5b07d61aad19b1c03355f415ec33c050daeaa419d931962657 - ├─────── memory: 1024 MiB - ├────── service: shy-field-y89vrq32 - ├─ private fqdn: mongo-hwoaz.internal - └─── private ip: 10.0.0.29 +[●] Deployed successfully! + │ + ├───────── name: mongo-o3qhq + ├───────── uuid: 90158c53-6654-4e73-bad1-1d6ab4452001 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: mongo.internal + ├──────── image: oci://unikraft.io//mongo@sha256:68894454735e0e5b07d61aad19b1c03355f415ec33c050daeaa419d931962657 + ├─────── memory: 1024 MiB + ├────── service: restless-glade-l8pu2mf0 + ├─ private fqdn: mongo-o3qhq.internal + └─── private ip: 10.0.15.21 ``` -## Deploy Flask +## Flask Next, deploy the Flask backend. It connects to MongoDB using the `MONGO_SERVER_URL` environment variable and is reached internally via `backend.internal`: @@ -185,55 +187,55 @@ The output shows the Flask instance details: ```text title="unikraft" -metro: fra -name: flask-9a68z -uuid: bb6d91f7-0714-45e5-b14a-ec82a5dac36e -state: starting -image: /flask -runtime: - env: +metro: fra +name: flask-9a68z +uuid: bb6d91f7-0714-45e5-b14a-ec82a5dac36e +state: starting +image: /flask +runtime: + env: FLASK_SERVER_PORT: 9091 MONGO_SERVER_URL: mongo.internal:27017 -resources: - memory: 1GiB - vcpus: 1 -service: - name: broken-bird-8isa6q21 - uuid: cd9fe757-784a-49d4-8936-1b6859b3a72d - domains: - - fqdn: backend.internal -networks: -- uuid: 2da7f679-7067-4fb5-908b-853607d383f2 - private-ip: 10.0.17.97 - mac: 12:b0:0a:00:11:61 -timestamps: - created: just now -scale-to-zero: - enabled: true - policy: on - cooldown-time: 1s +resources: + memory: 1GiB + vcpus: 1 +service: + name: broken-bird-8isa6q21 + uuid: cd9fe757-784a-49d4-8936-1b6859b3a72d + domains: + - fqdn: backend.internal +networks: +- uuid: 2da7f679-7067-4fb5-908b-853607d383f2 + private-ip: 10.0.17.97 + mac: 12:b0:0a:00:11:61 +timestamps: + created: just now +scale-to-zero: + enabled: true + policy: on + cooldown-time: 1s ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: flask-1xnsj - ├───────── uuid: edc8e61d-ef6c-4c05-9de3-6983539a47d2 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: backend.internal - ├──────── image: oci://unikraft.io//flask@sha256:f23b3368cd777acae68ad8f35713a4cf55f901d6c266017bf6f0679ffc7a8172 - ├─────── memory: 1024 MiB - ├────── service: falling-mountain-pcx804jx - ├─ private fqdn: flask-1xnsj.internal - └─── private ip: 10.0.0.17 +[●] Deployed successfully! + │ + ├───────── name: flask-9a68z + ├───────── uuid: bb6d91f7-0714-45e5-b14a-ec82a5dac36e + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: backend.internal + ├──────── image: oci://unikraft.io//flask@sha256:f23b3368cd777acae68ad8f35713a4cf55f901d6c266017bf6f0679ffc7a8172 + ├─────── memory: 1024 MiB + ├────── service: broken-bird-8isa6q21 + ├─ private fqdn: flask-9a68z.internal + └─── private ip: 10.0.17.97 ``` -## Deploy Nginx +## NGINX -Finally, deploy Nginx as the public-facing reverse proxy. +Finally, deploy NGINX as the public-facing reverse proxy. It forwards requests to the Flask backend at `backend.internal:9091`: @@ -249,49 +251,49 @@ kraft cloud deploy --scale-to-zero on --scale-to-zero-cooldown 1s -p 443:80/tls+ -The output shows the Nginx instance details including its public FQDN: +The output shows the NGINX instance details including its public FQDN: ```text title="unikraft" -metro: fra -name: nginx-jnpwi -uuid: 57f64e99-bd06-46fd-98f4-26b64751623e -state: starting -image: /nginx -resources: - memory: 512MiB - vcpus: 1 -service: - name: snowy-river-gotjeojl - uuid: 287ee3b8-43bc-47d1-a88e-4d6c72d2d682 - domains: - - fqdn: snowy-river-gotjeojl.fra.unikraft.app -networks: -- uuid: 107e4a03-e285-4d1d-84cb-24f86d7af875 - private-ip: 10.0.14.201 - mac: 12:b0:0a:00:0e:c9 -timestamps: - created: just now -scale-to-zero: - enabled: true - policy: on - cooldown-time: 1s +metro: fra +name: nginx-jnpwi +uuid: 57f64e99-bd06-46fd-98f4-26b64751623e +state: starting +image: /nginx +resources: + memory: 512MiB + vcpus: 1 +service: + name: snowy-river-gotjeojl + uuid: 287ee3b8-43bc-47d1-a88e-4d6c72d2d682 + domains: + - fqdn: snowy-river-gotjeojl.fra.unikraft.app +networks: +- uuid: 107e4a03-e285-4d1d-84cb-24f86d7af875 + private-ip: 10.0.14.201 + mac: 12:b0:0a:00:0e:c9 +timestamps: + created: just now +scale-to-zero: + enabled: true + policy: on + cooldown-time: 1s ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: nginx-psndr - ├───────── uuid: 5ca29c9b-24de-4fa7-800e-a13175a909b1 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://nameless-shadow-f7ywg1l4.fra.unikraft.app - ├──────── image: oci://unikraft.io//nginx@sha256:8cff54392eeead80bafe33538866b04bfd076f2052d65cb3751a938a22368bc0 - ├─────── memory: 512 MiB - ├────── service: nameless-shadow-f7ywg1l4 - ├─ private fqdn: nginx-psndr.internal - └─── private ip: 10.0.0.1 +[●] Deployed successfully! + │ + ├───────── name: nginx-jnpwi + ├───────── uuid: 57f64e99-bd06-46fd-98f4-26b64751623e + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://snowy-river-gotjeojl.fra.unikraft.app + ├──────── image: oci://unikraft.io//nginx@sha256:8cff54392eeead80bafe33538866b04bfd076f2052d65cb3751a938a22368bc0 + ├─────── memory: 512 MiB + ├────── service: snowy-river-gotjeojl + ├─ private fqdn: nginx-jnpwi.internal + └─── private ip: 10.0.14.201 ``` @@ -305,10 +307,10 @@ unikraft instances list ``` ```text title="unikraft" -METRO NAME STATE IMAGE MEMORY VCPUS FQDN CREATED -fra nginx-jnpwi standby /nginx 512MiB 1 snowy-river-gotjeojl.fra.unikraft.app 11 minutes ago -fra flask-9a68z standby /flask 1GiB 1 backend.internal 12 minutes ago -fra mongo-o3qhq standby /mongo 1GiB 1 mongo.internal 14 minutes ago +METRO NAME STATE IMAGE MEMORY VCPUS FQDN CREATED +fra nginx-jnpwi standby /nginx 512MiB 1 snowy-river-gotjeojl.fra.unikraft.app 11 minutes ago +fra flask-9a68z standby /flask 1GiB 1 backend.internal 12 minutes ago +fra mongo-o3qhq standby /mongo 1GiB 1 mongo.internal 14 minutes ago ``` ```bash title="kraft" @@ -316,17 +318,17 @@ kraft cloud instance list ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -nginx-psndr nameless-shadow-f7ywg1l4.fra.unikraft.app standby standby oci://unikraft.io//nginx@sha256:... 512 MiB 1 83.87 ms -flask-1xnsj backend.internal running since 2mins oci://unikraft.io//flask@sha256:... 1.0 GiB 1 1916.54 ms -mongo-hwoaz mongo.internal running since 5mins oci://unikraft.io//mongo@sha256:... 1.0 GiB 1 2776.86 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +nginx-jnpwi snowy-river-gotjeojl.fra.unikraft.app standby standby oci://unikraft.io//nginx@sha256:... 512 MiB 1 83.87 ms +flask-9a68z backend.internal running since 2mins oci://unikraft.io//flask@sha256:... 1.0 GiB 1 1916.54 ms +mongo-o3qhq mongo.internal running since 5mins oci://unikraft.io//mongo@sha256:... 1.0 GiB 1 2776.86 ms ``` ## Test the deployment -The FQDN of the Nginx instance can be found in the `FQDN` column of the `unikraft instances list` output above. +The FQDN of the NGINX instance can be found in the `FQDN` column of the `unikraft instances list` output above. Use `curl` to query it (replace with your actual FQDN): ```bash @@ -349,7 +351,7 @@ unikraft volume delete mongo-data ``` ```bash title="kraft" -kraft cloud instance remove mongo-hwoaz flask-1xnsj nginx-psndr +kraft cloud instance remove mongo-o3qhq flask-9a68z nginx-jnpwi kraft cloud volume remove mongo-data ``` diff --git a/pages/guides/nginx.mdx b/pages/guides/nginx.mdx index 5fcf6ce3..3ce86eda 100644 --- a/pages/guides/nginx.mdx +++ b/pages/guides/nginx.mdx @@ -25,10 +25,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/nginx/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/nginx/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/nginx/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -68,40 +68,44 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: nginx-67zbu -uuid: 8a8bc1b9-0af6-420e-a426-190dc2da9eaa -state: starting -image: /nginx -resources: - memory: 256MiB - vcpus: 1 -service: - uuid: a942b9b5-ad17-3ffe-dcd2-ef4331f9087a - name: nameless-fog-0tvh1uov - domains: - - fqdn: nameless-fog-0tvh1uov.fra.unikraft.app -networks: -- uuid: 62d9bbf0-aec8-61f6-7bdb-86edf63dd068 - private-ip: 10.0.3.3 - mac: 12:b0:c6:23:ed:15 -timestamps: - created: just now +metro: fra +name: nginx-67zbu +uuid: 8a8bc1b9-0af6-420e-a426-190dc2da9eaa +state: starting +image: /nginx +resources: + memory: 256MiB + vcpus: 1 +service: + uuid: a942b9b5-ad17-3ffe-dcd2-ef4331f9087a + name: nameless-fog-0tvh1uov + domains: + - fqdn: nameless-fog-0tvh1uov.fra.unikraft.app +networks: +- uuid: 62d9bbf0-aec8-61f6-7bdb-86edf63dd068 + private-ip: 10.0.3.3 + mac: 12:b0:c6:23:ed:15 +timestamps: + created: just now +scale-to-zero: + enabled: true + policy: on + cooldown-time: 1s ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: nginx-67zbu - ├───────── uuid: 8a8bc1b9-0af6-420e-a426-190dc2da9eaa - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://nameless-fog-0tvh1uov.fra.unikraft.app - ├──────── image: oci://unikraft.io//nginx@sha256:f51ecc121c9ca34abb88a2bc6a69765501304f7893f7e85af15fbec3dc86e2bd - ├─────── memory: 256 MiB - ├────── service: nameless-fog-0tvh1uov - ├─ private fqdn: nginx-67zbu.internal - └─── private ip: 10.0.3.3 +[●] Deployed successfully! + │ + ├───────── name: nginx-67zbu + ├───────── uuid: 8a8bc1b9-0af6-420e-a426-190dc2da9eaa + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://nameless-fog-0tvh1uov.fra.unikraft.app + ├──────── image: oci://unikraft.io//nginx@sha256:f51ecc121c9ca34abb88a2bc6a69765501304f7893f7e85af15fbec3dc86e2bd + ├─────── memory: 256 MiB + ├────── service: nameless-fog-0tvh1uov + ├─ private fqdn: nginx-67zbu.internal + └─── private ip: 10.0.3.3 ``` @@ -140,13 +144,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra nginx-67zbu running /nginx 256MiB 1 nameless-fog-0tvh1uov.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra nginx-67zbu running /nginx 256MiB 1 nameless-fog-0tvh1uov.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -nginx-67zbu nameless-fog-0tvh1uov.fra.unikraft.app running 5 minutes ago oci://unikraft.io//nginx@sha256:... 256 MiB 1 11.13 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +nginx-67zbu nameless-fog-0tvh1uov.fra.unikraft.app running 5 minutes ago oci://unikraft.io//nginx@sha256:... 256 MiB 1 11.13 ms ``` diff --git a/pages/guides/node-playwright-chromium.mdx b/pages/guides/node-playwright-chromium.mdx index 65108743..33ea73f5 100644 --- a/pages/guides/node-playwright-chromium.mdx +++ b/pages/guides/node-playwright-chromium.mdx @@ -24,10 +24,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/node-playwright-chromium/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/node-playwright-chromium/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/node-playwright-chromium/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -67,40 +67,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: node-playwright-chromium-v5f8p -uuid: a1b2c3d4-e5f6-7a8b-9c0d-a1b2c3d4e5f6 -state: starting -image: /node-playwright-chromium -resources: - memory: 4096MiB - vcpus: 1 -service: - uuid: b2c3d4e5-f6a7-8b9c-0d1e-b2c3d4e5f6a7 - name: gentle-moon-cx2jh5wd - domains: - - fqdn: gentle-moon-cx2jh5wd.fra.unikraft.app -networks: -- uuid: c3d4e5f6-a7b8-9c0d-1e2f-c3d4e5f6a7b8 - private-ip: 10.0.4.3 - mac: 12:b0:8e:5a:cd:b7 -timestamps: - created: just now +metro: fra +name: node-playwright-chromium-v5f8p +uuid: a1b2c3d4-e5f6-7a8b-9c0d-a1b2c3d4e5f6 +state: starting +image: /node-playwright-chromium +resources: + memory: 4096MiB + vcpus: 1 +service: + uuid: b2c3d4e5-f6a7-8b9c-0d1e-b2c3d4e5f6a7 + name: gentle-moon-cx2jh5wd + domains: + - fqdn: gentle-moon-cx2jh5wd.fra.unikraft.app +networks: +- uuid: c3d4e5f6-a7b8-9c0d-1e2f-c3d4e5f6a7b8 + private-ip: 10.0.4.3 + mac: 12:b0:8e:5a:cd:b7 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: node-playwright-chromium-v5f8p - ├───────── uuid: a1b2c3d4-e5f6-7a8b-9c0d-a1b2c3d4e5f6 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://gentle-moon-cx2jh5wd.fra.unikraft.app - ├──────── image: oci://unikraft.io//node-playwright-chromium@sha256:7c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d - ├─────── memory: 4096 MiB - ├────── service: gentle-moon-cx2jh5wd - ├─ private fqdn: node-playwright-chromium-v5f8p.internal - └─── private ip: 10.0.4.3 +[●] Deployed successfully! + │ + ├───────── name: node-playwright-chromium-v5f8p + ├───────── uuid: a1b2c3d4-e5f6-7a8b-9c0d-a1b2c3d4e5f6 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://gentle-moon-cx2jh5wd.fra.unikraft.app + ├──────── image: oci://unikraft.io//node-playwright-chromium@sha256:7c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d + ├─────── memory: 4096 MiB + ├────── service: gentle-moon-cx2jh5wd + ├─ private fqdn: node-playwright-chromium-v5f8p.internal + └─── private ip: 10.0.4.3 ``` @@ -136,13 +136,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra node-playwright-chromium-v5f8p running /node-playwright-chromium 4096MiB 1 gentle-moon-cx2jh5wd.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra node-playwright-chromium-v5f8p running /node-playwright-chromium 4096MiB 1 gentle-moon-cx2jh5wd.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -node-playwright-chromium-v5f8p gentle-moon-cx2jh5wd.fra.unikraft.app running 1 minute ago oci://unikraft.io//node-playwright-chromium@sha256:... 4 GiB 1 300.21 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +node-playwright-chromium-v5f8p gentle-moon-cx2jh5wd.fra.unikraft.app running 1 minute ago oci://unikraft.io//node-playwright-chromium@sha256:... 4 GiB 1 300.21 ms ``` diff --git a/pages/guides/node-playwright-firefox.mdx b/pages/guides/node-playwright-firefox.mdx index 8e721025..e318018e 100644 --- a/pages/guides/node-playwright-firefox.mdx +++ b/pages/guides/node-playwright-firefox.mdx @@ -24,10 +24,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/node-playwright-firefox/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/node-playwright-firefox/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/node-playwright-firefox/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -67,40 +67,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: node-playwright-firefox-q3m9k -uuid: d4e5f6a7-b8c9-0d1e-2f3a-d4e5f6a7b8c9 -state: starting -image: /node-playwright-firefox -resources: - memory: 4096MiB - vcpus: 1 -service: - uuid: e5f6a7b8-c9d0-1e2f-3a4b-e5f6a7b8c9d0 - name: bright-lake-dh6xp2sq - domains: - - fqdn: bright-lake-dh6xp2sq.fra.unikraft.app -networks: -- uuid: f6a7b8c9-d0e1-2f3a-4b5c-f6a7b8c9d0e1 - private-ip: 10.0.5.3 - mac: 12:b0:9f:6b:de:c8 -timestamps: - created: just now +metro: fra +name: node-playwright-firefox-q3m9k +uuid: d4e5f6a7-b8c9-0d1e-2f3a-d4e5f6a7b8c9 +state: starting +image: /node-playwright-firefox +resources: + memory: 4096MiB + vcpus: 1 +service: + uuid: e5f6a7b8-c9d0-1e2f-3a4b-e5f6a7b8c9d0 + name: bright-lake-dh6xp2sq + domains: + - fqdn: bright-lake-dh6xp2sq.fra.unikraft.app +networks: +- uuid: f6a7b8c9-d0e1-2f3a-4b5c-f6a7b8c9d0e1 + private-ip: 10.0.5.3 + mac: 12:b0:9f:6b:de:c8 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: node-playwright-firefox-q3m9k - ├───────── uuid: d4e5f6a7-b8c9-0d1e-2f3a-d4e5f6a7b8c9 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://bright-lake-dh6xp2sq.fra.unikraft.app - ├──────── image: oci://unikraft.io//node-playwright-firefox@sha256:8d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e - ├─────── memory: 4096 MiB - ├────── service: bright-lake-dh6xp2sq - ├─ private fqdn: node-playwright-firefox-q3m9k.internal - └─── private ip: 10.0.5.3 +[●] Deployed successfully! + │ + ├───────── name: node-playwright-firefox-q3m9k + ├───────── uuid: d4e5f6a7-b8c9-0d1e-2f3a-d4e5f6a7b8c9 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://bright-lake-dh6xp2sq.fra.unikraft.app + ├──────── image: oci://unikraft.io//node-playwright-firefox@sha256:8d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e + ├─────── memory: 4096 MiB + ├────── service: bright-lake-dh6xp2sq + ├─ private fqdn: node-playwright-firefox-q3m9k.internal + └─── private ip: 10.0.5.3 ``` @@ -136,13 +136,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra node-playwright-firefox-q3m9k running /node-playwright-firefox 4096MiB 1 bright-lake-dh6xp2sq.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra node-playwright-firefox-q3m9k running /node-playwright-firefox 4096MiB 1 bright-lake-dh6xp2sq.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -node-playwright-firefox-q3m9k bright-lake-dh6xp2sq.fra.unikraft.app running 1 minute ago oci://unikraft.io//node-playwright-firefox@sha256:... 4 GiB 1 350.87 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +node-playwright-firefox-q3m9k bright-lake-dh6xp2sq.fra.unikraft.app running 1 minute ago oci://unikraft.io//node-playwright-firefox@sha256:... 4 GiB 1 350.87 ms ``` diff --git a/pages/guides/node-playwright-webkit.mdx b/pages/guides/node-playwright-webkit.mdx index 2c7421c6..f99de50b 100644 --- a/pages/guides/node-playwright-webkit.mdx +++ b/pages/guides/node-playwright-webkit.mdx @@ -24,10 +24,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/node-playwright-webkit/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/node-playwright-webkit/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/node-playwright-webkit/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -67,40 +67,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: node-playwright-webkit-t7r2j -uuid: a2b3c4d5-e6f7-8a9b-0c1d-a2b3c4d5e6f7 -state: starting -image: /node-playwright-webkit -resources: - memory: 4096MiB - vcpus: 1 -service: - uuid: b3c4d5e6-f7a8-9b0c-1d2e-b3c4d5e6f7a8 - name: silent-fog-er8np3fb - domains: - - fqdn: silent-fog-er8np3fb.fra.unikraft.app -networks: -- uuid: c4d5e6f7-a8b9-0c1d-2e3f-c4d5e6f7a8b9 - private-ip: 10.0.6.4 - mac: 12:b0:a0:7c:ef:d9 -timestamps: - created: just now +metro: fra +name: node-playwright-webkit-t7r2j +uuid: a2b3c4d5-e6f7-8a9b-0c1d-a2b3c4d5e6f7 +state: starting +image: /node-playwright-webkit +resources: + memory: 4096MiB + vcpus: 1 +service: + uuid: b3c4d5e6-f7a8-9b0c-1d2e-b3c4d5e6f7a8 + name: silent-fog-er8np3fb + domains: + - fqdn: silent-fog-er8np3fb.fra.unikraft.app +networks: +- uuid: c4d5e6f7-a8b9-0c1d-2e3f-c4d5e6f7a8b9 + private-ip: 10.0.6.4 + mac: 12:b0:a0:7c:ef:d9 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: node-playwright-webkit-t7r2j - ├───────── uuid: a2b3c4d5-e6f7-8a9b-0c1d-a2b3c4d5e6f7 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://silent-fog-er8np3fb.fra.unikraft.app - ├──────── image: oci://unikraft.io//node-playwright-webkit@sha256:9e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f - ├─────── memory: 4096 MiB - ├────── service: silent-fog-er8np3fb - ├─ private fqdn: node-playwright-webkit-t7r2j.internal - └─── private ip: 10.0.6.4 +[●] Deployed successfully! + │ + ├───────── name: node-playwright-webkit-t7r2j + ├───────── uuid: a2b3c4d5-e6f7-8a9b-0c1d-a2b3c4d5e6f7 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://silent-fog-er8np3fb.fra.unikraft.app + ├──────── image: oci://unikraft.io//node-playwright-webkit@sha256:9e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f + ├─────── memory: 4096 MiB + ├────── service: silent-fog-er8np3fb + ├─ private fqdn: node-playwright-webkit-t7r2j.internal + └─── private ip: 10.0.6.4 ``` @@ -136,13 +136,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra node-playwright-webkit-t7r2j running /node-playwright-webkit 4096MiB 1 silent-fog-er8np3fb.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra node-playwright-webkit-t7r2j running /node-playwright-webkit 4096MiB 1 silent-fog-er8np3fb.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -node-playwright-webkit-t7r2j silent-fog-er8np3fb.fra.unikraft.app running 1 minute ago oci://unikraft.io//node-playwright-webkit@sha256:... 4 GiB 1 2.94 s +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +node-playwright-webkit-t7r2j silent-fog-er8np3fb.fra.unikraft.app running 1 minute ago oci://unikraft.io//node-playwright-webkit@sha256:... 4 GiB 1 2.94 s ``` diff --git a/pages/guides/node18-agario.mdx b/pages/guides/node18-agario.mdx index e6f4c279..e3b1dfed 100644 --- a/pages/guides/node18-agario.mdx +++ b/pages/guides/node18-agario.mdx @@ -25,10 +25,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/node18-agario/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/node18-agario/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/node18-agario/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -68,40 +68,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: node18-agario-5k2xp -uuid: b3c4d5e6-f7a8-9b0c-1d2e-b3c4d5e6f7a8 -state: starting -image: /node18-agario -resources: - memory: 1024MiB - vcpus: 1 -service: - uuid: c4d5e6f7-a8b9-0c1d-2e3f-c4d5e6f7a8b9 - name: dark-meadow-fj9tm6bq - domains: - - fqdn: dark-meadow-fj9tm6bq.fra.unikraft.app -networks: -- uuid: d5e6f7a8-b9c0-1d2e-3f4a-d5e6f7a8b9c0 - private-ip: 10.0.3.5 - mac: 12:b0:b1:8d:f0:ea -timestamps: - created: just now +metro: fra +name: node18-agario-5k2xp +uuid: b3c4d5e6-f7a8-9b0c-1d2e-b3c4d5e6f7a8 +state: starting +image: /node18-agario +resources: + memory: 1024MiB + vcpus: 1 +service: + uuid: c4d5e6f7-a8b9-0c1d-2e3f-c4d5e6f7a8b9 + name: dark-meadow-fj9tm6bq + domains: + - fqdn: dark-meadow-fj9tm6bq.fra.unikraft.app +networks: +- uuid: d5e6f7a8-b9c0-1d2e-3f4a-d5e6f7a8b9c0 + private-ip: 10.0.3.5 + mac: 12:b0:b1:8d:f0:ea +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: node18-agario-5k2xp - ├───────── uuid: b3c4d5e6-f7a8-9b0c-1d2e-b3c4d5e6f7a8 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://dark-meadow-fj9tm6bq.fra.unikraft.app - ├──────── image: oci://unikraft.io//node18-agario@sha256:0f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a - ├─────── memory: 1024 MiB - ├────── service: dark-meadow-fj9tm6bq - ├─ private fqdn: node18-agario-5k2xp.internal - └─── private ip: 10.0.3.5 +[●] Deployed successfully! + │ + ├───────── name: node18-agario-5k2xp + ├───────── uuid: b3c4d5e6-f7a8-9b0c-1d2e-b3c4d5e6f7a8 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://dark-meadow-fj9tm6bq.fra.unikraft.app + ├──────── image: oci://unikraft.io//node18-agario@sha256:0f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a + ├─────── memory: 1024 MiB + ├────── service: dark-meadow-fj9tm6bq + ├─ private fqdn: node18-agario-5k2xp.internal + └─── private ip: 10.0.3.5 ``` @@ -130,13 +130,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra node18-agario-5k2xp running /node18-agario 1024MiB 1 dark-meadow-fj9tm6bq.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra node18-agario-5k2xp running /node18-agario 1024MiB 1 dark-meadow-fj9tm6bq.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -node18-agario-5k2xp dark-meadow-fj9tm6bq.fra.unikraft.app running 1 minute ago oci://unikraft.io//node18-agario@sha256:... 1.0 GiB 1 78.95 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +node18-agario-5k2xp dark-meadow-fj9tm6bq.fra.unikraft.app running 1 minute ago oci://unikraft.io//node18-agario@sha256:... 1.0 GiB 1 78.95 ms ``` diff --git a/pages/guides/node18-wingsio.mdx b/pages/guides/node18-wingsio.mdx index 6c2c6f3e..f1ae35fb 100644 --- a/pages/guides/node18-wingsio.mdx +++ b/pages/guides/node18-wingsio.mdx @@ -25,10 +25,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/node18-wingsio/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/node18-wingsio/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/node18-wingsio/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -67,40 +67,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: node18-wingsio-h4n8m -uuid: c4d5e6f7-a8b9-0c1d-2e3f-c4d5e6f7a8b9 -state: starting -image: /node18-wingsio -resources: - memory: 1024MiB - vcpus: 1 -service: - uuid: d5e6f7a8-b9c0-1d2e-3f4a-d5e6f7a8b9c0 - name: swift-cloud-gk7us4cz - domains: - - fqdn: swift-cloud-gk7us4cz.fra.unikraft.app -networks: -- uuid: e6f7a8b9-c0d1-2e3f-4a5b-e6f7a8b9c0d1 - private-ip: 10.0.4.4 - mac: 12:b0:c2:9e:01:fb -timestamps: - created: just now +metro: fra +name: node18-wingsio-h4n8m +uuid: c4d5e6f7-a8b9-0c1d-2e3f-c4d5e6f7a8b9 +state: starting +image: /node18-wingsio +resources: + memory: 1024MiB + vcpus: 1 +service: + uuid: d5e6f7a8-b9c0-1d2e-3f4a-d5e6f7a8b9c0 + name: swift-cloud-gk7us4cz + domains: + - fqdn: swift-cloud-gk7us4cz.fra.unikraft.app +networks: +- uuid: e6f7a8b9-c0d1-2e3f-4a5b-e6f7a8b9c0d1 + private-ip: 10.0.4.4 + mac: 12:b0:c2:9e:01:fb +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: node18-wingsio-h4n8m - ├───────── uuid: c4d5e6f7-a8b9-0c1d-2e3f-c4d5e6f7a8b9 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://swift-cloud-gk7us4cz.fra.unikraft.app - ├──────── image: oci://unikraft.io//node18-wingsio@sha256:1a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b - ├─────── memory: 1024 MiB - ├────── service: swift-cloud-gk7us4cz - ├─ private fqdn: node18-wingsio-h4n8m.internal - └─── private ip: 10.0.4.4 +[●] Deployed successfully! + │ + ├───────── name: node18-wingsio-h4n8m + ├───────── uuid: c4d5e6f7-a8b9-0c1d-2e3f-c4d5e6f7a8b9 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://swift-cloud-gk7us4cz.fra.unikraft.app + ├──────── image: oci://unikraft.io//node18-wingsio@sha256:1a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b + ├─────── memory: 1024 MiB + ├────── service: swift-cloud-gk7us4cz + ├─ private fqdn: node18-wingsio-h4n8m.internal + └─── private ip: 10.0.4.4 ``` @@ -129,13 +129,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra node18-wingsio-h4n8m running /node18-wingsio 1024MiB 1 swift-cloud-gk7us4cz.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra node18-wingsio-h4n8m running /node18-wingsio 1024MiB 1 swift-cloud-gk7us4cz.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -node18-wingsio-h4n8m swift-cloud-gk7us4cz.fra.unikraft.app running 1 minute ago oci://unikraft.io//node18-wingsio@sha256:... 1.0 GiB 1 82.16 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +node18-wingsio-h4n8m swift-cloud-gk7us4cz.fra.unikraft.app running 1 minute ago oci://unikraft.io//node18-wingsio@sha256:... 1.0 GiB 1 82.16 ms ``` diff --git a/pages/guides/node21-websocket.mdx b/pages/guides/node21-websocket.mdx index 54bcb043..b7e5e73f 100644 --- a/pages/guides/node21-websocket.mdx +++ b/pages/guides/node21-websocket.mdx @@ -25,10 +25,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/node21-websocket/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/node21-websocket/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/node21-websocket/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -68,40 +68,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: node21-websocket-j2x9r -uuid: d5e6f7a8-b9c0-1d2e-3f4a-d5e6f7a8b9c0 -state: starting -image: /node21-websocket -resources: - memory: 1024MiB - vcpus: 1 -service: - uuid: e6f7a8b9-c0d1-2e3f-4a5b-e6f7a8b9c0d1 - name: lively-breeze-hp3wx6yt - domains: - - fqdn: lively-breeze-hp3wx6yt.fra.unikraft.app -networks: -- uuid: f7a8b9c0-d1e2-3f4a-5b6c-f7a8b9c0d1e2 - private-ip: 10.0.5.4 - mac: 12:b0:d3:af:12:0c -timestamps: - created: just now +metro: fra +name: node21-websocket-j2x9r +uuid: d5e6f7a8-b9c0-1d2e-3f4a-d5e6f7a8b9c0 +state: starting +image: /node21-websocket +resources: + memory: 1024MiB + vcpus: 1 +service: + uuid: e6f7a8b9-c0d1-2e3f-4a5b-e6f7a8b9c0d1 + name: lively-breeze-hp3wx6yt + domains: + - fqdn: lively-breeze-hp3wx6yt.fra.unikraft.app +networks: +- uuid: f7a8b9c0-d1e2-3f4a-5b6c-f7a8b9c0d1e2 + private-ip: 10.0.5.4 + mac: 12:b0:d3:af:12:0c +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: node21-websocket-j2x9r - ├───────── uuid: d5e6f7a8-b9c0-1d2e-3f4a-d5e6f7a8b9c0 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://lively-breeze-hp3wx6yt.fra.unikraft.app - ├──────── image: oci://unikraft.io//node21-websocket@sha256:2b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c - ├─────── memory: 1024 MiB - ├────── service: lively-breeze-hp3wx6yt - ├─ private fqdn: node21-websocket-j2x9r.internal - └─── private ip: 10.0.5.4 +[●] Deployed successfully! + │ + ├───────── name: node21-websocket-j2x9r + ├───────── uuid: d5e6f7a8-b9c0-1d2e-3f4a-d5e6f7a8b9c0 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://lively-breeze-hp3wx6yt.fra.unikraft.app + ├──────── image: oci://unikraft.io//node21-websocket@sha256:2b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c + ├─────── memory: 1024 MiB + ├────── service: lively-breeze-hp3wx6yt + ├─ private fqdn: node21-websocket-j2x9r.internal + └─── private ip: 10.0.5.4 ``` @@ -143,13 +143,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra node21-websocket-j2x9r running /node21-websocket 1024MiB 1 lively-breeze-hp3wx6yt.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra node21-websocket-j2x9r running /node21-websocket 1024MiB 1 lively-breeze-hp3wx6yt.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -node21-websocket-j2x9r lively-breeze-hp3wx6yt.fra.unikraft.app running 1 minute ago oci://unikraft.io//node21-websocket@sha256:... 1.0 GiB 1 45.83 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +node21-websocket-j2x9r lively-breeze-hp3wx6yt.fra.unikraft.app running 1 minute ago oci://unikraft.io//node21-websocket@sha256:... 1.0 GiB 1 45.83 ms ``` diff --git a/pages/guides/node24-karaoke.mdx b/pages/guides/node24-karaoke.mdx index 32b6888a..fa928304 100644 --- a/pages/guides/node24-karaoke.mdx +++ b/pages/guides/node24-karaoke.mdx @@ -24,10 +24,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/node24-karaoke` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/node24-karaoke/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/node24-karaoke/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -67,40 +67,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: node24-karaoke-9lw5q -uuid: e5f6a7b8-c9d0-1234-efab-345678901234 -state: starting -image: /node24-karaoke -resources: - memory: 2GiB - vcpus: 1 -service: - uuid: ef4112f8-10fc-fe6e-f48c-43a6623ec878 - name: wild-song-p5q2nrwx - domains: - - fqdn: wild-song-p5q2nrwx.fra.unikraft.app -networks: -- uuid: cf5f3cbb-abf5-632e-3dd6-2de91885c6d9 - private-ip: 10.0.3.8 - mac: 12:b0:30:64:22:f9 -timestamps: - created: just now +metro: fra +name: node24-karaoke-9lw5q +uuid: e5f6a7b8-c9d0-1234-efab-345678901234 +state: starting +image: /node24-karaoke +resources: + memory: 2GiB + vcpus: 1 +service: + uuid: ef4112f8-10fc-fe6e-f48c-43a6623ec878 + name: wild-song-p5q2nrwx + domains: + - fqdn: wild-song-p5q2nrwx.fra.unikraft.app +networks: +- uuid: cf5f3cbb-abf5-632e-3dd6-2de91885c6d9 + private-ip: 10.0.3.8 + mac: 12:b0:30:64:22:f9 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: node24-karaoke-9lw5q - ├───────── uuid: e5f6a7b8-c9d0-1234-efab-345678901234 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://wild-song-p5q2nrwx.fra.unikraft.app - ├──────── image: oci://unikraft.io//node24-karaoke@sha256:1a3c5e7b9d2f4a6c8e0b2d4f6a8c0e2b4d6f8a0b2c4e6f8a0b2d4f6a8c0e2b - ├─────── memory: 2 GiB - ├────── service: wild-song-p5q2nrwx - ├─ private fqdn: node24-karaoke-9lw5q.internal - └─── private ip: 10.0.3.8 +[●] Deployed successfully! + │ + ├───────── name: node24-karaoke-9lw5q + ├───────── uuid: e5f6a7b8-c9d0-1234-efab-345678901234 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://wild-song-p5q2nrwx.fra.unikraft.app + ├──────── image: oci://unikraft.io//node24-karaoke@sha256:1a3c5e7b9d2f4a6c8e0b2d4f6a8c0e2b4d6f8a0b2c4e6f8a0b2d4f6a8c0e2b + ├─────── memory: 2 GiB + ├────── service: wild-song-p5q2nrwx + ├─ private fqdn: node24-karaoke-9lw5q.internal + └─── private ip: 10.0.3.8 ``` @@ -145,13 +145,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra node24-karaoke-9lw5q running /node24-karaoke 2GiB 1 wild-song-p5q2nrwx.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra node24-karaoke-9lw5q running /node24-karaoke 2GiB 1 wild-song-p5q2nrwx.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -node24-karaoke-9lw5q wild-song-p5q2nrwx.fra.unikraft.app running since 3mins oci://unikraft.io//node24-karaoke@sha256:... 2 GiB 1 1.24 s +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +node24-karaoke-9lw5q wild-song-p5q2nrwx.fra.unikraft.app running since 3mins oci://unikraft.io//node24-karaoke@sha256:... 2 GiB 1 1.24 s ``` diff --git a/pages/guides/novnc-browser.mdx b/pages/guides/novnc-browser.mdx index e669805c..2985ba56 100644 --- a/pages/guides/novnc-browser.mdx +++ b/pages/guides/novnc-browser.mdx @@ -27,10 +27,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/novnc-browser` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/novnc-browser/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/novnc-browser/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -77,40 +77,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: vnc-browser -uuid: 90a59b05-0ae1-4ca6-8383-79c5115355ee -state: starting -image: /novnc-browser -resources: - memory: 4096MiB - vcpus: 1 -service: - uuid: aaf03f7c-65e6-5624-d5f4-84e87450beee - name: weathered-fog-y5jjmwfd - domains: - - fqdn: weathered-fog-y5jjmwfd.fra.unikraft.app -networks: -- uuid: 61708609-d291-572d-4a4c-399413238199 - private-ip: 10.0.0.49 - mac: 12:b0:1e:47:6c:59 -timestamps: - created: just now +metro: fra +name: vnc-browser +uuid: 90a59b05-0ae1-4ca6-8383-79c5115355ee +state: starting +image: /novnc-browser +resources: + memory: 4096MiB + vcpus: 1 +service: + uuid: aaf03f7c-65e6-5624-d5f4-84e87450beee + name: weathered-fog-y5jjmwfd + domains: + - fqdn: weathered-fog-y5jjmwfd.fra.unikraft.app +networks: +- uuid: 61708609-d291-572d-4a4c-399413238199 + private-ip: 10.0.0.49 + mac: 12:b0:1e:47:6c:59 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: vnc-browser - ├───────── uuid: 90a59b05-0ae1-4ca6-8383-79c5115355ee - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://weathered-fog-y5jjmwfd.fra.unikraft.app - ├──────── image: oci://unikraft.io//novnc-browser@sha256:fdb4887e84362ebbaf54c713e0d85f547e8ee173fe63a6ab39e94b7e612a9892 - ├─────── memory: 4096 MiB - ├────── service: weathered-fog-y5jjmwfd - ├─ private fqdn: vnc-browser.internal - └─── private ip: 10.0.0.49 +[●] Deployed successfully! + │ + ├───────── name: vnc-browser + ├───────── uuid: 90a59b05-0ae1-4ca6-8383-79c5115355ee + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://weathered-fog-y5jjmwfd.fra.unikraft.app + ├──────── image: oci://unikraft.io//novnc-browser@sha256:fdb4887e84362ebbaf54c713e0d85f547e8ee173fe63a6ab39e94b7e612a9892 + ├─────── memory: 4096 MiB + ├────── service: weathered-fog-y5jjmwfd + ├─ private fqdn: vnc-browser.internal + └─── private ip: 10.0.0.49 ``` @@ -146,13 +146,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra vnc-browser standby /novnc-browser 4.0GiB 1 weathered-fog-y5jjmwfd.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra vnc-browser standby /novnc-browser 4.0GiB 1 weathered-fog-y5jjmwfd.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -vnc-browser weathered-fog-y5jjmwfd.fra.unikraft.app standby standby oci://unikraft.io//novnc-browser@sha256:... 4.0 GiB 1 7.17 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +vnc-browser weathered-fog-y5jjmwfd.fra.unikraft.app standby standby oci://unikraft.io//novnc-browser@sha256:... 4.0 GiB 1 7.17 ms ``` diff --git a/pages/guides/opentelemetry-collector.mdx b/pages/guides/opentelemetry-collector.mdx index fa8f84d5..66ebbfc8 100644 --- a/pages/guides/opentelemetry-collector.mdx +++ b/pages/guides/opentelemetry-collector.mdx @@ -26,10 +26,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/opentelemetry-collector/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/opentelemetry-collector/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/opentelemetry-collector/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -69,33 +69,33 @@ The output shows the instance details: ```ansi title="unikraft" -metro: fra -name: opentelemetry-collector-bvtnh -uuid: 40e8b154-b3b6-4312-ae69-2cdb794b15e4 -state: starting -image: /opentelemetry-collector -resources: - memory: 1536MiB - vcpus: 1 -networks: -- uuid: e74ba590-cbec-404b-d076-16aca1b52404 - private-ip: 10.0.3.3 - mac: 12:b0:aa:f7:b9:26 -timestamps: - created: just now +metro: fra +name: opentelemetry-collector-bvtnh +uuid: 40e8b154-b3b6-4312-ae69-2cdb794b15e4 +state: starting +image: /opentelemetry-collector +resources: + memory: 1536MiB + vcpus: 1 +networks: +- uuid: e74ba590-cbec-404b-d076-16aca1b52404 + private-ip: 10.0.3.3 + mac: 12:b0:aa:f7:b9:26 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: opentelemetry-collector-bvtnh - ├───────── uuid: 40e8b154-b3b6-4312-ae69-2cdb794b15e4 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├──────── image: oci://unikraft.io//opentelemetry-collector@sha256:64f73ea5fe208f54e5212f57979f24bebcf36276495462c52b380d15dd539ced - ├─────── memory: 1536 MiB - ├─ private fqdn: opentelemetry-collector-bvtnh.internal - └─── private ip: 10.0.3.3 +[●] Deployed successfully! + │ + ├───────── name: opentelemetry-collector-bvtnh + ├───────── uuid: 40e8b154-b3b6-4312-ae69-2cdb794b15e4 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├──────── image: oci://unikraft.io//opentelemetry-collector@sha256:64f73ea5fe208f54e5212f57979f24bebcf36276495462c52b380d15dd539ced + ├─────── memory: 1536 MiB + ├─ private fqdn: opentelemetry-collector-bvtnh.internal + └─── private ip: 10.0.3.3 ``` @@ -126,12 +126,12 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra opentelemetry-collector-bvtnh running /opentelemetry 1536MiB 1 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra opentelemetry-collector-bvtnh running /opentelemetry 1536MiB 1 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME opentelemetry-collector-bvtnh running since 11mins oci://unikraft.io//opentelemetry... 1536 MiB 1 177.62 ms ``` diff --git a/pages/guides/phoenix-postgres.mdx b/pages/guides/phoenix-postgres.mdx index f8b06d89..31c99288 100644 --- a/pages/guides/phoenix-postgres.mdx +++ b/pages/guides/phoenix-postgres.mdx @@ -27,10 +27,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/phoenix-postgres` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/phoenix-postgres/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/phoenix-postgres/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -50,6 +50,8 @@ export UKC_METRO=fra +## PostgreSQL + Create a volume for PostgreSQL data persistence: @@ -59,7 +61,21 @@ unikraft volume create --metro fra --name db-data --size 512M ``` ```bash title="kraft" -kraft cloud volume create --name db-data --size 512 +kraft cloud volume create --name db-data --size 512Mi +``` + + + +You can list the created volume by running: + + + +```bash title="unikraft" +unikraft volume list +``` + +```bash title="kraft" +kraft cloud volume list ``` @@ -67,27 +83,18 @@ kraft cloud volume create --name db-data --size 512 ```ansi title="unikraft" -metro: fra -name: db-data -uuid: 0efda5f6-21d2-48c7-84f5-8efe87e33090 -state: available -size: 512MiB -filesystem: ext4 -quota-policy: static -persistent: true -timestamps: - created: just now +METRO NAME STATE SIZE CREATED +fra db-data available 512MiB just now ``` ```ansi title="kraft" -[+] Created volume 'db-data' (512 MiB) +NAME CREATED AT SIZE ATTACHED TO MOUNTED BY STATE PERSISTENT +db-data now 512 MiB available true ``` -## Build and deploy the PostgreSQL instance. - -Update `POSTGRES_PASSWORD` with a secure password: +Update `POSTGRES_PASSWORD` with a secure password and build and deploy the PostgreSQL instance: @@ -109,60 +116,60 @@ The output shows the PostgreSQL instance details: ```ansi title="unikraft" -metro: fra -name: postgres-ik5at -uuid: 3776dbfe-2937-45e7-8079-c54275ef3cff -state: starting -image: /postgres -runtime: - env: +metro: fra +name: postgres-ik5at +uuid: 3776dbfe-2937-45e7-8079-c54275ef3cff +state: starting +image: /postgres +runtime: + env: PGDATA: /var/lib/postgresql/data/pgdata POSTGRES_DB: myapp_prod POSTGRES_PASSWORD: * POSTGRES_USER: postgres -resources: - memory: 2GiB - vcpus: 1 -service: - name: dry-cloud-q8u7yjkl - uuid: cf364e60-46b0-4031-bace-296fa8e24ac4 - domains: - - fqdn: postgres.internal -volumes: -- name: db-data - uuid: 0efda5f6-21d2-48c7-84f5-8efe87e33090 - at: /var/lib/postgresql/data -networks: -- uuid: cab79d9f-08a8-4741-8efd-58d9a1faa35d - private-ip: 10.0.14.117 - mac: 12:b0:0a:00:0e:75 -timestamps: - created: just now -scale-to-zero: - enabled: true - policy: idle - stateful: true - cooldown-time: 1s +resources: + memory: 2GiB + vcpus: 1 +service: + name: dry-cloud-q8u7yjkl + uuid: cf364e60-46b0-4031-bace-296fa8e24ac4 + domains: + - fqdn: postgres.internal +volumes: +- name: db-data + uuid: 0efda5f6-21d2-48c7-84f5-8efe87e33090 + at: /var/lib/postgresql/data +networks: +- uuid: cab79d9f-08a8-4741-8efd-58d9a1faa35d + private-ip: 10.0.14.117 + mac: 12:b0:0a:00:0e:75 +timestamps: + created: just now +scale-to-zero: + enabled: true + policy: idle + stateful: true + cooldown-time: 1s ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: postgres-ik5at - ├───────── uuid: 3776dbfe-2937-45e7-8079-c54275ef3cff - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: postgres.internal - ├──────── image: oci://unikraft.io//postgres@sha256:... - ├─────── memory: 2048 MiB - ├────── service: dry-cloud-q8u7yjkl - ├─ private fqdn: postgres-ik5at.internal - └─── private ip: 10.0.14.117 +[●] Deployed successfully! + │ + ├───────── name: postgres-ik5at + ├───────── uuid: 3776dbfe-2937-45e7-8079-c54275ef3cff + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: postgres.internal + ├──────── image: oci://unikraft.io//postgres@sha256:... + ├─────── memory: 2048 MiB + ├────── service: dry-cloud-q8u7yjkl + ├─ private fqdn: postgres-ik5at.internal + └─── private ip: 10.0.14.117 ``` -## Build and deploy the Phoenix instance. +## Phoenix Generate a secret key for Phoenix: @@ -170,7 +177,8 @@ Generate a secret key for Phoenix: openssl rand -base64 48 ``` -Replace `` in the commands below with the generated value, and update the password in `DATABASE_URL` to match the one set for PostgreSQL: +Replace `` in the commands below with the generated value, and update the password in `DATABASE_URL` to match the one set for PostgreSQL. +Then, deploy the Phoenix instance: @@ -190,48 +198,48 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: phoenix-hd29m -uuid: fa4db9cf-f7b5-4b8b-b007-8fd1ce87c7e1 -state: starting -image: /phoenix -runtime: - env: +metro: fra +name: phoenix-hd29m +uuid: fa4db9cf-f7b5-4b8b-b007-8fd1ce87c7e1 +state: starting +image: /phoenix +runtime: + env: DATABASE_URL: ecto://postgres:example_123@postgres.internal:5432/myapp_prod SECRET_KEY_BASE: -resources: - memory: 2GiB - vcpus: 1 -service: - name: wild-moon-pkwsqc49 - uuid: 1d1b8732-d2d5-41ab-ab8f-1b19fc27c14d - domains: - - fqdn: wild-moon-pkwsqc49.fra.unikraft.app -networks: -- uuid: d14f07de-1c81-4309-bbf3-ab8ab6aeefe6 - private-ip: 10.0.14.53 - mac: 12:b0:0a:00:0e:35 -timestamps: - created: just now -scale-to-zero: - enabled: true - policy: on - cooldown-time: 1s +resources: + memory: 2GiB + vcpus: 1 +service: + name: wild-moon-pkwsqc49 + uuid: 1d1b8732-d2d5-41ab-ab8f-1b19fc27c14d + domains: + - fqdn: wild-moon-pkwsqc49.fra.unikraft.app +networks: +- uuid: d14f07de-1c81-4309-bbf3-ab8ab6aeefe6 + private-ip: 10.0.14.53 + mac: 12:b0:0a:00:0e:35 +timestamps: + created: just now +scale-to-zero: + enabled: true + policy: on + cooldown-time: 1s ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: phoenix-hd29m - ├───────── uuid: fa4db9cf-f7b5-4b8b-b007-8fd1ce87c7e1 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://wild-moon-pkwsqc49.fra.unikraft.app - ├──────── image: oci://unikraft.io//phoenix@sha256:... - ├─────── memory: 2048 MiB - ├────── service: wild-moon-pkwsqc49 - ├─ private fqdn: phoenix-hd29m.internal - └─── private ip: 10.0.14.53 +[●] Deployed successfully! + │ + ├───────── name: phoenix-hd29m + ├───────── uuid: fa4db9cf-f7b5-4b8b-b007-8fd1ce87c7e1 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://wild-moon-pkwsqc49.fra.unikraft.app + ├──────── image: oci://unikraft.io//phoenix@sha256:... + ├─────── memory: 2048 MiB + ├────── service: wild-moon-pkwsqc49 + ├─ private fqdn: phoenix-hd29m.internal + └─── private ip: 10.0.14.53 ``` @@ -258,15 +266,15 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE MEMORY VCPUS FQDN CREATED -fra phoenix-hd29m running /phoenix 2GiB 1 wild-moon-pkwsqc49.fra.unikraft.app just now -fra postgres-ik5at standby /postgres 2GiB 1 postgres.internal 3 minutes ago +METRO NAME STATE IMAGE MEMORY VCPUS FQDN CREATED +fra phoenix-hd29m running /phoenix 2GiB 1 wild-moon-pkwsqc49.fra.unikraft.app just now +fra postgres-ik5at standby /postgres 2GiB 1 postgres.internal 3 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -phoenix-hd29m wild-moon-pkwsqc49.fra.unikraft.app running since now oci://unikraft.io//phoenix@sha256:... 2048 MiB 1 158.32 ms -postgres-ik5at postgres.internal standby since 3min oci://unikraft.io//postgres@sha256:... 2048 MiB 1 1811.99 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +phoenix-hd29m wild-moon-pkwsqc49.fra.unikraft.app running since now oci://unikraft.io//phoenix@sha256:... 2048 MiB 1 158.32 ms +postgres-ik5at postgres.internal standby since 3min oci://unikraft.io//postgres@sha256:... 2048 MiB 1 1811.99 ms ``` diff --git a/pages/guides/postgres.mdx b/pages/guides/postgres.mdx index 6610ea11..15088af1 100644 --- a/pages/guides/postgres.mdx +++ b/pages/guides/postgres.mdx @@ -24,10 +24,10 @@ To run it, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/postgres/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/postgres/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/postgres/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -67,40 +67,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: postgres-saan9 -uuid: 3a1371f2-68c6-4187-84f8-c080f2b028ca -state: starting -image: /postgres -resources: - memory: 1024MiB - vcpus: 1 -service: - uuid: 8e9d810b-b1da-a30b-fd42-5c30c1900cb5 - name: young-thunder-fbafrsxj - domains: - - fqdn: young-thunder-fbafrsxj.fra.unikraft.app -networks: -- uuid: f1fab4c9-7951-75e3-ea1c-d87e47b4c9e2 - private-ip: 10.0.3.1 - mac: 12:b0:31:34:b1:96 -timestamps: - created: just now +metro: fra +name: postgres-saan9 +uuid: 3a1371f2-68c6-4187-84f8-c080f2b028ca +state: starting +image: /postgres +resources: + memory: 1024MiB + vcpus: 1 +service: + uuid: 8e9d810b-b1da-a30b-fd42-5c30c1900cb5 + name: young-thunder-fbafrsxj + domains: + - fqdn: young-thunder-fbafrsxj.fra.unikraft.app +networks: +- uuid: f1fab4c9-7951-75e3-ea1c-d87e47b4c9e2 + private-ip: 10.0.3.1 + mac: 12:b0:31:34:b1:96 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: postgres-saan9 - ├───────── uuid: 3a1371f2-68c6-4187-84f8-c080f2b028ca - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://young-thunder-fbafrsxj.fra.unikraft.app - ├──────── image: oci://unikraft.io//postgres@sha256:2476c0373d663d7604def7c35ffcb4ed4de8ab231309b4f20104b84f31570766 - ├─────── memory: 1024 MiB - ├────── service: young-thunder-fbafrsxj - ├─ private fqdn: postgres-saan9.internal - └─── private ip: 10.0.3.1 +[●] Deployed successfully! + │ + ├───────── name: postgres-saan9 + ├───────── uuid: 3a1371f2-68c6-4187-84f8-c080f2b028ca + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://young-thunder-fbafrsxj.fra.unikraft.app + ├──────── image: oci://unikraft.io//postgres@sha256:2476c0373d663d7604def7c35ffcb4ed4de8ab231309b4f20104b84f31570766 + ├─────── memory: 1024 MiB + ├────── service: young-thunder-fbafrsxj + ├─ private fqdn: postgres-saan9.internal + └─── private ip: 10.0.3.1 ``` @@ -130,21 +130,15 @@ postgres=# Use SQL and `psql` commands for your work. :::tip -This example uses the [`idle` scale-to-zero policy](/api/platform/v1/instances#scaletozero_policy) by default (see the `labels` section in the `Kraftfile`). +This example uses the [`idle` scale-to-zero policy](/api/platform/v1/instances#scaletozero_policy) by default. It means that the instance will scale-to-zero even in the presence of `psql` connections. -To ensure that the instance isn't put into standby even for long running queries -(during which the connections are also idle). + The PostgreSQL example makes use of scale-to-zero app support. +This ensures that the instance isn't put into standby even for long running queries (during which the connections are also idle). To this end, the example loads the [`pg_ukc_scaletozero`](https://github.com/unikraft-cloud/pg_ukc_scaletozero) module into PostgreSQL, which suspends scale-to-zero during query processing. You can see this in action by running `SELECT pg_sleep(10);` and verifying that the instance keeps on running. ::: -:::note -If you'd like to use a port other than `5432/tls` you'll need to use the `socat` command to connect to PostgreSQL. -See the [MariaDB](https://github.com/unikraft-cloud/examples/tree/main/mariadb) example for a guide on how to use it. -Additionally, you need to explicitly disable scale-to-zero by either changing the label in the `Kraftfile` or use `--scale-to-zero off` in the deploy command. -::: - You can list information about the instance by running: @@ -162,13 +156,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra postgres-saan9 running /postgres 1.0GiB 1 young-thunder-fbafrsxj.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra postgres-saan9 running /postgres 1.0GiB 1 young-thunder-fbafrsxj.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -postgres-saan9 young-thunder-fbafrsxj.fra.unikraft.app running 6 minutes ago oci://unikraft.io//postgres@sha256:... 1.0 GiB 1 603.42 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +postgres-saan9 young-thunder-fbafrsxj.fra.unikraft.app running 6 minutes ago oci://unikraft.io//postgres@sha256:... 1.0 GiB 1 603.42 ms ``` @@ -227,14 +221,9 @@ Customizing the deployment means providing a different environment. An obvious one is to use a different database password when starting PostgreSQL. For that you use a different `POSTGRES_PASSWORD` environment variable when starting the PostgreSQL instance. -You could also a different location to mount your volume or set extra configuration options. +You could also use a different location to mount your volume or set extra configuration options. You can use the PostgreSQL instance in conjunction with a frontend service, [see the guide here](/platform/services). -But in that case make sure to disable scale-to-zero if you plan to use the DB internally. - -:::note -Support for scale-to-zero for internal instances is coming soon. -::: ## Learn more diff --git a/pages/guides/python-playwright-chromium.mdx b/pages/guides/python-playwright-chromium.mdx index cab420f6..4840d0a6 100644 --- a/pages/guides/python-playwright-chromium.mdx +++ b/pages/guides/python-playwright-chromium.mdx @@ -24,10 +24,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/python-playwright-chromium/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/python-playwright-chromium/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/python-playwright-chromium/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -67,40 +67,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: python-playwright-chromium-m6k3p -uuid: e6f7a8b9-c0d1-2e3f-4a5b-e6f7a8b9c0d1 -state: starting -image: /python-playwright-chromium -resources: - memory: 4096MiB - vcpus: 1 -service: - uuid: f7a8b9c0-d1e2-3f4a-5b6c-f7a8b9c0d1e2 - name: young-night-kq8bv2mx - domains: - - fqdn: young-night-kq8bv2mx.fra.unikraft.app -networks: -- uuid: a8b9c0d1-e2f3-4a5b-6c7d-a8b9c0d1e2f3 - private-ip: 10.0.6.5 - mac: 12:b0:e4:b0:23:1d -timestamps: - created: just now +metro: fra +name: python-playwright-chromium-m6k3p +uuid: e6f7a8b9-c0d1-2e3f-4a5b-e6f7a8b9c0d1 +state: starting +image: /python-playwright-chromium +resources: + memory: 4096MiB + vcpus: 1 +service: + uuid: f7a8b9c0-d1e2-3f4a-5b6c-f7a8b9c0d1e2 + name: young-night-kq8bv2mx + domains: + - fqdn: young-night-kq8bv2mx.fra.unikraft.app +networks: +- uuid: a8b9c0d1-e2f3-4a5b-6c7d-a8b9c0d1e2f3 + private-ip: 10.0.6.5 + mac: 12:b0:e4:b0:23:1d +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: python-playwright-chromium-m6k3p - ├───────── uuid: e6f7a8b9-c0d1-2e3f-4a5b-e6f7a8b9c0d1 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://young-night-kq8bv2mx.fra.unikraft.app - ├──────── image: oci://unikraft.io//python-playwright-chromium@sha256:3c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d - ├─────── memory: 4096 MiB - ├────── service: young-night-kq8bv2mx - ├─ private fqdn: python-playwright-chromium-m6k3p.internal - └─── private ip: 10.0.6.5 +[●] Deployed successfully! + │ + ├───────── name: python-playwright-chromium-m6k3p + ├───────── uuid: e6f7a8b9-c0d1-2e3f-4a5b-e6f7a8b9c0d1 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://young-night-kq8bv2mx.fra.unikraft.app + ├──────── image: oci://unikraft.io//python-playwright-chromium@sha256:3c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d + ├─────── memory: 4096 MiB + ├────── service: young-night-kq8bv2mx + ├─ private fqdn: python-playwright-chromium-m6k3p.internal + └─── private ip: 10.0.6.5 ``` @@ -136,13 +136,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra python-playwright-chromium-m6k3p running /python-playwright-chromium 4096MiB 1 young-night-kq8bv2mx.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra python-playwright-chromium-m6k3p running /python-playwright-chromium 4096MiB 1 young-night-kq8bv2mx.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -python-playwright-chromium-m6k3p young-night-kq8bv2mx.fra.unikraft.app running 1 minute ago oci://unikraft.io//python-playwright-chromium@sha256:... 4 GiB 1 3.47 s +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +python-playwright-chromium-m6k3p young-night-kq8bv2mx.fra.unikraft.app running 1 minute ago oci://unikraft.io//python-playwright-chromium@sha256:... 4 GiB 1 3.47 s ``` diff --git a/pages/guides/redis7.2.mdx b/pages/guides/redis7.2.mdx index c70fe659..bb7060df 100644 --- a/pages/guides/redis7.2.mdx +++ b/pages/guides/redis7.2.mdx @@ -24,10 +24,10 @@ To run it, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/redis7.2/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/redis7.2/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/redis7.2/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -67,40 +67,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: redis72-alb4r -uuid: d3c3141b-97b2-4e1d-87ae-39e4f14ab49e -state: starting -image: /redis72 -resources: - memory: 512MiB - vcpus: 1 -service: - uuid: 7a4f2b3c-1d8e-4a92-b3f5-e6c1d2a3b4e5 - name: rough-wind-8vxrd1ms - domains: - - fqdn: rough-wind-8vxrd1ms.fra.unikraft.app -networks: -- uuid: 9b5e1f8d-3c2a-7b46-d1e9-f2a3b4c5d6e7 - private-ip: 10.0.3.2 - mac: 12:b0:4e:20:b3:e7 -timestamps: - created: just now +metro: fra +name: redis72-alb4r +uuid: d3c3141b-97b2-4e1d-87ae-39e4f14ab49e +state: starting +image: /redis72 +resources: + memory: 512MiB + vcpus: 1 +service: + uuid: 7a4f2b3c-1d8e-4a92-b3f5-e6c1d2a3b4e5 + name: rough-wind-8vxrd1ms + domains: + - fqdn: rough-wind-8vxrd1ms.fra.unikraft.app +networks: +- uuid: 9b5e1f8d-3c2a-7b46-d1e9-f2a3b4c5d6e7 + private-ip: 10.0.3.2 + mac: 12:b0:4e:20:b3:e7 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: redis72-alb4r - ├───────── uuid: d3c3141b-97b2-4e1d-87ae-39e4f14ab49e - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://rough-wind-8vxrd1ms.fra.unikraft.app - ├──────── image: oci://unikraft.io//redis72@sha256:9665c51faf7deb538cf7907b012b55700cad08cd391f5ba099d95d018c8da7d - ├─────── memory: 512 MiB - ├────── service: rough-wind-8vxrd1ms - ├─ private fqdn: redis72-alb4r.internal - └─── private ip: 10.0.3.2 +[●] Deployed successfully! + │ + ├───────── name: redis72-alb4r + ├───────── uuid: d3c3141b-97b2-4e1d-87ae-39e4f14ab49e + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://rough-wind-8vxrd1ms.fra.unikraft.app + ├──────── image: oci://unikraft.io//redis72@sha256:9665c51faf7deb538cf7907b012b55700cad08cd391f5ba099d95d018c8da7d + ├─────── memory: 512 MiB + ├────── service: rough-wind-8vxrd1ms + ├─ private fqdn: redis72-alb4r.internal + └─── private ip: 10.0.3.2 ``` @@ -169,13 +169,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra redis72-alb4r running /redis72 512MiB 1 rough-wind-8vxrd1ms.fra.unikraft.app 1 minute ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra redis72-alb4r running /redis72 512MiB 1 rough-wind-8vxrd1ms.fra.unikraft.app 1 minute ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -redis72-alb4r rough-wind-8vxrd1ms.fra.unikraft.app running 1 minute ago oci://unikraft.io//redis72@sha256:... 512 MiB 1 26.13 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +redis72-alb4r rough-wind-8vxrd1ms.fra.unikraft.app running 1 minute ago oci://unikraft.io//redis72@sha256:... 512 MiB 1 26.13 ms ``` diff --git a/pages/guides/ruby3.2-rails.mdx b/pages/guides/ruby3.2-rails.mdx index a094e1d8..c9ef4969 100644 --- a/pages/guides/ruby3.2-rails.mdx +++ b/pages/guides/ruby3.2-rails.mdx @@ -23,10 +23,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/ruby3.2-rails/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/ruby3.2-rails/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/ruby3.2-rails/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -66,40 +66,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: ruby32-rails-apa93 -uuid: 2f85b9db-94f8-45d2-8e38-ed9b56cb8695 -state: starting -image: /ruby32-rails -resources: - memory: 1024MiB - vcpus: 1 -service: - uuid: 42265dab-df44-6d66-0075-fc07455178c8 - name: aged-waterfall-qraz0s7d - domains: - - fqdn: aged-waterfall-qraz0s7d.fra.unikraft.app -networks: -- uuid: 7ae3414b-1d87-c831-d26a-506a4cf9ac71 - private-ip: 10.0.3.3 - mac: 12:b0:39:3e:b5:36 -timestamps: - created: just now +metro: fra +name: ruby32-rails-apa93 +uuid: 2f85b9db-94f8-45d2-8e38-ed9b56cb8695 +state: starting +image: /ruby32-rails +resources: + memory: 1024MiB + vcpus: 1 +service: + uuid: 42265dab-df44-6d66-0075-fc07455178c8 + name: aged-waterfall-qraz0s7d + domains: + - fqdn: aged-waterfall-qraz0s7d.fra.unikraft.app +networks: +- uuid: 7ae3414b-1d87-c831-d26a-506a4cf9ac71 + private-ip: 10.0.3.3 + mac: 12:b0:39:3e:b5:36 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: ruby32-rails-apa93 - ├───────── uuid: 2f85b9db-94f8-45d2-8e38-ed9b56cb8695 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://aged-waterfall-qraz0s7d.fra.unikraft.app - ├──────── image: oci://unikraft.io//ruby32-rails@sha256:fdd46011408fdee05644665ad59b24115737e3fdb352169ec2f3f16a45d4f31d - ├─────── memory: 1024 MiB - ├────── service: aged-waterfall-qraz0s7d - ├─ private fqdn: ruby32-rails-apa93.internal - └─── private ip: 10.0.3.3 +[●] Deployed successfully! + │ + ├───────── name: ruby32-rails-apa93 + ├───────── uuid: 2f85b9db-94f8-45d2-8e38-ed9b56cb8695 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://aged-waterfall-qraz0s7d.fra.unikraft.app + ├──────── image: oci://unikraft.io//ruby32-rails@sha256:fdd46011408fdee05644665ad59b24115737e3fdb352169ec2f3f16a45d4f31d + ├─────── memory: 1024 MiB + ├────── service: aged-waterfall-qraz0s7d + ├─ private fqdn: ruby32-rails-apa93.internal + └─── private ip: 10.0.3.3 ``` @@ -140,13 +140,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra ruby32-rails-apa93 running /ruby32-rails 1.0GiB 1 aged-waterfall-qraz0s7d.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra ruby32-rails-apa93 running /ruby32-rails 1.0GiB 1 aged-waterfall-qraz0s7d.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -ruby32-rails-apa93 aged-waterfall-qraz0s7d.fra.unikraft.app running 2 minutes ago oci://unikraft.io//ruby32-rails@sha256:... 1.0 GiB 1 577.34 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +ruby32-rails-apa93 aged-waterfall-qraz0s7d.fra.unikraft.app running 2 minutes ago oci://unikraft.io//ruby32-rails@sha256:... 1.0 GiB 1 577.34 ms ``` diff --git a/pages/guides/skipper0.18.mdx b/pages/guides/skipper0.18.mdx index f0f7545f..2be5e690 100644 --- a/pages/guides/skipper0.18.mdx +++ b/pages/guides/skipper0.18.mdx @@ -24,10 +24,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/skipper0.18/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/skipper0.18/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/skipper0.18/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -67,40 +67,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: skipper018-mx4ai -uuid: 34e3d740-c2b0-4644-b7e1-647350f688dc -state: starting -image: /skipper018 -resources: - memory: 256MiB - vcpus: 1 -service: - uuid: b32c9035-d669-79fa-9955-9ad52cd1fcb4 - name: aged-sea-o7d3c42s - domains: - - fqdn: aged-sea-o7d3c42s.fra.unikraft.app -networks: -- uuid: 70cfb329-9ab3-fc8c-aff9-a3bbbbeb70f3 - private-ip: 10.0.6.4 - mac: 12:b0:32:1b:02:7b -timestamps: - created: just now +metro: fra +name: skipper018-mx4ai +uuid: 34e3d740-c2b0-4644-b7e1-647350f688dc +state: starting +image: /skipper018 +resources: + memory: 256MiB + vcpus: 1 +service: + uuid: b32c9035-d669-79fa-9955-9ad52cd1fcb4 + name: aged-sea-o7d3c42s + domains: + - fqdn: aged-sea-o7d3c42s.fra.unikraft.app +networks: +- uuid: 70cfb329-9ab3-fc8c-aff9-a3bbbbeb70f3 + private-ip: 10.0.6.4 + mac: 12:b0:32:1b:02:7b +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: skipper018-mx4ai - ├───────── uuid: 34e3d740-c2b0-4644-b7e1-647350f688dc - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://aged-sea-o7d3c42s.fra.unikraft.app - ├──────── image: oci://unikraft.io//skipper018@sha256:5483eaf3612cca2116ceaab9be42557686324f1d30337ae15d0495eef63d0386 - ├─────── memory: 256 MiB - ├────── service: aged-sea-o7d3c42s - ├─ private fqdn: skipper018-mx4ai.internal - └─── private ip: 10.0.6.4 +[●] Deployed successfully! + │ + ├───────── name: skipper018-mx4ai + ├───────── uuid: 34e3d740-c2b0-4644-b7e1-647350f688dc + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://aged-sea-o7d3c42s.fra.unikraft.app + ├──────── image: oci://unikraft.io//skipper018@sha256:5483eaf3612cca2116ceaab9be42557686324f1d30337ae15d0495eef63d0386 + ├─────── memory: 256 MiB + ├────── service: aged-sea-o7d3c42s + ├─ private fqdn: skipper018-mx4ai.internal + └─── private ip: 10.0.6.4 ``` @@ -135,13 +135,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra skipper018-mx4ai running /skipper018 256MiB 1 aged-sea-o7d3c42s.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra skipper018-mx4ai running /skipper018 256MiB 1 aged-sea-o7d3c42s.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -skipper018-mx4ai aged-sea-o7d3c42s.fra.unikraft.app running 1 minute ago oci://unikraft.io//skipper018@sha256:... 256 MiB 1 43.71 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +skipper018-mx4ai aged-sea-o7d3c42s.fra.unikraft.app running 1 minute ago oci://unikraft.io//skipper018@sha256:... 256 MiB 1 43.71 ms ``` diff --git a/pages/guides/spin-wagi-http.mdx b/pages/guides/spin-wagi-http.mdx index 34da39ac..8821dcf3 100644 --- a/pages/guides/spin-wagi-http.mdx +++ b/pages/guides/spin-wagi-http.mdx @@ -26,10 +26,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/spin-wagi-http/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/spin-wagi-http/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/spin-wagi-http/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -69,40 +69,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: spin-wagi-http-is72r -uuid: 045c1bda-0f2e-4f8b-98c7-a208bfa7d143 -state: starting -image: /spin-wagi-http -resources: - memory: 4096MiB - vcpus: 1 -service: - uuid: 9b5b88fd-16ce-3db6-a828-ee885647d820 - name: damp-bobo-wg43p36e - domains: - - fqdn: damp-bobo-wg43p36e.fra.unikraft.app -networks: -- uuid: db3851f6-ace1-8601-b6fa-925b7fdf8390 - private-ip: 10.0.28.16 - mac: 12:b0:fc:f5:09:d5 -timestamps: - created: just now +metro: fra +name: spin-wagi-http-is72r +uuid: 045c1bda-0f2e-4f8b-98c7-a208bfa7d143 +state: starting +image: /spin-wagi-http +resources: + memory: 4096MiB + vcpus: 1 +service: + uuid: 9b5b88fd-16ce-3db6-a828-ee885647d820 + name: damp-bobo-wg43p36e + domains: + - fqdn: damp-bobo-wg43p36e.fra.unikraft.app +networks: +- uuid: db3851f6-ace1-8601-b6fa-925b7fdf8390 + private-ip: 10.0.28.16 + mac: 12:b0:fc:f5:09:d5 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: spin-wagi-http-is72r - ├───────── uuid: 045c1bda-0f2e-4f8b-98c7-a208bfa7d143 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://damp-bobo-wg43p36e.fra.unikraft.app - ├──────── image: oci://unikraft.io//spin-wagi-http@sha256:57a5151996d83332af6da521e1cd92271a8c3ac7ae26bc44a7c0dbbc0a30e577 - ├─────── memory: 4096 MiB - ├────── service: damp-bobo-wg43p36e - ├─ private fqdn: spin-wagi-http-is72r.internal - └─── private ip: 10.0.28.16 +[●] Deployed successfully! + │ + ├───────── name: spin-wagi-http-is72r + ├───────── uuid: 045c1bda-0f2e-4f8b-98c7-a208bfa7d143 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://damp-bobo-wg43p36e.fra.unikraft.app + ├──────── image: oci://unikraft.io//spin-wagi-http@sha256:57a5151996d83332af6da521e1cd92271a8c3ac7ae26bc44a7c0dbbc0a30e577 + ├─────── memory: 4096 MiB + ├────── service: damp-bobo-wg43p36e + ├─ private fqdn: spin-wagi-http-is72r.internal + └─── private ip: 10.0.28.16 ``` @@ -143,13 +143,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra spin-wagi-http-is72r running /spin-wagi-http 4.0GiB 1 damp-bobo-wg43p36e.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra spin-wagi-http-is72r running /spin-wagi-http 4.0GiB 1 damp-bobo-wg43p36e.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -spin-wagi-http-is72r damp-bobo-wg43p36e.fra.unikraft.app running 1 minute ago oci://unikraft.io//spin-wagi-http@sha2... 4.0 GiB 1 300.06 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +spin-wagi-http-is72r damp-bobo-wg43p36e.fra.unikraft.app running 1 minute ago oci://unikraft.io//spin-wagi-http@sha2... 4.0 GiB 1 300.06 ms ``` diff --git a/pages/guides/traefik.mdx b/pages/guides/traefik.mdx index 512aeb1e..6c223ffc 100644 --- a/pages/guides/traefik.mdx +++ b/pages/guides/traefik.mdx @@ -23,10 +23,10 @@ To run it, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/traefik/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/traefik/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/traefik/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -66,40 +66,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: traefik-wqe7e -uuid: 69d25b0b-1813-4a3f-88e6-64abbc78b359 -state: starting -image: /traefik -resources: - memory: 1024MiB - vcpus: 1 -service: - uuid: ec7570da-5700-01b5-aaa1-0734498c11eb - name: holy-cherry-rye39b1x - domains: - - fqdn: holy-cherry-rye39b1x.fra.unikraft.app -networks: -- uuid: b59f4362-dc72-7efe-477b-1efe227e1b08 - private-ip: 10.0.28.16 - mac: 12:b0:31:58:d7:d0 -timestamps: - created: just now +metro: fra +name: traefik-wqe7e +uuid: 69d25b0b-1813-4a3f-88e6-64abbc78b359 +state: starting +image: /traefik +resources: + memory: 1024MiB + vcpus: 1 +service: + uuid: ec7570da-5700-01b5-aaa1-0734498c11eb + name: holy-cherry-rye39b1x + domains: + - fqdn: holy-cherry-rye39b1x.fra.unikraft.app +networks: +- uuid: b59f4362-dc72-7efe-477b-1efe227e1b08 + private-ip: 10.0.28.16 + mac: 12:b0:31:58:d7:d0 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: traefik-wqe7e - ├───────── uuid: 69d25b0b-1813-4a3f-88e6-64abbc78b359 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://holy-cherry-rye39b1x.fra.unikraft.app - ├──────── image: oci://unikraft.io//traefik@sha256:f6dd913a81f6a057ceb9db7844222d7287b2a83f668cca88c73c2e85554cb526 - ├─────── memory: 1024 MiB - ├────── service: holy-cherry-rye39b1x - ├─ private fqdn: traefik-wqe7e.internal - └─── private ip: 10.0.28.16 +[●] Deployed successfully! + │ + ├───────── name: traefik-wqe7e + ├───────── uuid: 69d25b0b-1813-4a3f-88e6-64abbc78b359 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://holy-cherry-rye39b1x.fra.unikraft.app + ├──────── image: oci://unikraft.io//traefik@sha256:f6dd913a81f6a057ceb9db7844222d7287b2a83f668cca88c73c2e85554cb526 + ├─────── memory: 1024 MiB + ├────── service: holy-cherry-rye39b1x + ├─ private fqdn: traefik-wqe7e.internal + └─── private ip: 10.0.28.16 ``` @@ -141,13 +141,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra traefik-wqe7e running /traefik 1024MiB 1 holy-cherry-rye39b1x.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra traefik-wqe7e running /traefik 1024MiB 1 holy-cherry-rye39b1x.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -traefik-wqe7e holy-cherry-rye39b1x.fra.unikraft.app running 8 minutes ago oci://unikraft.io//traefik@sha256:... 1024 MiB 1 53.66 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +traefik-wqe7e holy-cherry-rye39b1x.fra.unikraft.app running 8 minutes ago oci://unikraft.io//traefik@sha256:... 1024 MiB 1 53.66 ms ``` diff --git a/pages/guides/tyk.mdx b/pages/guides/tyk.mdx index 57b60407..ddb95612 100644 --- a/pages/guides/tyk.mdx +++ b/pages/guides/tyk.mdx @@ -25,10 +25,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/tyk/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/tyk/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/tyk/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -48,126 +48,137 @@ export UKC_METRO=fra -## Build and deploy the Redis instance (used internally by Tyk): +## Redis The `REDIS_PASSWORD` environment variable sets the Redis `requirepass` directive. If not provided, it defaults to `unikraft`. +Build and deploy the Redis instance (used internally by Tyk): + + ```bash title="unikraft" unikraft build ./redis --output /redis:latest unikraft run --scale-to-zero policy=idle,cooldown-time=1000,stateful=true --metro fra -m 256M --image /redis:latest --domain tyk-redis.internal -e REDIS_PASSWORD=unikraft ``` +```bash title="kraft" +kraft cloud deploy --scale-to-zero idle --scale-to-zero-stateful --scale-to-zero-cooldown 1s -M 256Mi --domain tyk-redis.internal --env REDIS_PASSWORD=unikraft ./redis/ +``` + + + Make sure to replace `` with your username / org-name in the unikraft CLI commands above. The output shows the Redis instance details: + + ```ansi title="unikraft" -metro: fra -name: redis-6vgvc -uuid: 63b86d17-06ca-4f95-b921-56e5b3245554 -state: starting -image: /redis -resources: - memory: 256MiB - vcpus: 1 -service: - name: snowy-water-wivk1i4r - uuid: 6612de91-d639-4b5a-95d1-b7ae6e91e3c1 - domains: - - fqdn: tyk-redis.internal -networks: -- uuid: 19e4b80a-9501-448d-99a6-ec3f7b90805e - private-ip: 10.0.0.29 - mac: 12:b0:0a:00:01:49 -timestamps: - created: just now -scale-to-zero: - enabled: true - policy: idle - stateful: true - cooldown-time: 1s +metro: fra +name: redis-6vgvc +uuid: 63b86d17-06ca-4f95-b921-56e5b3245554 +state: starting +image: /redis +resources: + memory: 256MiB + vcpus: 1 +service: + name: snowy-water-wivk1i4r + uuid: 6612de91-d639-4b5a-95d1-b7ae6e91e3c1 + domains: + - fqdn: tyk-redis.internal +networks: +- uuid: 19e4b80a-9501-448d-99a6-ec3f7b90805e + private-ip: 10.0.0.29 + mac: 12:b0:0a:00:01:49 +timestamps: + created: just now +scale-to-zero: + enabled: true + policy: idle + stateful: true + cooldown-time: 1s ``` -or - -```bash title="kraft" -kraft cloud deploy --scale-to-zero idle --scale-to-zero-stateful --scale-to-zero-cooldown 1s -M 256Mi --domain tyk-redis.internal --env REDIS_PASSWORD=unikraft ./redis/ +```ansi title="kraft" +[●] Deployed successfully! + │ + ├───────── name: redis-6vgvc + ├───────── uuid: 63b86d17-06ca-4f95-b921-56e5b3245554 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: tyk-redis.internal + ├──────── image: oci://unikraft.io//redis@sha256:933b8b7714924eb2de880e0f32792698b14a13c83d5aee0f52dddcab5c97099d + ├─────── memory: 256 MiB + ├────── service: snowy-water-wivk1i4r + ├─ private fqdn: redis-6vgvc.internal + └─── private ip: 10.0.0.29 ``` -The output shows the Redis instance details: + -```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: redis-6vgvc - ├───────── uuid: 63b86d17-06ca-4f95-b921-56e5b3245554 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: tyk-redis.internal - ├──────── image: oci://unikraft.io//redis@sha256:933b8b7714924eb2de880e0f32792698b14a13c83d5aee0f52dddcab5c97099d - ├─────── memory: 256 MiB - ├────── service: snowy-water-wivk1i4r - ├─ private fqdn: redis-6vgvc.internal - └─── private ip: 10.0.0.29 -``` +## Tyk + +Build and deploy the Tyk instance: -## Build and deploy the Tyk instance: + ```bash title="unikraft" unikraft build ./tyk --output /tyk:latest -unikraft run --scale-to-zero policy=on,cooldown-time=1000 --metro fra -p 443:8080/tls+http -m 256M --image /tyk:latest +unikraft run --scale-to-zero policy=on,cooldown-time=1000 --metro fra -p 443:8080/tls+http -m 256M --image /tyk:latest -e TYK_GW_STORAGE_PASSWORD=unikraft ``` +```bash title="kraft" +kraft cloud deploy --scale-to-zero on --scale-to-zero-cooldown 1s -p 443:8080/tls+http -M 256Mi --env TYK_GW_STORAGE_PASSWORD=unikraft ./tyk/ +``` + + + Make sure to replace `` with your username / org-name in the unikraft CLI commands above. The output shows the Tyk instance details: -```ansi title="unikraft" -metro: fra -name: tyk-s9ixd -uuid: 4e8a5e56-2d0b-4ca4-88b4-aa816129a66d -state: starting -image: /tyk -resources: - memory: 256MiB - vcpus: 1 -service: - name: icy-haze-8ph4u8cz - uuid: 89079646-353a-4a19-99ac-5498c7d626ad - domains: - - fqdn: icy-haze-8ph4u8cz.fra.unikraft.app -networks: -- uuid: 8085804f-0fe0-4847-ad6e-8518edba126e - private-ip: 10.0.0.1 - mac: 12:b0:0a:00:0e:b1 -timestamps: - created: just now -``` - -or + -```bash title="kraft" -kraft cloud deploy --scale-to-zero on --scale-to-zero-cooldown 1s -p 443:8080/tls+http -M 256Mi ./tyk/ +```ansi title="unikraft" +metro: fra +name: tyk-s9ixd +uuid: 4e8a5e56-2d0b-4ca4-88b4-aa816129a66d +state: starting +image: /tyk +resources: + memory: 256MiB + vcpus: 1 +service: + name: icy-haze-8ph4u8cz + uuid: 89079646-353a-4a19-99ac-5498c7d626ad + domains: + - fqdn: icy-haze-8ph4u8cz.fra.unikraft.app +networks: +- uuid: 8085804f-0fe0-4847-ad6e-8518edba126e + private-ip: 10.0.0.1 + mac: 12:b0:0a:00:0e:b1 +timestamps: + created: just now ``` -The output shows the Tyk instance details: - ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: tyk-s9ixd - ├───────── uuid: 4e8a5e56-2d0b-4ca4-88b4-aa816129a66d - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://icy-haze-8ph4u8cz.fra.unikraft.app - ├──────── image: oci://unikraft.io//tyk@sha256:4954033ada90f980f279e5d825dd7971111a429578ce38be764893ba0d1f358d - ├─────── memory: 256 MiB - ├────── service: icy-haze-8ph4u8cz - ├─ private fqdn: tyk-s9ixd.internal - └─── private ip: 10.0.0.1 +[●] Deployed successfully! + │ + ├───────── name: tyk-s9ixd + ├───────── uuid: 4e8a5e56-2d0b-4ca4-88b4-aa816129a66d + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://icy-haze-8ph4u8cz.fra.unikraft.app + ├──────── image: oci://unikraft.io//tyk@sha256:4954033ada90f980f279e5d825dd7971111a429578ce38be764893ba0d1f358d + ├─────── memory: 256 MiB + ├────── service: icy-haze-8ph4u8cz + ├─ private fqdn: tyk-s9ixd.internal + └─── private ip: 10.0.0.1 ``` + + In this case, the instance names are `redis-6vgvc` and `tyk-s9ixd`, and the Tyk address is `https://icy-haze-8ph4u8cz.fra.unikraft.app`. They're different for each run. @@ -198,15 +209,15 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE MEMORY VCPUS FQDN CREATED -fra tyk-s9ixd standby /tyk 256MiB 1 icy-haze-8ph4u8cz.fra.unikraft.app just now -fra redis-6vgvc running /redis 256MiB 1 tyk-redis.internal 1 minute ago +METRO NAME STATE IMAGE MEMORY VCPUS FQDN CREATED +fra tyk-s9ixd standby /tyk 256MiB 1 icy-haze-8ph4u8cz.fra.unikraft.app just now +fra redis-6vgvc running /redis 256MiB 1 tyk-redis.internal 1 minute ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -tyk-s9ixd icy-haze-8ph4u8cz.fra.unikraft.app standby standby oci://unikraft.io//tyk@sha256:4954033... 256 MiB 1 158.32 ms -redis-6vgvc tyk-redis.internal running since 1min oci://unikraft.io//redis@sha256:933b8... 256 MiB 1 1811.99 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +tyk-s9ixd icy-haze-8ph4u8cz.fra.unikraft.app standby standby oci://unikraft.io//tyk@sha256:4954033... 256 MiB 1 158.32 ms +redis-6vgvc tyk-redis.internal running since 1min oci://unikraft.io//redis@sha256:933b8... 256 MiB 1 1811.99 ms ``` diff --git a/pages/guides/visual-studio-code-server.mdx b/pages/guides/visual-studio-code-server.mdx index 7abb67ca..286486e9 100644 --- a/pages/guides/visual-studio-code-server.mdx +++ b/pages/guides/visual-studio-code-server.mdx @@ -27,10 +27,10 @@ To run it, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/visual-studio-code-server` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/visual-studio-code-server/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/visual-studio-code-server/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -64,7 +64,7 @@ unikraft run --metro fra -p 443:8443/tls+http -m 2G --volume code-workspace:/wor ```bash title="kraft" kraft cloud volume create --name code-workspace --size 1Gi -kraft cloud deploy --scale-to-zero on --scale-to-zero-stateful --scale-to-zero-cooldown 4s --name code-server -p 443:8443/tls+http -M 2Gi -v code-workspace:/workspace -e PGUID=0 -e PGID=0 -e PASSWORD=unikraft -e SUDO_PASSWORD=unikraft -e DEFAULT_WORKSPACE="/workspace" . +kraft cloud deploy --scale-to-zero on --scale-to-zero-stateful --scale-to-zero-cooldown 4s -p 443:8443/tls+http -M 2Gi -v code-workspace:/workspace -e PGUID=0 -e PGID=0 -e PASSWORD=unikraft -e SUDO_PASSWORD=unikraft -e DEFAULT_WORKSPACE="/workspace" . ``` @@ -74,48 +74,48 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: code-server -uuid: c1a619a0-e222-4042-94b8-ba4b39353417 -state: starting -image: /visual-studio-code-server -resources: - memory: 2048MiB - vcpus: 1 -service: - uuid: 4a0866e4-3bec-3666-c4aa-61672de542e2 - name: blue-shape-chmxf1g4 - domains: - - fqdn: blue-shape-chmxf1g4.fra.unikraft.app -networks: -- uuid: dcec209f-31a6-b355-a88e-f5ac3edfa20e - private-ip: 10.0.0.49 - mac: 12:b0:ec:d2:df:1c -timestamps: - created: just now +metro: fra +name: code-server-6gxsp +uuid: c1a619a0-e222-4042-94b8-ba4b39353417 +state: starting +image: /visual-studio-code-server +resources: + memory: 2048MiB + vcpus: 1 +service: + uuid: 4a0866e4-3bec-3666-c4aa-61672de542e2 + name: blue-shape-chmxf1g4 + domains: + - fqdn: blue-shape-chmxf1g4.fra.unikraft.app +networks: +- uuid: dcec209f-31a6-b355-a88e-f5ac3edfa20e + private-ip: 10.0.0.49 + mac: 12:b0:ec:d2:df:1c +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: code-server - ├───────── uuid: c1a619a0-e222-4042-94b8-ba4b39353417 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://blue-shape-chmxf1g4.fra.unikraft.app - ├──────── image: oci://unikraft.io//visual-studio-code-server@sha256:633ec8a8dcb342b093c6f055f84fc056ee1abe40ff56e98bd612c4b9d4ddffcb - ├─────── memory: 2048 MiB - ├────── service: blue-shape-chmxf1g4 - ├─ private fqdn: code-server.internal - └─── private ip: 10.0.0.49 +[●] Deployed successfully! + │ + ├───────── name: code-server-6gxsp + ├───────── uuid: c1a619a0-e222-4042-94b8-ba4b39353417 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://blue-shape-chmxf1g4.fra.unikraft.app + ├──────── image: oci://unikraft.io//visual-studio-code-server@sha256:633ec8a8dcb342b093c6f055f84fc056ee1abe40ff56e98bd612c4b9d4ddffcb + ├─────── memory: 2048 MiB + ├────── service: blue-shape-chmxf1g4 + ├─ private fqdn: code-server-6gxsp.internal + └─── private ip: 10.0.0.49 ``` This will create a volume for data persistence, and mount it at `/workspace` inside the VM. -In this case, the instance name is `code-server` and the address is `https://blue-shape-chmxf1g4.fra.unikraft.app`. -The name was preset, but the address is different for each run. +In this case, the instance name is `code-server-6gxsp` and the address is `https://blue-shape-chmxf1g4.fra.unikraft.app`. +They are different for each run. Enter the provided address into your browser of choice to access the Code server instance. You can list information about the volume by running: @@ -135,13 +135,13 @@ kraft cloud volume list ```ansi title="unikraft" -METRO NAME STATE SIZE CREATED -fra code-workspace mounted 1.0GiB 13 minutes ago +METRO NAME STATE SIZE CREATED +fra code-workspace mounted 1.0GiB 13 minutes ago ``` ```ansi title="kraft" -NAME CREATED AT SIZE ATTACHED TO MOUNTED BY STATE PERSISTENT -code-workspace 13 minutes ago 1.0 GiB code-server code-server mounted true +NAME CREATED AT SIZE ATTACHED TO MOUNTED BY STATE PERSISTENT +code-workspace 13 minutes ago 1.0 GiB code-server-6gxsp code-server-6gxsp mounted true ``` @@ -163,13 +163,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra code-server standby /visual-studio-code-server 2.0GiB 1 blue-shape-chmxf1g4.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra code-server-6gxsp standby /visual-studio-code-server 2.0GiB 1 blue-shape-chmxf1g4.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -code-server blue-shape-chmxf1g4.fra.unikraft.app standby standby oci://unikraft.io//visual-studio-code-server@sha256:... 2.0 GiB 1 8.45 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +code-server-6gxsp blue-shape-chmxf1g4.fra.unikraft.app standby standby oci://unikraft.io//visual-studio-code-server@sha256:... 2.0 GiB 1 8.45 ms ``` @@ -179,11 +179,11 @@ When done, you can remove the instance: ```bash title="unikraft" -unikraft instances delete code-server +unikraft instances delete code-server-6gxsp ``` ```bash title="kraft" -kraft cloud instance remove code-server +kraft cloud instance remove code-server-6gxsp ``` diff --git a/pages/guides/vsftpd.mdx b/pages/guides/vsftpd.mdx index c8caa733..237740f7 100644 --- a/pages/guides/vsftpd.mdx +++ b/pages/guides/vsftpd.mdx @@ -23,10 +23,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/vsftpd` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/vsftpd/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/vsftpd/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -70,40 +70,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: vsftpd -uuid: 186a46a0-7c89-4bfd-83a8-649bcc60a96e -state: starting -image: /vsftpd -resources: - memory: 1024MiB - vcpus: 1 -service: - uuid: 4814b43a-c1d3-48f0-ef3e-9dba8bcaba25 - name: broken-orangutan-jypu2z53 - domains: - - fqdn: broken-orangutan-jypu2z53.fra.unikraft.app -networks: -- uuid: 6adc6c29-5c9b-e472-70ff-fc3f3816d5a2 - private-ip: 10.0.0.109 - mac: 12:b0:17:ff:e4:c7 -timestamps: - created: just now +metro: fra +name: vsftpd +uuid: 186a46a0-7c89-4bfd-83a8-649bcc60a96e +state: starting +image: /vsftpd +resources: + memory: 1024MiB + vcpus: 1 +service: + uuid: 4814b43a-c1d3-48f0-ef3e-9dba8bcaba25 + name: broken-orangutan-jypu2z53 + domains: + - fqdn: broken-orangutan-jypu2z53.fra.unikraft.app +networks: +- uuid: 6adc6c29-5c9b-e472-70ff-fc3f3816d5a2 + private-ip: 10.0.0.109 + mac: 12:b0:17:ff:e4:c7 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: vsftpd - ├───────── uuid: 186a46a0-7c89-4bfd-83a8-649bcc60a96e - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://broken-orangutan-jypu2z53.fra.unikraft.app - ├──────── image: oci://unikraft.io//vsftpd@sha256:31aad1619c31f499b11f1bef8fead6e6df76f235a57add011e5e414a3f51ee64 - ├─────── memory: 1024 MiB - ├────── service: broken-orangutan-jypu2z53 - ├─ private fqdn: vsftpd.internal - └─── private ip: 10.0.0.109 +[●] Deployed successfully! + │ + ├───────── name: vsftpd + ├───────── uuid: 186a46a0-7c89-4bfd-83a8-649bcc60a96e + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://broken-orangutan-jypu2z53.fra.unikraft.app + ├──────── image: oci://unikraft.io//vsftpd@sha256:31aad1619c31f499b11f1bef8fead6e6df76f235a57add011e5e414a3f51ee64 + ├─────── memory: 1024 MiB + ├────── service: broken-orangutan-jypu2z53 + ├─ private fqdn: vsftpd.internal + └─── private ip: 10.0.0.109 ``` @@ -140,13 +140,13 @@ kraft cloud volume list ```ansi title="unikraft" -METRO NAME STATE SIZE CREATED -fra vsftpd-workspace mounted 1.0GiB 9 minutes ago +METRO NAME STATE SIZE CREATED +fra vsftpd-workspace mounted 1.0GiB 9 minutes ago ``` ```ansi title="kraft" -NAME CREATED AT SIZE ATTACHED TO MOUNTED BY STATE PERSISTENT -vsftpd-workspace 9 minutes ago 1.0 GiB vsftpd vsftpd mounted true +NAME CREATED AT SIZE ATTACHED TO MOUNTED BY STATE PERSISTENT +vsftpd-workspace 9 minutes ago 1.0 GiB vsftpd vsftpd mounted true ``` @@ -168,13 +168,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra vsftpd standby /vsftpd 1.0GiB 1 broken-orangutan-jypu2z53.fra.unikraf… 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra vsftpd standby /vsftpd 1.0GiB 1 broken-orangutan-jypu2z53.fra.unikraf… 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -vsftpd broken-orangutan-jypu2z53.fra.unikraft.app standby standby oci://unikraft.io//vsftpd@sha256:... 1.0 GiB 1 7.19 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +vsftpd broken-orangutan-jypu2z53.fra.unikraft.app standby standby oci://unikraft.io//vsftpd@sha256:... 1.0 GiB 1 7.19 ms ``` diff --git a/pages/guides/wazero-import-go.mdx b/pages/guides/wazero-import-go.mdx index 1d7484fd..6a69d5a6 100644 --- a/pages/guides/wazero-import-go.mdx +++ b/pages/guides/wazero-import-go.mdx @@ -25,10 +25,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/wazero-import-go/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/wazero-import-go/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/wazero-import-go/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -68,40 +68,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: wazero-import-go-r4dx8 -uuid: a763e1c3-bb38-475f-95b6-1e78d8ca74fc -state: starting -image: /wazero-import-go -resources: - memory: 512MiB - vcpus: 1 -service: - uuid: f38a171d-e283-24ca-1158-c7907948071e - name: cool-morning-camrrhsa - domains: - - fqdn: cool-morning-camrrhsa.fra.unikraft.app -networks: -- uuid: bc4bb64c-8185-3b83-8693-b1464ab4723e - private-ip: 10.0.6.7 - mac: 12:b0:05:55:02:fe -timestamps: - created: just now +metro: fra +name: wazero-import-go-r4dx8 +uuid: a763e1c3-bb38-475f-95b6-1e78d8ca74fc +state: starting +image: /wazero-import-go +resources: + memory: 512MiB + vcpus: 1 +service: + uuid: f38a171d-e283-24ca-1158-c7907948071e + name: cool-morning-camrrhsa + domains: + - fqdn: cool-morning-camrrhsa.fra.unikraft.app +networks: +- uuid: bc4bb64c-8185-3b83-8693-b1464ab4723e + private-ip: 10.0.6.7 + mac: 12:b0:05:55:02:fe +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: wazero-import-go-r4dx8 - ├───────── uuid: a763e1c3-bb38-475f-95b6-1e78d8ca74fc - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://cool-morning-camrrhsa.fra.unikraft.app - ├──────── image: oci://unikraft.io//wazero-import-go@sha256:865700d358ffb2751888798ec8f302d23310b1fcf84f4d3f17f79fc25ff71153 - ├─────── memory: 512 MiB - ├────── service: cool-morning-camrrhsa - ├─ private fqdn: wazero-import-go-r4dx8.internal - └─── private ip: 10.0.6.7 +[●] Deployed successfully! + │ + ├───────── name: wazero-import-go-r4dx8 + ├───────── uuid: a763e1c3-bb38-475f-95b6-1e78d8ca74fc + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://cool-morning-camrrhsa.fra.unikraft.app + ├──────── image: oci://unikraft.io//wazero-import-go@sha256:865700d358ffb2751888798ec8f302d23310b1fcf84f4d3f17f79fc25ff71153 + ├─────── memory: 512 MiB + ├────── service: cool-morning-camrrhsa + ├─ private fqdn: wazero-import-go-r4dx8.internal + └─── private ip: 10.0.6.7 ``` @@ -137,13 +137,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra wazero-import-go-r4dx8 running /wazero-import-go 512MiB 1 cool-morning-camrrhsa.fra.unikraft.app 2 minutes ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra wazero-import-go-r4dx8 running /wazero-import-go 512MiB 1 cool-morning-camrrhsa.fra.unikraft.app 2 minutes ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -wazero-import-go-r4dx8 cool-morning-camrrhsa.fra.unikraft.app running 1 minutes ago oci://unikraft.io//wazero-import-go@s... 512 MiB 1 20.04 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +wazero-import-go-r4dx8 cool-morning-camrrhsa.fra.unikraft.app running 1 minutes ago oci://unikraft.io//wazero-import-go@s... 512 MiB 1 20.04 ms ``` diff --git a/pages/guides/wordpress-all-in-one.mdx b/pages/guides/wordpress-all-in-one.mdx index 61ce03cf..e607d4e4 100644 --- a/pages/guides/wordpress-all-in-one.mdx +++ b/pages/guides/wordpress-all-in-one.mdx @@ -25,10 +25,10 @@ To run it, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/wordpress-all-in-one/` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/wordpress-all-in-one/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/wordpress-all-in-one/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -68,40 +68,40 @@ The output shows the instance address and other details: ```ansi title="unikraft" -metro: fra -name: wordpress-fx5rb -uuid: bfb9d151-1604-452a-b2e0-f737486744df -state: starting -image: /wordpress -resources: - memory: 4096MiB - vcpus: 1 -service: - uuid: 398fe5bb-e172-465e-8f74-56ffcfb24a3d - name: cool-silence-h5c1es4z - domains: - - fqdn: cool-silence-h5c1es4z.fra.unikraft.app -networks: -- uuid: 26c200e0-43eb-dd46-e4be-e9505ff677d1 - private-ip: 10.0.3.1 - mac: 12:b0:4e:20:b3:e7 -timestamps: - created: just now +metro: fra +name: wordpress-fx5rb +uuid: bfb9d151-1604-452a-b2e0-f737486744df +state: starting +image: /wordpress +resources: + memory: 4096MiB + vcpus: 1 +service: + uuid: 398fe5bb-e172-465e-8f74-56ffcfb24a3d + name: cool-silence-h5c1es4z + domains: + - fqdn: cool-silence-h5c1es4z.fra.unikraft.app +networks: +- uuid: 26c200e0-43eb-dd46-e4be-e9505ff677d1 + private-ip: 10.0.3.1 + mac: 12:b0:4e:20:b3:e7 +timestamps: + created: just now ``` ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: wordpress-fx5rb - ├───────── uuid: bfb9d151-1604-452a-b2e0-f737486744df - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://cool-silence-h5c1es4z.fra.unikraft.app - ├──────── image: oci://unikraft.io//wordpress@sha256:3e116e6c74dd04e19d4062a14f8173974ba625179ace3c10a2c96546638c4cd8 - ├─────── memory: 4096 MiB - ├────── service: cool-silence-h5c1es4z - ├─ private fqdn: wordpress-fx5rb.internal - └─── private ip: 10.0.3.1 +[●] Deployed successfully! + │ + ├───────── name: wordpress-fx5rb + ├───────── uuid: bfb9d151-1604-452a-b2e0-f737486744df + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://cool-silence-h5c1es4z.fra.unikraft.app + ├──────── image: oci://unikraft.io//wordpress@sha256:3e116e6c74dd04e19d4062a14f8173974ba625179ace3c10a2c96546638c4cd8 + ├─────── memory: 4096 MiB + ├────── service: cool-silence-h5c1es4z + ├─ private fqdn: wordpress-fx5rb.internal + └─── private ip: 10.0.3.1 ``` @@ -129,13 +129,13 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra wordpress-fx5rb running /wordpress-all-in-one 4096MiB 1 cool-silence-h5c1es4z.fra.unikraft.app 1 minute ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra wordpress-fx5rb running /wordpress-all-in-one 4096MiB 1 cool-silence-h5c1es4z.fra.unikraft.app 1 minute ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -wordpress-fx5rb cool-silence-h5c1es4z.fra.unikraft.app running 1 minute ago oci://unikraft.io//wordpress-all-in-one@sha256:... 4096 MiB 1 245.32 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +wordpress-fx5rb cool-silence-h5c1es4z.fra.unikraft.app running 1 minute ago oci://unikraft.io//wordpress-all-in-one@sha256:... 4096 MiB 1 245.32 ms ``` diff --git a/pages/guides/wordpress.mdx b/pages/guides/wordpress.mdx index 14c3dd5a..8d863174 100644 --- a/pages/guides/wordpress.mdx +++ b/pages/guides/wordpress.mdx @@ -23,10 +23,10 @@ To run this example, follow these steps: 2. Clone the [`examples` repository](https://github.com/unikraft-cloud/examples) and `cd` into the `examples/wordpress` directory: -```bash -git clone https://github.com/unikraft-cloud/examples -cd examples/wordpress/ -``` + ```bash + git clone https://github.com/unikraft-cloud/examples + cd examples/wordpress/ + ``` Make sure to log into Unikraft Cloud and pick a [metro](/platform/metros) close to you. This guide uses `fra` (Frankfurt, 🇩🇪): @@ -50,50 +50,30 @@ export UKC_METRO=fra Create the volumes for the Wordpress and MariaDB data: + + ```bash title="unikraft" unikraft volume create --metro fra --name wordpress-wordpress-data --size 512M unikraft volume create --metro fra --name wordpress-db-data --size 512M ``` -The output for each volume shows its details: - -```ansi title="unikraft" -metro: fra -name: wordpress-wordpress-data -uuid: 0bec8b93-0691-43b6-b188-4ac170a3d0c7 -state: available -size: 512MiB -filesystem: ext4 -quota-policy: static -persistent: true -timestamps: - created: just now -``` - -or - ```bash title="kraft" kraft cloud volume create --name wordpress-wordpress-data --size 512Mi kraft cloud volume create --name wordpress-db-data --size 512Mi ``` -The output for each volume shows its details: - -```ansi title="kraft" -NAME CREATED AT SIZE ATTACHED TO MOUNTED BY STATE PERSISTENT -wordpress-wordpress-data now 512 MiB available true -``` + You can list the created volumes by running: ```bash title="unikraft" -unikraft volume ls +unikraft volume list ``` ```bash title="kraft" -kraft cloud volume ls +kraft cloud volume list ``` @@ -101,15 +81,15 @@ kraft cloud volume ls ```ansi title="unikraft" -METRO NAME STATE SIZE CREATED -fra0-fe-test wordpress-db-data available 512MiB just now -fra0-fe-test wordpress-wordpress-data available 512MiB just now +METRO NAME STATE SIZE CREATED +fra wordpress-db-data available 512MiB just now +fra wordpress-wordpress-data available 512MiB just now ``` ```ansi title="kraft" -NAME CREATED AT SIZE ATTACHED TO MOUNTED BY STATE PERSISTENT -wordpress-db-data 36 seconds ago 512 MiB available true -wordpress-wordpress-data 52 seconds ago 512 MiB available true +NAME CREATED AT SIZE ATTACHED TO MOUNTED BY STATE PERSISTENT +wordpress-wordpress-data now 512 MiB available true +wordpress-db-data now 512 MiB available true ``` @@ -119,141 +99,147 @@ wordpress-wordpress-data 52 seconds ago 512 MiB avai Build and deploy the MariaDB instance. MariaDB is an internal service (not publicly accessible), reached via the `wordpress-mariadb.internal` domain: + + ```bash title="unikraft" unikraft build ./mariadb --output /mariadb:latest unikraft run --name mariadb --scale-to-zero policy=idle,cooldown-time=1000,stateful=true --metro fra -m 1G --volume wordpress-db-data:/var/lib/mysql --image /mariadb:latest --domain wordpress-mariadb.internal --env MARIADB_ROOT_PASSWORD=unikraft ``` -Make sure to replace `` with your username / org-name. - -The output shows the instance details: - -```ansi title="unikraft" -metro: fra -name: mariadb -uuid: 3af0eefb-29a8-4634-9b94-abf62d2fb90a -state: starting -image: /mariadb -runtime: - env: - MARIADB_ROOT_PASSWORD: * -resources: - memory: 1GiB - vcpus: 1 -service: - name: snowy-glitter-3uylzbqk - uuid: 0b3303d0-1a2e-4353-a9c7-29151263ef9f - domains: - - fqdn: wordpress-mariadb.internal -volumes: -- name: wordpress-db-data - uuid: 7b232d0f-dfbf-4ff7-9208-106b5d92bbe3 - at: /var/lib/mysql -networks: -- uuid: 8cad0682-a700-4303-af8c-ebd18465ed32 - private-ip: 10.0.1.73 - mac: 12:b0:0a:00:01:49 -timestamps: - created: just now -scale-to-zero: - enabled: true - policy: idle - stateful: true - cooldown-time: 1s -``` - -or - ```bash title="kraft" kraft cloud deploy --name mariadb --scale-to-zero idle --scale-to-zero-stateful --scale-to-zero-cooldown 1s -M 1Gi --volume wordpress-db-data:/var/lib/mysql --domain wordpress-mariadb.internal --env MARIADB_ROOT_PASSWORD=unikraft ./mariadb/ ``` + + Make sure to replace `` with your username / org-name. The output shows the instance details: + + +```ansi title="unikraft" +metro: fra +name: mariadb +uuid: 3af0eefb-29a8-4634-9b94-abf62d2fb90a +state: starting +image: /mariadb +runtime: + env: + MARIADB_ROOT_PASSWORD: * +resources: + memory: 1GiB + vcpus: 1 +service: + name: snowy-glitter-3uylzbqk + uuid: 0b3303d0-1a2e-4353-a9c7-29151263ef9f + domains: + - fqdn: wordpress-mariadb.internal +volumes: +- name: wordpress-db-data + uuid: 7b232d0f-dfbf-4ff7-9208-106b5d92bbe3 + at: /var/lib/mysql +networks: +- uuid: 8cad0682-a700-4303-af8c-ebd18465ed32 + private-ip: 10.0.1.73 + mac: 12:b0:0a:00:01:49 +timestamps: + created: just now +scale-to-zero: + enabled: true + policy: idle + stateful: true + cooldown-time: 1s +``` + ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: mariadb - ├───────── uuid: cbf0dab4-238f-49cc-8bad-e6ebb7f5e9d2 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: wordpress-mariadb.internal - ├──────── image: oci://unikraft.io//mariadb@sha256:cf1... - ├─────── memory: 1024 MiB - ├────── service: fragrant-bonobo-u5j0ddw1 - ├─ private fqdn: mariadb.internal - └─── private ip: 10.0.0.17 +[●] Deployed successfully! + │ + ├───────── name: mariadb + ├───────── uuid: 3af0eefb-29a8-4634-9b94-abf62d2fb90a + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: wordpress-mariadb.internal + ├──────── image: oci://unikraft.io//mariadb@sha256:cf1... + ├─────── memory: 1024 MiB + ├────── service: snowy-glitter-3uylzbqk + ├─ private fqdn: mariadb.internal + └─── private ip: 10.0.0.73 ``` + + ## Deploy Wordpress Build and deploy the Wordpress instance: + + ```bash title="unikraft" unikraft build ./wordpress --output /wordpress:latest unikraft run --name wordpress --scale-to-zero policy=on,cooldown-time=1000 --metro fra -p 443:8080/tls+http -m 2G --volume wordpress-wordpress-data:/var/www/html --image /wordpress:latest --env WORDPRESS_DB_HOST=wordpress-mariadb.internal ``` -The output shows the instance address and other details: - -```ansi title="unikraft" -metro: fra -name: wordpress -uuid: ee9f5599-b33b-44f1-ab57-3871b440e810 -state: starting -image: /wordpress -runtime: - env: - WORDPRESS_DB_HOST: wordpress-mariadb.internal -resources: - memory: 2GiB - vcpus: 1 -service: - name: damp-lake-n09gzguc - uuid: 7f21d778-487f-4130-a94a-34b86862c3dd - domains: - - fqdn: damp-lake-n09gzguc.fra.unikraft.app -volumes: -- name: wordpress-wordpress-data - uuid: 0bec8b93-0691-43b6-b188-4ac170a3d0c7 - at: /var/www/html -networks: -- uuid: e0f13623-fd04-4a69-9caf-47142ce47c4c - private-ip: 10.0.0.33 - mac: 12:b0:0a:00:00:21 -timestamps: - created: just now -scale-to-zero: - enabled: true - policy: on - cooldown-time: 1s -``` - -or - ```bash title="kraft" kraft cloud deploy --name wordpress --scale-to-zero on --scale-to-zero-cooldown 1s -p 443:8080/tls+http -M 2Gi --volume wordpress-wordpress-data:/var/www/html --env WORDPRESS_DB_HOST=wordpress-mariadb.internal ./wordpress/ ``` + + The output shows the instance address and other details: + + +```ansi title="unikraft" +metro: fra +name: wordpress +uuid: ee9f5599-b33b-44f1-ab57-3871b440e810 +state: starting +image: /wordpress +runtime: + env: + WORDPRESS_DB_HOST: wordpress-mariadb.internal +resources: + memory: 2GiB + vcpus: 1 +service: + name: damp-lake-n09gzguc + uuid: 7f21d778-487f-4130-a94a-34b86862c3dd + domains: + - fqdn: damp-lake-n09gzguc.fra.unikraft.app +volumes: +- name: wordpress-wordpress-data + uuid: 0bec8b93-0691-43b6-b188-4ac170a3d0c7 + at: /var/www/html +networks: +- uuid: e0f13623-fd04-4a69-9caf-47142ce47c4c + private-ip: 10.0.0.33 + mac: 12:b0:0a:00:00:21 +timestamps: + created: just now +scale-to-zero: + enabled: true + policy: on + cooldown-time: 1s +``` + ```ansi title="kraft" -[●] Deployed successfully! - │ - ├───────── name: wordpress - ├───────── uuid: aa8b6bad-f30a-4231-b6ea-e8afd4df43b8 - ├──────── metro: https://api.fra.unikraft.cloud/v1 - ├──────── state: starting - ├─────── domain: https://floral-sound-2i6zurr6.fra.unikraft.app - ├──────── image: oci://unikraft.io//wordpress@sha256:b43... - ├─────── memory: 2048 MiB - ├────── service: floral-sound-2i6zurr6 - ├─ private fqdn: wordpress.internal - └─── private ip: 10.0.0.29 +[●] Deployed successfully! + │ + ├───────── name: wordpress + ├───────── uuid: ee9f5599-b33b-44f1-ab57-3871b440e810 + ├──────── metro: https://api.fra.unikraft.cloud/v1 + ├──────── state: starting + ├─────── domain: https://damp-lake-n09gzguc.fra.unikraft.app + ├──────── image: oci://unikraft.io//wordpress@sha256:b43... + ├─────── memory: 2048 MiB + ├────── service: damp-lake-n09gzguc + ├─ private fqdn: wordpress.internal + └─── private ip: 10.0.0.33 ``` + + Use a browser to access the install page of Wordpress using the URL from the `fqdn` field in the output. Fill out the form and complete the Wordpress install. @@ -262,7 +248,7 @@ You can list information about the instances by running: ```bash title="unikraft" -unikraft instance ls +unikraft instance list ``` ```bash title="kraft" @@ -274,15 +260,15 @@ kraft cloud instance list ```ansi title="unikraft" -METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED -fra mariadb standby /mariadb 1GiB 1 wordpress-mariadb.internal 5 minutes ago -fra wordpress running /wordpress 2GiB 1 damp-lake-n09gzguc.fra.unikraft.app 1 minute ago +METRO NAME STATE IMAGE ARGS MEMORY VCPUS FQDN CREATED +fra mariadb standby /mariadb 1GiB 1 wordpress-mariadb.internal 5 minutes ago +fra wordpress running /wordpress 2GiB 1 damp-lake-n09gzguc.fra.unikraft.app 1 minute ago ``` ```ansi title="kraft" -NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME -wordpress floral-sound-2i6zurr6.fra.unikraft.app running since 1min oci://unikraft.io//wordpress@sha256:b... 2.0 GiB 1 6873.49 ms -mariadb wordpress-mariadb.internal running since 7mins oci://unikraft.io//mariadb@sha256:cf1... 1.0 GiB 1 2505.65 ms +NAME FQDN STATE STATUS IMAGE MEMORY VCPUS ARGS BOOT TIME +wordpress damp-lake-n09gzguc.fra.unikraft.app running since 1min oci://unikraft.io//wordpress@sha256:b... 2.0 GiB 1 6873.49 ms +mariadb wordpress-mariadb.internal running since 7mins oci://unikraft.io//mariadb@sha256:cf1... 1.0 GiB 1 2505.65 ms ``` diff --git a/zudoku.config.tsx b/zudoku.config.tsx index 2dfaf04a..c22a9e33 100644 --- a/zudoku.config.tsx +++ b/zudoku.config.tsx @@ -176,6 +176,7 @@ const config: ZudokuConfig = { "/guides/memcached1.6", // Memcached "/guides/minio", // Minio "/guides/mongodb", // MongoDB + "/guides/mysql", // MySQL "/guides/httpserver-node21-nextjs", // Next.js HTTP Server "/guides/nginx", // Nginx "/guides/node24-karaoke", // Node AllKaraoke