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
Good Migrations
Search
Mark Sta Ana
February 25, 2016
Technology
0
58
Good Migrations
My experiences of migrating Santa Ana Ltd WordPress estate to Docker
Mark Sta Ana
February 25, 2016
Tweet
Share
More Decks by Mark Sta Ana
See All by Mark Sta Ana
Learn Rust in 12 months - Month 01
booyaa
0
100
Introduction to Rust LPW 2017
booyaa
0
120
Rust Language Server And You!
booyaa
0
100
Generator X - The State of Rust Static Site Generators
booyaa
0
340
London Rust User Group Meetup #9 - Baby's First Steps
booyaa
0
120
Rust London User Group Meetup #8 / RustBridge Briefing
booyaa
0
68
Rust London User Group Meetup #7
booyaa
0
68
Docker deep dive for WordPress admins
booyaa
0
180
Other Decks in Technology
See All in Technology
オブザーバビリティが広げる AIOps の世界 / The World of AIOps Expanded by Observability
aoto
PRO
0
320
LLMを搭載したプロダクトの品質保証の模索と学び
qa
0
940
COVESA VSSによる車両データモデルの標準化とAWS IoT FleetWiseの活用
osawa
1
210
今!ソフトウェアエンジニアがハードウェアに手を出すには
mackee
11
4.4k
シークレット管理だけじゃない!HashiCorp Vault でデータ暗号化をしよう / Beyond Secret Management! Let's Encrypt Data with HashiCorp Vault
nnstt1
3
230
カミナシ社の『ID管理基盤』製品内製 - その意思決定背景と2年間の進化 #AWSUnicornDay / Kaminashi ID - The Big Whys
kaminashi
3
820
RSCの時代にReactとフレームワークの境界を探る
uhyo
10
3.2k
自作JSエンジンに推しプロポーザルを実装したい!
sajikix
1
160
BPaaSにおける人と協働する前提のAIエージェント-AWS登壇資料
kentarofujii
0
120
生成AIでセキュリティ運用を効率化する話
sakaitakeshi
0
320
エラーとアクセシビリティ
schktjm
0
1.1k
MCPで変わる Amebaデザインシステム「Spindle」の開発
spindle
PRO
3
3k
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.5k
Speed Design
sergeychernyshev
32
1.1k
Unsuck your backbone
ammeep
671
58k
The World Runs on Bad Software
bkeepers
PRO
70
11k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
A better future with KSS
kneath
239
17k
Making Projects Easy
brettharned
117
6.4k
How to Think Like a Performance Engineer
csswizardry
26
1.9k
Building a Modern Day E-commerce SEO Strategy
aleyda
43
7.5k
Writing Fast Ruby
sferik
628
62k
BBQ
matthewcrist
89
9.8k
Rails Girls Zürich Keynote
gr2m
95
14k
Transcript
Moving a WordPress site to Docker Mark Santa Ana @booyaa
github.com/booyaa booyaa.org Good Migrations
Who am I? ‣ Polyglot dev with Ops background ‣
Sysadmin for Santa Ana Ltd
Our Setup PREVIOUS ‣ Virtual Private Server ‣ LAMP NEW
‣ Cloud Server ‣ Docker ‣ LEMP
Docker source: https://www.docker.com/what-docker
Why did we choose Docker? ‣ Secure
Why did we choose Docker? ‣ Secure ‣ Reproducible
Why did we choose Docker? ‣ Secure ‣ Reproducible ‣
Explicit
Why did we choose Docker? ‣ Secure ‣ Reproducible ‣
Explicit ‣ Flexible
Why did we choose Docker? ‣ Secure ‣ Reproducible ‣
Explicit ‣ Flexible ‣ Economical
Why should you choose Docker? Democratises technology, just like WordPress
Migration ‣ Backup ‣ Install/Setup Docker ‣ Restore
TIL
Permissions ‣ chown -R www-data:www-data /var/www/html ‣ docker exec -it
name_of_wordpress_container
Mail ‣ Postman SMTP
Security ‣ Goodbye fail2ban ‣ Hello Wordfence ‣ Hello 2FA
Summary ‣ WordPress on Docker is easy ‣ It requires
some technical expertise ‣ Moving to Docker could be easier (but there’s an app for that)
santaana.co.uk
None
Resources What is Docker chown command WordPress permissions
Fail2ban Postman WordFence 2FA Kitematic hyperironclad https://www.docker.com/what-docker http://www.cyberciti.biz/faq/how-to-use-chmod- and-chown-command/ http://www.chrisabernethy.com/why-wordpress- asks-connection-info/ http://www.fail2ban.org/ https://wordpress.org/plugins/postman-smtp/ https://wordpress.org/plugins/wordfence/ https://wordpress.org/plugins/wp-google- authenticator/ https://www.docker.com/products/docker-kitematic http://github.com/booyaa/hyperironclad