Kickstart drupal development

Slides:



Advertisements
Similar presentations
Implementing Tableau Server in an Enterprise Environment
Advertisements

MODULE 3: OS & APP LAYERS. Agenda Preparing and importing a gold image Creating and understanding Install Machines Creating basic Application layers Understanding.
1. What is Subversion? Why do we need CM? Basic concepts Repositories Options Setup Clients Options Setup Operation Troubleshooting Slide 2.
Using Drupal for Your Organizational Website (or, how to use Drupal without cursing) Michelle Murrain Nonprofit Open Source Initiative MetaCentric Technology.
Windows Deployment Services WDS for Large Scale Enterprises and Small IT Shops Presented By: Ryan Drown Systems Administrator for Krannert.
Low level CASE: Source Code Management. Source Code Management  Also known as Configuration Management  Source Code Managers are tools that: –Archive.
Docker Martin Meyer Agenda What is Docker? –Docker vs. Virtual Machine –History, Status, Run Platforms –Hello World Images and Containers.
Docker Martin Meyer Agenda What is Docker? –Docker vs. Virtual Machine –History, Status, Run Platforms Hello World Terminology: Image and.
Source Code Management Or Configuration Management: How I learned to Stop Worrying and Hate My Co-workers Less.
Operating Systems Concepts 1. A Computer Model An operating system has to deal with the fact that a computer is made up of a CPU, random access memory.
Securing LAMP: Linux, Apache, MySQL and PHP Track 2 Workshop PacNOG 7 July 1, 2010 Pago Pago, American Samoa.
October 10, 2014 Coding For UX : Part 1 localhost 45 Main St #220 BKLN / / hugeinc.com.
Creating a Web Presence Introduction to WordPress Week 1.
Eucalyptus Virtual Machines Running Maven, Tomcat, and Mysql.
Windows Azure Conference 2014 Running Docker on Windows Azure.
Model a Container Runtime environment on Your Mac with VMware AppCatalyst VMworld Fabio Rapposelli
Using Virtual Servers for the CERN Windows infrastructure Emmanuel Ormancey, Alberto Pace CERN, Information Technology Department.
Drush: The Drupal Shell Utility Trevor Mckeown Founder & Owner Sublime Technologies
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
Docker and Container Technology
INFO 344 Web Tools And Development CK Wang University of Washington Spring 2014.
SPI NIGHTLIES Alex Hodgkins. SPI nightlies  Build and test various software projects each night  Provide a nightlies summary page that displays all.
Selenium server By, Kartikeya Rastogi Mayur Sapre Mosheca. R
XAMPP.
Eliminate Team Build Headaches with Unit Tests, WiX and Virtualization Benjamin Day
Volatile Environments with Virtualization Technologies 1 iCSC2016, Anastasios Andronidis, Imperial College London Volatile Environments with Virtualization.
Aaron Corso COSC Spring What is LAMP?  A ‘solution stack’, or package of an OS and software consisting of:  Linux  Apache  MySQL  PHP.
Alfresco deployment with Docker Andrea Agili Software Engineer – Dr Wolf srl Tommaso Visconti DevOps – Dr Wolf srl.
Installing a Moodle Test Site The painless and easy way.
VirtualBox. VirtualBox – key points ● What is a virtual machine. ● How to get the software. ● Install the host software. ● General Tweeks. ● Security.
Profound.js: The future of open source development on IBM i
12/29/2017 3:36 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
File Syncing Technology Advancement in Seafile -- Drive Client and Real-time Backup Server Johnathan Xu CTO, Seafile Ltd.
Let's talk about Linux and Virtualization in 'vLAMP'
Agenda:- DevOps Tools Chef Jenkins Puppet Apache Ant Apache Maven Logstash Docker New Relic Gradle Git.
INTRO TO Presenter: PhuongNQK.
Containers as a Service with Docker to Extend an Open Platform
Stress Free Deployments with Octopus Deploy
WordPress Introduction
Fundamentals Sunny Sharma Microsoft
Efficient development and deployment of Hydra projects using Vagrant
Version Control with Subversion
Docker Birthday #3.
6/11/2018 8:14 AM THR2175 Building and deploying existing ASP.NET applications using VSTS and Docker on Windows Marcel de Vries CTO, Xpirit © Microsoft.
Clinton A Jones Eastern Kentucky University Department of Technology
In-Depth Introduction to Docker
Containers and Virtualisation
Fedora in Education BalCCon2k17 17th September 2017 Nemanja Milošević
ASP.NET in Linux and Windows containers
Andrew Pruski SQL Server & Containers
Cloud based Open Source Backup/Restore Tool
Drupal VM and Docker4Drupal For Drupal Development Platform
Integration of Singularity With Makeflow
Drupal VM and Docker4Drupal as Consistent Drupal Development Platform
Introduction to Docker
Oracle DB and Docker Get Your Dockerized Oracle Sandbox Running in the Cloud or On- Premises Martin Knazovicky Dbvisit Software.
WEBINAR: Integrating SpiraTest with JIRA
Revision Control Daniel Daugherty
Operating Systems Lecture 4.
Microsoft Virtual Academy
Docker, Drupal and Persistence
Outline Chapter 2 (cont) OS Design OS structure
Docker Some slides from Martin Meyer Vagrant Box:
Introduction to Docker
OpenStack Summit Berlin – November 14, 2018
Azure Container Service
Is a Content Management System in Your Future?
Building, Debugging & Deploying Containerized
SQL Server Devops with production data
SQL Server on Containers
Presentation transcript:

