17

Click here to load reader

OlinData Puppet Presentation for MOSC 2012

Embed Size (px)

DESCRIPTION

OlinData founder Walter Heck presented about Puppet at MOSC 2012.

Citation preview

Page 1: OlinData Puppet Presentation for MOSC 2012

“Little puppet made of pine, awake. The gift of life is thine.”

July 9th, 2012Malaysia Open Source ConferenceKuala Lumpur, Malaysia

Walter Heck, OlinData

Page 2: OlinData Puppet Presentation for MOSC 2012

Overview

• Introduction OlinData

• Checkup

• Introduction Puppet

• Future of Puppet in South East Asia

Page 3: OlinData Puppet Presentation for MOSC 2012

Introduction OlinData

• OlinData▫ MySQL Consulting▫ Tribily Server Monitoring▫ Puppet training and consulting

• Started with Puppet in 2010▫ Official puppetlabs partner since 2012▫ Experience with large, medium and small

infrastructures

Page 4: OlinData Puppet Presentation for MOSC 2012

The big boys using puppet

Page 5: OlinData Puppet Presentation for MOSC 2012

Checkup

•Who is planning to use puppet soon-ish?

•Who is using puppet in production?▫Using ENC? Hiera? Mcollective? Stored configs? Open source modules?

Page 6: OlinData Puppet Presentation for MOSC 2012

sql.olindata.com

# apt-get install openssh-server# vim /etc/ssh/sshd_config# iptables -A INPUT -p tcp –dport 22 -j ACCEPT# /etc/init.d/sshd restart

Old school

web.olindata.com

sql.olindata.com

# apt-get install openssh-server# vim /etc/ssh/sshd_config# iptables -A INPUT -p tcp –dport 22 -j ACCEPT# /etc/init.d/sshd restart

# apt-get install openssh-server# vim /etc/ssh/sshd_config# iptables -A INPUT -p tcp –dport 22 -j ACCEPT# /etc/init.d/sshd restart

sql.olindata.com

# apt-get install openssh-server# vim /etc/ssh/sshd_config# iptables -A INPUT -p tcp –dport 22 -j ACCEPT# /etc/init.d/sshd restart

Page 7: OlinData Puppet Presentation for MOSC 2012

Puppet to the rescue!

puppet.olindata.com

node basenode { include ssh}

class ssh { package {'openssh-server': ensure => installed } file {'/etc/ssh/sshd_config': ensure => present, source => 'puppet:///modules/ssh/sshd_config', notify => Service['sshd'] } firewall { '001 allow ssh': chain => 'INPUT', proto => 'tcp', dport => '22', action => 'accept', }}node *.olindata.com inherits basenode { }

/etc/puppet/manifests/site.pp:

Page 8: OlinData Puppet Presentation for MOSC 2012

Puppet Advantages

Scalability

Page 9: OlinData Puppet Presentation for MOSC 2012

Puppet Advantages

Accountability

Page 10: OlinData Puppet Presentation for MOSC 2012

Puppet Advantages

Versioning

Page 11: OlinData Puppet Presentation for MOSC 2012

Puppet Advantages

Replication

Page 12: OlinData Puppet Presentation for MOSC 2012

Puppet Advantages

Security

Page 13: OlinData Puppet Presentation for MOSC 2012

Puppet advantages

Flexibility

Page 14: OlinData Puppet Presentation for MOSC 2012

Puppet Advantages

Backups

Page 15: OlinData Puppet Presentation for MOSC 2012

OlinData and Puppet

• Training▫ First training end of April in KL▫ Planning Manilla and Jakarta▫ Hyderabad this week, Singapore August 6th

• Consulting▫ Remote consulting worldwide▫ Ongoing hands-on engineering▫ Start from scratch or improve existing environment

Page 16: OlinData Puppet Presentation for MOSC 2012

Questions?

Page 17: OlinData Puppet Presentation for MOSC 2012

Walter Heck ([email protected])

@walterheck

http://www.olindata.com