Kubernetes is a compact, extensible, open-source stage for overseeing containerized responsibilities and administrations, that works with both decisive setup and robotization. Kubernetes is like VMs, however having loosened up isolation properties to share the Operating System (OS) among the applications. The container conversely with VM, has its own document framework, a portion of Central Processing Unit(CPU), memory, process space, and much more. Kubernetes cluster is a bunch of node machines for running containerized applications. Each cluster contains a control plane and at least one node. Infrastructure Optimization is the process of analyzing and arranging the portion of cloud resources that power applications and workloads to augment the presentation and limit squander due to over-provisioning. In the paper, a “Movie Review System” web application is designed using GoLang for backend components and HTML, CSS, and JS for frontend components. Using AWS, an EC2 instance is created and the web application is deployed onto EC2 and hosted in the instance server. The web application is also deployed on Kubernetes locally using the MiniKube tool. A performance analysis is performed for both the deployments on considering common performance metrics for both AWS EC2 / Virtual Machine (VM) and Kubernetes.