contains workflow for creating ML model CI/CD Deployment using Git Actions, AWS Code Commit & App Runner
To create Virtual Environment:
- python3 -m pip install virtualenv --> incase virtualenv package not available then install it
- virtualenv ~/.venv --> create hidden virtualenv venv
- source ~/.venv/bin/activate --> activate virtualenv
- vim ~/.venv/bin/activate
- vim ~/.bashrc --> shift+g --> source ~/.venv/bin/activate --> permenantly adding virtualenv to bash
- deactivate --> to deactivate virtualenv
To Authorize AWS cloud Shell to connect with this Github Repo:
- can clone through https -> but need to specify username & pwd, else we can opt for ssh
- ssh-keygen --> press enter for default filename & passphrase to generate ssh key
- note: id_rsa file generated and location where saved will be displayed
- cat /home/cloudshell-user/.ssh/id_rsa.pub --> to see the rsa token
- go back to github account --> settings --> SSH & GPG keys --> New ssh key --> save the ssh