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
mayadyncommand line (see CLI).
1. Create your account and workspace
Section titled “1. Create your account and workspace”- Open https://console.mayadyn.com and choose Create account.
- 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. - 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.
2. Confirm your email
Section titled “2. Confirm your email”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.
3. Connect a cloud account
Section titled “3. Connect a cloud account”Mayadyn acts in your cloud only through a connection. Keyless connections are recommended: Mayadyn stores no cloud key.
- In the console, open Cloud accounts and choose Connect account.
- Pick Oracle Cloud or Google Cloud.
- Enter a Name (e.g.
oci-jeddah) and a Default region. - Keep Keyless selected and fill in the fields for your cloud.
- Choose Connect account. The Trust steps dialog opens.
- 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.
4. Create an API token (for the CLI)
Section titled “4. Create an API token (for the CLI)”Skip this if you only use the console.
- Open API tokens and choose Create token.
- Give it a Name (e.g.
my laptop), tick View and Create, start, stop under Permissions, and choose Expires after. - Choose Create token and copy the token. It is shown only once.
Then save it in the CLI:
mayadyn login --url https://console.mayadyn.com --token myd_...mayadyn whoamiSee API tokens for scopes and expiry.
5. Create your first machine
Section titled “5. Create your first machine”Console
- Open Machines and choose Create machine.
- 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
smalland imageubuntu-24.04. - Paste your SSH public key (the contents of a
.pubfile, e.g.~/.ssh/id_ed25519.pub). Without one you cannot log in to the machine. - 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.
- Choose Create machine. The machine appears as Creating and then Running, usually within 30 seconds to 3 minutes.
- Choose Log in on the machine to see and copy its
sshcommand.
CLI
mayadyn connections listmayadyn catalogmayadyn vms create --connection oci-jeddah --name web-1 --dry-runmayadyn vms create --connection oci-jeddah --name web-1 --waitmayadyn vms listThe 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.
6. Deploy your first app
Section titled “6. Deploy your first app”An app is a container on its own machine, with an HTTPS URL.
Console
- Open Apps and choose Create app.
- Pick the Cloud account, enter an App name (it becomes part of the link) and the Container port your app listens on (default 8080).
- Choose Create app. Nothing runs yet.
- 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). - 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.
- When the status is Live, open the Link:
https://<app>.<workspace>.apps.mayadyn.com.
CLI
mayadyn apps create --connection oci-jeddah --name hello --port 8080mayadyn apps deploy hello --image ghcr.io/acme/web:1.4 --waitmayadyn apps get helloIf the release fails, read Apps: when a deploy fails.
What next
Section titled “What next”- Invite your team: Workspaces and members.
- Protect your account and workspace: Account and sign-in and Workspace security.
- Give an AI agent safe, limited access: AI agents.
- Learn the CLI: CLI.
- Clean up: delete the test machine and app when you are done (machines, apps).