Drupal · 15 min read · Updated

Drupal on Acquia Foundations: The Shared Responsibility Model and the Anatomy of an Acquia Application

Where the Acquia shared responsibility line sits for a Drupal site, and how an Acquia application is built from organization down to environment resources.

Acquia shared responsibility application anatomy

This is Part 1 of 10 in Drupal on Acquia: Enterprise Operations Guide, a free series for the people who run Drupal sites on Acquia Cloud Platform. Where the Acquia shared responsibility line sits for a Drupal site, and how an Acquia application is built from organization down to environment resources.

Why Drupal on Acquia and the Acquia shared responsibility model

On his first day as platform lead, Arjun asked the departing contractor a simple question: “What does Acquia actually do for us, and what do we do ourselves?”

The contractor thought for a moment. “Acquia keeps the servers running. We do everything else.”

It was a memorable answer, and it was wrong in both directions. Acquia did far more than keep servers running: it managed the operating system, PHP, the database service, load balancers, Varnish, backups, scaling and a set of developer tools. But Webocreation Group also did more than “everything else” suggested. It owned the code, the configuration, the content, the caching behavior, the Drupal modules, the security of its own application, and every decision about how and when to change any of them.

Getting this line right is the foundation for everything else in this series. Most operational problems on Acquia come from someone assuming the other side was handling something.

Acquia runs the platform; your team owns everything you run on it (diagram from the Drupal on Acquia: Enterprise Operations Guide series)
Acquia runs the platform; your team owns everything you run on it.

What Acquia is

Acquia is a digital experience company built around Drupal. Its products include hosting, developer tools, search, content and digital asset management, personalization and analytics. This series focuses on the products most enterprise Drupal teams use to run their sites:

  • Acquia Cloud Platform, a managed platform as a service (PaaS) for Drupal applications. This is where your sites run.
  • Code Studio, a GitLab-based CI/CD service integrated with Cloud Platform.
  • Acquia CLI, a command-line tool for working with Cloud Platform.
  • Cloud IDE, a browser-based development environment.
  • Acquia Search, a hosted search service for Drupal, currently powered by SearchStax.
  • Edge and Platform CDN options for content delivery and security.
  • Site Factory and Multi-Experience Operations (MEO) for running many sites from shared codebases.

Acquia also sells other products, such as its DAM and optimization tools. They appear in this series only where they affect operations.

Cloud Next and Cloud Classic

Cloud Platform has two generations of infrastructure.

Cloud Next is the current generation. It runs on Kubernetes, in partnership with AWS, and is designed to scale automatically in response to traffic, isolate workloads and improve resilience. New applications run on Cloud Next, and Acquia has been moving existing applications onto it.

Cloud Classic is the previous, non-Kubernetes generation. Some long-standing applications still run on it.

For most day-to-day work, the two behave similarly: you still have environments, Git repositories, databases, files, Cloud Hooks and the same user interface. But there are differences in some features, limits and tools. For example, Acquia Pipelines is not supported on Cloud Next, and some features are available only on one generation. The Cloud Platform user interface shows which generation each environment runs on. Know which one you are on, and check documentation notes that say “Cloud Next only” or “Cloud Classic only.”

The shared responsibility model

The most useful way to think about Acquia is as a shared responsibility model, similar to those used by large cloud providers. Acquia is responsible for the platform. You are responsible for what you run on it.

AreaAcquia is responsible forYou are responsible for
InfrastructureServers or containers, networking, storage, data centers, scaling the platformChoosing a subscription that fits your traffic and needs
Operating system and runtimeOS patching, PHP runtimes, web server, database serviceChoosing and upgrading the PHP version your code uses
Platform servicesLoad balancers, Varnish, Memcache service, platform backups, monitoring of the platformConfiguring your application to use them correctly
Drupal core and modulesProviding guidance, tools and security noticesUpdating Drupal core, contributed modules and themes; writing secure custom code
Configuration and contentNothingDrupal configuration, content, users, permissions and workflows
DeploymentsTools to deploy code and copy databases and filesDeciding what is deployed, when, by whom, and testing it
Caching behaviorVarnish and CDN infrastructureCache headers, cache tags, purging, cookies that bypass cache
SecurityPlatform security, network protections, platform compliance programsApplication security, user access, secrets, third-party scripts, Drupal security updates
AccessCloud Platform user interface, roles and permissions modelWho has access, at what level, and removing access when people leave
Backups and recoveryPlatform backups according to your subscriptionTesting restores, keeping your own backups where required, recovery planning
IncidentsPlatform incidents and outagesApplication incidents, including those caused by your code, configuration or traffic

