71
DEVOPS FOR JAVA WITH DOCKER CONTAINERS

Jelastic - DevOps for Java with Docker Containers - Madrid 2015

  • Upload
    jelastic

  • View
    15.554

  • Download
    1

Embed Size (px)

Citation preview

DEVOPS FOR JAVA WITH DOCKER

CONTAINERS

Dev Problem10:15 Install OS11:20 Configure the system12:05 Coffee Break13:05 Configure security14:15 Configure Web server15:40 Configure Database16:20 Couple of sandwiches16:50 Configure firewall17:20 Deploy application17:45 Call wife and apologize for the late return18:00 Identify library dependencies20:30 Upgrade packages22:15 Fix dependencies23:50 Couple cans of Red Bull01:30 Run!!!

02:05 The end of the working day

Dev Problem

Developers love to create applications and hate to administer servers

Ops Problem

DevOps is a Software Development Method

Automation, Integration, Measurement, Communication, Collaboration

• Initial setup of the dev, test, staging and production environments

• Configuration of access policies for different user groups

• Integration with code repository tools like git and svn

• Deployment automation, like git-push-deploy

• Zero downtime deployment (ZDT), rollback

• Automation of the scaling

• Monitoring and troubleshooting – logs, debugging, performance analysis

• Applying security patches and middleware stack updates

DevOps Tasks

DevOps Pipeline

Docker Containers

Docker Usage Overview

Multiplicity of

stacksDo services and apps

interact properly?

Multiplicity of HW

environmentsCan I migrate

smoothly and easy?

The Challenge

Multiplicity of

goodsCan I place coffee and

spices?

Multiplicity of

methods of

transporting

Can I transport from

train to truck?

Cargo Transport Pre-1960

Solution: Intermodal Shipping Container

An engine that enables any

payload to be

encapsulated as a

lightweight and portable

self-sufficient container

That can be manipulated using

standard operations and run

consistently on virtually any

hardware platform

Docker Shipping Container

Virtual Machines VS Containers

Microservices = Decomposition

Complex apps are composed of small, independent processes

Monolithic Application

‒ Very often we redeploy everything

‒ Mutual dependencies slow down

development

‒ Long QA cycle leads to less often updates

‒ High risk of failure or VM overload

‒ Very hard to scale

Modular and polyglot

Deployed and updated independently

Much easier to scale and maintain

Flexibility is the key

Microservices

Microservices vs. Monolithic

One monolithic VMMultiple Containers

Automatic Horizontal Scaling

Automatic Horizontal Scaling

Scaling Limit

Automatic Vertical Scaling

Application level

load balancing, session replication, clustering

Hardware level

software defined storage, live migration, smart

distribution

High Availability

Containers for DevOps

Containers for DevOps

Default Docker® DevOps Workflow

Default Docker® DevOps Workflow

Default Docker® DevOps Workflow

Default Docker® DevOps Workflow

Default Docker® DevOps Workflow

Default Docker® DevOps Workflow

Advanced DevOps Workflow

Advanced DevOps Workflow

Advanced DevOps Workflow

Advanced DevOps Workflow

Advanced DevOps Workflow

Hybrid DevOps Workflow

Hybrid DevOps Workflow

Hybrid DevOps Workflow

Hybrid DevOps Workflow

Hybrid DevOps Workflow

Containers in Jelastic

Live Migration for Containers

CRIU – Checkpoint/Restore In Userspace

Demo

Multi-Container Environment Topology

https://youtu.be/T0-XmRGJL0w

CI/CD with Docker

https://youtu.be/8GZ5j30YPe0

High Level API – JPS (Jelastic Packaging Standard)

Cloud Events• Scale Out, Scale In

• Scale Up, Scale Down

• Deploy, Update

• Start, Stop, Sleep

• Restart, Reload

• Clone, Delete

• …

Scripting • Java

• JS

• PHP

• Ruby

• Python

• …

Cloud Scripting – <CS>

Program Your Cloud on Your Own

30+ Hosting Providers

10+ Private Cloud Customers

200,000+ Developers

25+ Countries

Cloud Union – Freedom of Choice

Jelastic PaaS Partners in Spain

Jelastic.cloud in alliance with Aruba.it

Jelastic Multi-Cloud Orchestrator

Your Bridge to Cloud Union

17 DCs in

8 Countries

11 DCs and 23 AZs in

8 Countries

3 DCs and 10 AZs in

3 Countries

25 DCs in

11 Countries

36 DCs in

25 Countries

Hybrid and Multi-Cloud

Features

Smooth migration across multiple cloud providers

Live migration between Azure or AWS regions

High availability across multiple clouds

Disaster recovery of workloads from AWS to Azure

Automatic scaling for load spikes and temporary burst

Unification of DevOps workloads deployment

Benefits

Autonomy – no vendor lock-in

Hybridity – better performance with lower costs

HA and DR – reduced downtime risk

Live Migration From AWS to Azure

Increasing Resources w/o Downtime

Evacuation From One Cloud To Another One

Access Policies

HA Across Clouds

Advanced HA and Geo-Routing

• Data center with capacity for over 2000 servers

• Virtual and Dedicated Servers, Shared Hosting

• Domains registration

• Plesk, SSL Certificates

• Antivirus, Antispam and Backup services

• Web development and outsourcing services

• VPN solutions

• And now, with help of Jelastic, Infortelecom offers the first Spanish

public PaaS for DevOps

http://cloud4app.es/web/cloud-jelastic.html

TEAM

Java “Oscar” in 2012 – Duke’s Choice Award

Father of JavaIndependent Board Director of Jelastic

Do you Know James Gosling?

Java Fun

James Gosling about Live Migration in Multi-Cloud

https://www.youtube.com/watch?v=GEwnMuIlwN8

Rasmus LerdorfTechnical Adviser of Jelastic

Who is the Father of PHP?

Brainstorming Together

Michael Widenius – “Monty”Technical Adviser of Jelastic

Who is the Father of MySQL and MariaDB?

We are Friends

Who is the Father of

Mark Zbikowski – “Zibo”Technical Adviser of Jelastic

.EXE?

Twitter: @siruslan