base cloud provisioning for newtype.institute

Ryan d795f68818 Use my own image instead of the upstream 1 year ago
roles d795f68818 Use my own image instead of the upstream 1 year ago
vars f6858e98b2 Get mastodon to the point where it can start up 1 year ago
.gitignore 74a5ffbdce Initial commit 1 year ago
LICENSE 74a5ffbdce Initial commit 1 year ago
README.org ca32126231 Readme as org-mode 1 year ago
cloud-env.yml 9acd62fa29 Put the app instances behind a load balance 1 year ago
inventory-prod 69f3ca5850 WIP for the instance configuration 1 year ago
mastodon.yml fd2b1aa805 Add cadvisor and node-exporter to the host 1 year ago
vault.yml 8dc2f5f583 Add SMTP auth details 1 year ago

README.org

Ansible for Mastodon on AWS

(All of this applies to when this is done)

This will install Mastodon on a number of AWS EC2 instance, after creating a VPC and RDS, putting the instances behind a single load-balancer that you can point a domain name at.

Running

  • sign up for AWS, create an access token for your user, and write a boto configuration file.
  • replace the vault.yml file with a file that provides the following variables:
  • =ansible_vault_rds_master_password=: a random password for your rds master user
  • =ansible_vault_rds_master_username=: your rds master user's name
  • run ansible-playbook -i inventory-prod cloud-env.yml
  • run ansible-playbook -i inventory-prod mastodon.yml