eashman / ansible-ec2-wordpress

Deploy fresh instance of Wordpress on EC2 using Ansible playbook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ansible -> EC2 -> Wordpress (on AMP stack)

Deploy fresh instance of Wordpress on EC2 instance using Ansible playbooks

Please remember about setting these environmental variables for AWS authentication (or use boto config):

  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY

Don't forget about changing your keypair and security groups as these are currently not generated automatically.

How to run: ansible-playbook --private-key="~/.ssh/your_key.pem" site.yml

TODO:

  • Configure own domain
  • Auto-generate keypair for ssh access
  • Create security group
  • Host based firewall
  • Seperate web proxy, app and DB tiers in separate VPC subnets.
  • Scale automatically, and split across AZs for resilience.

About

Deploy fresh instance of Wordpress on EC2 using Ansible playbook

License:MIT License