Skip to content

Quickstart: your AWS account

Install the Run engine in your AWS account and deploy an app with it.

Applies to Engine
View as Markdown
On this page
  1. Install the engine
  2. Point the CLI at it
  3. Deploy
  4. Add your domain

At the end the Run engine runs in your AWS account and your app is deployed there, at a CloudFront address.

  1. Install the engine

    You need an AWS account, the AWS CLI signed in with permission to create stacks, and Node 20 or newer.

    Terminal
    npx @sypnia/run engine install --region us-east-1

    It deploys the CloudFormation stack sypnia-run (the API, the deployer, the build project, the artifacts bucket and the edge router) and prints the engine’s address and its first admin key, which it saves in ~/.config/sypnia/run-engine.json (mode 600).

    You should see
    Engine ready: https://abc123.cloudfront.net.
  2. Point the CLI at it

    Terminal
    npx @sypnia/run use https://abc123.cloudfront.net
  3. Deploy

    Terminal
    npx @sypnia/run deploy --local

    --local builds on your machine and uploads the artifacts; without it the build runs in AWS CodeBuild in your account.

    You should see
    Production: https://d1x2y3.cloudfront.net and a stack sypnia-run-app-<app> in CloudFormation.
  4. Add your domain

    Terminal
    npx @sypnia/run domains add www.laespiga.co

    The command prints the DNS records to add, and requests the certificate in AWS Certificate Manager. With the domain in Route 53 in the same account, it adds them for you.

Self-hosting covers the stack’s parameters, upgrades and removing everything.

  1. Install the engine
  2. Point the CLI at it
  3. Deploy
  4. Add your domain

    Search pages, sections and terms