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
43
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
80
Introduction to Rust LPW 2017
booyaa
0
82
Rust Language Server And You!
booyaa
0
94
Generator X - The State of Rust Static Site Generators
booyaa
0
320
London Rust User Group Meetup #9 - Baby's First Steps
booyaa
0
92
Rust London User Group Meetup #8 / RustBridge Briefing
booyaa
0
57
Rust London User Group Meetup #7
booyaa
0
60
Docker deep dive for WordPress admins
booyaa
0
110
Other Decks in Technology
See All in Technology
Compose Compiler Metricsを使った実践的なコードレビュー
tomorrowkey
1
220
DevOpsDays History and my DevOps story
kawaguti
PRO
9
2.5k
JAWS-UG Bedrock Claude Night
yamahiro
3
610
GraphQL 成熟度モデルの紹介と、プロダクトに当てはめた事例 / GraphQL maturity model
mh4gf
7
1.3k
エンジニア候補者向け資料2024.04.24.pdf
macloud
0
3.3k
Cloud Native Java with Spring Boot (CNCF Aarhus, April 2024)
thomasvitale
1
170
現代CSSフレームワークの内部実装とその仕組み
poteboy
7
3.6k
どうするコスト最適化のトレードオフ
tetsuyaooooo
1
520
障害対応をちょっとずつよくしていくための 演習の作りかた
heleeen
0
210
LLM開発・活用の舞台裏@2024.04.25
yushin_n
1
230
Azureの基本的な権限管理の勉強会
yhana
0
460
Azure犬駆動開発の記録/GlobalAzureFukuoka2024_20240420
nina01
1
210
Featured
See All Featured
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
30
6k
Intergalactic Javascript Robots from Outer Space
tanoku
266
26k
Building Adaptive Systems
keathley
31
1.9k
A better future with KSS
kneath
231
16k
The Illustrated Children's Guide to Kubernetes
chrisshort
31
46k
Building Your Own Lightsaber
phodgson
99
5.7k
Writing Fast Ruby
sferik
621
60k
Building Applications with DynamoDB
mza
88
5.6k
How GitHub (no longer) Works
holman
304
140k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
241
1.2M
From Idea to $5000 a Month in 5 Months
shpigford
377
45k
Documentation Writing (for coders)
carmenintech
60
3.9k
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