aminhbl / cloud-computing

A URL Shortener with MySQL database, containerized with Docker and deployed on Minikube.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


URL Shortener

Final project of Cloud Computing course.


Overview

A URL Shortener server with a MySQL database, containerized using Dockerfile and deployed on a Minikube cluster.

Server

Developed using flask, given any URL creates the shortened form for it and stores that URL with it's short form in a MySQL database for a limited time. The server has been containerized using multi-stage build Dockerfile and uploaded to DockerHub. We use the mysql:8.0.28 image for deployment of MySQL database.

Deployment

Using .yaml files within deployment folder we are able to run this project on a minikube cluster, where we have a pod for our database with it's own claimed persistent volume and two replicated pods for our url-shortener server. Later we will use db-statefullset.yaml to deploy our database.

About

A URL Shortener with MySQL database, containerized with Docker and deployed on Minikube.


Languages

Language:Python 59.6%Language:Smarty 34.3%Language:Dockerfile 6.1%