This repo contains the infrastructure to host Airbyte with basic HTTP Authentication using Nginx Reverse Proxy.
This infrastructure assumes you have already created a Route 53 Hosted Zone with a ACM certification for that domain. If you have not:
- register a domain on Route 53
- register a cert for both
www.<domain>.comand<domain>.comvia AWS Certificate Manager - create CNAME records according to your certs on your hosted zone
- create 2 A records for both
www.<domain>.comand<domain>.compointing to your ALB after configuring Airbyte according to this repo
This infrastructure also assumes that you have configured a vpc with at least 2 public and private subnets. If you have not done so, configure the following infrastructure first.
- Listens on port 443 using HTTPS and forwards traffic to port 80 on the EC2
- Runs an nginx docker container on airbyte's docker network that forwards host traffic from port 80 to container port 8080
- Uses nginx to listen to port 8080 on the container, check credentials against a basic auth file, and forward to
http://webapp:80/, the airbyte web app container - Runs multiple airbyte containers per its docker-compose file
