Code Monkey home page Code Monkey logo

mattbills / dockerizing_credit_risk_assessment_python_flask_web_app_ml_models_deployment_aws_ecr_ecs_fargate_ec2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tech-with-vidhya/dockerizing_credit_risk_assessment_python_flask_web_app_ml_models_deployment_aws_ecr_ecs_fargate_ec2

0.0 0.0 0.0 170 KB

This project covers the implementation of dockerizing a python flask based credit risk assessment calculator web application integrated with two different deep learning and transfer learning based ML models; using Amazon AWS Elastic Container Registry (ECR), AWS Elastic Container Service (ECS) and deployed into both AWS Fargate Cluster and EC2 Inst

Python 39.64% HTML 53.76% Dockerfile 6.61%

dockerizing_credit_risk_assessment_python_flask_web_app_ml_models_deployment_aws_ecr_ecs_fargate_ec2's Introduction

dockerizing_credit_risk_assessment_python_flask_seb_app_ML_models_deployment_AWS_ECR_ECS_Fargate_EC2

This project covers the implementation of dockerizing a python flask based credit risk assessment calculator web application integrated with two different deep learning and transfer learning based ML models; using Amazon AWS Elastic Container Registry (ECR), AWS Elastic Container Service (ECS) and deployed into both AWS Fargate Cluster and EC2 Instance/Cluster.

Calculated a 3-digit credit score of an individual and the percentage of probability of default of the individual are the outcomes of the 2 ML models deployed.

1. GitHub Project Link of the Credit Risk Assessment FinTech Dual Framework E2E Machine Learning Project:

2. Implementation Steps:

  1. Creation of a Docker File for the Python Flask Based Credit Risk Assessment Web Application with 2 Deep Learning Models
  2. Created a new EC2 Ubuntu Server Instance in AWS and copied the web application project’s directories and files into the AWS Ubuntu Server using SFTP linux commands.
  3. Transformation of the Docker File into a Docker Image
  4. Creation of a Docker Repository in AWS using AWS ECR Service
  5. Authentication the Docker User Login Credentials with AWS using AWS Command Line Interface (CLI)
  6. Pushed the Web Application’s Docker Image in to AWS ECR
  7. Creation of the Docker Container in the AWS using AWS ECS Service
  8. Creation of the Task Definition in the AWS ECS Service linked to the Docker Container
  9. Configured the ECS Service Definition, by denoting the replicas of the task definitions to be executed. Enabled Load Balancer feature to manage the incoming load of the web application’s requests and traffic into the AWS Cluster.
  10. Configured the AWS Fargate Cluster to execute the service and the tasks; and deployed the docker based web application into AWS Fargate Cluster.
  11. Alternately; created and configured the AWS EC2 Instance/Cluster. Created Identity and Access Management (IAM) user with role and policies. Executed the ECS tasks; and deployed the docker based web application into AWS EC2 Instance.

3. Tools & Technologies:

Python, Flask, HTML, AWS, EC2, Ubuntu Server, Linux Commands, Command Line Interface (CLI), Docker, ECR, ECS, Fargate, IAM

4. Dual Solution Web Application Implementation Outcomes:

Below is the sample outcome of the dual solution framework embedded into a Flask based Python Web Application for making real-time inferences.


dockerizing_credit_risk_assessment_python_flask_web_app_ml_models_deployment_aws_ecr_ecs_fargate_ec2's People

Contributors

tech-with-vidhya avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.