ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
Juju: DevOps Destilado
(e o futuro do cloud deployment?)
Presentation by
Sidnei da Silva
sidnei.da.silva@canonical.com
www.canonical.com
Julho 2013
2 Presentation by Sidnei Silva
Different stages
Development Staging Production
¡ñ
Local machine, single user
¡ñ
Runs tip of everything
¡ñ
One instance of each service
¡ñ
Controlled environment
¡ñ
Sometimes auto-rollout from tip
¡ñ
A few machines
¡ñ
A few instances of each service
¡ñ
Stable, tested code
¡ñ
Minimal downtime
¡ñ
Many more machines
¡ñ
Many more services
¡ñ
Must be easily scalable
Dev Ops
3 Presentation by Sidnei Silva
DevOps
¡ñ
Reuse existing deployment charms in an
openly-accessible repository of shared
expertise
¡ñ
Reproduce deployments for test and staging
purposes
¡ñ
Rapid deployment of your dependencies for
development purposes
¡ñ
Compose whole systems from individual
application components and describe the
entire deployment
¡ñ
Explicit control over deployment,
configuration and upgrade options
¡ñ
See what¡¯s deployed and track usage in the
cloud
¡ñ
Create and share charms for new applications
¡ñ
Monitor, scale, shrink and adjust deployment
parameters in real time
¡ñ
Explicitly connect different components and
maintain those relationships over time
¡ñ
Collaborate with developers on the exact
deployment and upgrade processes
¡ñ
Get more done: implement decisions
immediately regardless of infrastructure
scale
Dev Ops
4 Presentation by Sidnei Silva
From metal to running services
¡ñ
Firmware updates
¡ñ
Cabling
¡ñ
Power supply
¡ñ
Ready to use images
¡ñ
PXE booting
¡ñ
Installer seed
¡ñ
Packages, VCS checkouts
¡ñ
Picking port numbers
¡ñ
Across multiple machines
¡ñ
Machine-targeted
Hardware
Operating system
Applications and
configuration
5 Presentation by Sidnei Silva
Meet Juju
¡ñ
Pluggable provisioning backends
¡ñ
(soon) Both local-machine development and large scale
deployments
¡ñ
React to changes in the environment
¡ñ
Self-configuring services
¡ñ
Hooks can be written in any language
¡ñ
Service templates are designed to easily scale by simply
adding more units
¡ñ
juju add-unit <service>
Provisioning
Event-based
Scalable
6 Presentation by Sidnei Silva
7 Presentation by Sidnei Silva
Machine 1
Machine 3
Classic deployment
Machine 2
8 Presentation by Sidnei Silva
In juju-speak...
$ juju bootstrap
$ juju deploy cs:precise/wordpress
$ juju deploy cs:precise/mysql
$ juju add-relation wordpress mysql
9 Presentation by Sidnei Silva
Juju deployment: provisioning
Machine 3
Machine 1
Machine 2
wordpress/0 mysql/0
State Server
10 Presentation by Sidnei Silva
Juju deployment: installation
Machine 3Machine 2
wordpress/0 mysql/0
Machine 1
State Server
11 Presentation by Sidnei Silva
Juju deployment: relation
Machine 3Machine 2
wordpress/0 mysql/0
Machine 1
State Server
12 Presentation by Sidnei Silva
In juju-speak...
$ juju add-unit wordpress
13 Presentation by Sidnei Silva
Juju deployment: scaling
Machine 3
Machine 4
wordpress/1
mysql/0
Machine 2
wordpress/0
14 Presentation by Sidnei Silva
Juju deployment: relation
Machine 3
Machine 4
wordpress/1
mysql/0
Machine 2
wordpress/0
15 Presentation by Sidnei Silva
Ubuntu Server Edition 11.10Ubuntu.com
March 2013
Ubuntu Server Edition 11.10Product Search
February 2013
Ubuntu Server Edition 11.10Click Packages Search
June 2013
Ubuntu Server Edition 11.10Smart Scopes
May 2013
Ubuntu Server Edition 11.10Ubuntu One Files
August 2013
Ubuntu Server Edition 11.10Click Packages Downloads
July 2013
Timeline
16 Presentation by Sidnei Silva
Smart Scopes
17 Presentation by Sidnei Silva
Ubuntu One
Perguntas, por favor
Obrigado!
Sidnei Silva
sidnei.da.silva@canonical.com

More Related Content

