Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Latest commit

 

History

History
31 lines (20 loc) · 901 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 901 Bytes

Connecting Chartio to a Database Within an Amazon VPC

This repo accompanies the tutorial found here.

Architecture

Note: Egress rules will not be exactly as depicted due to this Terraform issue.

Requirements

Terraform v0.3.7

Usage

terraform apply

ssh ubuntu@<EC2_PUBLIC_IP>

# Create a table so Chartio has something to reflect.
sudo apt-get update
sudo apt-get install -y postgresql-client
psql -h <RDS_HOSTNAME> -p 5432 -d chartio -U chartio -c "CREATE TABLE foo(id int);" # password: chartiovpc

# Install and setup the Connection Client
sudo apt-get install -y python-pip
sudo pip install chartio
chartio_setup