Serverless Compute

Concetti di tecnologie e servizi cloud AWS

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.

Concetti di tecnologie e servizi cloud AWS

Evolving needs: beyond traditional compute

Today's Demands:

  • Need for modular, microservices architectures

An icon showing microservices architecture

Concetti di tecnologie e servizi cloud AWS

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.

Concetti di tecnologie e servizi cloud AWS

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.

Concetti di tecnologie e servizi cloud AWS

Containers and serverless compute

An icon showing containers.

An icon showing serverless compute.

Concetti di tecnologie e servizi cloud AWS

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.

Concetti di tecnologie e servizi cloud AWS

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.

Concetti di tecnologie e servizi cloud AWS

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.

Concetti di tecnologie e servizi cloud AWS

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
Concetti di tecnologie e servizi cloud AWS

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.

Concetti di tecnologie e servizi cloud AWS

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.

Concetti di tecnologie e servizi cloud AWS

More forms of compute?

 

An icon showing containers

 

  • Persistent environments

 

  • Predictable workloads

 

  • Resource-intensive applications
Concetti di tecnologie e servizi cloud AWS

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.

Concetti di tecnologie e servizi cloud AWS

Serverless compute

An icon showing serverless compute.

Concetti di tecnologie e servizi cloud AWS

What is serverless architecture?

 

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

An icon showing no server management.

Concetti di tecnologie e servizi cloud AWS

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.

Concetti di tecnologie e servizi cloud AWS

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.

Concetti di tecnologie e servizi cloud AWS

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.

Concetti di tecnologie e servizi cloud AWS

Serverless compute in AWS

An icon showing AWS Lambda.

An icon showing AWS Fargate.

Concetti di tecnologie e servizi cloud AWS

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.

Concetti di tecnologie e servizi cloud AWS

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.

Concetti di tecnologie e servizi cloud AWS

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.

Concetti di tecnologie e servizi cloud AWS

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.

Concetti di tecnologie e servizi cloud AWS

Let's practice!

Concetti di tecnologie e servizi cloud AWS

Preparing Video For Download...