20
Chingis Sandanov Wodby Cloud Infrastructure Platform

Wodby. cloud infrastructure platform

Embed Size (px)

Citation preview

Page 1: Wodby. cloud infrastructure platform

Chingis Sandanov

Wodby

Cloud Infrastructure Platform

Page 2: Wodby. cloud infrastructure platform

Few words about me

Chingis Sandanov @csandanov

● Working with Drupal since 2010

● Built dozens of large scale Drupal

websites for Government and

Enterprise organizations

● Co-founded Wodby at 2015

Page 3: Wodby. cloud infrastructure platform

Drupal Infrastructure

+

Web server Database Cache storage

BasicExtra

Search engine Caching proxy

NodeJS

Page 4: Wodby. cloud infrastructure platform

+ +

Dev server Production server

Page 5: Wodby. cloud infrastructure platform

How to automate?

● Hire system administrator

● Provisioning tools like Chef, Ansible, Puppet, etc

● Use containers

Page 6: Wodby. cloud infrastructure platform

+

Local

Dev

Production

Page 7: Wodby. cloud infrastructure platform

Container Virtualization

Page 8: Wodby. cloud infrastructure platform

Docker Workflow

1. Create dockerfile

2. Build an image via Docker Hub

3. Pull image

4. Run container

Page 9: Wodby. cloud infrastructure platform

#1 Create dockerfile

FROM alpine:3.3

MAINTAINER John Doe <[email protected]>

RUN apk add --update nginx

COPY rootfs /

Page 10: Wodby. cloud infrastructure platform

Layers in Docker Image

Page 11: Wodby. cloud infrastructure platform

#2 Build an Image via hub.docker.com

Page 12: Wodby. cloud infrastructure platform

#3 Pull Image

Page 13: Wodby. cloud infrastructure platform

#4 Run Container

$ docker run -e MYSQL_ROOT_PASSWORD=admin -e MYSQL_DATABASE=db_name -e MYSQL_USER=user -e MYSQL_PASSWORD=pass -v mariadb:/var/lib/mysql -p 3306:3306 -d --name mariadb mariadb

Page 14: Wodby. cloud infrastructure platform

Package Infrastructure with Containers

+

Page 15: Wodby. cloud infrastructure platform

Container Orchestration

● Ports mapping● Volume mounting● Update images● Resources limitation● Scaling

Page 16: Wodby. cloud infrastructure platform

Pre-configured Bundles

Page 17: Wodby. cloud infrastructure platform
Page 18: Wodby. cloud infrastructure platform

Agnostic Platform

Page 19: Wodby. cloud infrastructure platform

Key benefits

● Optimized consistent infrastructure

● Workflow tools (dev > staging > prod)

● Remote workspace

● Integration with Vagrant

● Team management

● Free HTTPS in 1 click (via Let’s Encrypt)

● Auto backups with mirroring

Page 20: Wodby. cloud infrastructure platform

Post-deployment scripts via wodby.yml

pipeline:

- name: Drupal 8 clear cache on staging

type: command

command: drush cr

directory: $WODBY_APP_DOCROOT

only_if: test "$WODBY_ENVIRONMENT_NAME" = "stage"