Deploying Strapi on AWS EC2, Ubuntu 20.04 (with Laravel Forge)

Hi Yoeri,

I’ve created an Ansible play that gives you a quick solution to deploy Strapi on Amazon AWS automatically. The solution spins up an EC2 and an RDS PostgreSQL database. Instances are placed in a private subnet (database) and a public subnet (EC2).

You can find a tutorial about this solution here: Using Ansible For Automatic Deployment Of A Strapi CMS To Amazon AWS | by Frank Haubenschild | Medium

The corresponding Github repo can be found here: GitHub - hauben/ansible-play-strapi: Ansible play with several roles to deploy the headless CMS Strapi on

Maybe it’s interesting for you or maybe some others who are looking for an automatic deployment solution to Amazon AWS.

Cheers
Frank