Automate deployment of microservice application using kubernetes
Abstract
When we open any e-commerce app, it seems like a typical website. Still, behind the scene there are many different services like adding cart, browsing product, recommendation product, accepting payment for purchase and tracking of shipment and so on. Traditional architecture like Monolithic architecture has many challenges like inflexible, unreliable, not easily scalable, slow development and blocking continuous development. To overcome these challenges, we are using microservice architecture for an e-commerce app. Microservice Architecture is an architectural style that structures an application as a collection of services that are loosely coupled, independently deployable, highly maintainable and testable. The application is a web-based e-commerce app consist of a 10-tier microservices application where users can browse items, add them to the cart, and purchase them.We used Kubernetes(on top of Docker) as a tool for the deployment of these microservices. We require mainly three things to deploy these microservices as a business use case. For inter-service or process communication, we require a service file for each microservice. A Dockerfile to package microservice as a container image and deployment file to create pods and resource allocation for that service or container.By using Kubernetes, we can deploy this app into any cloud service. We have deployed this app on GCP and AWS .
Collections
- M Tech Dissertations [923]