Skip to content

Create infrastructure in AWS : EC2, ElastiCache, Lambda...

Notifications You must be signed in to change notification settings

ETIBER/AWS-BBL-Infra

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cat VS Dog Voting App

This repository contain the Terraform deployment implementation in AWS for the voting application

Getting started

SET VARIABLES

Copy aws_template.sh with your own variables

RUN Terraform

  • source aws_template0.sh
  • ./topology.sh {plan|apply|destroy} /your/repo

Architecture

Architecture diagram

  • A Python webapp which lets you vote between two options
  • A Redis queue which collects new votes
  • A Python worker (designed for lambda) which consumes votes and stores them in…
  • A Postgres database backed by a Docker volume
  • A Node.js webapp which shows the results of the voting in real time

Note

The voting application only accepts one vote per client. It does not register votes if a vote has already been submitted from a client.

About

Create infrastructure in AWS : EC2, ElastiCache, Lambda...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 65.3%
  • Shell 34.7%