Instructor: Alexey Grigorev
Note: You don't have to rent an instance in the cloud. You can follow the same instructions for setting up your local environment.
Code:
Recommended development environment: Linux
wget https://repo.anaconda.com/archive/Anaconda3-2022.05-Linux-x86_64.sh
bash Anaconda3-2022.05-Linux-x86_64.shsudo apt updatesudo apt install docker.ioTo run docker without sudo:
sudo groupadd docker
sudo usermod -aG docker $USERInstall docker-compose in a separate directory
mkdir soft
cd softTo get the latest release of Docker Compose, go to https://github.com/docker/compose and download the release for your OS.
wget https://github.com/docker/compose/releases/download/v2.5.0/docker-compose-linux-x86_64 -O docker-composeMake it executable
chmod +x docker-composeAdd to the soft directory to PATH. Open the .bashrc file with nano:
nano ~/.bashrcIn .bashrc, add the following line:
export PATH="${HOME}/soft:${PATH}"Save it and run the following to make sure the changes are applied:
source .bashrcdocker run hello-worldIf you get docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/create": dial unix /var/run/docker.sock: connect: permission denied. error, restart your VM instance.
Note: If you get It is required that your private key files are NOT accessible by others. This private key will be ignored. error, you should change permits on the downloaded file to protect your private key:
chmod 400 name-of-your-private-key-file.pemNote: The NYC taxi data is now in parquet format, not CSV. Here's a video that explains how to read parquet data.
Links:
Links:
More information here: homework.md
Did you take notes? Add them here:
- Local MacOS envprep by Adetbekov
- Environment Setup by Ayoub
- Intro, Environment Setup, and MLOps Maturity Models by Bala
- GCP Environment Setup by Piyush
- Microsoft Azure Environment Setup by Olaide
- Environment Preparation using GCP and pyenv by Dani
- Useful links by Zioalex
- Notes by Alvaro Navas
- Cloud server setup using Deploifai (on AWS, Azure, or GCP) by 98sean98
- Notes from first lesson by Neimv
- Notes for Week 1 by Ron Medina
- Notes by Francisco Delca (environment: local ubuntu + virtualvenv)
- What is MLOps? - Non-technical intro by Lorenz
- Notes for Week1 by Bhagabat
- What is MLOps? - Storytime by Pathik Ghugare
- Send a PR, add your notes above this line