Are you sure you want to delete this access key?
Legend |
---|
DVC Managed File |
Git Managed File |
Metric |
Stage File |
External File |
Legend |
---|
DVC Managed File |
Git Managed File |
Metric |
Stage File |
External File |
git pull
export MLFLOW_TRACKING_URI=https://dagshub.com/pachpandemahesh300/Kidney_Disease.mlflow
export MLFLOW_TRACKING_USERNAME=pachpandemahesh300
export MLFLOW_TRACKING_PASSWORD=9f73334e82cb0e1dc7693e6eed2b0827c86e8db9
- git add dvc.lock
- dvc config core.autostage true
dvc push
to send your updates to remote storage.EC2 access : It is virtual machine
ECR: Elastic Container registry to save your docker image in aws
####Description: About the deployment
Build docker image of the source code
Push your docker image to ECR
Launch Your EC2
Pull Your image from ECR in EC2
Lauch your docker image in EC2
####Policy:
AmazonEC2ContainerRegistryFullAccess
AmazonEC2FullAccess
Create ECR repo to store/save docker image
sudo apt-get update -y
sudo apt-get upgrade
####required
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo usermod -aG docker ubuntu
newgrp docker 6. Configure EC2 as self-hosted runner: setting>actions>runner>new self hosted runner> choose os> then run command one by one 7. Setup github secrets:
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_REGION = us-east-1
AWS_ECR_LOGIN_URI = demo>> 566373416292.dkr.ecr.ap-south-1.amazonaws.com
ECR_REPOSITORY_NAME = simple-app
Press p or to see the previous file or, n or to see the next file
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?