Loading...


Related Products


Date Published: February 6, 2025

Tutorial: Deploying a Drupal 9 Application

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.

 

Generating a Deployment Artifact

As discussed in lesson 1, deploying a Drupal 8 application to production requires producing a “deployment artifact.” This lesson will walk you through creating that artifact.

 

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.

 

Post Code Deployment

Update production database to reflect code changes.

Did not find what you were looking for?

If this content did not answer your questions, try searching or contacting our support team for further assistance.

Back to Section navigation