Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/derrickmehaffy/strapi-aws-ec2-deploy
Deploying Strapi on AWS EC2 with Terraform and Ansible
https://github.com/derrickmehaffy/strapi-aws-ec2-deploy
Last synced: 2 days ago
JSON representation
Deploying Strapi on AWS EC2 with Terraform and Ansible
- Host: GitHub
- URL: https://github.com/derrickmehaffy/strapi-aws-ec2-deploy
- Owner: derrickmehaffy
- License: mit
- Created: 2021-08-13T05:07:34.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-08-13T05:11:47.000Z (about 3 years ago)
- Last Synced: 2024-10-16T07:21:20.756Z (22 days ago)
- Language: HCL
- Size: 43 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
![strapi + ansible/terraform/aws-ec2](./images/strapi+ansible_terraform_aws-ec2.png)
# Strapi AWS-EC2 Deployment with Terraform & Ansible
## WORK IN PROGRESS
## Foreword
Please keep in mind, while I do work for Strapi, all the work of this repo is of a personal nature. This repo is not maintained by Strapi (the company) and there is no guarantee, express or implied that it will be actively maintained. I am producing this project in my free time and will update it when I can.
Issues opened asking for updates or general spam will be closed and ignored. That being said, I openly welcome you to report any issues you find and I'll address them when I can. Naturally I am certainly no Terraform or Ansible pro and I welcome any outside contribution to help out.
## About
This deploy template uses Terraform to configure and deploy two AWS-EC2 instances, one for a MariaDB database and one for a Strapi application. It will automatically add an SSH key and create a few service users as well as register the new Strapi instance in Cloudflare. It will also register an SSL Certificate with Let's Encrypt for the subdomain and setup Nginx to reverse proxy Strapi.
## Instructions
Please see the dedicated section in the [Strapi Guru](https://docs.strapi.guru/deploy-guides/vultr/vultr-intro) documentation for information on how to use this template.
## Other deploy scripts I have created or plan to
- [strapi-aws-ec2-deploy](https://github.com/derrickmehaffy/strapi-aws-ec2-deploy) (You are here?)
- [strapi-digitalocean-deploy](https://github.com/derrickmehaffy/strapi-digitalocean-deploy)
- strapi-gcp-deploy (Coming soon)
- [strapi-linode-deploy](https://github.com/derrickmehaffy/strapi-linode-deploy)
- [strapi-vultr-deploy](https://github.com/derrickmehaffy/strapi-vultr-deploy)## License
This entire repo is licensed under [MIT](./LICENSE) and you are free to use it as you please. Do keep in mind that this license does not cover any of the Ansible roles/collections specified in the [requirements](./ansible/requirements.yml) file nor any of the Terraform providers.