dev ops 101
Post on 15-Jul-2015
1.073 Views
Preview:
TRANSCRIPT
DEVOPS 101
Spellworking your environments
DevOps ?
But it works on my machine….
Development Staging Production
Web server
Database server
Business server
Development Staging Production
Development Staging Production
Web server Business ServerDatabase Server
7
Tomcat
Nagios
Git
Postgres
Activemq
Gradle
Vim
Base box
Now Imagine if this installation needs to happen on 37 machines
Philosophy
“If you are repeating a manual task, you are probably doing it wrong”
Tomcat
Nagios
Git
Postgres
Activemq
Gradle
Vim
As Code
Via Configuration manag
ement
Git
Puppet
Our Mission
Environment
Frontend Backend
13
Virtual machines
vagrant init box_name
vagrant up
vagrant box add box_name address
vagrant ssh
vagrant provision
vagrant halt/destroy
+ =
Idempotent Solution
Cross Platform
Testable & Maintainable
Type
Name
Attribute
Value
Package
Exec
File
Service
RESOURCE
CLASS
Install JDK
CLASS
Download JDK
CUSTOM RESOURCE TYPES
Manifest
Manifest Manifest
Manifest
CATALOG
Let’s Get to Business
Hands-on
Building a todo App Server
https://github.com/sreedevivedula/devops101
Repo URL
https://github.com/sreedevivedula/devops101/tree/stage0-bootstrap
STAGE 0: Bootstrap todo Server
https://github.com/sreedevivedula/devops101/tree/stage1-papply
STAGE 1: Install papply
https://github.com/sreedevivedula/devops101/tree/stage2-java
STAGE 2: Install Java
https://github.com/sreedevivedula/devops101/tree/stage3-tomcat
STAGE 3: Install Tomcat
https://github.com/sreedevivedula/devops101/tree/stage4-appdeploy
STAGE 4: Deploy todo app
Mission achieved!
REFERENCES
https://www.vagrantup.com/
https://puppetlabs.com/
IMAGE REFERENCES
http://www.publicdomainpictures.net/
http://magicka.gamepedia.com/
http://litablog.org/author/bryjbrown/
https://www.vagrantup.com/
https://puppetlabs.com/
http://samcl4.deviantart.com/art/Puppet-Master-384251252
Thank you
The Team
Mukund DhandhaniaEmail Id:mukundd@thoughtworks.com
Sreedevi VedulaTwitter: @suryasreevedulaBlog: https://sreedevivedula.github.io/Linkedin: https://www.linkedin.com/in/suryasreedevivedula
Abubacker SiddiqueTwitter: @justabu
Krishna Kumar SureTwitter: @kksure
Shraddha SumanTwitter: @shraddhaSuman18
Linkedin: http://in.linkedin.com/in/shraddhasuman
top related