12
BUILDING A PLATFORM WITH DJANGO, DOCKER & SALT Roberto Aguilar, [email protected] Tuesday, September 10, 13

Building a platform with Django, Docker, and Salt

Embed Size (px)

DESCRIPTION

A short talk at Djangocon 2013 on building a platform as a service using Django, Docker and Salt. More information at http://baremetal.io

Citation preview

Page 1: Building a platform with Django, Docker, and Salt

BUILDING A PLATFORM WITHDJANGO, DOCKER & SALT

Roberto Aguilar, [email protected]

Tuesday, September 10, 13

Page 2: Building a platform with Django, Docker, and Salt

PaaS for dedicated servers that provides automated deployment, high availability, infrastructure scaling and business metrics so you can focus on your application.

http://baremetal.io

Tuesday, September 10, 13

Page 3: Building a platform with Django, Docker, and Salt

PaaS for dedicated servers that provides automated deployment, high availability, infrastructure scaling and business metrics so you can focus on your application.

http://baremetal.io

Tuesday, September 10, 13

Page 4: Building a platform with Django, Docker, and Salt

webhook build

successful build

launch agents

successful launch

update routers

successful update

Console Infrastructure

Tuesday, September 10, 13

Page 5: Building a platform with Django, Docker, and Salt

successful build

Console

• account information

• servers & roles

• applications & resource allocation

• orchestration

(django app)

Tuesday, September 10, 13

Page 6: Building a platform with Django, Docker, and Salt

webhook build

successful build

launch agents

successful launch

update routers

successful update

(builder)

(docker)

(nginx)

Infrastructure

Tuesday, September 10, 13

Page 7: Building a platform with Django, Docker, and Salt

webhook build

successful build

launch agents

successful launch

update routers

successful update

SALT

Tuesday, September 10, 13

Page 8: Building a platform with Django, Docker, and Salt

TRY IT

Tuesday, September 10, 13

Page 9: Building a platform with Django, Docker, and Salt

webhook build

successful build

launch agents

successful launch

update routers

successful update

SALT

salt -C \'I@cluster :default and I@roles:agenthost' \state.sls baremetal.agents \--return=console

Tuesday, September 10, 13

Page 10: Building a platform with Django, Docker, and Salt

webhook build

successful build

launch agents

successful launch

update routers

successful update

SALTsalt -C \'I@cluster :default and I@roles:agenthost' \state.sls baremetal.router \--return=console

Tuesday, September 10, 13

Page 11: Building a platform with Django, Docker, and Salt

DID IT WORK?

Tuesday, September 10, 13

Page 12: Building a platform with Django, Docker, and Salt

THANKS!

http://baremetal.io/djangocon/

Roberto Aguilar, [email protected]

Tuesday, September 10, 13