SlideShare a Scribd company logo
Provisioning Environments
A simplistic approach
Who?
Eder Roger
@EderRoger
https://github.com/EderRoger
Wender Freese
@WenderFreese
https://github.com/wenderjean
Agenda
● Devops
● Vagrant
● Puppet
● A real example
● Questions?
What this presentation is not about?
● Configuring nginx or other servers
● Loadbalancing
● Configuring MongoDB or other DB's
● MongoDB replicaset
Devops
Anything that makes interactions between
development and operations, better.
"Thomas Limoncelli"
Provisioning  Environments, a simplistic approach
Devops = Agility + Cooperation
Problem #1 (Deploy)
More Changes
More Commits
More Deploys
Less time
Interactions between devs and ops, why?
Interactions between devs and ops, why?
Problem #2 (New dev comes)
Creating an environment
Install Java
Install Tomcat
Install DB
Start to code
Provisioning  Environments, a simplistic approach
What is Vagrant?
Simple way to create virtualized
environment…
Yes, it’s a tool.
It started in January 2010 by
Mitchell Hashimoto
https://www.vagrantup.com/
What problems are solved?
● Reproducible
● Portable
● Agility
● Automation
● no more "works on my machine"
Compatibility
How does it works?
All starts in a Vagrantfile
All starts in a Vagrantfile
$ vagrant up
$ vagrant ssh database
Trust, that's all...
Is it just this?
No, we have more...
Just an environment won't help you...
Puppet
What is Puppet?
Puppet is IT automation software that defines
and enforces the state of your infrastructure.
● Is a language
● Is an infrastructure manager
Whaaaat!!!
Remember Vagrant file?
Puppet flexibility
If you have an available environment, you will
probably installs some apps/services on it.
Shellcode X Puppet
You need a manifest file
Puppet language files are called "manifests"
manifests/config.pp
Modules and Puppet community
● You don't need to make all by yourself
● Use modules available by community
https://forge.puppetlabs.com/
Using a module
A real example
APP SERVER 1
APP SERVER 2
APP SERVER 3
NGINX
REPLICA SET
MONGO 3
MONGO 1
MONGO 2
DRIVER
DRIVER
DRIVER
LB
https://github.com/EderRoger/nginx_loadbalancer
Provisioning  Environments, a simplistic approach
Provisioning  Environments, a simplistic approach
Provisioning  Environments, a simplistic approach

More Related Content

PDF
How fast can you onboard a new team member with VAGRANT ?
PDF
Bringing Open-Source Practices to Your Day Job
PPTX
That worked before
PDF
From No Git to 3000 GitHub Users and How to Keep Them Happy - GitHub Universe...
PDF
Towards a responsive business - DevOps MeetUp Melbourne 2013
PPTX
An Introduction to Gutenberg, WordPress's New Editor
PPTX
Building effective dev ops engineering culture new
ODP
Devops in with the old, in with the new
How fast can you onboard a new team member with VAGRANT ?
Bringing Open-Source Practices to Your Day Job
That worked before
From No Git to 3000 GitHub Users and How to Keep Them Happy - GitHub Universe...
Towards a responsive business - DevOps MeetUp Melbourne 2013
An Introduction to Gutenberg, WordPress's New Editor
Building effective dev ops engineering culture new
Devops in with the old, in with the new

What's hot (20)

PDF
Telling Tales and Solving Crimes with New Relic
PPT
Continuous integration (light talk)
PPTX
Open NTF OpenSource is collaboration at its best and matters
PDF
The Web We Weave :: How Web Developers Think About Performance
PDF
The Shape of Speed
PPTX
Q6 what have you learnt about technologies
PDF
testmon for Python
PDF
Mongodb, Node.js and You: PART I
PDF
Debugger Tips and Tricks for .Net developers with Microsoft Visual Studio 2017
PDF
How to survive continuous innovation - Sebastien Goasguen - DevOpsDays Tel Av...
PPT
Continuous integration
PDF
DevOps - Mindset first, Tools second.
PDF
Google Web Toolkit (GWT)
PPTX
A culture of Automation - Joe Smith - DevOpsDays Tel Aviv 2017
PPTX
Design patterns for efficient DevOps processes - Rebecca Fitzhugh - DevOpsDay...
PDF
Export pdf with puppeteer
PPTX
Bootstrapping Quality
PDF
Elm view
PDF
Converging the team
PDF
Rapid Iterative Prototyping & UserTesting
Telling Tales and Solving Crimes with New Relic
Continuous integration (light talk)
Open NTF OpenSource is collaboration at its best and matters
The Web We Weave :: How Web Developers Think About Performance
The Shape of Speed
Q6 what have you learnt about technologies
testmon for Python
Mongodb, Node.js and You: PART I
Debugger Tips and Tricks for .Net developers with Microsoft Visual Studio 2017
How to survive continuous innovation - Sebastien Goasguen - DevOpsDays Tel Av...
Continuous integration
DevOps - Mindset first, Tools second.
Google Web Toolkit (GWT)
A culture of Automation - Joe Smith - DevOpsDays Tel Aviv 2017
Design patterns for efficient DevOps processes - Rebecca Fitzhugh - DevOpsDay...
Export pdf with puppeteer
Bootstrapping Quality
Elm view
Converging the team
Rapid Iterative Prototyping & UserTesting
Ad

