DrupalCon Amsterdam 2019: Drupal Docker and Debugging

Rahul Kumar
Srijan Technologies Pvt Ltd, New Delhi, India

Docker allows you to package your application with all of its dependencies into a standardized unit called container.
Your application, for example, Drupal website, has dependencies, such as a web server (Nginx/Apache2) and a database (MySQL/MariaDB/PostgreSQL).
And usually, when you want to deploy a new copy of your website, you install these dependencies manually via OS packaging system, such as apt-get or yum, then you configure them, install extensions, etc, which is not really a great experience.

With Docker, you package your application into containers and then you can run these containers on almost any host. You can run it on your laptop, on a production server, inside your personal VPS or even inside of Vagrant.

Docker makes the lives of Drupal developers and system administrators much easier by simplifying and streamlining many processes which include, but are not limited to:

A) setting up a new environment
B) deploying your new Drupal website’s copy
C) continuous integration
D) migrating your website to another server
E) website upgrades from one Drupal version to another
F) building, scaling, testing, and debugging your Drupal website
G) configuring an infrastructure

Having a centralized logging system makes life easy for developers especially when there is a need to troubleshoot the application, detect issues, secure the application due to unexpected hits on services or review the performance of the application, etc. Some of the great features of a centralized logging system are its low-cost maintenance, easy logs searching, graphical UI etc.

Splunk is centralized logs analysis tool for machine generated data, unstructured/structured and complex multi-line data which provides the following features such as Easy Search/Navigate, Real-Time Visibility, Historical Analytics, Reports, Alerts, Dashboards and Visualization.

A) Simple to implement and scale
B) Continually index all of your IT data in real time.
C) Automatically discover useful information embedded in your data, so you don't have to identify it yourself.
D) Search your physical and virtual IT infrastructure for literally anything of interest and get results in seconds.
E) Save searches and tag useful information, to make your system smarter.
F) Set up alerts to automate the monitoring of your system for specific recurring events.
G) Generate analytical reports with interactive charts, graphs, and tables and share them with others.
H) Share saved searches and reports with fellow Splunk users, and distribute their results to team members and project stakeholders via email.
I) Proactively review your IT systems to head off server downtimes and security incidents before they arise.
J) Design specialized, information-rich views and dashboards that fit the
K) wide-ranging needs of your enterprise.
L) Trusted by wide customers over the globe

Drupal is a registered trademark of Dries Buytaert.