Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Sneakers
Search
Steven De Coeyer
September 26, 2013
Technology
1
320
Sneakers
Dev/Prod Parity. Mimicking our production environments inside a VM.
Steven De Coeyer
September 26, 2013
Tweet
Share
Other Decks in Technology
See All in Technology
IBC 2024 動画技術関連レポート / IBC 2024 Report
cyberagentdevelopers
PRO
1
110
TypeScript、上達の瞬間
sadnessojisan
46
13k
強いチームと開発生産性
onk
PRO
35
11k
Introduction to Works of ML Engineer in LY Corporation
lycorp_recruit_jp
0
140
Lambda10周年!Lambdaは何をもたらしたか
smt7174
2
110
EventHub Startup CTO of the year 2024 ピッチ資料
eventhub
0
120
Making your applications cross-environment - OSCG 2024 NA
salaboy
0
190
B2B SaaSから見た最近のC#/.NETの進化
sansantech
PRO
0
890
OCI Security サービス 概要
oracle4engineer
PRO
0
6.5k
安心してください、日本語使えますよ―Ubuntu日本語Remix提供休止に寄せて― 2024-11-17
nobutomurata
1
1k
Taming you application's environments
salaboy
0
190
Lexical Analysis
shigashiyama
1
150
Featured
See All Featured
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
42
9.2k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
26
2.1k
Happy Clients
brianwarren
98
6.7k
Designing for Performance
lara
604
68k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
Writing Fast Ruby
sferik
627
61k
Thoughts on Productivity
jonyablonski
67
4.3k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
720
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
93
16k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.1k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.8k
Transcript
Sneakers Dev/Prod Parity Friday 27 September 13
Steven De Coeyer Ops @zhann Friday 27 September 13
[photograph of Dolphin failing to run in an environment it
hasn’t been compiled for] Friday 27 September 13
Current situation Friday 27 September 13
Friday 27 September 13
Current situation • Package Managers • Virtual hosts • PHP
modules Compilen vs. Extensions vs. Pecl • MySQL, Redis, Mongo • ... Friday 27 September 13
Friday 27 September 13
Friday 27 September 13
Current situation • No straightforward setup • Uniqueness • Project
switching • No dev/prod parity Friday 27 September 13
Friday 27 September 13
Dev/prod parity Keep development, staging, and production as similar as
possible. Friday 27 September 13
The Future Lightweight, reproducible, and portable development environments. Friday 27
September 13
• Virtualbox Wrapper • single file to describe your machine
• type ‘vagrant up’ • but it works on my machine Friday 27 September 13
The Future Infrastructure as code. Friday 27 September 13
The Future Friday 27 September 13
Friday 27 September 13
Sneakers Friday 27 September 13
Sneakers Sneakers is a simple, fast way to mimick Openminds
Shared and Cloud hosting environments using Vagrant and Chef. Friday 27 September 13
Sneakers You can develop your websites and test it straight
on the VM without the need for deploying or doing complex tasks. Friday 27 September 13
Sneakers If your website works in our Sneakers, it should
work on our production servers. Friday 27 September 13
What it mimics Sneakers mijnproject.be (proxy cluster) (shared or shared
cloud server) proxy_pass port 80 and 443 (mysql-007 or mysql-cloud-001) Friday 27 September 13
How it mimics Sneakers localhost:8010 8010 (proxy) (back-end shared or
shared cloud) 42 Friday 27 September 13
How it shares files Sneakers ~/dev/myapp /home/vagrant/apps/default NFS Friday 27
September 13
Getting Started Sneakers Friday 27 September 13
Works on all major OS’ Sneakers Friday 27 September 13
3 dependencies Sneakers • Git (http://git-scm.com) • Virtualbox (https://www.virtualbox.org) •
Vagrant (http://www.vagrantup.com) Friday 27 September 13
Supports Sneakers • Shared Hosting PHP 5.3 • Shared Hosting
PHP 5.4 • Shared Cloud PHP 5.3 • Shared Cloud PHP 5.4 Friday 27 September 13
Clone the repository Sneakers git clone git://github.com/openminds/sneakers.git Friday 27 September
13
Set-up config.yml Sneakers myapp: app_directory: "~/Dev/myapp/" type: "php53" http_port: 8010
memory: 512 Friday 27 September 13
Go! Sneakers vagrant up myapp Friday 27 September 13
Demo Friday 27 September 13
README Sneakers https://github.com/openminds/sneakers Friday 27 September 13
Contributing Sneakers Friday 27 September 13
Contributing Sneakers Friday 27 September 13
Contributing Sneakers Friday 27 September 13
Contributing Sneakers Friday 27 September 13
In the pipeline Sneakers • More custom VDS support •
Multi-VM’s • (Shared) Varnish • Better Ruby support Friday 27 September 13
Thank you! Friday 27 September 13
Questions? Friday 27 September 13