Skip to content
This repository has been archived by the owner on May 28, 2020. It is now read-only.

ohkeenan/readything

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ready Thing

Ready Thing is a simple shell script to create "productivity suites" with user-friendly administration for websites, emails, file sharing and collaboration.

Created for AWS EC2 Amazon Linux. Documentation is quite rough, sorry! I'm happy to provide any support possible.

  • Administration: Ajenti V
  • Web: NGINX or Apache2
  • Mail: RainLoop
  • Filesharing & Collaboration: NextCloud
  • 99.999999999% durability with Amazon S3

What this script does

  • Create S3 Bucket Label
  • Setup IAM Stuff
    • Roles, Policies & Instance Profile for EC2 to communicate with S3
  • Create EC2 Instance
    • Generate User Data (Initialization script)
      • Install Ajenti (v1 for now - maybe v2 in future)
      • Install S3fs and mount
      • Install MariaDB
      • Install PHP7 (sort of supported by Ajenti with hax)
      • Install NextCloud (file sharing and collaboration)
      • Install RainLoop (mail)
      • More to come...

To do

  • Create initialization routine for fresh AWS account
  • Un-hardcode more stuff
    • Move variables from getopts to "server.conf" with -c GETOPTS to specify
  • Userdata connect to Chef server because:
    • Bash script should be ported to recipes & cookbook
  • Add more checks and get rid of weird workarounds (eg sleeps)
  • LetsEncrypt SSL w/ NGINX
  • Monitoring
  • Mail with SES
  • Integrate SES with sendmail OR
  • Integrate Exim with SES

Notes / FAQ

  • If using a chef server, it must already be configured

Resources used

About

Most of this can be done with chef already, but bash was fun to use!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published