Skip to content

Getting started

This page takes you from a new account to a running machine and a deployed app. It takes about 20 minutes, most of it waiting for your cloud.

You need:

  • An email address you can read.
  • An Oracle Cloud (OCI) tenancy or a Google Cloud (GCP) project where you can change IAM policies (to let Mayadyn in). AWS and Microsoft Azure are coming soon.
  • For the CLI steps: the mayadyn command line (see CLI).
  1. Open https://console.mayadyn.com and choose Create account.
  2. Fill in Name, Email, Password (at least 12 characters), Workspace name and Workspace ID (lowercase letters, digits and dashes, e.g. acme). The Workspace ID becomes part of your app URLs.
  3. Choose Create account. You are signed in to your new workspace, and you are its owner.

You can also start with Continue with Google on the sign-in page, if it is offered. A new account made that way has no workspace yet; the console asks you to create one. See Account and sign-in.

Mayadyn emails you a confirmation link. Until you open it, a banner asks you to Confirm <email> using the link we sent you. Open the link; the page says Your email is confirmed.

The link is valid for 24 hours. If it expired, use Send the link again (up to 5 links per hour).

You need a confirmed email to invite members, to accept invitations and to turn on two-step sign-in.

Mayadyn acts in your cloud only through a connection. Keyless connections are recommended: Mayadyn stores no cloud key.

  1. In the console, open Cloud accounts and choose Connect account.
  2. Pick Oracle Cloud or Google Cloud.
  3. Enter a Name (e.g. oci-jeddah) and a Default region.
  4. Keep Keyless selected and fill in the fields for your cloud.
  5. Choose Connect account. The Trust steps dialog opens.
  6. Run the steps it shows in your cloud account, then choose Check on the connection. When its status is Working, you are ready.

The details for each cloud, including what the steps grant, are in Connect OCI and Connect GCP.

Skip this if you only use the console.

  1. Open API tokens and choose Create token.
  2. Give it a Name (e.g. my laptop), tick View and Create, start, stop under Permissions, and choose Expires after.
  3. Choose Create token and copy the token. It is shown only once.

Then save it in the CLI:

Terminal window
mayadyn login --url https://console.mayadyn.com --token myd_...
mayadyn whoami

See API tokens for scopes and expiry.

Console

  1. Open Machines and choose Create machine.
  2. Pick the Cloud account, enter a Machine name (lowercase letters, digits and dashes, starting with a letter), and pick Region, Size and Image. The defaults are size small and image ubuntu-24.04.
  3. Paste your SSH public key (the contents of a .pub file, e.g. ~/.ssh/id_ed25519.pub). Without one you cannot log in to the machine.
  4. Choose Review. Mayadyn checks the request and shows what will be created and the native size and image at the provider. Nothing is created yet.
  5. Choose Create machine. The machine appears as Creating and then Running, usually within 30 seconds to 3 minutes.
  6. Choose Log in on the machine to see and copy its ssh command.

CLI

Terminal window
mayadyn connections list
mayadyn catalog
mayadyn vms create --connection oci-jeddah --name web-1 --dry-run
mayadyn vms create --connection oci-jeddah --name web-1 --wait
mayadyn vms list

The CLI sends ~/.ssh/id_ed25519.pub (or id_ecdsa.pub, id_rsa.pub) when you do not pass --ssh-key. mayadyn vms get <id> prints the ssh command.

An app is a container on its own machine, with an HTTPS URL.

Console

  1. Open Apps and choose Create app.
  2. Pick the Cloud account, enter an App name (it becomes part of the link) and the Container port your app listens on (default 8080).
  3. Choose Create app. Nothing runs yet.
  4. Choose Deploy on the app. Under Deploy a new release, pick Container image and enter an image such as ghcr.io/acme/web:1.4, or pick Git repository and enter the Repository URL (https).
  5. Choose Deploy. The first deploy creates the app’s machine and can take up to about 10 minutes; later deploys take seconds to a minute or two.
  6. When the status is Live, open the Link: https://<app>.<workspace>.apps.mayadyn.com.

CLI

Terminal window
mayadyn apps create --connection oci-jeddah --name hello --port 8080
mayadyn apps deploy hello --image ghcr.io/acme/web:1.4 --wait
mayadyn apps get hello

If the release fails, read Apps: when a deploy fails.