Read your subscription’s product guide and support scope documents carefully. They define exactly what Acquia supports for your tier. Many teams discover the details only during an incident, when a support engineer explains that the problem is in the application and therefore outside platform support.

Subscription tiers and entitlements

Cloud Platform is sold in several tiers, with names that have changed over time. At the time of writing, Acquia’s Cloud Platform product guide lists tiers from Entry through Standard, Plus and Premium to Elite. Higher tiers add capacity, environments, support levels and features, such as multi-region failover for the top tier.

Your subscription also includes entitlements: specific quantities and features you have purchased, such as the number of applications, environments, Code Studio seats, CDN or edge services, search indexes and support hours. Entitlements matter for three reasons:

  1. Features you have not purchased are often visible in documentation but not available to you. Before planning work around a feature, confirm it is in your entitlements.
  2. Usage limits are monitored. Acquia’s product guide describes resource limits and notes that it will notify customers about excessive usage. Know your limits before a big campaign.
  3. Entitlements drive cost. The estate management section covers managing them.

Ask your Acquia account team for a written summary of your entitlements and keep it with your platform documentation. Arjun found that Webocreation Group was paying for two Code Studio seats nobody used and had no entitlement for the additional environment the contractor’s notes mentioned.

Why enterprises choose Acquia

It helps to understand why your organization chose Acquia, because those reasons shape what the platform is good at and what it expects from you.

  • Drupal expertise. Acquia’s platform and support are tuned for Drupal specifically. Support engineers understand Drupal problems, not just server problems.
  • Managed operations. Infrastructure, OS patching and scaling are handled for you, which reduces the need for in-house server administration.
  • Compliance and security programs. Acquia maintains certifications and compliance programs that many regulated organizations require. Check Acquia’s current documentation for the specific programs relevant to you.
  • Integrated tooling. Environments, deployments, database copies, backups, CI/CD and search work together.
  • Scale. The platform is designed for high-traffic sites and multisite portfolios.

The trade-off is that Acquia is opinionated. It expects code in a particular repository layout, deployments through its tools, and applications that behave well with its caching and infrastructure. Teams that fight these conventions usually have a harder time than teams that adopt them.

What you still need

Even with a fully managed platform, a healthy Drupal estate on Acquia needs:

  • A platform owner, such as Arjun, accountable for the Acquia applications as a whole.
  • Drupal development skills, in-house or through a partner, for updates, fixes and features.
  • A deployment process that is repeatable, tested and approved.
  • Monitoring of the application, not just the platform.
  • A security update process for Drupal core and modules.
  • An upgrade plan for Drupal and PHP major versions.
  • Clear access management and offboarding.
  • Documentation that someone other than its author can use.

The rest of this series shows how to build each of these.

Webocreation Group: Drawing the line

Arjun turned the contractor’s answer into a one-page responsibility map, based on the table above, and reviewed it with Acquia’s account team and Webocreation Group’s IT security lead. Three gaps appeared immediately.

First, nobody owned Drupal security updates. The contractor had applied them “when he had time,” and the corporate site was four security releases behind on two contributed modules. Second, nobody was testing backups. Everyone assumed Acquia’s platform backups were enough, but nobody had ever restored one. Third, nobody owned cache behavior. A marketing team had added a personalization script that set a cookie on every page, quietly causing most requests to bypass Varnish.

Each gap became an item on Arjun’s first-month plan.

Template: Acquia responsibility map

Fill this in for your estate and review it with your Acquia account team and security lead.

AreaAcquiaOur team (named owner)Partner or agencyNotes
Infrastructure and scaling
PHP version selection and upgrades
Drupal core and module updates
Custom code security
Drupal configuration
Deployments and approvals
Caching and purging
CDN and WAF rules
Domains, DNS and SSL
Cloud Platform access
Backups and restore testing
Monitoring and alerting
Incident response
Major version upgrades

Checklist

  • Confirm whether each environment runs on Cloud Next or Cloud Classic.
  • Get a written summary of your subscription tier and entitlements.
  • Read the product guide and support scope for your subscription.
  • Fill in the responsibility map with named owners and review it.
  • List any gaps where nobody owns a responsibility, and assign them.
  • Record why your organization chose Acquia and what it expects from the platform.

