om e u eitakeunconf.com/wp-content/uploads/2016/05/Docker... · 2018-07-26 · Microsoft TWEETS...

Preview:

Citation preview

Docker Changes the Way You

Develop and Release Your Scalable Solutions

Tugberk UgurluRedgate

Software

@tourism

geekhttp://tugberkugurlu.com

#itakeunconf

@tourism

geek

tugberkugurlu.com

github.com/tugberkugurlu

stackoverflow.com

/users/463785/tugberk

@redgate

The Problem

Inconsistent Environments

Result

•Hard O

nboarding•

Hard to Set up Different Environments

•Different Deploym

ent Needs for Each Tech

•Hard to Reproduce Issues

What’s Docker?

https://ww

w.docker.com

/what-docker

What’s Docker?

•Containerization

•Provides Good Isolation

•Consistent Environm

ents

Docker Family

•Docker

•Docker Com

pose•

Docker Machine

•Docker Sw

arm•

Docker Registry

dockerrun ubuntu/bin/echo 'H

ello world'

https://docs.docker.com/engine/userguide/containers/dockerizing/

Packaging Your Applicationhttps://github.com

/tugberkugurlu/AspNetCoreSam

ples/blob/master/rabbitm

q-sample/rabbitsam

ple.dockerfile

$ dockerbuild -t example-app -f rabbitsam

ple.dockerfile.

Packaging Dev Toolshttps://github.com

/BenHall/docker-awscli/blob/m

aster/Dockerfile

Docker Registryhttps://hub.docker.com

Docker Compose

https://docs.docker.com/com

pose

docker-compose.ym

l

Demo

docker-compose up

https://github.com/tugberkugurlu/AspNetCoreSam

ples/tree/itakeu16/rabbitmq-sam

ple

Complete Exam

ple

zleek.com

Embrace Polyglot Persistence

http://martinfow

ler.com/bliki/PolyglotPersistence.htm

l

Traditional Look

MySuperShoppingApp

My GIAN

T RDBMS

Shopping Cart

Polyglot Persistence Look

MySuperShoppingApp

MongoDB

Elasticsearch

Neo4j

SQL Server

LB

zleek-0

zleek-1

zleek-n

mongodb

neo4j

elasticsearch

rabbitmq

recipe-generation-worker-0

recipe-sync-worker-0

food-sync-worker-0

store-sync-worker-0

recipe-generation-worker-1

recipe-generation-worker-n

recipe-sync-worker-n

recipe-sync-worker-0

Demo

Deployments

http://ww

w.infow

orld.com/article/3040475/application-virtualization/4-no-bull-takeaw

ays-about-docker-cloud.html