O futuro do cloud deployment

12
O futuro do cloud deployment (e qual o papel do Python nele) Presentation by Sidnei da Silva [email protected] Setembro 2011

description

 

Transcript of O futuro do cloud deployment

Page 1: O futuro do cloud deployment

O futuro do cloud deployment(e qual o papel do Python nele)

Presentation by

Sidnei da Silva

[email protected]

Setembro 2011

Page 2: O futuro do cloud deployment

2 Presentation by Sidnei da Silva

Agenda

● A evolução do deployment● Problemas comuns, soluções extraordinárias● E o futuro?

Page 3: O futuro do cloud deployment

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

Page 4: O futuro do cloud deployment

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

Page 5: O futuro do cloud deployment

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

Page 6: O futuro do cloud deployment

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

Page 7: O futuro do cloud deployment

7 Presentation by Sidnei da Silva

Cloud

Page 8: O futuro do cloud deployment

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

Page 9: O futuro do cloud deployment

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

Page 10: O futuro do cloud deployment

10 Presentation by Sidnei da Silva

Shifting the focus to services

Page 11: O futuro do cloud deployment

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

Page 12: O futuro do cloud deployment

Perguntas, por favorObrigado!

Sidnei da Silva

[email protected]