Skip to content

A fully cloud native Image Uploader, Processor, and Gallery Web Application

Notifications You must be signed in to change notification settings

tarungidwani/Cloud_Native_Img_Gallery_Web_App

Repository files navigation

Cloud Native Gallery Web App

##Prerequisites

  • System running Ubuntu 16.04 LTS on a physical or virtual machine
    • The deployment scripts have been tailored and tested to work on a Ubuntu 16.04 LTS system
  • AWS Command Line Interface installed and configured with:
    • Credentials of an AWS account that has access to AWS IAM Roles
    • Default region to be us-west-2
  • Create an EC2 Key Pair, if one does not exist already
    • Allows ssh login access to the EC2 instances that host the web-app
  • Create an IAM Role with the PowerUserAccess policy set
    • Enable the web-app to interact with AWS and thereby eliminating the need to hardcode credentials in the source or store them in config files across multiple servers

##Adding Subscribers

  • This web-app uses AWS's SNS to send out email notifications to all of its subscribed users
  • To add more subscribers: Enter valid email addresses of users into the data/subscriber_email_addresses.txt file
    • Note: Make additions before running the deploy web-app script as the users are subscribed to SNS as part of the deployment process

##Deploy Instructions

  1. Clone this repository: Cloud-Based-Gallery-Web-App onto your Ubuntu 16.04 LTS system

  2. Change directory (cd) into this repository's directory

  3. Run script: setup-web-app.sh

    ./setup-web-app.sh "<key-name>" "<iam-profile-name>"

    • Replace <key-name> with the name of a valid EC2 Key Pair
    • Replace <iam-profile-name> with the name of a valid IAM profile that has the PowerUserAccess policy set

##Usage

Once the web-app deployment script has completed successfully:

  1. Users will receive an email at the email address associated with their account. In order to receive any email notifications from the web-app, users must first:

    • Go to their email's inbox
    • Click or search for an email from Gallery_Img_Job_Notifier and
    • Click on the confirm subscription link inside that email to begin receiving email notifications from the web-app
  2. The deployment script will display an URL to access the web-app

    • Note: An additional 10-25 mins wait time might be required for the web-app to become available
  3. Visit said URL and Login to the web-app

####Login Credentials

* Name:     Jeremy Hajek
* Username: hajek@iit.edu
* Password: LetMeInJeremy

* Name:     Admin
* Username: controller
* Password: LetMeInController

##Contact

  • Please feel free to contact the author with any questions, concerns and/or feedback

About

A fully cloud native Image Uploader, Processor, and Gallery Web Application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published