Kickstart drupal development Fodor zoltan (Archy) You, where, what you do fodor18zoltan@gmail.com

FE WEB DEVELOPMENT QA concerns everyone involved with Sys Admin Not about drupal Concerns Web development WEB DEVELOPMENT

PROBLEM? - Might not seem like

Before CODING setting up environment developement testing This part in creating something No real advancement Preparing Test and see how progress

Setting up environment installing services downloading project files configuring all of it -- time consuming -- tedious -- annoying Environment = services + project Example Drupal .. Once then just configure Uncounsciously

Drupal easy 3rd party

1. Service lockdown for all projects on one workstation no containment hard to manage multiple versions possibility of incompatibility Invented term Same serivices Sometimes update Same V for all projects, no easy swap Diff prod env Story

2. REPETITION same configuration done multiple times expands to everyone on the team -- inconsistency -- accumulating time wasted Few variables Team reapates same as you ++services –time Question? Like configuring

3. BEING Unorganized many services on one workstation unused services -- wasted resources: -- processing power, disk space Time passes by ++services Leave projects, services hang Workstation mess Reinstall os Story

SOLution? Problem clear

VIRTUALIZATON What we need? services grouped in self-contained environments environments separated from each other easy and fast ability to have dozens VIRTUALIZATON - Multiple instance same service - Interference Contain Save time Lot of virt software Pick best Kinds to chose?

Hardware virtualization completely separate secure supports any OS -- high resource usage -- large image sizes -- slow installation / bootup - College Virtual box

Os-level virtualization no need to mimic hardware no need for full separate OS system calls to host kernel -- not as secure -- cannot host different OS almost same performance as host small image sizes Example windows !=! Linux Pause, you might have guessed

DOCKEr ! Docker perfect f problems Only basics and benefits Not pro me

DockeR provides container virtualization around since 2013 open source / free to use supported on every major OS - Statement

Docker terms IMAGE filesystem LAYER filesystem difference (shareable) CONTAINER running instance of an image Gotta understand these 3 Image OS needs fs Layer ~ commit

IMAGE vs Container Diff -> why fast start Middle image Inside layers LOCK Container top tiny layer

DOCKErFILE dockerfile ~ commands file image built from dockerfile extend existing images DOCKErFILE Image how Built from Commands FROM -> extending

DOCKEr ClI $ docker build <Dockerfile> $ docker run -v webapp /www/html/ <image> $ docker run -p 80:8080 <image> Example start many Customized upon start $ docker run -e “MY_ENV=foo”<image>

DOCKEr hub repository for images allows sharing/re-using community -> stable

Docker compose CLI wrapper over docker cli ‘container bundles’ = environment Convenience Additional behaviour

HARD TO LEARN Docker what we needed. Easy, fast Question? Uses docker As I see Hard to learn HARD TO LEARN

DRUP Still need to do .. !Story how started Name from Drupal CLI

What it does? download and configure projects build their environments provide easy access to all local projects ... => automate more Centralized system Tiny actions in betw

Environment Project builds upon docker has services => containers service communication service configuration files container configurations Project brings in project files configures project defines environment adds specific services custom service config

CREATING NEW / REGISTERING LOCAL OR REPOSITORY - Terminal form

structure SERVICE CONFIGURATION FILES PERSISTING DATA SERVICE/CONTAINER LOGGING Same for types Docker specific PROJECT ROOT CUSTOM DOCKERFILE-S

Configuration registry project and environment configuration combined => yaml detected and reused on other systems registry projects are tracked identified by unique id Auto env shared conf Global operations

Container Service Access http://localhost:8080 http://localhost:8080 http://localhost:8081 - Port conflicts http://localhost:1337

Hosts aliases $ sudo drup start drupal-test-site Aliases for exposed containers upon start $ docker inspect -f "{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}” <container-id> $ sudo drup start drupal-test-site Long command eh? Easy to remember

Service commands $ docker exec <container-id> drush cr -> started container $ docker run -it -d <container-id> drush cr -> un-started container Shellscript wrappers Service operations $ drup drupal drush cr $ drup drush cr -> from anywhere -> under project directory

1 image 1 service Important bad habit `Each container should have only one concern` Some cases not EZ

Automatic start (un-implemented) Unimplemented feature Office situtation

https://github.com/archfz/drup Drup PROJECT supports Drupal project type PHP-FPM, Apache, NGINX, MariaDB, MySQL, PMA, Node written in JS, runs with NodeJS pre-alpha / open-source https://github.com/archfz/drup

DRUP DEMO

Why use drup? uses docker contains, organizes and keeps track of your projects removes repetition by sharing the configuration fast setup, easy usage kickstarts development

THANK You!

QUESTIONS ?? Sources Google images. https://docs.docker.com/ http://www.zdnet.com/article/what-is-docker-and-why-is-it-so-darn-popular/ https://en.wikipedia.org/wiki/Operating-system-level_virtualization https://www.upguard.com/articles/docker-vs.-vmware-how-do-they-stack-up