https://github.com/ankitpatil3003/Text-Summarizer-Project
conda create -n textS python=3.8 -y
conda activate textS
pip install -r requirements.txt
python app.py
Open system local host and port
Author: Ankit Patil Email: ankitpatil3003@gmail.com
with specific access
- EC2 access: It is a virtual machine
- ECR: Elastic Container Registory to save your docker image in AWS
Description: About the deployment
- Build docker image of the scoure code
- Push your docker image to ECR
- Luanch your EC2
- Pull your image from ECR to EC2
- Luanch your docker image in EC2
Policy:
- AmazonEC2ContainerRegistryFullAccess
- AmazonEC2FullAccess
- Save the URI: public.ecr.aws/l7c7f4a9/text-s
optinal sudo apt-get update -y sudo apt-get upgrade required curl -faSL https://get.docker.com -o get-docker.sh sudo sh get-docker.sh sudo udermod -aG docker ubuntu newgrp docker
settings>actions>runner>new self hosted runner> choose os> then run command one by one
AWS_ACCESS_KEY_ID=xxxxxxxxxxxx
AWS_SECRET_ACCESS_KEY=xxxxxxxxxxxxxxxxxxxxxxxxx
AWS_REGION = us-east-1
AWS_ECR_LOGIN_URI = demo>> public.ecr.aws/l7c7f4a9/text-s
ECR_REPOSITORY_NAME = text-s
- Update config.yaml
- Update params.yaml
- Update entity
- Updatethe configuration manager in src config
- Update the components
- Update the pipelinne
- Update the main.py
- Update the app.py