---
title: "Tutorial: Deploying a Drupal 9 Application"
date: "2025-02-06T01:22:22+00:00"
summary:
image:
type: "article"
url: "/acquia-cloud-platform/help/94606-tutorial-deploying-drupal-9-application"
id: "7adb0441-4383-48f7-9f74-056d16b03445"
---

Table of contents will be added

**Tutorial Goal**
=================

Deploy a Drupal application that is using Drupal 9 to a production environment.

**Tutorial Overview**
---------------------

In this four step tutorial, we will take a Drupal application, prepare the codebase for production, and deploy that codebase to a production environment on the Acquia Cloud Platform.

Using best practices for development is important, especially for enterprise sites that can’t fail. Implementing processes like automated testing and continuous integration can be difficult, but they have a tremendous impact on the quality and stability of software. They are worth the investment.

This tutorial walks you through the deployment process for a Drupal 9 application on Acquia Cloud Platform. It includes four lessons:

1.  Preparing for Production
2.  Generating a Deployment Artifact
3.  Release the Kraken (code)
4.  Post Code Deploy

* * *

Preparing for Production
------------------------

When deploying your code to production, you should have a high degree of confidence that your application works as intended. Having a development workflow that includes quality assurance (QA) is the best means of instilling this confidence.

If you are using a continuous integration workflow, you have the opportunity to perform quality assurance continuously. You will have tested and reviewed your codebase throughout the development process. This reduces the burden of deploying your code to production by preventing QA debt from accumulating.

At a minimum, your QA process should include both automated testing and human review. A brief overview of these topics is covered below.

*   ### [Lesson 1: Preparing for Production - Deploying a Drupal 9 Application](/node/94416)
    

 

Generating a Deployment Artifact
--------------------------------

As discussed in [lesson 1](/node/94416), deploying a Drupal 8 application to production requires producing a “deployment artifact.” This lesson will walk you through creating that artifact.

*   ### [Lesson 2: Generating a Deployment Artifact - Deploying a Drupal 9 Application](/node/92671)
    

 

Release the Kraken (code)
-------------------------

At this stage, you have already quality assured your code and generated a production-ready deployment artifact. We will first deploy that artifact to a non-production environment on Acquia Cloud Platform.

*   ### [Lesson 3: Release the Kraken (code) - Deploying a Drupal 9 Application](/node/92201)
    

 

Post Code Deployment
--------------------

Update production database to reflect code changes.

*   ### [Lesson 4: Post Code Deploy - Deploying a Drupal 9 Application](/node/94156)