Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 1.63 KB

README.md

File metadata and controls

46 lines (29 loc) · 1.63 KB

Guide for Using outline-terraform-aws

This project aims to deploy the Outline Wiki on AWS using Terraform and Ansible. Ensure that you have basic knowledge of AWS and Terraform before proceeding with the steps below.

Setup

Pre-requisite Software Installation

  1. Ensure that Terraform and Ansible are installed on your system.

    # Example command to install Terraform
    sudo apt-get install terraform
    
    # Example command to install Ansible
    sudo apt-get install ansible

Creating the secret.tf File

  1. Refer to secret.tf.demo to create your secret.tf.
    • secret.tf will hold secret variables related to your AWS account.

Build

Running Terraform

  1. Use the following commands to initialize and apply your Terraform configuration.

    terraform init
    terraform apply
  2. After Terraform executes successfully, point your DOMAIN DNS record to the created EIP.

    • For instance, if the EIP is 1.2.3.4, set your example.com A record to 1.2.3.4.

AWS S3 Permissions Setup

  1. Ensure that your S3 Bucket has the correct permissions set. For detailed setup steps, refer here.

References