Juju: DevOps Destilado

  • 1. Juju: DevOps Destilado (e o futuro do cloud deployment?) Presentation by Sidnei da Silva sidnei.da.silva@canonical.com www.canonical.com Julho 2013
  • 2. 2 Presentation by Sidnei Silva Different stages Development Staging Production ¡ñ Local machine, single user ¡ñ Runs tip of everything ¡ñ One instance of each service ¡ñ Controlled environment ¡ñ Sometimes auto-rollout from tip ¡ñ A few machines ¡ñ A few instances of each service ¡ñ Stable, tested code ¡ñ Minimal downtime ¡ñ Many more machines ¡ñ Many more services ¡ñ Must be easily scalable Dev Ops
  • 3. 3 Presentation by Sidnei Silva DevOps ¡ñ Reuse existing deployment charms in an openly-accessible repository of shared expertise ¡ñ Reproduce deployments for test and staging purposes ¡ñ Rapid deployment of your dependencies for development purposes ¡ñ Compose whole systems from individual application components and describe the entire deployment ¡ñ Explicit control over deployment, configuration and upgrade options ¡ñ See what¡¯s deployed and track usage in the cloud ¡ñ Create and share charms for new applications ¡ñ Monitor, scale, shrink and adjust deployment parameters in real time ¡ñ Explicitly connect different components and maintain those relationships over time ¡ñ Collaborate with developers on the exact deployment and upgrade processes ¡ñ Get more done: implement decisions immediately regardless of infrastructure scale Dev Ops
  • 4. 4 Presentation by Sidnei Silva From metal to running services ¡ñ Firmware updates ¡ñ Cabling ¡ñ Power supply ¡ñ Ready to use images ¡ñ PXE booting ¡ñ Installer seed ¡ñ Packages, VCS checkouts ¡ñ Picking port numbers ¡ñ Across multiple machines ¡ñ Machine-targeted Hardware Operating system Applications and configuration
  • 5. 5 Presentation by Sidnei Silva Meet Juju ¡ñ Pluggable provisioning backends ¡ñ (soon) Both local-machine development and large scale deployments ¡ñ React to changes in the environment ¡ñ Self-configuring services ¡ñ Hooks can be written in any language ¡ñ Service templates are designed to easily scale by simply adding more units ¡ñ juju add-unit <service> Provisioning Event-based Scalable
  • 6. 6 Presentation by Sidnei Silva
  • 7. 7 Presentation by Sidnei Silva Machine 1 Machine 3 Classic deployment Machine 2
  • 8. 8 Presentation by Sidnei Silva In juju-speak... $ juju bootstrap $ juju deploy cs:precise/wordpress $ juju deploy cs:precise/mysql $ juju add-relation wordpress mysql
  • 9. 9 Presentation by Sidnei Silva Juju deployment: provisioning Machine 3 Machine 1 Machine 2 wordpress/0 mysql/0 State Server
  • 10. 10 Presentation by Sidnei Silva Juju deployment: installation Machine 3Machine 2 wordpress/0 mysql/0 Machine 1 State Server
  • 11. 11 Presentation by Sidnei Silva Juju deployment: relation Machine 3Machine 2 wordpress/0 mysql/0 Machine 1 State Server
  • 12. 12 Presentation by Sidnei Silva In juju-speak... $ juju add-unit wordpress
  • 13. 13 Presentation by Sidnei Silva Juju deployment: scaling Machine 3 Machine 4 wordpress/1 mysql/0 Machine 2 wordpress/0
  • 14. 14 Presentation by Sidnei Silva Juju deployment: relation Machine 3 Machine 4 wordpress/1 mysql/0 Machine 2 wordpress/0
  • 15. 15 Presentation by Sidnei Silva Ubuntu Server Edition 11.10Ubuntu.com March 2013 Ubuntu Server Edition 11.10Product Search February 2013 Ubuntu Server Edition 11.10Click Packages Search June 2013 Ubuntu Server Edition 11.10Smart Scopes May 2013 Ubuntu Server Edition 11.10Ubuntu One Files August 2013 Ubuntu Server Edition 11.10Click Packages Downloads July 2013 Timeline
  • 16. 16 Presentation by Sidnei Silva Smart Scopes
  • 17. 17 Presentation by Sidnei Silva Ubuntu One
  • 18. Perguntas, por favor Obrigado! Sidnei Silva sidnei.da.silva@canonical.com