Skip to content

afreenalam198/aws-flask-interactive-webapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloud Computing Project 2: Interactive Web Application on AWS

Overview

This project demonstrates the deployment of an interactive web application on an Amazon EC2 instance using Flask, SQLite3, and Apache.
The application allows users to register, log in, view personal information, and interact with a file upload/download feature.

Project Requirements and Implementation

This project fulfills the following requirements:

  1. EC2 Instance Launch:

    • Set up my AWS portal.
    • Launched an EC2 instance.
    • Used Ubuntu Server 24.04 LTS as Amazon Machine Image (AMI).
    • Created a key pair for login and set up network and storage settings.
  2. Web Server and Database Configuration:

    • Connected to the instance via SSH.
    • Configured Apache web server to serve the Flask application using mod_wsgi.
    • Set up SQLite3 database to store user data.
  3. Interactive Web Page Design:

    • The interactive web page implements the following functionalities:

    • a. Registration Page:

      • Allows users to register with their first name, last name, email, address, username and password.
      • Includes a button to upload a text file.
      • Data is securely stored in the SQLite3 database using password hashing with bcrypt.
        Screenshot 2025-02-15 at 2 28 30 AM
    • b. User Profile Page:

      • Redirects to the user profile page after successful registration form submission.
      • Displays the user information entered during registration.
      • If the user uploaded a file during registration, it displays the word count from the uploaded file on this page
        and provides a button to download the uploaded file.
      • Includes a log out button which redirects the user back to the log in page.
      • Session handling is used for user authentication and maintaining user states. Screenshot 2025-02-15 at 2 33 23 AM Screenshot 2025-02-18 at 7 22 45 PM
    • c. Log in Page:

      • Allows users to log in using their username and password.
      • Retrieves and displays user information upon successful login. Screenshot 2025-02-15 at 2 24 45 AM

AWS URL

The web application is accessible at the following URL:

Technologies Used:

  • Amazon EC2
  • Apache
  • mod_wsgi
  • Flask
  • SQLite3
  • Python
  • HTML
  • CSS

About

Interactive Web Application on AWS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published