Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Sneakers
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Steven De Coeyer
September 26, 2013
Technology
350
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Sneakers
Dev/Prod Parity. Mimicking our production environments inside a VM.
Steven De Coeyer
September 26, 2013
Transcript
39 slides
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
Other Decks in Technology
See All in Technology
業務の傍らで進める改善ループエンジニアリング
bengo4com
0
160
AI対話型分析を作成し、リリースするまでの話 / The Road to Release: Buiding AI Conversational Analytics
yappli_developers
0
160
目を覚ませ!僕らの認証情報が何者かに侵略されてるぞ
tkito
2
440
ぼくのClaude Codeの使い方
falken
PRO
5
7.4k
SORACOM × AWS IoT Core でSREする
butadora
0
110
[NW-JAWS DAY]「うちのAWS、インターネット出られないんで」― AWS外の自社サービスをPrivateLinkでシュッと公開する方法
ykimi
2
720
速くなった開発の効果をどう推し量るのか
bulbulpaul
0
130
20261113_JAWS_Osaka
takuyay0ne
0
570
Shared Signals Framework 仕様解説
oidfj
0
460
Go初心者のクラウドエンジニアが、デプロイを通して旨味を知っていく話
ryudai
1
230
Quick Automate | 目指せ Quick マスター 12
inariku
PRO
1
120
SSFの現在地 ― CAEP/RISCからAI Identityへ
oidfj
0
460
Featured
See All Featured
Darren the Foodie - Storyboard
khoart
PRO
5
4.1k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3.1k
Agile that works and the tools we love
rasmusluckow
331
22k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
68
60k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8.2k
The Pragmatic Product Professional
lauravandoore
37
7.5k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k