Skip to content

A Flask-based interactive Tech Quiz web app deployed on AWS EC2. Demonstrates cloud deployment, security groups, Linux server configuration, and web development skills.

Notifications You must be signed in to change notification settings

yokeshbaskaran/aws-ec2-flask-deployment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

EC2 Flask Tech Quiz Game ⁉️

A simple interactive quiz game deployed on an Amazon EC2 instance using a Python Flask backend. Users can answer cloud, Linux, and programming-related multiple-choice questions, making it a great beginner-friendly project to demonstrate EC2 hosting, security groups, Linux configuration, and Flask application deployment.

πŸš€ Features

  • Random Tech Quiz Questions
  • Flask Backend API (/get_question)
  • Interactive Frontend
  • Deployed on AWS EC2
  • Lightweight & Fast

πŸ—οΈ Architecture Overview

User Browser
     β”‚
     β–Ό
Internet (HTTP Request)
     β”‚
     β–Ό
AWS Security Group (Allows Port 5000/80)
     β”‚
     β–Ό
Amazon EC2 Instance (Amazon Linux 2)
     β”‚
     β–Ό
Flask Web Application  (Serves index.html & Provides /get_question API)

πŸ“¦ Project Structure

techquiz/
│── app.py
│── templates/
β”‚     └── index.html
│── static/
      └── style.css (optional)

βš™οΈ How It Works

  1. A user opens the app through the EC2 public IP.
  2. The frontend sends a request to /get_question.
  3. Flask returns a random question + options in JSON format.
  4. User selects an answer β†’ frontend checks correctness.
  5. User can click Next Question to fetch a new one.
  6. All processing happens on the EC2-hosted Flask backend.

πŸ”§ AWS Services Used

  1. Amazon EC2
  2. Security Groups
  3. EC2 Key Pair

πŸ› οΈ Setup Instructions

1. Launch EC2 Instance 2. SSH into EC2 3. Install Dependencies 4. Upload Your Project 5. Run Application 6. Open in Browser

-> Refer to the full documentation for detailed implementation steps.

πŸ“„Documentation: documentation.pdf

🌐 Live Demo (Optional)

Image

About

A Flask-based interactive Tech Quiz web app deployed on AWS EC2. Demonstrates cloud deployment, security groups, Linux server configuration, and web development skills.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published