PHP development · 4 min read · Updated

Acquia CLI Cheat Sheet and Go-Live Checklist for Drupal on Acquia

An Acquia CLI, Drush and Composer cheat sheet, plus the Acquia go-live checklist with 35 checks to run before launching or moving a Drupal site.

Acquia CLI cheat sheet go live checklist

This is Part 10 of 10 in Drupal on Acquia: Enterprise Operations Guide, a free series for the people who run Drupal sites on Acquia Cloud Platform. It collects an Acquia CLI, Drush and Composer cheat sheet and the Acquia go-live checklist, with 35 checks to run before launching or moving a Drupal site.

Acquia CLI, Drush and Composer cheat sheet

Where each command runs: on a laptop, in CI or on a Cloud Platform environment (diagram from the Drupal on Acquia: Enterprise Operations Guide series)
Where each command runs: on a laptop, in CI or on a Cloud Platform environment.

These are the commands used most often by teams running Drupal on Acquia. Tools change, so confirm options with each tool’s help command: acli list and acli help <command>, drush list and drush help <command>, composer help <command>.

Acquia CLI

TaskCommand
Authenticate with Cloud Platformacli auth:login
List available commandsacli list
Link a local repository to a Cloud applicationacli app:link
Pull database and files to localacli pull:database and acli pull:files
Run a Drush command on a Cloud environmentacli remote:drush
Open an SSH session to an environmentacli remote:ssh
Stream environment logsacli log:tail
Build and push a deployment artifactacli push:artifact
Set up a Code Studio projectacli codestudio:wizard
Convert Acquia Pipelines configuration to Code Studioacli codestudio:pipelines-migrate
Call Cloud Platform API endpointsacli api:... (see acli list)

Drush

TaskCommand
Site statusdrush status
Rebuild cachesdrush cr
Run database updatesdrush updb
Import configurationdrush cim
Export configurationdrush cex
Compare active configuration with filesdrush config:status
Standard post-deployment sequencedrush deploy
One-time login linkdrush uli
Recent log messagesdrush watchdog:show
Sanitize personal datadrush sql:sanitize
Maintenance mode ondrush state:set system.maintenance_mode 1
Maintenance mode offdrush state:set system.maintenance_mode 0
Run crondrush cron
Run a queuedrush queue:run <queue_name>

Composer

TaskCommand
Install exact locked versionscomposer install
Install for production (no dev packages)composer install --no-dev
List outdated Drupal packagescomposer outdated "drupal/*"
Update one package and its dependenciescomposer update drupal/<module> -W
Add a modulecomposer require drupal/<module>
Check for known vulnerabilitiescomposer audit
Show why a package is installedcomposer why <package>

Each command is explained in context: Composer, Drush and Acquia CLI in the toolchain section, deployments in the deployment workflow section and Cloud Hooks in the Cloud Hooks section.

The Acquia go-live checklist

Seven areas to clear before the go/no-go decision (diagram from the Drupal on Acquia: Enterprise Operations Guide series)
Seven areas to clear before the go/no-go decision.

Use this checklist when launching a new Drupal site on Acquia, or moving an existing site onto the platform.

Platform and access

  • Application and environments created; generation confirmed.
  • Teams and roles configured; production deployment limited.
  • SSO enabled; service account created for automation.

Code and deployment

  • Repository follows Acquia layout; composer.lock committed.
  • CI pipeline builds, tests and deploys to Dev and Stage.
  • Production runs a tag; deployment runbook written.
  • Post-deployment hook or Cloud Actions run database updates, configuration import and cache rebuild.
  • Database scrub hook runs on copies to non-production environments.

Configuration

  • Configuration in Git; Config Split for environment differences.
  • Error display off; trusted host patterns set; development modules disabled on production.
  • Mail settings stop non-production environments from emailing real users.
  • Environment indicator configured.

Performance

  • Browser and proxy cache maximum age set.
  • Purge and Acquia Purge configured, plus CDN purger if needed.
  • No cookies or sessions for anonymous visitors on key pages.
  • Memcache configured.
  • Cron runs as a scheduled job; automated cron disabled.

Edge, domains and SSL

  • Domains added to the production environment.
  • DNS TTLs lowered before cutover; DNS points to the edge or Acquia as planned.
  • Certificates installed and valid; renewal confirmed.
  • WAF, DDoS protection and bot rules enabled.
  • Drupal reverse proxy settings configured for real client IP addresses.
  • Redirects from old URLs tested.

Integrations

  • Search writes only from production; non-production read-only or separate.
  • Integration endpoints and credentials set per environment, outside Git.
  • Egress IP addresses provided to partners that allowlist them.

Operations

  • Uptime and synthetic monitoring active; alerts tested.
  • Logs forwarded where required.
  • On-demand backup taken before launch; recovery procedure documented.
  • Non-production environments protected and set to noindex.
  • Acquia notified of launch date and expected traffic.
  • Change request approved; go/no-go decision maker named.
Drupal on Acquia: Enterprise Operations Guide (full PDF)Every article from this series in one printable PDF.PDF · 560.0 KB
Free download: unlock it in one step

Share this page

or

Mailchimp opens in a new tab to confirm. Unsubscribe any time.

Rupak Nepali
Written byRupak Nepali

Rupak Nepali is a web developer, manage Webocreation website and the author of six books:
Getting Started with OpenCart Module Development (Packt, 2013),
OpenCart Theme and Module Development (Packt, 2015),
OpenCart 4: Dev Guide for Themes & Extensions (2024),
OpenCart 4: User Manual (2025),
Cloudflare for the Enterprise Website (2026) and
The Technical Web Guide for Marketers (2026).
Rupak has built OpenCart stores and extensions since 2010, has published more than 600 tutorials on Webocreation, and shares free OpenCart extensions on GitHub.
Find Rupak on
GitHub | Amazon | LinkedIn | X | YouTube.

Leave a Reply

Your email address will not be published. Required fields are marked *