Skip to content

hdthinh1012/microservice-kubernetes-video-to-mp3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microservice Video-to-Mp3 converter with Kubernetes, RabbitMQ Flask Python, MySQL, MongoDB

Overview

The project consists of 5 different service

  • Gateway (Python)
  • Auth (Python)
  • Video-to-Mp3 Converter (Python)
  • Notification (Python)
  • RabbitMQ

Setup

Python services virtual env

Change directory to each of Python service folder (auth,gateway,converter,notification), then run commands to create virtual environment and install dependency

python -m venv venv
.\venv\bin\Activate.ps1
pip install -r requirements.txt

Deploy local Kubernetes

Install these dependency

  • kubectl (K8s CLI tool to interact with Kubernetes API)
  • K9s (K8s Management GUI)
  • minikube (Local Kubernetes Instance Container)
  • AWS CLI
  • AWS Tools for Powershell (ECR module)
  • MySQL 8.

Setup MySQL

The auth service pod will interact with MySQL running local machine host (native) Change directory to auth and execute init.sql

mysql -u root -e "source init.sql"

Deployment

Start minikube

minikube start

Execute script

.\deployment\StartDeploy.ps1

Guide

The project is built initially based on FreeCodeCamp guide for Microservice & Kubernetes video

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published