Skip to content

auroraplatform/deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This repository contains the automated deployment process for Aurora, a data streaming platform designed to process and visualize real-time event streams from Kafka to ClickHouse.

Infrastructure Overview

The platform deploys the following key components:

  • ClickHouse database on EC2
  • Grafana dashboard on EC2
  • Kafka consumer on EC2
  • Aurora web application on EC2 (Docker container)
  • VPC and security groups
  • SSM Parameter Store for configuration

Deployment and Management

The platform uses Terraform to manage infrastructure as code, allowing for consistent, repeatable deployments and easy management of AWS resources.

Prerequisites

Installation

Clone the repository and install dependencies:

git clone <repository-url>
cd deploy
pip install -r requirements.txt

Deploying Infrastructure

To deploy the infrastructure, run:

./deploy.sh

This script will:

  1. Initialize and apply Terraform configuration
  2. Deploy all EC2 instances and networking
  3. Run post-deployment configuration scripts
  4. Provide access URLs for all services

Accessing Services

After deployment, you can access:

  • Aurora web app: http://<web-app-ip>:8000
  • Grafana dashboard: http://<grafana-ip>:3000
  • ClickHouse: <clickhouse-ip>:8123

Destroying Infrastructure

To tear down the infrastructure, run:

./destroy.sh

This script will:

  1. Use Terraform to destroy all resources
  2. Clean up local state files

Note: Destroying the infrastructure will remove all related resources and data. This action cannot be undone, so please use with caution.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors