Skip to content
FoolControl – Phear the penguin

FoolControl – Phear the penguin

Adnan Hodzic on Linux, Open Source, DevOps, Cloud and much more :)

  • Home
  • About
  • Contact
  • Archives
FoolControl – Phear the penguin

Tag: Nginx

Automagically deploy & run containerized WordPress (PHP7 FPM, Nginx, MariaDB) using Ansible + Docker on AWS

May 21, 2017

Update: containerized-wordpress-project comes with enabled HTTPS site encryption using Let’s Encrypt certificates.

In this blog post, I’ve described what started as simple migration of WordPress blog to AWS, ended up as automation project consisting of publishing multiple Ansible roles deploying and running multiple Docker images.

If you’re not interested in reading about my entire journey, cognition gains and how this process came to be, please skim down to “Birth of: containerized-wordpress-project (TL;DR)” section.

Migrating WordPress blog to AWS (EC2, Lightsail?)

Since I’ve been sold on Amazon’s AWS idea of cloud computing “services” for couple of years now. I’ve wanted, and been trying to migrate this (WordPress) blog to AWS, but somehow it never worked out.

Moving it to EC2 instance, with its own ELB volumes, AMI, EIP, Security Group … it just seemed as an overkill.

When AWS Lightsail was first released, it seemed that was an answer to all my problems.

But it wasn’t, disregarding its bit restrictive/dumbed down versions of original features. Living in Amsterdam, my main problem with it was that it was only available in a single US region.

more “Automagically deploy & run containerized WordPress (PHP7 FPM, Nginx, MariaDB) using Ansible + Docker on AWS”

DevOps, HowTo, Project, Software Ansible, Automagically, automation, AWS, containerization, containerized, contrainers, deploy, docker, docker-compose, fpm, Lightsail, Linux, mariadb, migration, minutes, mysql, myswl, Nginx, php7, php7-fpm, playbook, ubuntu, wordpress

Recent Tweets

  • Tweet Avatar @backlon Had same problem in US recently. To combat it I used Google Assistant to screen my calls before answering… https://t.co/VCMCqAGitI 1 month ago
  • Tweet Avatar @martinkrafft @Twitter Twitter has 2FA support and I've been using it for awhile now. Go to Settings and privacy >… https://t.co/VYKN2Fdi2y 1 month ago
  • Tweet Avatar @ZuidasAmsterdam Awesome, looking forward to it! 1 month ago
  • Tweet Avatar @ZuidasAmsterdam Once the work is complete, it would be great if you made a timelapse video of whole operation. 1 month ago
  • Tweet Avatar PS4 Remote Play is (officially) only available for Windows PC/Mac. Which doesn't mean you can't get it working on L… https://t.co/DLSUxf33dJ 2 months ago
Follow @fooctrl

Recent Posts

  • google-podcasts-desktop app – Listen to Google Podcasts on your desktop! May 4, 2019
  • vim-hue: colorful Vim config for all your SRE/DevOps needs February 27, 2019
  • Ubuntu 18.10 (4.19 linux kernel) for MacBook Pro October 24, 2018
  • Ubuntu 18.04 image release for MacBook Pro 2017/6 with Touch Bar May 17, 2018
  • Automated way of getting Let’s Encrypt certificates for WordPress using Docker + Ansible March 10, 2018
  • Secure traffic to ZNC on Synology with Let’s Encrypt September 10, 2017
  • Automagically deploy & run containerized WordPress (PHP7 FPM, Nginx, MariaDB) using Ansible + Docker on AWS May 21, 2017
  • Secure (HTTPS) public access to Synology NAS using Let’s Encrypt (free) SSL certificate February 17, 2017
  • anon-hotspot: On demand Debian Linux (Tor) Hotspot setup tool September 18, 2016
  • Kernel agnostic, DisplayLink Debian GNU/Linux driver installer (Debian/Ubuntu/Elementary) November 29, 2015

Archives

Idealist by NewMediaThemes