Skip to content

Deploy a headless frontend

The headless frontend you built is an ordinary Next.js, Astro, Nuxt, or TanStack Start app, so it runs anywhere those run. Acquia’s own option is Front End Hosting – Advanced: confirm the entitlement, take the golden-path app live in the quickstart, deploy a scaffolded Canvas Headless app, then production-harden it in the guide.

On Front End Hosting – Advanced, the deploy is a prebuilt artifact from your own CI/CD or Code Studio, equal alternatives: build, push the artifact to the Acquia git remote, trigger the deploy with one API call. Deploy code as an artifact is the same flow driven by hand from your terminal.

Wherever it runs, three things carry into production:

  • Credentials. Set DRUPAL_SITE_URL, DRUPAL_CLIENT_ID, and DRUPAL_CLIENT_SECRET in the deployed environment, and rotate them on the schedule in the auth guide.
  • Cache invalidation. A webhook from your site into your host’s revalidation endpoint is what keeps a cached frontend from serving yesterday’s content.
  • A domain and its certificate. Going live means pointing a domain at your host and issuing its certificate: see managing domains and SSL on Cloud Platform.

Was this page helpful?