O futuro do cloud deployment
-
Upload
sidnei-da-silva -
Category
Technology
-
view
766 -
download
1
description
Transcript of O futuro do cloud deployment
O futuro do cloud deployment(e qual o papel do Python nele)
Presentation by
Sidnei da Silva
Setembro 2011
2 Presentation by Sidnei da Silva
Agenda
● A evolução do deployment● Problemas comuns, soluções extraordinárias● E o futuro?
3 Presentation by Sidnei da Silva
Texan style
“We only have a couple servers and use VMware snapshots heavily. We don't need to automate our deployments.”
Alan RunyanEnfold Systems
4 Presentation by Sidnei da 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
5 Presentation by Sidnei da Silva
How much can it scale?
Manual deployment procedures● Very error-prone
● Waste precious human resources
● Hard to reproduce
● But can be fine on small scale
Provisioning● Lengthy acquisition process
● Repetitive, boring task
6 Presentation by Sidnei da 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
See the term sheet for more detail
7 Presentation by Sidnei da Silva
Cloud
8 Presentation by Sidnei da Silva
What problems does it solve?
Hardware
● One time setup for the controller
● Easy partitioning for each individual
Operating system
● Ready to use images
● Easy to create new ones
● Hard to manage their scale (updates and security)
Provisioning
● Quick and easy
● Homogeneity is a plus
Affection
● Short term relationship
● No emotional attachment
9 Presentation by Sidnei da Silva
What problems does it create?
Configuration
● Manually reconfiguring is boring
● Not knowing the machine name upfront makes everything harder
● Fact-based rules nearly impossible due to homogeneity
10 Presentation by Sidnei da Silva
Shifting the focus to services
11 Presentation by Sidnei da 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
See the term sheet for more detail