Similar to Provisioning Environments, a simplistic approach (20)

PPTX
Provisioning environments. A simplistic approach
PDF
Rise of the machines: Continuous Delivery at SEEK - YOW! Night Summary Slides
PDF
Instant LAMP Stack with Vagrant and Puppet
PDF
Vagrant+Puppet = #WIN
PPTX
Harmonious Development: Standardizing The Deployment Process via Vagrant and ...
PDF
Dev to Delivery with Puppet - PuppetConf 2014
PPTX
Development with Vagrant
PDF
Getting started with puppet and vagrant (1)
PPTX
Vagrant
PDF
DevOps: Using Vagrant to Enhance Your Day to Day Development
ODP
Puppet Provisioning Vagrant Virtual Machine
PDF
Dev to Delivery with Puppet, Vagrant and AWS
PDF
From Dev to DevOps
PDF
Vagrant up-and-running
PDF
Vagrant Binding JayDay 2013
PDF
Powering Development and Testing Environments with Vagrant
PDF
Developing locally with virtual machines
KEY
From Dev to DevOps - ApacheCON NA 2011
PPTX
Learn DevOps with Vagrant Essentials
PDF
Vagrant for Effective DevOps Culture
Provisioning environments. A simplistic approach
Rise of the machines: Continuous Delivery at SEEK - YOW! Night Summary Slides
Instant LAMP Stack with Vagrant and Puppet
Vagrant+Puppet = #WIN
Harmonious Development: Standardizing The Deployment Process via Vagrant and ...
Dev to Delivery with Puppet - PuppetConf 2014
Development with Vagrant
Getting started with puppet and vagrant (1)
Vagrant
DevOps: Using Vagrant to Enhance Your Day to Day Development
Puppet Provisioning Vagrant Virtual Machine
Dev to Delivery with Puppet, Vagrant and AWS
From Dev to DevOps
Vagrant up-and-running
Vagrant Binding JayDay 2013
Powering Development and Testing Environments with Vagrant
Developing locally with virtual machines
From Dev to DevOps - ApacheCON NA 2011
Learn DevOps with Vagrant Essentials
Vagrant for Effective DevOps Culture
Ad

Recently uploaded (20)

PDF
Approach and Philosophy of On baking technology
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
NewMind AI Monthly Chronicles - July 2025
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
cuic standard and advanced reporting.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Encapsulation theory and applications.pdf
Approach and Philosophy of On baking technology
Chapter 3 Spatial Domain Image Processing.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Encapsulation_ Review paper, used for researhc scholars
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
NewMind AI Monthly Chronicles - July 2025
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
NewMind AI Weekly Chronicles - August'25 Week I
20250228 LYD VKU AI Blended-Learning.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
The AUB Centre for AI in Media Proposal.docx
Per capita expenditure prediction using model stacking based on satellite ima...
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Review of recent advances in non-invasive hemoglobin estimation
cuic standard and advanced reporting.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Encapsulation theory and applications.pdf

Provisioning Environments, a simplistic approach

Editor's Notes

  • #16: About VMWare.. http://www.vagrantup.com/vmware Price: $79 per seat. A single seat can be used on two computers (such as a desktop and a laptop) for a single person.
  • #22: When you use Puppet, you are modeling your infrastructure as code
  • #23: “Puppet” really refers to two different things: the language in which code is written, and the platform that manages infrastructure.
  • #27: The foundation of the Puppet language is its declaration of resources. Each resource describes a component of a system, such as a service that must be running, or a package that must be installed. Some other examples of resources: A user account A specific file A directory of files Any software package Any running service
  • #30: Session Persistence (REDIS)