This repository contains code and configurations for an End-to-End Text Summarization with AWS Deployment and GitHub Actions.
- Update config.yaml
- Update params.yaml
- Update entity
- Update the configuration manager in src config
- update the conponents
- update the pipeline
- update the main.py
- update the app.py
This repository contains code and configurations for an end-to-end Text Summarization project.
1.Clone the Repository:
git clone https://github.com/entbappy/End-to-end-Text-Summarization
2.Create Conda Environment:
conda create -n summary python=3.8 -y
conda activate summary
3.Install Dependencies:
pip install -r requirements.txt
4.Execute the Application:
python app.py
- Acces the Web Interface:
Open your web browser and navigate to your localhost address (typically http://127.0.0.1:5000 or similar).
- AWS account with IAM user (EC2 and ECR permissions)
- AWS access keys stored as GitHub Secrets
- Build Docker Image: The GitHub Actions workflow builds a Docker image of the application.
- Push Image to ECR: The image is pushed to an AWS Elastic Container Registry (ECR) repository.
- Launch EC2 Instance: A new EC2 instance is launched (or an existing one is used).
- Pull Image from ECR: The Docker image is pulled from ECR to the EC2 instance.
- Run Docker Container: The text summarization application runs within the container on EC2.