Serverless vs EC2 vs Containers: A Comparative Study

Serverless vs EC2 vs Containers: A Comparative Study

By Flux7 Labs
January 17, 2020

If you are looking for a Cloud Service framework for your business needs, then you have likely come across the terms Serverless, EC2, and Containers. While definitely related, they have unique differences that should be taken into consideration when considering your next project. As a result, the IT consulting services team has created a new resource in which compare and contrast for you the different models developers can choose from when deploying virtual infrastructure and applications.

Specifically, in the paper we discuss the advantages and disadvantages of the serverless (sometimes referred to as Function-as-a-Service or FaaS) execution model, Amazon’s Elastic Compute Cloud (EC2) virtual cloud infrastructure service, and containers. 


While Serverless is clearly gaining buzz and traction in the industry, it’s important to understand what it is, what it isn’t and how to identify ideal situations for using the technology. As a result, we also share several ideal serverless use cases in the paper including: 


Serverless Websites, Serverless Applications and/or Microservices

Continuous Integration and Continuous Deployment (CI/CD) Pipelines

Image and Video Manipulation


Last, we share the story of how automotive manufacturer implemented AWS Lambda serverless and AWS Step Functions to create accounts automatically. 


There is no doubt that a serverless approach offers appealing benefits to software teams and customers, but it’s not necessarily a fit for every deployment scenario. So before making a decision on a serverless deployment, EC2 or Containers, read our Comparative Study and reach out to our IT services consulting team for additional answers.


Interested in diving deeper, learning more about serverless technology, ideal serverless use cases and how to apply serverless in your next project? Don’t miss our additional serverless resources:

Technology is always changing. Stay in the loop with the Flux7 Blog

Written by Flux7 Labs

Flux7, an NTT DATA Company, is the only Sherpa on the DevOps journey that assesses, designs, and teaches while implementing a holistic solution for its enterprise customers, thus giving its clients the skills needed to manage and expand on the technology moving forward. Not a reseller or an MSP, Flux7 recommendations are 100% focused on customer requirements and creating the most efficient infrastructure possible that automates operations, streamlines and enhances development, and supports specific business goals.