Provisioning a node
Rent a server, license it, install Atra OS with cloud-init or a host integration, and deploy your first build to the node.
Preview. Atracode opens at launch, and the commands, tools and API shapes on this page may change before then.
This walkthrough takes you from an empty server to a running build on Atra OS. You need an Atracode account, the CLI (curl -fsSL https://atracode.sh | sh) signed in with atracode login, and an account with any cloud or bare-metal provider.
Rent a server
Create a server with your usual provider. Atra OS does not need a particular provider or a particular base image; it is installed onto whatever server you start.
Pick whatever size you need: Atra OS is priced by the kind of machine, not its size. A bare-metal server takes a physical server subscription, which also covers the Atra OS guests you run on it; a virtual machine at a cloud provider takes a cloud instance subscription. Prices are on Nodes and subscriptions. If your provider asks for user data or cloud-init when you create the server, keep that screen open for the step after next.
Subscribe
Configure a subscription on Pricing, or go directly to /checkout/nodes. Choose the machine type, coverage, any support level and add-ons, the number of machines, a billing term and a data sharing level, then pay through Stripe checkout. For personal, non-commercial use, up to 5 machines are free with just an account.
An Atra OS subscription is separate from seat plans. You can subscribe for several machines at once and register them as you provision them.
Add the installer to the server
Atra OS has no ISO. It is installed through cloud-init or a host integration that runs when the server first boots. Each install uses a node token that ties the server to your account and license.
On a provider that accepts cloud-init user data, the snippet looks like this:
#cloud-config
runcmd:
- curl -fsSL https://atracode.sh/os | sh -s -- --token <NODE_TOKEN> --name web-1
Replace <NODE_TOKEN> with the token for your license and web-1 with the name you want for the node.
Warning: This snippet is a preview. The installer URL and its flags may change before launch, and the exact snippet for your account will be shown with your node token. Treat the token like a password: anyone who has it can register a server against your license.
On a provider with a host integration, you select Atracode in the integration and it supplies the same installer and token for you. The integrations available at launch will be listed here.
Check that the node registered
When the install finishes, the server registers itself and appears in your node list:
atracode nodes
Each node is listed by the name you gave it, with its tier. Registration also records the node’s identity so that later attestation reports can be checked against it. If a node doesn’t appear, check that the server could reach the internet on first boot and that the token was copied whole.
Deploy a build
Build and ship a project to the node by name:
atracode deploy ./my-site --node web-1
deploy compiles the project into one self-contained binary with the runtime inside, the same output as atracode build, and sends it to the node. If any part of the project is refused by the compiler, nothing is deployed and you get the refusal with its file, line and column, as in Refusals.
To confirm what is running matches your source, run atracode audit ./my-site. It compares the built artifacts against the verified RAVEN hashes of the source.