Deploy a Drupal application that is using Drupal 8 to a production environment.
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 8 application on Acquia Cloud Platform. It includes four lessons:
- Preparing for Production
- Generating a Deployment Artifact
- Release the Kraken (code)
- Post Code Deploy
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.
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.
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.
Update production database to reflect code changes.