Common traps

  • “Acquia handles that.” Acquia handles the platform. Your code, configuration, content and Drupal updates are yours.
  • Planning around features you have not bought. Check entitlements before designing a solution.
  • Ignoring the infrastructure generation. Some features and tools differ between Cloud Next and Cloud Classic.
  • Fighting the platform’s conventions. Acquia works best when you follow its repository layout and deployment model.
  • Learning the support scope during an incident. Read it before you need it.

Anatomy of an Acquia application

The contractor’s handover document described the corporate site as “on Acquia, prod is the live one.” When Arjun logged into the Cloud Platform user interface for the first time, he found two organizations, five applications, nineteen environments, eleven databases and more than forty domains. Some environments were clearly in use. Others had not received a deployment in two years. One application was named “corp-test-delete-me” and still served traffic to a domain printed on a trade show banner.

Before you can operate an Acquia estate, you need to understand its parts and how they fit together. This section takes an Acquia application apart.

Organization, subscription, application, environment and the resources inside each environment (diagram from the Drupal on Acquia: Enterprise Operations Guide series)
Organization, subscription, application, environment and the resources inside each environment.

The hierarchy

Cloud Platform organizes everything in a hierarchy. From top to bottom:

  1. Organization. The top-level container, usually one per company or major division. Users, teams and subscriptions belong to an organization.
  2. Subscription. What you have purchased, including its entitlements.
  3. Application. A single Drupal codebase with its environments. One application usually corresponds to one website, or to one multisite codebase serving several sites.
  4. Environment. A running copy of the application: development, stage, production, and any others you have.
  5. Environment resources. Within each environment: the deployed code, one or more databases, files, domains, scheduled jobs, variables, logs and settings.

Understanding this hierarchy helps you answer questions quickly. “Who can deploy to production?” is answered at the organization and team level. “What code is live?” is answered at the environment level. “Why is this domain showing the wrong site?” is answered by looking at which environment the domain is attached to.

Environments

Every application has at least three standard environments.

Label in the interfaceMachine name and aliasPurpose
DevdevIntegration and early testing; usually tracks a development branch
StagetestFinal testing and approval; should match production as closely as possible
ProdprodThe live site

Notice that the Stage environment’s machine name is test. Commands, Drush aliases and the AH_SITE_ENVIRONMENT variable use the machine name, while the interface shows the label. This catches many newcomers.

Depending on your subscription, you can also have:

  • Additional environments for parallel streams of work, such as a separate environment for a long-running project, a performance testing environment, or a user acceptance environment.
  • Remote Administration (RA) environments, used when Acquia’s Remote Administration service applies updates on your behalf.
  • Cloud Development Environments (CDEs) or similar on-demand environments, where your subscription and generation support them, for testing feature branches.

Each environment runs independently, with its own code, databases, files and domains. Changes in one do not affect another unless you copy them deliberately.

Code

Each application has one Git repository hosted by Acquia, or connected to Code Studio. Each environment is set to deploy a specific branch or tag from that repository. The common pattern, described in detail in the deployment workflow section, is:

  • Dev tracks a development branch, so pushing to it deploys automatically.
  • Stage tracks a release branch or tag being tested.
  • Prod runs a tag, a fixed, named point in history, so you always know exactly what is live.

Acquia expects a particular repository layout:

myapp/
  composer.json      Drupal core, modules and dependencies
  composer.lock      Exact versions installed
  docroot/           The web root that Cloud Platform serves
  config/            Exported Drupal configuration
  hooks/             Cloud Hooks scripts (see Cloud Hooks)
  vendor/            Composer dependencies (in deployed artifacts)

The web root must be docroot. Cloud Hooks live in hooks, next to docroot, not inside it. Code outside docroot is not served to the web, which makes it the right place for configuration, scripts and private files that should never be publicly reachable.

Databases

Each application can have one or more databases. In a single-site application, there is usually one database per environment. In a multisite application, each site typically has its own database.

Databases are copied between environments through the interface, the API or Acquia CLI. The most common operation is copying the production database down to Stage or Dev for testing. As the Cloud Hooks section explains, this should always be followed by scrubbing personal and sensitive data.

Never copy a database up to production, except in carefully planned situations such as an initial launch or a rehearsed migration. Production content changes constantly. Overwriting it with an older copy from Stage destroys real work.

Files

Drupal stores uploaded files, such as images and documents, in a files directory. On Acquia, each environment has its own files storage, shared across the servers or containers in that environment. Files are not stored in Git.

