SlideShare a Scribd company logo
AWS Lambda
Containers
Bridging the Gap
between
Serverless and
Containers once
and for all
24/02/2021 Serverless Meetup Sydney
Yun Zhi Lin
Partner - Deloitte Platform Engineering
About Me
Yun = Cloud ไบ‘
Partner at Deloitte Platform
Engineering
Serverless First since 2016
Author of serverless-golang
and 2018 lambda benchmarks
@yunzhilin
@mrserveless
What people think I do: What I really do:
Agenda
โ€ข Tell me why?
โ€ข Implementation/Migration
โ€ข Pitfalls to watch for
โ€ข Make containers great again!
Tell me Why?
Arenโ€™t nothing
but a Container
Time for a Poll!
โ€ข Do you use serverless technologies in anger in Production?
โ€ข Do you use containers in anger in Production?
NEW FLASH: As of 9/2/2021, Lambda Container Image support is
available in Sydney region!
Serverless vs
Container Debates
Are mostly debating:
Function as a Service (FaaS)
vs
Kubernetes Orchestration
Serverless != FaaS
donโ€™t pay for it if no
one uses it
(except storage)
Donโ€™t need to worry
about scaling (up or
down)
Donโ€™t need to
provision and manage
servers
DynamoDB
Amazon S3
AWS Amplify
Lex
Lambda
Containers != Kubernetes
Itโ€™s just a standardised way to package up immutable artefacts
Serverless
Containers
make good
sense
Immutable infrastructure
Portability
FinOps billing paradigm
Implementation
and
Migration
Anatomy of a Lambda Container
Use AWS Base Image Migrate Your Own Base Image
Source Files
Deps Source Files
Deps
Runtime Interface
Client (RIC)
ENTRYPOINT
ENTRYPOINT
Runtime Interface
Emulatior (RIE)
Demo Time
Code is here: serverlesscloud/serverless-
containers (github.com)
Serverless and SAM
Java, Node, Golang
Build, Local Run, Deploy
Pitfalls to watch
out for
Bug or Features,
these require
some attention
Whatโ€™s wrong this architecture?
Dev Account
UAT Account
Prod Account
Dev Lambda
UAT Lambda
Prod Lambda
Dev ECR
UAT ECR
Prod ECR
IMG:v1
IMG:v1
IMG:v1
Should be more like this right?
Platform Shared Services
Dev Account Prod Account
UAT Lambda Prod Lambda
Central ECR
IMG:v1
Dev Lambda
UAT Account
IMG:v1 IMG:v1
But cross account ECR access isnโ€™t allowedโ€ฆ yet
Similar Serverless Container Offerings
Google Cloud Run Azure Functions on Kubernetes
Tooling Comparison
Functionality Serverless Framework SAM
Scaffolding No Container templates as of v2.25.2 Yes
AWS SSO No Add support for AWS CLI v2 SSO
profiles ยท Issue #7567 ยท
serverless/serverless (github.com)
Yes
Local Run No โ€“ work around with docker run sam local invoke
sam local start-api
Docker build wrapper No โ€“ but thatโ€™s good! Yes via sam build โ€“ but why?
Deploy Lambda type =
Image
Yes Yes
Make Containers Great
Again!
Serverless First is
even easier with
Container
Portability!
And App
Modernisation is
more Streamlined
Remember
Serverless + Containers gives new meaning to
Serverless First and Legacy App Migration
Serverless + Containers brings new Developer
Experience
Serverless != FaaS
Containers != Kubernetes
Code and
References
โ€ข GitHub - serverlesscloud/serverless-containers
โ€ข Using container image support for AWS Lambda with AWS
SAM | AWS Compute Blog (amazon.com)
โ€ข Packaging AWS Lambda functions as container images | A
Cloud Guru
โ€ข AWS Lambda runtime API - AWS Lambda (amazon.com)
โ€ข https://github.com/aws/aws-lambda-python-runtime-
interface-client
โ€ข https://github.com/aws/aws-lambda-runtime-interface-
emulator/
Thank You
Ad

More Related Content

What's hot (17)

AWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 mins
AWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 minsAWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 mins
AWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 mins
AWS User Group - Thailand
ย 
AWS Serverless Introduction (Lambda)
AWS Serverless Introduction (Lambda)AWS Serverless Introduction (Lambda)
AWS Serverless Introduction (Lambda)
Ashish Kushwaha
ย 
Artificial Intelligence & Machine learning foundation topic in AWS
Artificial Intelligence & Machine learning foundation topic in AWS Artificial Intelligence & Machine learning foundation topic in AWS
Artificial Intelligence & Machine learning foundation topic in AWS
Varun Manik
ย 
Serverless Architecture
Serverless ArchitectureServerless Architecture
Serverless Architecture
Michaล‚ Kurzeja
ย 
AWS Amplify
AWS AmplifyAWS Amplify
AWS Amplify
AWS Riyadh User Group
ย 
AWS Container services
AWS Container servicesAWS Container services
AWS Container services
Aleksandr Maklakov
ย 
Scaling your web app horizontally and vertically (ahmedabad amazon aws cloud...
Scaling your web app  horizontally and vertically (ahmedabad amazon aws cloud...Scaling your web app  horizontally and vertically (ahmedabad amazon aws cloud...
Scaling your web app horizontally and vertically (ahmedabad amazon aws cloud...
Jhalak Modi
ย 
AWS Community Day Bangkok 2019 - DevOps Cost Reduction using Jenkins & AWS Sp...
AWS Community Day Bangkok 2019 - DevOps Cost Reduction using Jenkins & AWS Sp...AWS Community Day Bangkok 2019 - DevOps Cost Reduction using Jenkins & AWS Sp...
AWS Community Day Bangkok 2019 - DevOps Cost Reduction using Jenkins & AWS Sp...
AWS User Group - Thailand
ย 
Building A Dynamic Website - 31st Jan 2015
Building A Dynamic Website - 31st Jan 2015Building A Dynamic Website - 31st Jan 2015
Building A Dynamic Website - 31st Jan 2015
Jhalak Modi
ย 
Serverless computing with AWS Lambda
Serverless computing with AWS Lambda Serverless computing with AWS Lambda
Serverless computing with AWS Lambda
Apigee | Google Cloud
ย 
Meeyup aws-loadbalancing-28032015
Meeyup aws-loadbalancing-28032015Meeyup aws-loadbalancing-28032015
Meeyup aws-loadbalancing-28032015
Jhalak Modi
ย 
Serverless computing
Serverless computingServerless computing
Serverless computing
Om Vikram Thapa
ย 
Serverless Architecture
Serverless ArchitectureServerless Architecture
Serverless Architecture
Elana Krasner
ย 
Integrating API Gateway and internal ELB
Integrating API Gateway and internal ELBIntegrating API Gateway and internal ELB
Integrating API Gateway and internal ELB
Juan Diaz
ย 
AWS Lambda
AWS LambdaAWS Lambda
AWS Lambda
Julian Kleinhans
ย 
Introduction to Serverless
Introduction to ServerlessIntroduction to Serverless
Introduction to Serverless
Nikolaus Graf
ย 
ๅพžๅŠๅฎ—ๅˆฐๆฐฃๅฎ— ๏ผ ่ซ‡AWS ECS่ˆ‡Serverlessๆœ€ไฝณๅฏฆ่ธ
ๅพžๅŠๅฎ—ๅˆฐๆฐฃๅฎ—  ๏ผ ่ซ‡AWS ECS่ˆ‡Serverlessๆœ€ไฝณๅฏฆ่ธๅพžๅŠๅฎ—ๅˆฐๆฐฃๅฎ—  ๏ผ ่ซ‡AWS ECS่ˆ‡Serverlessๆœ€ไฝณๅฏฆ่ธ
ๅพžๅŠๅฎ—ๅˆฐๆฐฃๅฎ— ๏ผ ่ซ‡AWS ECS่ˆ‡Serverlessๆœ€ไฝณๅฏฆ่ธ
Pahud Hsieh
ย 
AWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 mins
AWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 minsAWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 mins
AWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 mins
AWS User Group - Thailand
ย 
AWS Serverless Introduction (Lambda)
AWS Serverless Introduction (Lambda)AWS Serverless Introduction (Lambda)
AWS Serverless Introduction (Lambda)
Ashish Kushwaha
ย 
Artificial Intelligence & Machine learning foundation topic in AWS
Artificial Intelligence & Machine learning foundation topic in AWS Artificial Intelligence & Machine learning foundation topic in AWS
Artificial Intelligence & Machine learning foundation topic in AWS
Varun Manik
ย 
Serverless Architecture
Serverless ArchitectureServerless Architecture
Serverless Architecture
Michaล‚ Kurzeja
ย 
AWS Container services
AWS Container servicesAWS Container services
AWS Container services
Aleksandr Maklakov
ย 
Scaling your web app horizontally and vertically (ahmedabad amazon aws cloud...
Scaling your web app  horizontally and vertically (ahmedabad amazon aws cloud...Scaling your web app  horizontally and vertically (ahmedabad amazon aws cloud...
Scaling your web app horizontally and vertically (ahmedabad amazon aws cloud...
Jhalak Modi
ย 
AWS Community Day Bangkok 2019 - DevOps Cost Reduction using Jenkins & AWS Sp...
AWS Community Day Bangkok 2019 - DevOps Cost Reduction using Jenkins & AWS Sp...AWS Community Day Bangkok 2019 - DevOps Cost Reduction using Jenkins & AWS Sp...
AWS Community Day Bangkok 2019 - DevOps Cost Reduction using Jenkins & AWS Sp...
AWS User Group - Thailand
ย 
Building A Dynamic Website - 31st Jan 2015
Building A Dynamic Website - 31st Jan 2015Building A Dynamic Website - 31st Jan 2015
Building A Dynamic Website - 31st Jan 2015
Jhalak Modi
ย 
Serverless computing with AWS Lambda
Serverless computing with AWS Lambda Serverless computing with AWS Lambda
Serverless computing with AWS Lambda
Apigee | Google Cloud
ย 
Meeyup aws-loadbalancing-28032015
Meeyup aws-loadbalancing-28032015Meeyup aws-loadbalancing-28032015
Meeyup aws-loadbalancing-28032015
Jhalak Modi
ย 
Serverless computing
Serverless computingServerless computing
Serverless computing
Om Vikram Thapa
ย 
Serverless Architecture
Serverless ArchitectureServerless Architecture
Serverless Architecture
Elana Krasner
ย 
Integrating API Gateway and internal ELB
Integrating API Gateway and internal ELBIntegrating API Gateway and internal ELB
Integrating API Gateway and internal ELB
Juan Diaz
ย 
Introduction to Serverless
Introduction to ServerlessIntroduction to Serverless
Introduction to Serverless
Nikolaus Graf
ย 
ๅพžๅŠๅฎ—ๅˆฐๆฐฃๅฎ— ๏ผ ่ซ‡AWS ECS่ˆ‡Serverlessๆœ€ไฝณๅฏฆ่ธ
ๅพžๅŠๅฎ—ๅˆฐๆฐฃๅฎ—  ๏ผ ่ซ‡AWS ECS่ˆ‡Serverlessๆœ€ไฝณๅฏฆ่ธๅพžๅŠๅฎ—ๅˆฐๆฐฃๅฎ—  ๏ผ ่ซ‡AWS ECS่ˆ‡Serverlessๆœ€ไฝณๅฏฆ่ธ
ๅพžๅŠๅฎ—ๅˆฐๆฐฃๅฎ— ๏ผ ่ซ‡AWS ECS่ˆ‡Serverlessๆœ€ไฝณๅฏฆ่ธ
Pahud Hsieh
ย 

Similar to AWS Lambda Containers - bridging the gap between serverless and containers once and for all (20)

Deploy on AWS from GIT Lab PDF2.pdf
Deploy on AWS from GIT Lab PDF2.pdfDeploy on AWS from GIT Lab PDF2.pdf
Deploy on AWS from GIT Lab PDF2.pdf
Srinivas Kannan
ย 
Montrรฉal AWS Users United: Let's go Serverless!
Montrรฉal AWS Users United: Let's go Serverless!Montrรฉal AWS Users United: Let's go Serverless!
Montrรฉal AWS Users United: Let's go Serverless!
Daniel Zivkovic
ย 
Developing Microservices Directly in AKS/Kubernetes
Developing Microservices Directly in AKS/KubernetesDeveloping Microservices Directly in AKS/Kubernetes
Developing Microservices Directly in AKS/Kubernetes
Chakradhar Rao Jonagam
ย 
AWS DevOps: Introduction to DevOps on AWS
  AWS DevOps: Introduction to DevOps on AWS  AWS DevOps: Introduction to DevOps on AWS
AWS DevOps: Introduction to DevOps on AWS
Datacademy.ai
ย 
Jak nie zwariowaฤ‡ z architekturฤ… Serverless?
Jak nie zwariowaฤ‡ z architekturฤ… Serverless?Jak nie zwariowaฤ‡ z architekturฤ… Serverless?
Jak nie zwariowaฤ‡ z architekturฤ… Serverless?
The Software House
ย 
Aws vs azure bakeoff
Aws vs azure bakeoffAws vs azure bakeoff
Aws vs azure bakeoff
SoHo Dragon
ย 
Transformational DevOps with AWS Native Tools
Transformational DevOps with AWS Native ToolsTransformational DevOps with AWS Native Tools
Transformational DevOps with AWS Native Tools
Bhuvaneswari Subramani
ย 
Aws developer meetup 24 feb-18 noida
Aws developer meetup 24 feb-18 noidaAws developer meetup 24 feb-18 noida
Aws developer meetup 24 feb-18 noida
Albert Anthony
ย 
Serverless Toronto User Group - Let's go Serverless!
Serverless Toronto User Group - Let's go Serverless!Serverless Toronto User Group - Let's go Serverless!
Serverless Toronto User Group - Let's go Serverless!
Daniel Zivkovic
ย 
A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...
A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...
A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...
RapidValue
ย 
Operate Containers with AWS Copilot
Operate Containers with AWS CopilotOperate Containers with AWS Copilot
Operate Containers with AWS Copilot
DevOps Indonesia
ย 
Serverless Meetup - 12 gennaio 2017
Serverless Meetup - 12 gennaio 2017Serverless Meetup - 12 gennaio 2017
Serverless Meetup - 12 gennaio 2017
Luca Bianchi
ย 
Cloud Native Demystified: Build Once, Run Anywhere!
Cloud Native Demystified: Build Once, Run Anywhere!Cloud Native Demystified: Build Once, Run Anywhere!
Cloud Native Demystified: Build Once, Run Anywhere!
Codit
ย 
Whizlabs webinar - Deploying Portfolio Site with AWS Serverless
Whizlabs webinar - Deploying Portfolio Site with AWS ServerlessWhizlabs webinar - Deploying Portfolio Site with AWS Serverless
Whizlabs webinar - Deploying Portfolio Site with AWS Serverless
Dhaval Nagar
ย 
Containers, microservices and serverless for realists
Containers, microservices and serverless for realistsContainers, microservices and serverless for realists
Containers, microservices and serverless for realists
Karthik Gaekwad
ย 
Serverless is the new black
Serverless is the new blackServerless is the new black
Serverless is the new black
Raphaรซl Bickel
ย 
Aws DevOps Code Commit GIT
Aws DevOps Code Commit GITAws DevOps Code Commit GIT
Aws DevOps Code Commit GIT
Varun Manik
ย 
DotNetKonf23 - NET Modernization Problems & Solutions.pdf
DotNetKonf23 - NET Modernization Problems & Solutions.pdfDotNetKonf23 - NET Modernization Problems & Solutions.pdf
DotNetKonf23 - NET Modernization Problems & Solutions.pdf
kloia
ย 
AWS Community Day - Amy Negrette - Gateways to Gateways
AWS Community Day - Amy Negrette - Gateways to GatewaysAWS Community Day - Amy Negrette - Gateways to Gateways
AWS Community Day - Amy Negrette - Gateways to Gateways
AWS Chicago
ย 
AWS and DevOps Session 1
AWS and DevOps Session 1AWS and DevOps Session 1
AWS and DevOps Session 1
Joseph Holbrook, Chief Learning Officer (CLO)
ย 
Deploy on AWS from GIT Lab PDF2.pdf
Deploy on AWS from GIT Lab PDF2.pdfDeploy on AWS from GIT Lab PDF2.pdf
Deploy on AWS from GIT Lab PDF2.pdf
Srinivas Kannan
ย 
Montrรฉal AWS Users United: Let's go Serverless!
Montrรฉal AWS Users United: Let's go Serverless!Montrรฉal AWS Users United: Let's go Serverless!
Montrรฉal AWS Users United: Let's go Serverless!
Daniel Zivkovic
ย 
Developing Microservices Directly in AKS/Kubernetes
Developing Microservices Directly in AKS/KubernetesDeveloping Microservices Directly in AKS/Kubernetes
Developing Microservices Directly in AKS/Kubernetes
Chakradhar Rao Jonagam
ย 
AWS DevOps: Introduction to DevOps on AWS
  AWS DevOps: Introduction to DevOps on AWS  AWS DevOps: Introduction to DevOps on AWS
AWS DevOps: Introduction to DevOps on AWS
Datacademy.ai
ย 
Jak nie zwariowaฤ‡ z architekturฤ… Serverless?
Jak nie zwariowaฤ‡ z architekturฤ… Serverless?Jak nie zwariowaฤ‡ z architekturฤ… Serverless?
Jak nie zwariowaฤ‡ z architekturฤ… Serverless?
The Software House
ย 
Aws vs azure bakeoff
Aws vs azure bakeoffAws vs azure bakeoff
Aws vs azure bakeoff
SoHo Dragon
ย 
Transformational DevOps with AWS Native Tools
Transformational DevOps with AWS Native ToolsTransformational DevOps with AWS Native Tools
Transformational DevOps with AWS Native Tools
Bhuvaneswari Subramani
ย 
Aws developer meetup 24 feb-18 noida
Aws developer meetup 24 feb-18 noidaAws developer meetup 24 feb-18 noida
Aws developer meetup 24 feb-18 noida
Albert Anthony
ย 
Serverless Toronto User Group - Let's go Serverless!
Serverless Toronto User Group - Let's go Serverless!Serverless Toronto User Group - Let's go Serverless!
Serverless Toronto User Group - Let's go Serverless!
Daniel Zivkovic
ย 
A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...
A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...
A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...
RapidValue
ย 
Operate Containers with AWS Copilot
Operate Containers with AWS CopilotOperate Containers with AWS Copilot
Operate Containers with AWS Copilot
DevOps Indonesia
ย 
Serverless Meetup - 12 gennaio 2017
Serverless Meetup - 12 gennaio 2017Serverless Meetup - 12 gennaio 2017
Serverless Meetup - 12 gennaio 2017
Luca Bianchi
ย 
Cloud Native Demystified: Build Once, Run Anywhere!
Cloud Native Demystified: Build Once, Run Anywhere!Cloud Native Demystified: Build Once, Run Anywhere!
Cloud Native Demystified: Build Once, Run Anywhere!
Codit
ย 
Whizlabs webinar - Deploying Portfolio Site with AWS Serverless
Whizlabs webinar - Deploying Portfolio Site with AWS ServerlessWhizlabs webinar - Deploying Portfolio Site with AWS Serverless
Whizlabs webinar - Deploying Portfolio Site with AWS Serverless
Dhaval Nagar
ย 
Containers, microservices and serverless for realists
Containers, microservices and serverless for realistsContainers, microservices and serverless for realists
Containers, microservices and serverless for realists
Karthik Gaekwad
ย 
Serverless is the new black
Serverless is the new blackServerless is the new black
Serverless is the new black
Raphaรซl Bickel
ย 
Aws DevOps Code Commit GIT
Aws DevOps Code Commit GITAws DevOps Code Commit GIT
Aws DevOps Code Commit GIT
Varun Manik
ย 
DotNetKonf23 - NET Modernization Problems & Solutions.pdf
DotNetKonf23 - NET Modernization Problems & Solutions.pdfDotNetKonf23 - NET Modernization Problems & Solutions.pdf
DotNetKonf23 - NET Modernization Problems & Solutions.pdf
kloia
ย 
AWS Community Day - Amy Negrette - Gateways to Gateways
AWS Community Day - Amy Negrette - Gateways to GatewaysAWS Community Day - Amy Negrette - Gateways to Gateways
AWS Community Day - Amy Negrette - Gateways to Gateways
AWS Chicago
ย 
Ad

More from Yun Zhi Lin (11)

Applied AI, Open Banking and Continuous Innovation the Easy Way - AI Days Mel...
Applied AI, Open Banking and Continuous Innovation the Easy Way - AI Days Mel...Applied AI, Open Banking and Continuous Innovation the Easy Way - AI Days Mel...
Applied AI, Open Banking and Continuous Innovation the Easy Way - AI Days Mel...
Yun Zhi Lin
ย 
Art of Serverless Business Value - Serverless Days Sydney 2019
Art of Serverless Business Value - Serverless Days Sydney 2019Art of Serverless Business Value - Serverless Days Sydney 2019
Art of Serverless Business Value - Serverless Days Sydney 2019
Yun Zhi Lin
ย 
Anticorrupting the Enterprise - Serverlessconf NYC 2017
Anticorrupting the Enterprise - Serverlessconf NYC 2017Anticorrupting the Enterprise - Serverlessconf NYC 2017
Anticorrupting the Enterprise - Serverlessconf NYC 2017
Yun Zhi Lin
ย 
Financial Forecasting using Recurrent Neural Network, Social Media and Cloud
Financial Forecasting using Recurrent Neural Network, Social Media and CloudFinancial Forecasting using Recurrent Neural Network, Social Media and Cloud
Financial Forecasting using Recurrent Neural Network, Social Media and Cloud
Yun Zhi Lin
ย 
Easy Serverless Golang
Easy Serverless GolangEasy Serverless Golang
Easy Serverless Golang
Yun Zhi Lin
ย 
4 Success stories in 3 years - A Docker Production Journey
4 Success stories in 3 years - A Docker Production Journey4 Success stories in 3 years - A Docker Production Journey
4 Success stories in 3 years - A Docker Production Journey
Yun Zhi Lin
ย 
Nano Segmentation - A Docker Security Journey
Nano Segmentation - A Docker Security JourneyNano Segmentation - A Docker Security Journey
Nano Segmentation - A Docker Security Journey
Yun Zhi Lin
ย 
Dropwizard and Friends
Dropwizard and FriendsDropwizard and Friends
Dropwizard and Friends
Yun Zhi Lin
ย 
A Tale of Contemporary Software
A Tale of Contemporary SoftwareA Tale of Contemporary Software
A Tale of Contemporary Software
Yun Zhi Lin
ย 
Microservices and Friends
Microservices and FriendsMicroservices and Friends
Microservices and Friends
Yun Zhi Lin
ย 
Dropwizard with MongoDB and Google Cloud
Dropwizard with MongoDB and Google CloudDropwizard with MongoDB and Google Cloud
Dropwizard with MongoDB and Google Cloud
Yun Zhi Lin
ย 
Applied AI, Open Banking and Continuous Innovation the Easy Way - AI Days Mel...
Applied AI, Open Banking and Continuous Innovation the Easy Way - AI Days Mel...Applied AI, Open Banking and Continuous Innovation the Easy Way - AI Days Mel...
Applied AI, Open Banking and Continuous Innovation the Easy Way - AI Days Mel...
Yun Zhi Lin
ย 
Art of Serverless Business Value - Serverless Days Sydney 2019
Art of Serverless Business Value - Serverless Days Sydney 2019Art of Serverless Business Value - Serverless Days Sydney 2019
Art of Serverless Business Value - Serverless Days Sydney 2019
Yun Zhi Lin
ย 
Anticorrupting the Enterprise - Serverlessconf NYC 2017
Anticorrupting the Enterprise - Serverlessconf NYC 2017Anticorrupting the Enterprise - Serverlessconf NYC 2017
Anticorrupting the Enterprise - Serverlessconf NYC 2017
Yun Zhi Lin
ย 
Financial Forecasting using Recurrent Neural Network, Social Media and Cloud
Financial Forecasting using Recurrent Neural Network, Social Media and CloudFinancial Forecasting using Recurrent Neural Network, Social Media and Cloud
Financial Forecasting using Recurrent Neural Network, Social Media and Cloud
Yun Zhi Lin
ย 
Easy Serverless Golang
Easy Serverless GolangEasy Serverless Golang
Easy Serverless Golang
Yun Zhi Lin
ย 
4 Success stories in 3 years - A Docker Production Journey
4 Success stories in 3 years - A Docker Production Journey4 Success stories in 3 years - A Docker Production Journey
4 Success stories in 3 years - A Docker Production Journey
Yun Zhi Lin
ย 
Nano Segmentation - A Docker Security Journey
Nano Segmentation - A Docker Security JourneyNano Segmentation - A Docker Security Journey
Nano Segmentation - A Docker Security Journey
Yun Zhi Lin
ย 
Dropwizard and Friends
Dropwizard and FriendsDropwizard and Friends
Dropwizard and Friends
Yun Zhi Lin
ย 
A Tale of Contemporary Software
A Tale of Contemporary SoftwareA Tale of Contemporary Software
A Tale of Contemporary Software
Yun Zhi Lin
ย 
Microservices and Friends
Microservices and FriendsMicroservices and Friends
Microservices and Friends
Yun Zhi Lin
ย 
Dropwizard with MongoDB and Google Cloud
Dropwizard with MongoDB and Google CloudDropwizard with MongoDB and Google Cloud
Dropwizard with MongoDB and Google Cloud
Yun Zhi Lin
ย 
Ad

Recently uploaded (20)

ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
ย 
How analogue intelligence complements AI
How analogue intelligence complements AIHow analogue intelligence complements AI
How analogue intelligence complements AI
Paul Rowe
ย 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
ย 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
ย 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
ย 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
ย 
Role of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered ManufacturingRole of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered Manufacturing
Andrew Leo
ย 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
ย 
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded DevelopersLinux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Toradex
ย 
Drupalcamp Finland โ€“ Measuring Front-end Energy Consumption
Drupalcamp Finland โ€“ Measuring Front-end Energy ConsumptionDrupalcamp Finland โ€“ Measuring Front-end Energy Consumption
Drupalcamp Finland โ€“ Measuring Front-end Energy Consumption
Exove
ย 
Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)
Ortus Solutions, Corp
ย 
Quantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur MorganQuantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur Morgan
Arthur Morgan
ย 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
ย 
AI Changes Everything โ€“ Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything โ€“ Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything โ€“ Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything โ€“ Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
ย 
Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025
Splunk
ย 
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
organizerofv
ย 
Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
ย 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
ย 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
ย 
How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?
Daniel Lehner
ย 
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
ย 
How analogue intelligence complements AI
How analogue intelligence complements AIHow analogue intelligence complements AI
How analogue intelligence complements AI
Paul Rowe
ย 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
ย 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
ย 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
ย 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
ย 
Role of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered ManufacturingRole of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered Manufacturing
Andrew Leo
ย 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
ย 
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded DevelopersLinux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Toradex
ย 
Drupalcamp Finland โ€“ Measuring Front-end Energy Consumption
Drupalcamp Finland โ€“ Measuring Front-end Energy ConsumptionDrupalcamp Finland โ€“ Measuring Front-end Energy Consumption
Drupalcamp Finland โ€“ Measuring Front-end Energy Consumption
Exove
ย 
Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)
Ortus Solutions, Corp
ย 
Quantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur MorganQuantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur Morgan
Arthur Morgan
ย 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
ย 
AI Changes Everything โ€“ Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything โ€“ Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything โ€“ Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything โ€“ Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
ย 
Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025
Splunk
ย 
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
organizerofv
ย 
Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
ย 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
ย 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
ย 
How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?
Daniel Lehner
ย 

AWS Lambda Containers - bridging the gap between serverless and containers once and for all

  • 1. AWS Lambda Containers Bridging the Gap between Serverless and Containers once and for all 24/02/2021 Serverless Meetup Sydney Yun Zhi Lin Partner - Deloitte Platform Engineering
  • 2. About Me Yun = Cloud ไบ‘ Partner at Deloitte Platform Engineering Serverless First since 2016 Author of serverless-golang and 2018 lambda benchmarks @yunzhilin @mrserveless What people think I do: What I really do:
  • 3. Agenda โ€ข Tell me why? โ€ข Implementation/Migration โ€ข Pitfalls to watch for โ€ข Make containers great again!
  • 4. Tell me Why? Arenโ€™t nothing but a Container
  • 5. Time for a Poll! โ€ข Do you use serverless technologies in anger in Production? โ€ข Do you use containers in anger in Production? NEW FLASH: As of 9/2/2021, Lambda Container Image support is available in Sydney region!
  • 6. Serverless vs Container Debates Are mostly debating: Function as a Service (FaaS) vs Kubernetes Orchestration
  • 7. Serverless != FaaS donโ€™t pay for it if no one uses it (except storage) Donโ€™t need to worry about scaling (up or down) Donโ€™t need to provision and manage servers DynamoDB Amazon S3 AWS Amplify Lex Lambda
  • 8. Containers != Kubernetes Itโ€™s just a standardised way to package up immutable artefacts
  • 11. Anatomy of a Lambda Container Use AWS Base Image Migrate Your Own Base Image Source Files Deps Source Files Deps Runtime Interface Client (RIC) ENTRYPOINT ENTRYPOINT Runtime Interface Emulatior (RIE)
  • 12. Demo Time Code is here: serverlesscloud/serverless- containers (github.com) Serverless and SAM Java, Node, Golang Build, Local Run, Deploy
  • 13. Pitfalls to watch out for Bug or Features, these require some attention
  • 14. Whatโ€™s wrong this architecture? Dev Account UAT Account Prod Account Dev Lambda UAT Lambda Prod Lambda Dev ECR UAT ECR Prod ECR IMG:v1 IMG:v1 IMG:v1
  • 15. Should be more like this right? Platform Shared Services Dev Account Prod Account UAT Lambda Prod Lambda Central ECR IMG:v1 Dev Lambda UAT Account IMG:v1 IMG:v1
  • 16. But cross account ECR access isnโ€™t allowedโ€ฆ yet
  • 17. Similar Serverless Container Offerings Google Cloud Run Azure Functions on Kubernetes
  • 18. Tooling Comparison Functionality Serverless Framework SAM Scaffolding No Container templates as of v2.25.2 Yes AWS SSO No Add support for AWS CLI v2 SSO profiles ยท Issue #7567 ยท serverless/serverless (github.com) Yes Local Run No โ€“ work around with docker run sam local invoke sam local start-api Docker build wrapper No โ€“ but thatโ€™s good! Yes via sam build โ€“ but why? Deploy Lambda type = Image Yes Yes
  • 20. Serverless First is even easier with Container Portability! And App Modernisation is more Streamlined
  • 21. Remember Serverless + Containers gives new meaning to Serverless First and Legacy App Migration Serverless + Containers brings new Developer Experience Serverless != FaaS Containers != Kubernetes
  • 22. Code and References โ€ข GitHub - serverlesscloud/serverless-containers โ€ข Using container image support for AWS Lambda with AWS SAM | AWS Compute Blog (amazon.com) โ€ข Packaging AWS Lambda functions as container images | A Cloud Guru โ€ข AWS Lambda runtime API - AWS Lambda (amazon.com) โ€ข https://github.com/aws/aws-lambda-python-runtime- interface-client โ€ข https://github.com/aws/aws-lambda-runtime-interface- emulator/