11. Local server
Pros:
✓You know where your data lives
✓ The equipment is yours and you can
personalize as you want
sábado, 1 de junio de 13
12. Local server
Pros:
✓You know where your data lives
✓ The equipment is yours and you can
personalize as you want
Cons:
sábado, 1 de junio de 13
13. Local server
Pros:
✓You know where your data lives
✓ The equipment is yours and you can
personalize as you want
Cons:
✓You are responsible to give power and a
good Tº to the server
sábado, 1 de junio de 13
14. Local server
Pros:
✓You know where your data lives
✓ The equipment is yours and you can
personalize as you want
Cons:
✓You are responsible to give power and a
good Tº to the server
✓ The environment should be able to support
catastrophes. (TIER)
sábado, 1 de junio de 13
15. Local server
Pros:
✓You know where your data lives
✓ The equipment is yours and you can
personalize as you want
Cons:
✓You are responsible to give power and a
good Tº to the server
✓ The environment should be able to support
catastrophes. (TIER)
✓It needs a lot of configuration (and that
needs a lot of time)
sábado, 1 de junio de 13
19. Cloud
Pros:
✓You don’t need an huge initial investment to
buy (expensive) servers
✓You can dynamically create an IT
architecture
sábado, 1 de junio de 13
20. Cloud
Pros:
✓You don’t need an huge initial investment to
buy (expensive) servers
✓You can dynamically create an IT
architecture
Cons:
sábado, 1 de junio de 13
21. Cloud
Pros:
✓You don’t need an huge initial investment to
buy (expensive) servers
✓You can dynamically create an IT
architecture
Cons:
✓ If for any reason the cloud service is down,
you can’t do anything but wait
sábado, 1 de junio de 13
22. Cloud
Pros:
✓You don’t need an huge initial investment to
buy (expensive) servers
✓You can dynamically create an IT
architecture
Cons:
✓ If for any reason the cloud service is down,
you can’t do anything but wait
✓It needs a lot of configuration (and that
needs a lot of time)
sábado, 1 de junio de 13
29. 88.3K lines of code
7.497 commits
Since March 2008
https://github.com/opscode/chef
* Metrics by http://www.ohloh.net/p/opscode-chef
sábado, 1 de junio de 13
40. Recipes
Are included on cookbooks
Written in Ruby
There are functions available as DSL
You can use ERB templates with Recipes
sábado, 1 de junio de 13
41. Resources
Used on recipes
Define actions that can be taken
There are functions available as DSL
Service, yum_package, execute or directory are
a few examples of this
http://docs.opscode.com/chef/resources.html
sábado, 1 de junio de 13
42. template '/etc/sudoers' do
source 'sudoers.erb'
mode '0440'
owner 'root'
group platform?('freebsd') ? 'wheel' : 'root'
variables(
:sudoers_groups => node['authorization']['sudo']['groups'],
:sudoers_users => node['authorization']['sudo']['users'],
:passwordless => node['authorization']['sudo']['passwordless'],
:include_sudoers_d => node['authorization']['sudo']['include_sudoers_d'],
:agent_forwarding => node['authorization']['sudo']['agent_forwarding'],
:sudoers_defaults => node['authorization']['sudo']['sudoers_defaults']
)
not_if { node[:some_value]}
end
Recipe example
sábado, 1 de junio de 13