Introduction to Drupal on Pantheon


Table of Contents

Requesting a Drupal Site

Use the Request Drupal Site on Pantheon Form to request a new Drupal Site.

Accessing Pantheon

Once your Drupal site has been created:

Top

Pantheon dashboard

Each site has its own dashboard section with its own team member list, the team member list is for accessing the dashboard itself, users for the Drupal site itself must be added via the sites web UI. Pantheon has the following page as an intro to its dashboard as well.

Autopilot is a Pantheon product provided with each site.  Autopilot automatically applies updates to every sites DEV environment, and runs visual regression tests on the updates to try and detect visual problems that may have resulted from updates. This tool expedites site owner testing of updates and makes it easier for site owners to apply updates to dev, test and then the live environments. For more information, see Pantheon info on Autopilot. Autopilot currently requires some extra permissions on the Pantheon side, we are working with Pantheon to allow all site users to have access to Autopilot.

DIT has purchased Diamond level support from Pantheon as part of its contract, support is available via tickets and chat with Pantheon customer service reps. While Pantheon customer service is unable to provide debugging service for code, they are available for help with tracking down errors and platform issues a site may be experiencing.

Screenshot of Pantheon dashboard

Top

Drupal on Pantheon

For some Drupal documentation about the Pantheon setup, visit their Choosing Your Start State article.

For starting out with development on the Pantheon platform, there is some initial local setup that needs to be done, namely making sure you have the versioning tool Git, the package manager Composer, and PHP, which is needed to run Composer. Visits the Upgrade from Drupal 8 to Drupal 9 article that includes the tools and setup needed at the top. The main topic of the article, upgrading to Drupal 9, has been done on the site already. You will also need to create a SSH key to pull the site code repo and attach it to your Pantheon account, instructions for this are also included in the above KB article.

Top

Developing on Pantheon

DIT Drupal sites are built with a Composer workflow, using Pantheons integrated composer build process. For detailed information on working with Composer on Drupal, See Drupal on Pantheon

Pantheon Multidev is another feature included in the DIT contract with Pantheon. Multidev is a feature that allows site owners to clone environments so that code may be experimented on without having to worry about interfering with other work. For more information, visit Pantheon documentation on Multidev.

Top

Go Live on Pantheon for the first time

You’ve had your site provisioned on Pantheon, now what?

Typically, you'll create content in the Live environment in line with the Pantheon WebOps Workflow. However, when deploying a newly-built site for the very first time, it is often necessary to push the content "up", which is the opposite of the normal content workflow. In this case, you may move the database and files (e.g. images) from Dev or Test to Live via the Database/Files > Clone area of the Dashboard.

Note: Moving content up to Live should almost never be done on a launched site. The only exception is if that site is 100% read-only, as pushing the database and files will overwrite all changes made in Live, like comments or ecommerce orders from the public. Also note that overwriting the database of a Live environment may cause downtime.

Steps to go live the first time

  1. Commit code and add content to the Dev environment.  
  2. Email drupal@umd.edu with the name of the site and the preferred date/time to go live.  

DIT will promote code to the Test and Live environments if needed, set up the site behind the Pantheon Advanced Global CDN and work with the NOC to complete the DNS cutover.  DIT completes these requests in 1-2 business days.  

Top