Infrastructure Cost Comparison of Running Web Applications in the Cloud Using AWS Lambda and Monolithic and Microservice Architectures

Large Internet companies like Amazon, Netflix, and LinkedIn are using the microservice architecture pattern to deploy large applications in the cloud as a set of small services that can be developed, tested, deployed, scaled, operated and upgraded independently. However, aside from gaining agility, independent development, and scalability, infrastructure costs are a major concern for companies adopting this pattern. This paper presents a cost comparison of a web application developed and deployed using the same scalable scenarios with three different approaches: 1) a monolithic architecture, 2) a microservice architecture operated by the cloud customer, and 3) a microservice architecture operated by the cloud provider. Test results show that microservices can help reduce infrastructure costs in comparison to standard monolithic architectures. Moreover, the use of services specifically designed to deploy and scale microservices reduces infrastructure costs by 70% or more. Lastly, we also describe the challenges we faced while implementing and deploying microservice applications.

[1]  Mazin S. Yousif,et al.  Microservices , 2016, IEEE Cloud Comput..

[2]  Dan Rahmel Testing a Site with ApacheBench, JMeter, and Selenium , 2013 .

[3]  Rajkumar Buyya Cloud computing: The next revolution in information technology , 2010, 2010 First International Conference On Parallel, Distributed and Grid Computing (PDGC 2010).

[4]  Rebecca Steinert,et al.  Roles of DevOps tools in an automated, dynamic service creation architecture , 2015, 2015 IFIP/IEEE International Symposium on Integrated Network Management (IM).