Skip to content

Configures custom infrastructure for Nextcloud on AWS

Notifications You must be signed in to change notification settings

chrisayoub/Nextcloud-AWS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Nextcloud-AWS

This repo includes Terraform files and a deploy script to get a running instance of Nextcloud on AWS, including automatic regular snapshots and DNS.

Motivations

I am skeptical of the security of Dropbox, the service I previously used for cloud file-syncing. Plus, they dropped support for encrypted ext4 partitions on Linux.

Guide

  • Verify there is a SSH key ~/.ssh/id_rsa.pub
  • cd tf && terraform init && terraform apply
  • Update NS values in Namecheap with the outputs
  • SSH into the created instance at the given domain
  • Export environment variables for email and domain
  • Run the commands in install.sh
  • Setup admin account by visiting the domain
  • Configure 2FA for admin under settings
  • Configure email server under Administration -> Additional settings
    • SMTP info from AWS SES (us-east-1, N. Virgina)
    • Add own email address as verified
  • Visit www subdomain and add as trusted domain
  • Done! Add any app tokens to connect clients

About

Configures custom infrastructure for Nextcloud on AWS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published