This script will prepare a Linux server on AWS to be used with EspoCRM and/or other web apps. https://github.com/espocrm/espocrm
What this will do:
- Deploy the AWS instance with a Linux system of your choice
- Add swap, mc, htop
- Install required dependencies to run EspoCRM (Apache, PHP (8.1), MariaDB (10.5.10), phpMyAdmin with whitelisted ip address of your choice)
- Configure web folder, logs, etc
- Pull an available IP address from existing ipv4 pool
Usually it takes ~8 minutes to complete. Webfolder: /web
#This script was provided AS-IS, no warranties, I would really appreciate your own commits
#How to use
- Navigate to cloudformation
- Select designer, copy/paste the .yml code directly or
- Use your S3 bucket/URL
- Start your stack, AWS will ask you basic questions like DB username, password, favicon, etc
- Wait for resources to deploy
- When completed, copy public IP address, set up your DNS
- SSH to your server, and run 'certbot' to issue a certificate
#Known todos (feel free to add)
Add backups to S3
Add EspoCRM websocket support
Add fail2ban