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
20241218_今年はSLI/SLOの導入を頑張ってました!
zepprix
0
100
Opcodeを読んでいたら何故かphp-srcを読んでいた話
murashotaro
0
320
UI State設計とテスト方針
rmakiyama
3
800
Oracle Cloudの生成AIサービスって実際どこまで使えるの? エンジニア目線で試してみた
minorun365
PRO
4
300
PHP ユーザのための OpenTelemetry 入門 / phpcon2024-opentelemetry
shin1x1
3
1.5k
【re:Invent 2024 アプデ】 Prompt Routing の紹介
champ
0
160
C++26 エラー性動作
faithandbrave
2
820
事業貢献を考えるための技術改善の目標設計と改善実績 / Targeted design of technical improvements to consider business contribution and improvement performance
oomatomo
0
160
AWS環境におけるランサムウェア攻撃対策の設計
nrinetcom
PRO
0
170
.NET 9 のパフォーマンス改善
nenonaninu
0
1.3k
生成AIのガバナンスの全体像と現実解
fnifni
1
210
[Oracle TechNight#85] Oracle Autonomous Databaseを使ったAI活用入門
oracle4engineer
PRO
1
140
Featured
See All Featured
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.2k
VelocityConf: Rendering Performance Case Studies
addyosmani
326
24k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.2k
GraphQLとの向き合い方2022年版
quramy
44
13k
Why Our Code Smells
bkeepers
PRO
335
57k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
A Philosophy of Restraint
colly
203
16k
A better future with KSS
kneath
238
17k
Scaling GitHub
holman
459
140k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Designing on Purpose - Digital PM Summit 2013
jponch
116
7k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
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