Devops days berlin-2016

15
DevopsDays Berlin 2016 Chef & Ansible

Transcript of Devops days berlin-2016

Page 1: Devops days berlin-2016

DevopsDaysBerlin 2016

Chef & Ansible

Page 2: Devops days berlin-2016

@rpelisse

Romain

Page 3: Devops days berlin-2016

@francoisledroff

François

Page 4: Devops days berlin-2016

Demo Mode

Page 5: Devops days berlin-2016

Open

Page 6: Devops days berlin-2016

No Trolling ?

Page 7: Devops days berlin-2016

Deep Dive

Page 8: Devops days berlin-2016

A Web server• Motd• Customized Motd

• Http server• Nginx• Customized doc root• Reverser proxy• SSL offloading• HTTP query validation

• A REST micro service • Powered by Java• Security Manager

• All of that part of a CD pipeline• Elastic and Dynamic configuration

Page 9: Devops days berlin-2016

Let’s do it

Page 10: Devops days berlin-2016

Job done ?• Motd

• Customized Motd• Http server

• Nginx• Customized doc root• Reverser proxy• SSL offloading• HTTP query validation

• A REST micro service • Powered by Java• Security Manager

• All of that part of a CD pipeline• Elastic and Dynamic configuration

The Code is on githubhttps://github.com/francoisledroff/devopsdayberlin2016https://github.com/francoisledroff/devopsdayBerlin2016JavaAppThe slide will be on slidehare at http://www.slideshare.net/francoisledroff

Page 11: Devops days berlin-2016

@francoisledroff @rpelisse

Questions ?

Page 12: Devops days berlin-2016

More ?

Page 13: Devops days berlin-2016

UX/Dev/QA/Ops

devQA prodstage

Chef-server

https RSA private key Auth

chef-clientchef-client chef-client chef-client

https RSA private key Auth • Chef encrypted data bags

• Encrypted for• admin users• whitelisted nodes

• Managed by chef-vault ruby gem

Chef-vault

Page 14: Devops days berlin-2016

Git

UX/Dev/QA/Ops

devQA prodstage

Chef-server

https RSA private key Auth

chef-clientchef-client chef-client chef-client

https RSA private key Auth • Org Segregation• Chef Server Security• Elasticity

https://wiki.jenkins-ci.org/display/JENKINS/chef-identity+plugin

Chef-vault

Non prod organization

prod organization

Page 15: Devops days berlin-2016

workstation

Git

github

Artifact Repository

webjarrubygem

Chef-server nodes

RSA key Auth

ssh

https

maven redhat

RSA key Auth

opscode npm

Secure Dependency Management