Square CloudSquare Cloud

Elixir on the BEAM with OTP

Phoenix, LiveView and OTP on Elixir 1.20: mix deps.get runs on the server, and Node.js with npm is already in the image for mix assets.deploy.

From ZIP to running process

The same path on every deploy, from the dashboard, the CLI or GitHub.

1

Detects the language

RUNTIME, or the extension of MAIN (.exs), picks Elixir.

2

Installs the dependencies

mix.exs is read and the dependencies are installed on the server, before the app starts.

3

Isolates the container

The CPU and RAM of MEMORY are guaranteed by the kernel, and the process runs without root.

4

Starts the process

Without START, the default command runs. With START, yours runs exactly as written.

The squarecloud.app of a Elixir app

A KEY=VALUE file at the root of the project, or generated by the dashboard at deploy. This one publishes a site or API; without SUBDOMAIN, the app runs as a background process.

squarecloud.app
  1. 1MAIN=mix.exs
  2. 2MEMORY=512
  3. 3VERSION=recommended
  4. 4DISPLAY_NAME=my-api
  5. 5SUBDOMAIN=my-api
  6. 6START=MIX_ENV=prod mix assets.deploy && MIX_ENV=prod mix phx.server
  7. 7AUTORESTART=true
Versions
1.20
Default command
mix run --no-halt
Dependencies
mix.exs
Accepted files
.ex.exs
RUNTIME= values
elixir
Also in the image
Node.js 26npmffmpeg

What comes ready

The environment already knows your language: you upload the code and it runs.

Actor-model concurrency

Lightweight BEAM processes isolate each task, with no memory shared between them.

Supervision and fault tolerance

OTP supervisors restart processes that fail, without taking down the rest of the app.

Automatic Mix

Hex dependencies resolved by Mix on first start, including packages that use Rebar.

Phoenix, LiveView, and Ecto

Elixir's modern web stack runs with no special adaptation.

What you can host

Projects that run on this runtime.

Phoenix and LiveView apps

Real-time, server-rendered interfaces with little JavaScript in the browser.

APIs with Plug and Ecto

Backends with versioned migrations, changesets for validation, and Ecto's Repo pattern.

Chat and pub/sub

Phoenix Channels, PubSub, and Presence for chat rooms and live notifications.

Pipelines with Broadway and GenServer

Concurrent data processing with supervision trees that recover from failures.

Discord bots with Nostrum

Elixir bots supervised by OTP, recovering from errors without taking down the main process.

Telemetry and IoT

Services that take in data from many devices and stay up when one part fails.

Combine with other services

Everything in the same dashboard, on the same infrastructure and the same invoice.

A plan for every stage of your project

From your first deploy to 1 TB of RAM, without switching platforms. Each phase adds memory and features to the one before, and upgrades apply instantly.

Compare all plans
1 GB → 2 GB

Hobby

Take the idea off localhost and put it online.

  • Up to 2 vCPU
  • Real-time metrics
  • Blob Storage
  • One-click rollback
  • Square Shield anti-DDoS
  • Cubic AI agent

FromR$12.49/mo

4 GB → 8 GB

Standard

Recommended

Production with databases, your own domain and a team.

  • Up to 4 vCPU
  • Databases
  • Custom domain
  • Load balancer
  • AI Gateway
  • Workspaces

FromR$44.99/mo

12 GB → 24 GB

Pro

More memory, daily snapshots and visibility into what runs.

  • Up to 12 vCPU
  • Daily application snapshots
  • Performance analytics
  • Cubic Pro and routines
  • Priority support

FromR$124.99/mo

32 GB → 1 TB

Enterprise

Large operations, with a private Discord channel.

  • Up to 16 vCPU
  • Private Discord channel

FromR$299.90/mo

HobbyStandardProEnterprise
Compute
RAM1 GB → 2 GB4 GB → 8 GB12 GB → 24 GB32 GB → 1 TB
vCPU1 → 246 → 1216
Platform
Real-time metricsIncludedIncludedIncludedIncluded
Blob StorageIncludedIncludedIncludedIncluded
One-click rollbackIncludedIncludedIncludedIncluded
Square Shield anti-DDoSIncludedIncludedIncludedIncluded
Cubic AI agentIncludedIncludedIncludedIncluded
DatabasesNot includedIncludedIncludedIncluded
Custom domainNot includedIncludedIncludedIncluded
Load balancerapps per domainNot included2510
AI GatewayNot includedIncludedIncludedIncluded
Daily application snapshotsNot includedNot includedIncludedIncluded
Performance analyticsNot includedNot includedIncludedIncluded
Cubic Pro and routinesNot includedNot includedIncludedIncluded
Team and support
Workspacesmembers per workspaceNot included3 → 710 → 2020 → 50
Priority supportNot includedNot includedIncludedIncluded
Private Discord channelNot includedNot includedNot includedIncluded

4.9 out of 5

482 reviews on Google and Trustpilot

Hosted in a partner datacenter with certifications

  • Tier 3
  • ISO 27001
  • SOC 2 Type II
  • Always-On DDoS Protection
Explore our infrastructure

Frequently asked questions about Elixir Hosting

BEAM VM, Mix, Phoenix, and OTP.

Does Mix install dependencies automatically?

Yes. Hex, Rebar, and mix.exs deps are resolved on first boot.

Can I use releases instead of mix run?

Yes. Build the release locally and set START=./_build/prod/rel/myapp/bin/myapp start. Boosts production performance.

Does Phoenix LiveView work?

Yes. WebSockets, Channels, and LiveView are fully supported.

Which Elixir and Erlang versions?

Elixir 1.20 on the current Erlang/OTP release, with the gradual type system (set-theoretic types) and full tooling: Mix, Hex, ExUnit, and Dialyzer.

Ship your project today

Join the 500,000+ developers who have used Square Cloud to host their projects.

  • Deploy in seconds via GitHub, CLI or .zip
  • Isolated, always-on containers
  • Automatic TLS on every domain
  • Anti-DDoS on layers 3, 4 and 7
  • Snapshots with 1-click restore
  • Cubic, the AI agent, on every plan
  • Fixed price in reais, with NFS-e
  • No per-request charges