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
330
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
SREが向き合う大規模リアーキテクチャ 〜信頼性とアジリティの両立〜
zepprix
0
220
制約が導く迷わない設計 〜 信頼性と運用性を両立するマイナンバー管理システムの実践 〜
bwkw
2
480
MySQLのJSON機能の活用術
ikomachi226
0
120
全員が「作り手」になる。職能の壁を溶かすプロトタイプ開発。
hokuo
1
640
変化するコーディングエージェントとの現実的な付き合い方 〜Cursor安定択説と、ツールに依存しない「資産」〜
empitsu
4
830
re:Inventで出たインフラエンジニアが嬉しかったアップデート
nagisa53
4
230
【インシデント入門】サイバー攻撃を受けた現場って何してるの?
shumei_ito
0
1.3k
開発メンバーが語るFindy Conferenceの裏側とこれから
sontixyou
2
420
Digitization部 紹介資料
sansan33
PRO
1
6.7k
What happened to RubyGems and what can we learn?
mikemcquaid
0
140
Introduction to Bill One Development Engineer
sansan33
PRO
0
350
【NGK2026S】日本株のシステムトレードに入門してみた
kazuhitotakahashi
0
250
Featured
See All Featured
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
120
Build The Right Thing And Hit Your Dates
maggiecrowley
38
3k
How to build a perfect <img>
jonoalderson
1
4.9k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
230
Visualization
eitanlees
150
17k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
A Tale of Four Properties
chriscoyier
162
24k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.6k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.1k
Ruling the World: When Life Gets Gamed
codingconduct
0
130
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.7k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
720
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