kubernetes-microservice-app

Docker Deployment for Web Server Docker Deployment for Result Server

Microservice Architecture for Python Flask Phonebook Web Application with MySQL using Kubernetes

Description

Phonebook Microservice Web Application aims to create a web application with MySQL Database using Docker and Kubernetes to have the understanding of Microservice architecture. In this application, we have a frontend service and a backend service to interact with database service. Each service will be managed by a Kubernetes deployment. The backend service will be a gateway for the application and it will serve the necessary web pages for create, delete and update operations while the frontend service will serve a search page in order to conduct read operations. To preserve the data in the database, persistent volume and persistent volume claim concepts should be adopted.

Project Architecture

Project

Case Study Details

Field Description
id Unique identifier for records, data type is integer and it will be auto increment
name Name of record, data type is string
number Phone number belonging to the recorded person
HTTP Method Action Example
GET Read the records http://[ec2-hostname]:30001/
POST Create a new record http://[ec2-hostname]:30001/add
POST Update an existing record http://[ec2-hostname]:30001/update
POST Delete an existing record http://[ec2-hostname]:30001/delete
POST Delete a resource http://[ec2-hostname]:30002
    1. CREATE-DELETE-UPDATE DEPLOYMENT
    1. CREATE/DELETE/UPDATE SERVICE
    1. SEARCH DEPLOYMENT
    1. SEARCH SERVICE
    1. DATABASE DEPLOYMENT
    1. DATABASE SERVICE
    1. Persistent Volume
    1. Kubernetes Environment

DockerHub Repository

DockerHub

DockerHub

At the end of the project, following topics are to be covered;

At the end of the project, you will be able to;

Resources