Serverless Compute

AWS Cloud Technology and Services Concepts

Alex Kuntz

Head of Cloud Curriculum, DataCamp

Recap traditional compute

 

EC2 Recap:

  • Amazon EC2 is a service that provides compute capacity in the AWS cloud
  • Using EC2 gives higher flexibility and control
  • Variety of EC2 instance types optimized for different workloads

A branched chart highlighting flexibility, control, and special instance types in EC2.

AWS Cloud Technology and Services Concepts

Evolving needs: beyond traditional compute

Today's Demands:

  • Need for modular, microservices architectures

An icon showing microservices architecture

AWS Cloud Technology and Services Concepts

Evolving needs: beyond traditional compute

Today's Demands:

  • Need for modular, microservices architecture

 

  • Rapid scaling capabilities to meet fluctuating demands

An icon showing rapid scaling.

AWS Cloud Technology and Services Concepts

Evolving needs: beyond traditional compute

Today's Demands:

  • Need for modular, microservices architecture

 

  • Rapid scaling capabilities to meet fluctuating demands

 

  • Automated infrastructure management setup without manual interventions

An icon showing automated infrastructure management.

AWS Cloud Technology and Services Concepts

Containers and serverless compute

An icon showing containers.

An icon showing serverless compute.

AWS Cloud Technology and Services Concepts

What are containers?

Containers encapsulate applications and their dependencies, in lightweight singular units

Why containers?

  • Isolate applications from underlying system dependencies

An icon showing isolation.

AWS Cloud Technology and Services Concepts

What are containers?

Containers encapsulate applications and their dependencies, in lightweight singular units

Why containers?

  • Isolate applications from underlying system dependencies
  • Share host OS for efficient resource utilization

An icon showing increased efficiency.

AWS Cloud Technology and Services Concepts

What are containers?

Containers encapsulate applications and their dependencies, in lightweight singular units

Why containers?

  • Isolate applications from underlying system dependencies
  • Share host OS for efficient resource utilization
  • Easily movable and portable across environments

An icon showing portability.

AWS Cloud Technology and Services Concepts

Containers in AWS

 

An icon showing Amazon Elastic Container service and Amazon Elastic Kubernetes service.

  • Easily scale containerized applications up or down
  • Integrate with other AWS services
AWS Cloud Technology and Services Concepts

Amazon ECS

Fully managed service for efficient deployment, management, and scaling of containerized applications

Use cases

  • Deploying and managing microservices-based applications
  • Plan, schedule, and run batch processing workloads across AWS services

A branched diagram highlighting Elastic Container Service support for microservice and batch processing applications.

AWS Cloud Technology and Services Concepts

Amazon EKS

Container orchestration service specializing in running Kubernetes-powered applications

Use cases

  • Pair with EC2 accelerated computing instances to run ML containers
  • Manage clusters and applications in hybrid cloud environments

A branched diagram highlighting Elastic Kubernetes Service support for kubernetes, machine learning, hybrid environment applications.

AWS Cloud Technology and Services Concepts

More forms of compute?

 

An icon showing containers

 

  • Persistent environments

 

  • Predictable workloads

 

  • Resource-intensive applications
AWS Cloud Technology and Services Concepts

More forms of compute?

Event-based compute changes

A flow chart explaining event-driven functions.

Balancing compute for sporadic traffic loads

A flow chart explaining uneven sporadic traffic loads on an application.

AWS Cloud Technology and Services Concepts

Serverless compute

An icon showing serverless compute.

AWS Cloud Technology and Services Concepts

What is serverless architecture?

 

  • No server management: forget about provisioning, scaling, or maintenance

An icon showing no server management.

AWS Cloud Technology and Services Concepts

What is serverless architecture?

 

  • No server management: forget about provisioning, scaling, or maintenance

 

  • Event-driven: functions triggered by events in real-time

An icon showing event-driven application.

AWS Cloud Technology and Services Concepts

What is serverless architecture?

 

  • No server management: forget about provisioning, scaling, or maintenance

 

  • Event-driven: functions triggered by events in real-time

 

  • Cost-efficient: pay only for actual usage, not pre-allocated resources

An icon highlight cost efficiency.

AWS Cloud Technology and Services Concepts

When to use serverless compute?

An icon showing event-driven applications.

An icon showing real-time processing.

An icon showing uneven data bursts.

An icon showing chatbots and voice assistants.

AWS Cloud Technology and Services Concepts

Serverless compute in AWS

An icon showing AWS Lambda.

An icon showing AWS Fargate.

AWS Cloud Technology and Services Concepts

AWS Lambda

  • Run code in response to events without provisioning or managing servers
  • Automated compute scaling capabilities

 

An icon showing a file upload to S3.

AWS Cloud Technology and Services Concepts

AWS Lambda

  • Run code in response to events without provisioning or managing servers
  • Automated compute scaling capabilities

 

A flow chart showing a lambda function triggered after file uploaded to S3.

AWS Cloud Technology and Services Concepts

AWS Lambda

  • Run code in response to events without provisioning or managing servers
  • Automated compute scaling capabilities

 

A flow chart explaining how lambda functions trigger when an event occurs.

AWS Cloud Technology and Services Concepts

AWS Fargate

Streamlines application development by providing serverless compute for containers

Use cases

  • Enable AI and ML applications without the need for excessive server provisioning
  • Batch processing of large datasets with parallel compute capabilities

A branched diagram highlight AWS Fargate capabilities.

AWS Cloud Technology and Services Concepts

Let's practice!

AWS Cloud Technology and Services Concepts

Preparing Video For Download...