DEPLOYMENT MADE EASY!

Similar documents
Automating the Build Pipeline for Docker Container

Midterm Presentation Schedule

Introduction to Containers

LSST software stack and deployment on other architectures. William O Mullane for Andy Connolly with material from Owen Boberg

Think Small to Scale Big

Simplified CICD with Jenkins and Git on the ZeroStack Platform

[Docker] Containerization

Docker and Security. September 28, 2017 VASCAN Michael Irwin

Follow me!

Docker & why we should use it

Sunil Shah SECURE, FLEXIBLE CONTINUOUS DELIVERY PIPELINES WITH GITLAB AND DC/OS Mesosphere, Inc. All Rights Reserved.

Important DevOps Technologies (3+2+3days) for Deployment

USING DOCKER FOR MXCUBE DEVELOPMENT AT MAX IV

TM DevOps Use Case. 2017TechMinfy All Rights Reserved

Cloud Computing with APL. Morten Kromberg, CXO, Dyalog

Docker for People. A brief and fairly painless introduction to Docker. Friday, November 17 th 11:00-11:45

Who is Docker and how he can help us? Heino Talvik

BUILDING A GPU-FOCUSED CI SOLUTION

INDIGO PAAS TUTORIAL. ! Marica Antonacci RIA INFN-Bari

Arup Nanda VP, Data Services Priceline.com

By: Jeeva S. Chelladhurai

Containers. Pablo F. Ordóñez. October 18, 2018

Con$nuous Deployment with Docker Andrew Aslinger. Oct

DevOps Course Content

Technical Comparison Sheet: ez Platform Cloud vs Other Hosting Approaches

DevOps Technologies. for Deployment

SCALING DRUPAL TO THE CLOUD WITH DOCKER AND AWS

Investigating Containers for Future Services and User Application Support

INFRASTRUCTURE AS CODE

Containers, Serverless and Functions in a nutshell. Eugene Fedorenko

SQL Server inside a docker container. Christophe LAPORTE SQL Server MVP/MCM SQL Saturday 735 Helsinki 2018

Developing and Testing Java Microservices on Docker. Todd Fasullo Dir. Engineering

The Packer Book. James Turnbull. April 20, Version: v1.1.2 (067741e) Website: The Packer Book

There's More to Docker than the Container The Docker Platform

Index. Bessel function, 51 Big data, 1. Cloud-based version-control system, 226 Containerization, 30 application, 32 virtualize processes, 30 31

Build your dev environment with Docker.

Fixing the "It works on my machine!" Problem with Docker

Getting Started With Containers

CONTINUOUS INTEGRATION; TIPS & TRICKS

Docker at Lyft Speeding up development Matthew #dockercon

Running MarkLogic in Containers (Both Docker and Kubernetes)

Introduction to containers

How Docker Compose Changed My Life

Using DC/OS for Continuous Delivery

sqlite wordpress 06C6817F2E58AF4319AB84EE Sqlite Wordpress 1 / 6

DevOps in the Cloud A pipeline to heaven?! Robert Cowham BCS CMSG Vice Chair

CONTINUOUS DELIVERY WITH DC/OS AND JENKINS

DevOps Anti-Patterns. Have the Ops team deal with it. Time to fire the Ops team! Let s hire a DevOps unit! COPYRIGHT 2019 MANICODE SECURITY

Cloud platforms T Mobile Systems Programming

Creating pipelines that build, test and deploy containerized artifacts Slides: Tom Adams

Implementing DPDK based Application Container Framework with SPP YASUFUMI OGAWA, NTT

Harbor Registry. VMware VMware Inc. All rights reserved.

Advanced Continuous Delivery Strategies for Containerized Applications Using DC/OS

Installing and Using Docker Toolbox for Mac OSX and Windows

Amazon EC2 Container Service: Manage Docker-Enabled Apps in EC2

Containers and the Evolution of Computing

Kuber-what?! Learn about Kubernetes

/ Cloud Computing. Recitation 5 February 14th, 2017

Open Source Container-Based Cloud Hosting

A Hands on Introduction to Docker

Tutorial: Getting Started with Git. Introduction to version control Benefits of using Git Basic commands Workflow

DevOps and Continuous Delivery USE CASE

ovirt and Docker Integration

Developing Kubernetes Services

~Deep dive into Windows Containers and Docker~

DevOps Tooling from AWS

Verteego VDS Documentation

The Post-Cloud. Where Google, DevOps, and Docker Converge

Docker and Oracle Everything You Wanted To Know

Running Splunk Enterprise within Docker

Delivering bioinformatics software as virtual machine image

Software Development I

Automating Security Practices for the DevOps Revolution

CONTINUOUS DELIVERY WITH MESOS, DC/OS AND JENKINS

OpenShift Roadmap Enterprise Kubernetes for Developers. Clayton Coleman, Architect, OpenShift

