Puppet User Group Presentation - 15 March 2012

12

Click here to load reader

description

Puppet presentation by OlinData founder Walter Heck for Puppet Malaysia Usergroup.

Transcript of Puppet User Group Presentation - 15 March 2012

Page 1: Puppet User Group Presentation - 15 March 2012

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

March 15th, 2012KL Puppet Usergroup Meetup #1Kuala Lumpur, Malaysia

Walter Heck, OlinData

Page 2: Puppet User Group Presentation - 15 March 2012

Overview

• Introduction OlinData

• Checkup

• Introduction Puppet

• Future of Puppet in South East Asia

Page 3: Puppet User Group Presentation - 15 March 2012

Introduction OlinData

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

• Started in 2008▫ Setup to be run remotely and location independent

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

infrastructures

Page 4: Puppet User Group Presentation - 15 March 2012

The big boys using puppet

Page 5: Puppet User Group Presentation - 15 March 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: Puppet User Group Presentation - 15 March 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: Puppet User Group Presentation - 15 March 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: Puppet User Group Presentation - 15 March 2012

Puppet Advantages

• Scalability

• Accountability

• Versioning

• Replication

• Security

• Backups

Page 9: Puppet User Group Presentation - 15 March 2012

Puppet meetup group

• Frequency of meetups?

• Meetup format?

• Main online hangout? (meetup.com / facebook)?

• Puppetcamp Asia is coming in April!

Page 10: Puppet User Group Presentation - 15 March 2012

OlinData and Puppet

• Training▫ First training end of April▫ Cheaper then in the West▫ KL First, rest of Asia on success

• Consulting▫ Remote consulting worldwide▫ Ongoing handson engineering▫ Start from scratch or improve existing environment

Page 11: Puppet User Group Presentation - 15 March 2012

Questions?

Page 12: Puppet User Group Presentation - 15 March 2012

Walter Heck ([email protected])Choon Ming Goh ([email protected])

@choonming @walterheck

http://www.olindata.com

Puppetcamp coming to KL middle of April (keep the 15th free)!

First training end of April!