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
330
1
Share
Sneakers
Dev/Prod Parity. Mimicking our production environments inside a VM.
Steven De Coeyer
September 26, 2013
Other Decks in Technology
See All in Technology
AI時代のIssue駆動開発のススメ
moongift
PRO
0
320
AIにより大幅に強化された AWS Transform Customを触ってみる
0air
0
230
MIX AUDIO EN BROADCAST
ralpherick
0
140
Tour of Agent Protocols: MCP, A2A, AG-UI, A2UI with ADK
meteatamel
0
170
BFCacheを活用して無限スクロールのUX を改善した話
apple_yagi
0
140
How to install a gem
indirect
0
2k
Microsoft Fabricで考える非構造データのAI活用
ryomaru0825
0
550
GitHub Actions侵害 — 相次ぐ事例を振り返り、次なる脅威に備える
flatt_security
11
6.9k
DMBOKを使ってレバレジーズのデータマネジメントを評価した
leveragestech
0
490
「活動」は激変する。「ベース」は変わらない ~ 4つの軸で捉える_AI時代ソフトウェア開発マネジメント
sentokun
0
140
15年メンテしてきたdotfilesから開発トレンドを振り返る 2011 - 2026
giginet
PRO
2
250
FastMCP OAuth Proxy with Cognito
hironobuiga
3
230
Featured
See All Featured
What's in a price? How to price your products and services
michaelherold
247
13k
Exploring anti-patterns in Rails
aemeredith
2
300
Marketing to machines
jonoalderson
1
5.1k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.8k
Odyssey Design
rkendrick25
PRO
2
560
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.1k
Practical Orchestrator
shlominoach
191
11k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Building AI with AI
inesmontani
PRO
1
840
Producing Creativity
orderedlist
PRO
348
40k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
330
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