Files can also be copied between environments. Large files directories make copies slow, so many teams use a module such as Stage File Proxy on non-production environments to fetch images from production on demand instead of copying everything.

Private files, those not directly reachable by URL, need a private files path outside the web root. Acquia’s documentation describes the recommended location for each generation.

Domains

Every environment has at least one default Acquia domain, used for testing and internal access. Custom domains, such as www.example.com, are attached to the production environment, and sometimes to others for testing.

A domain only serves an environment when two things are true: it is added to that environment in Cloud Platform, and DNS points to the right place, usually your CDN or the Acquia load balancer. The CDN and edge security section covers domains, DNS and SSL in detail.

Domain sprawl is common. Over years, environments collect old campaign domains, test domains and typos. Each unnecessary domain is a potential problem, so review them regularly.

Platform services

Each environment sits behind and uses a set of platform services managed by Acquia:

  • Load balancers with Varnish, which cache pages for anonymous visitors and route traffic (see the caching section).
  • Memcache, an in-memory cache Drupal can use to reduce database load (see the caching section).
  • The database service.
  • Cron or scheduled jobs, which run Drupal cron and your own scheduled tasks.
  • Logging, with logs available through the interface, Acquia CLI and log forwarding (see the monitoring and troubleshooting section).
  • Search, if you use Acquia Search (see the search and integrations section).

You do not manage these services directly, but your application’s behavior determines how well they work. A site that sets cookies on every page defeats Varnish. A module that writes to the database on every request defeats Memcache.

Environment variables

Cloud Platform sets environment variables your code can read to know where it is running. The most important is AH_SITE_ENVIRONMENT, which contains the environment’s machine name, such as dev, test or prod. Your settings.php can use it to apply different settings in each environment:

if (isset($_ENV['AH_SITE_ENVIRONMENT'])) {
  switch ($_ENV['AH_SITE_ENVIRONMENT']) {
    case 'prod':
      // Production-only settings.
      break;
    case 'test':
      // Stage settings.
      break;
    default:
      // Dev and other environments.
  }
}

You can also define your own environment variables in Cloud Platform, which is the right place for values that differ by environment, such as API endpoints. Never put secrets in your Git repository. The security section covers secrets management.

Mapping your estate

The first thing Arjun did was build a map of the whole estate. It took one afternoon and saved weeks of confusion. For every application and environment, he recorded what it was, what code it ran, which domains pointed to it, and whether it was still needed.

The map revealed:

  • Three applications that were still needed, as expected.
  • One application, “corp-test-delete-me,” that served a live trade show domain. The domain was moved to a redirect on the corporate site, and the application was scheduled for deletion.
  • One application used only by the contractor for experiments.
  • Six environments with no deployments for over a year, three of which were open to the public on their default Acquia domains.
  • Fourteen custom domains attached to environments where they no longer belonged.

Cleaning up took a month of careful work, with a change request for each removal. The estate went from five applications and nineteen environments to three applications and eleven environments, and the monthly review of the estate map became a standing habit.

Template: Acquia estate map

Use one row per environment.

ApplicationEnvironmentCode (branch or tag)DomainsPurposeOwnerKeep?
corporateProd (prod), Cloud Nexttags/2026-11-18.1www.example.com, example.comLive corporate siteArjunYes
corporateStage (test), Cloud Nextrelease branchstage.example.comUAT and release testingArjunYes
corporateDev (dev), Cloud Nextdevelopdev.example.comIntegrationLead developerYes
careersProd (prod), Cloud Nexttags/2026-10-02.1careers.example.comLive careers siteHR web ownerYes

Add columns for databases, generation and last deployment date if your estate needs them.

Checklist

  • List every organization, application and environment you have access to.
  • Record the infrastructure generation of each environment.
  • Record which branch or tag each environment runs.
  • List every custom domain and confirm it belongs where it is attached.
  • Identify environments that are unused or publicly reachable without protection.
  • Confirm your repository follows the expected layout, with hooks next to docroot.
  • Schedule a monthly review of the estate map.

Common traps

  • Confusing Stage and test. The label is Stage; the machine name used by commands is test.
  • Copying databases up to production. Production content is the source of truth. Copy down, not up.
  • Hooks inside docroot. Cloud Hooks belong in the hooks directory next to docroot.
  • Forgotten environments. Unused environments still cost money and can expose old code and data.
  • Domain sprawl. Every domain should have a reason to exist and a clear owner.
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.

Filed underDrupal
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 *