This repository containes CloudFormation template and Ansible roles for the RTFM blog setup.
You can find post with full decription here (in Russian for now)
This template includes:
- VPC
- PublicSubnet
- Internet Gateway
- EC2 SecurityGroup
- CloudWatchAccessProfile
- Elastic IP
- EC2 instance with two EBS attached
Used to run CloudFormation and roles to install and configure services:
- common (configure EC2 hostname, users etc)
- cloudformation (create or update CloudFormation stack)
- letsencrypt (install client, obtain SSL certificates, add a cronjob for renewal)
- mysql (MariaDB installation, create users/databases etc)
- nginx (install, copy virtual hosts configs etc)
- php-fpm (install, configure FMP-pools)