-
Project1 : EDOCManager
-
University Name : http://www.sjsu.edu/
-
Course : Cloud Technologies
-
Professor : Sanjay Garje
EDOCManager can manage your documents anywhere and anytime in the world. We manage your documents with higly secured technologies. We neet availabilit of 99.99% for your documents. EDOCManager deployed on AWS and using thier highly secure technologies to meet the security requirement for customer documents. For availability, EDOCManager is using S3 cross region replication and documents can be accesed for 2 years. However, this policy can be chaged based on customer requirement. EDOCManager provides fast access to your documents and allows you to upload/download/delete and update your document within no time. The application uses AWS SNS , cloudwatch and lambda to monitor the activities on your document. App health is being monitored using SNS and cloudwatch. AWS lambda function create log if there is any file upload by a user to keep a track of put activities. To meet the load requirements, we are using AWS autoscale functionality to double the capacity if load increases without any downtime. It can be further increased based on requirements.
- User can create their account in EDOCManager and passwords are encrypted and securely stored in AWS DynamoDB. AWS DynamoDB provides HA in 3 AWS AZs.
- Users can access their data only on overy SSL layers
- EDOCMnager application is registered with Twitter. User can login using their EDOCManager credentials or Twitter login.
- User can visit website home page to know about the website.
- Autorized users can login to their account and manage their data.
- Users can upload the document to AWS S3
- Download the document from AWS S3
- Delete the document from AWS S3
- Review account details
- Logout securely
- Elasticbeans based application is been created for Development and production server.
- Autoscale group i.e. capacity number is set min=2 to max=4 for both Dev and Test.
- AWS S3 bucket is created without any public access.
- Files will move to Standard IA after 75 days
- Amazon Glacier is used for archiving and users document will moved to Amazon glacier after 365 days.
- Cloudfront is been configured to download the files.
- CloudWatch will monitor application health and mail will be send to admin if their is any problem in application availability. Mail will be send using SNS.
- SNS is sued to send notification to the admin if EDOCManager has any helth issue.
- Route53 is been configured to redirect all the requests to classic load balancer. All the traffic will be redirected to https://www.cellinfra.com
- Lambda function is created in python to update cloudwatch is their is any put request on S3 bucket. This wil help in monitoring the workload.
- AWS DynamoDB is used to store users credentials and for user management.
- AWS Codepipeline is used for stage and deploy.
- Developers will develop application on staging server at their premise
- Upload changes to github
- AWS Development code pipeline is associated with Github development branch
- Any changes detected by AWS code pipeline will be commited to AWS code repo and pushed to development box
- Developers test the application
- Once developers complete the testing, they can push the changes to master branch in github
- AWS Prod code pipeline will detect the changes in master branch and will make deploy the code on prod server
- Classic load balancer is been used to redirect the requests.
- Tools requirement: Python 2.7 with flask, Users table in DynamoDB with User_name (partition Key) and Emailid (sort key). Rest of the atributes created by EDocmanager.
- Create a virtual env based python 2.7
- Install packages using requirement.txt
- Run the application python application.py
- Access the app on http://127.0.0.1:5000/