Implementing the Twelve-Factor App Methodology for Developing Cloud- Native Applications

/ Cloud Computing. Recitation 5 September 27 th, 2016

Infoblox Kubernetes1.0.0 IPAM Plugin

An introduction to Docker

Faculté Polytechnique

DEVOPS COURSE CONTENT

Optimizing Docker Images

Docker II - Judgement Day

Automate All The Things. Software Defined Infrastructure with AWS CloudFormation, Docker and Jenkins

Deployability. of Python. web applications

Containerizing GPU Applications with Docker for Scaling to the Cloud

Quick Prototyping+CI with LXC and Puppet

Deploying Rails with Kubernetes

Your Engineering Excellency

The Long Road from Capistrano to Kubernetes

Swift Web Applications on the AWS Cloud

TM DevOps Use Case TechMinfy All Rights Reserved

/ Cloud Computing. Recitation 5 September 26 th, 2017

DevNet Workshop-Hands-on with CloudCenter and Jenkins

GitLab-CI and Docker Registry

" Qué me estás container?" Docker for dummies

Travis Cardwell Technical Meeting

Remote Workflow Enactment using Docker and the Generic Execution Framework in EUDAT

CS-580K/480K Advanced Topics in Cloud Computing. Container III

Engineering Robust Server Software

Transcription:

DEPLOYMENT MADE EASY! Presented by Hunde Keba & Ashish Pagar 1

DSFederal Inc. We provide solutions to Federal Agencies Our technology solutions connect customers to the people they serve 2

Necessity is the Mother of Invention Project Requirements Budget Team Size Time Need for Standardized Deployments Workflow with CI/CD Onboarding Developers Classic local development Virtual Machine 3

Classic Dev Environment Problems? Host OS Support; tedious configurations Non-transferable Deployment Hassle 4

Virtual Machines Pros Pristine host; highly customizable Multiple VMs, 1 per project Clone, share and transfer to other hosts Cons Resource heavy Difficult to share images 5

Docker to the Rescue 6

Docker Docker is an open platform for developers and sysadmins to build, ship, and run distributed applications, whether on laptops, data center VMs, or the cloud. 7

Why Docker? Lightweight Portable Consistent Environment 8

Docker Containers Docker container wrap up a piece of software in a complete filesystem that contains everything it needs to run: code, runtime, system tools, system libraries anything you can install on a server A container is a runtime instance of an image 9

Docker Images Docker container runs an Image Binary package with root filesystem and metadata Metadata includes: Application Process Volumes Ports, etc. 10

Compose Docker Image Images are built from DockerFile DockerFile is sequential list of commands Images can inherit from other images Example: php:5.6-fpm inherits from debian:jessie 11

DockerFile example #Docker file 1 (Installing apache on an #Docker File 2 (Here we don t care about the OS) Ubuntu 12 image ) FROM php:7.2-apache FROM ubuntu:12.04 WORKDIR /var/www/html RUN apt-get update && apt-get install -y EXPOSE 80 apache2 && apt-get clean && rm -rf /var/lib/apt/lists/* ENV APACHE_RUN_USER www-data ENV APACHE_RUN_GROUP www-data ENV APACHE_LOG_DIR /var/log/apache2 EXPOSE 80 CMD ["/usr/sbin/apache2", "-D", "FOREGROUND"] 12

Lets Setup Local Dockerfile for Applications Compose File Environment Variables Volumes Git Branches 13

Amazon Web Services Provides secured hosting service Scalable Complies with Fed. Govt. and is FEDRAMP Certified Pay as you go Great set of tools 14

Setup AWS EC2 Instance Create AWS Account Configure EC2 Instance Setup SSH Access Install Docker & Docker Compose 15

Setup Nginx Organize domains Redirect incoming requests for eg., govcondev.dsfederal.com govconstg.dsfederal.com 127.0.0.1:10080 127.0.0.1:10081 16

CI Jenkins Automation Server Makes deployment easier Works great with EC2, github, etc. For our purposes we will use plugins: Github Plugin Publish Over SSH 17

SSH SSH Server 18

Github Personal Token 19

Token Access 20

Github Credentials in Jenkins 21

Github Connection 22

Jenkins Build Tasks Build tasks for each path Git Polling triggers individual tasks Task Definition: DrupalGovConDev DrupalGovConStage DrupalGovConProd 23

Demo https://youtu.be/qzalwrmcqk0 https://youtu.be/ghtrzyfxc2m 24

QUESTIONS? https://github.com/dsfederalinc/drupal4govcon Demo: https://youtu.be/qzalwrmcqk0 https://youtu.be/ghtrzyfxc2m Hunde Keba Twitter: @hunde_keba hunde.keba@dsfederal.com Ashish Pagar Twitter: @ashishpagar ashish.pagar@dsfederal.com THANK YOU 25