A serverless framework is an event-driven, ephemeral and stateless cloud-based architecture that dynamically allocates machine resources.