際際滷

際際滷Share a Scribd company logo
息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Boaz Ziniman, Technical Evangelist, AWS
CI/CD for AWS Lambda Projects
CTO Club JLM - May 2018
@ziniman
boaz.ziniman.aws
息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
About me
 Technical Evangelist at AWS
 Events & Meetsup
 Webinars
 Blogs
 Com2bb.munity
 Social Media
 A long history of Web Development, IT and Operations
 AWS Customer since 2009
息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Agenda
- Intro
- Dev iteration loop
- Author (application and code)
- Test
- Debug
- Serverless Deployments
息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Serverless applications
ANYTHING
Changes in
data state
Requests to
endpoints
Changes in
resource state
EVENT SOURCE FUNCTION
Node.js
Python
Java
C#
Go
息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Serverless means
No servers to provision
or manage
Scales with usage
Never pay for idle Availability and fault
tolerance built in
息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Web application
Data stored in
Amazon
DynamoDB
Dynamic content
in AWS Lambda
Amazon API
Gateway
Browser
Amazon
CloudFront
Amazon
S3
Amazon Cognito
息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Streaming data ingestion
Amazon CloudWatch:
Delivery metrics
Amazon S3:
Buffered files
Kinesis
Agent
Record
Producers Amazon Redshift:
Table loads
Amazon Elasticsearch Service:
Domain loads
Amazon S3:
Source record backup
AWS Lambda:
Transformations &
enrichment
Amazon DynamoDB:
Lookup tables
Raw records
Lookup
Transformed records
Transformed recordsRaw records
Amazon Kinesis Firehose:
Delivery stream
息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Operations Automation
RDP from
0.0.0.0/0
RDP from
0.0.0.0/0
CloudWatch Event Bus in
another AWS Account
New Security Group ingress rule Amazon CloudWatch Events:
Rule
AWS Lambda:
Remediate and alert
AWS SNS:
Email alert
Ingress rule deleted
息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
FINRA
息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ALM for serverless applications
Author Build Test DeployDebugTest
CI/CD
Source
Author/test/debug
息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Author/test/debug
Author Test Debug
Simple app
No team members
No code repo
What if:
息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
New and improved Lambda console
 Cloud9 editor within the Lambda console
 Function graph
 Persisted test events
 Monitoring view (jump to logs for any timeframe)
New
息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Author/Test/Debug cycle
Author
C o d e A p p l i c a t i o n
Test Debug
息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Meet
SAM!
息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Serverless Application Model (SAM)
 CloudFormation extension optimized for serverless
 New serverless resource types: functions, APIs, and tables
 Supports anything CloudFormation supports
 Open specification (Apache 2.0)
息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
CloudFormation
 Provision and manage a collection of related AWS resources.
 Your application = CloudFormation stack
 Input .yaml file and output provisioned AWS resources
息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
C o d eA p p l i c a t i o n
Test Debug
Author/Test/Debug cycle
Wait, what about test
and debug?
AuthorAuthor
息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Testing serverless apps - challenges
- Test in an environment that resembles Lambda:
- OS
- Libraries
- Runtime
- Configured limits (memory, timeout)
- Mimic response and log outputs
息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Testing serverless apps - challenges
- Test events need to be:
- Syntactically accurate
- Different for each trigger
息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Introducing SAM Local
CLI tool for local testing of serverless apps
Leverages Docker images to mimic Lambdas
execution environment
Emulates Lambda functions and APIs
Event generator to help you generate event
payload for common Lambda triggers
sam local generate-event s3 --bucket <bucket> --key <key>
息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Introducing SAM Local
Response object and function logs available on
your local machine
Supports live debugging
Currently supports Java, Node.js and Python
SAM Local is open source & accepting pull
requests!
https://github.com/awslabs/aws-sam-local
npm install g aws-sam-local
息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Cloud9
 Cloud-based dev environment
 Write, test and debug with just a browser
 Optimized for serverless
New
息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Author
C o d eA p p l i c a t i o n
Test Debug
Author/Test/Debug cycle
息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
</>
GitHub
Amazon S3
AWS CodeCommit
AWS CodeBuild AWS CodeBuild
Third-party tools
AWS CloudFormation
Source Build Test Deploy
Deploying serverless applications
息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Demo App  RateMyTalk Chatbot
AWS LambdaAmazon Lex
Amazon DynamoDB
Amazon ES
息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Demo App  RateMyTalk Chatbot
AWS CodeDeployAWS CodeBuild
AWS CodePipeline
息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Demo App  RateMyTalk Chatbot
AWS
CodeDeploy
AWS
CodeBuild
AWS
CodePipeline
AWS CodeStar
息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.息 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Demo
息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
https://aws.amazon.com/serverless/developer-tools/
息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Feedback
Rate talk (CI/CD for AWS Lambda Projects)
boaz.ziniman.aws
息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Thanks!
Boaz Ziniman, Technical Evangelist, AWS
@ziniman
boaz.ziniman.aws

More Related Content

Similar to Ci/CD for AWS Lambda Projects - JLM CTO Club (7)

The Serverless Tidal Wave - SwampUP 2018 Keynote
The Serverless Tidal Wave - SwampUP 2018 KeynoteThe Serverless Tidal Wave - SwampUP 2018 Keynote
The Serverless Tidal Wave - SwampUP 2018 Keynote
Arun Gupta
CI CD using AWS Developer Tools @ AWS Community Day Bengaluru 2018
CI CD using AWS Developer Tools @ AWS Community Day Bengaluru 2018CI CD using AWS Developer Tools @ AWS Community Day Bengaluru 2018
CI CD using AWS Developer Tools @ AWS Community Day Bengaluru 2018
Bhuvaneswari Subramani
Wildrydes Serverless Workshop Tel Aviv
Wildrydes Serverless Workshop Tel AvivWildrydes Serverless Workshop Tel Aviv
Wildrydes Serverless Workshop Tel Aviv
Boaz Ziniman
Modern Applications Web Day | Impress Your Friends with Your First Serverless...
Modern Applications Web Day | Impress Your Friends with Your First Serverless...Modern Applications Web Day | Impress Your Friends with Your First Serverless...
Modern Applications Web Day | Impress Your Friends with Your First Serverless...
AWS Germany
Serverless best practices plus design principles 20m version
Serverless   best practices plus design principles 20m versionServerless   best practices plus design principles 20m version
Serverless best practices plus design principles 20m version
Heitor Lessa
How to Use AWS Lambda Layers and Lambda Runtime
How to Use AWS Lambda Layers and Lambda RuntimeHow to Use AWS Lambda Layers and Lambda Runtime
How to Use AWS Lambda Layers and Lambda Runtime
Donnie Prakoso
Gluecon 2018 - The Best Practices and Hard Lessons Learned of Serverless Appl...
Gluecon 2018 - The Best Practices and Hard Lessons Learned of Serverless Appl...Gluecon 2018 - The Best Practices and Hard Lessons Learned of Serverless Appl...
Gluecon 2018 - The Best Practices and Hard Lessons Learned of Serverless Appl...
Chris Munns
The Serverless Tidal Wave - SwampUP 2018 Keynote
The Serverless Tidal Wave - SwampUP 2018 KeynoteThe Serverless Tidal Wave - SwampUP 2018 Keynote
The Serverless Tidal Wave - SwampUP 2018 Keynote
Arun Gupta
CI CD using AWS Developer Tools @ AWS Community Day Bengaluru 2018
CI CD using AWS Developer Tools @ AWS Community Day Bengaluru 2018CI CD using AWS Developer Tools @ AWS Community Day Bengaluru 2018
CI CD using AWS Developer Tools @ AWS Community Day Bengaluru 2018
Bhuvaneswari Subramani
Wildrydes Serverless Workshop Tel Aviv
Wildrydes Serverless Workshop Tel AvivWildrydes Serverless Workshop Tel Aviv
Wildrydes Serverless Workshop Tel Aviv
Boaz Ziniman
Modern Applications Web Day | Impress Your Friends with Your First Serverless...
Modern Applications Web Day | Impress Your Friends with Your First Serverless...Modern Applications Web Day | Impress Your Friends with Your First Serverless...
Modern Applications Web Day | Impress Your Friends with Your First Serverless...
AWS Germany
Serverless best practices plus design principles 20m version
Serverless   best practices plus design principles 20m versionServerless   best practices plus design principles 20m version
Serverless best practices plus design principles 20m version
Heitor Lessa
How to Use AWS Lambda Layers and Lambda Runtime
How to Use AWS Lambda Layers and Lambda RuntimeHow to Use AWS Lambda Layers and Lambda Runtime
How to Use AWS Lambda Layers and Lambda Runtime
Donnie Prakoso
Gluecon 2018 - The Best Practices and Hard Lessons Learned of Serverless Appl...
Gluecon 2018 - The Best Practices and Hard Lessons Learned of Serverless Appl...Gluecon 2018 - The Best Practices and Hard Lessons Learned of Serverless Appl...
Gluecon 2018 - The Best Practices and Hard Lessons Learned of Serverless Appl...
Chris Munns

More from Boaz Ziniman (20)

AWS Cost Optimization - JLM
AWS Cost Optimization - JLMAWS Cost Optimization - JLM
AWS Cost Optimization - JLM
Boaz Ziniman
What can you do with Serverless in 2020
What can you do with Serverless in 2020What can you do with Serverless in 2020
What can you do with Serverless in 2020
Boaz Ziniman
Six ways to reduce your AWS bill
Six ways to reduce your AWS billSix ways to reduce your AWS bill
Six ways to reduce your AWS bill
Boaz Ziniman
From Cloud to Edge & back again
From Cloud to Edge & back againFrom Cloud to Edge & back again
From Cloud to Edge & back again
Boaz Ziniman
Modern Applications Development on AWS
Modern Applications Development on AWSModern Applications Development on AWS
Modern Applications Development on AWS
Boaz Ziniman
Enriching your app with Image recognition and AWS AI services Hebrew Webinar
Enriching your app with Image recognition and AWS AI services Hebrew WebinarEnriching your app with Image recognition and AWS AI services Hebrew Webinar
Enriching your app with Image recognition and AWS AI services Hebrew Webinar
Boaz Ziniman
AI Services and Serverless Workshop
AI Services and Serverless WorkshopAI Services and Serverless Workshop
AI Services and Serverless Workshop
Boaz Ziniman
Drive Down the Cost of your Data Lake by Using the Right Data Tiering
Drive Down the Cost of your Data Lake by Using the Right Data TieringDrive Down the Cost of your Data Lake by Using the Right Data Tiering
Drive Down the Cost of your Data Lake by Using the Right Data Tiering
Boaz Ziniman
Breaking Voice and Language Barriers with AI - Chatbot Summit Tel Aviv
Breaking Voice and Language Barriers with AI - Chatbot Summit Tel AvivBreaking Voice and Language Barriers with AI - Chatbot Summit Tel Aviv
Breaking Voice and Language Barriers with AI - Chatbot Summit Tel Aviv
Boaz Ziniman
Serverless Beyond Functions - CTO Club Made in JLM
Serverless Beyond Functions - CTO Club Made in JLMServerless Beyond Functions - CTO Club Made in JLM
Serverless Beyond Functions - CTO Club Made in JLM
Boaz Ziniman
Websites Go Serverless - ServerlessDays TLV 2019
Websites Go Serverless - ServerlessDays TLV 2019Websites Go Serverless - ServerlessDays TLV 2019
Websites Go Serverless - ServerlessDays TLV 2019
Boaz Ziniman
SKL208 - Turbocharge your Business with AI and Machine Learning - Tel Aviv Su...
SKL208 - Turbocharge your Business with AI and Machine Learning - Tel Aviv Su...SKL208 - Turbocharge your Business with AI and Machine Learning - Tel Aviv Su...
SKL208 - Turbocharge your Business with AI and Machine Learning - Tel Aviv Su...
Boaz Ziniman
AIM301 - Breaking Language Barriers With AI - Tel Aviv Summit 2019
AIM301 - Breaking Language Barriers With AI - Tel Aviv Summit 2019AIM301 - Breaking Language Barriers With AI - Tel Aviv Summit 2019
AIM301 - Breaking Language Barriers With AI - Tel Aviv Summit 2019
Boaz Ziniman
Breaking Language Barriers with AI - AWS Summit
Breaking Language Barriers with AI - AWS SummitBreaking Language Barriers with AI - AWS Summit
Breaking Language Barriers with AI - AWS Summit
Boaz Ziniman
Websites go Serverless - AWS Summit Berlin
Websites go Serverless - AWS Summit BerlinWebsites go Serverless - AWS Summit Berlin
Websites go Serverless - AWS Summit Berlin
Boaz Ziniman
AWS Lambda updates from re:Invent
AWS Lambda updates from re:InventAWS Lambda updates from re:Invent
AWS Lambda updates from re:Invent
Boaz Ziniman
Artificial Intelligence for Developers - OOP Munich
Artificial Intelligence for Developers - OOP MunichArtificial Intelligence for Developers - OOP Munich
Artificial Intelligence for Developers - OOP Munich
Boaz Ziniman
Introduction to Serverless Computing - OOP Munich
 Introduction to Serverless Computing - OOP Munich Introduction to Serverless Computing - OOP Munich
Introduction to Serverless Computing - OOP Munich
Boaz Ziniman
IoT from Cloud to Edge & Back Again - WebSummit 2018
IoT from Cloud to Edge & Back Again - WebSummit 2018IoT from Cloud to Edge & Back Again - WebSummit 2018
IoT from Cloud to Edge & Back Again - WebSummit 2018
Boaz Ziniman
Breaking Language Barriers with AI - Web Summit 2018
Breaking Language Barriers with AI - Web Summit 2018Breaking Language Barriers with AI - Web Summit 2018
Breaking Language Barriers with AI - Web Summit 2018
Boaz Ziniman
AWS Cost Optimization - JLM
AWS Cost Optimization - JLMAWS Cost Optimization - JLM
AWS Cost Optimization - JLM
Boaz Ziniman
What can you do with Serverless in 2020
What can you do with Serverless in 2020What can you do with Serverless in 2020
What can you do with Serverless in 2020
Boaz Ziniman
Six ways to reduce your AWS bill
Six ways to reduce your AWS billSix ways to reduce your AWS bill
Six ways to reduce your AWS bill
Boaz Ziniman
From Cloud to Edge & back again
From Cloud to Edge & back againFrom Cloud to Edge & back again
From Cloud to Edge & back again
Boaz Ziniman
Modern Applications Development on AWS
Modern Applications Development on AWSModern Applications Development on AWS
Modern Applications Development on AWS
Boaz Ziniman
Enriching your app with Image recognition and AWS AI services Hebrew Webinar
Enriching your app with Image recognition and AWS AI services Hebrew WebinarEnriching your app with Image recognition and AWS AI services Hebrew Webinar
Enriching your app with Image recognition and AWS AI services Hebrew Webinar
Boaz Ziniman
AI Services and Serverless Workshop
AI Services and Serverless WorkshopAI Services and Serverless Workshop
AI Services and Serverless Workshop
Boaz Ziniman
Drive Down the Cost of your Data Lake by Using the Right Data Tiering
Drive Down the Cost of your Data Lake by Using the Right Data TieringDrive Down the Cost of your Data Lake by Using the Right Data Tiering
Drive Down the Cost of your Data Lake by Using the Right Data Tiering
Boaz Ziniman
Breaking Voice and Language Barriers with AI - Chatbot Summit Tel Aviv
Breaking Voice and Language Barriers with AI - Chatbot Summit Tel AvivBreaking Voice and Language Barriers with AI - Chatbot Summit Tel Aviv
Breaking Voice and Language Barriers with AI - Chatbot Summit Tel Aviv
Boaz Ziniman
Serverless Beyond Functions - CTO Club Made in JLM
Serverless Beyond Functions - CTO Club Made in JLMServerless Beyond Functions - CTO Club Made in JLM
Serverless Beyond Functions - CTO Club Made in JLM
Boaz Ziniman
Websites Go Serverless - ServerlessDays TLV 2019
Websites Go Serverless - ServerlessDays TLV 2019Websites Go Serverless - ServerlessDays TLV 2019
Websites Go Serverless - ServerlessDays TLV 2019
Boaz Ziniman
SKL208 - Turbocharge your Business with AI and Machine Learning - Tel Aviv Su...
SKL208 - Turbocharge your Business with AI and Machine Learning - Tel Aviv Su...SKL208 - Turbocharge your Business with AI and Machine Learning - Tel Aviv Su...
SKL208 - Turbocharge your Business with AI and Machine Learning - Tel Aviv Su...
Boaz Ziniman
AIM301 - Breaking Language Barriers With AI - Tel Aviv Summit 2019
AIM301 - Breaking Language Barriers With AI - Tel Aviv Summit 2019AIM301 - Breaking Language Barriers With AI - Tel Aviv Summit 2019
AIM301 - Breaking Language Barriers With AI - Tel Aviv Summit 2019
Boaz Ziniman
Breaking Language Barriers with AI - AWS Summit
Breaking Language Barriers with AI - AWS SummitBreaking Language Barriers with AI - AWS Summit
Breaking Language Barriers with AI - AWS Summit
Boaz Ziniman
Websites go Serverless - AWS Summit Berlin
Websites go Serverless - AWS Summit BerlinWebsites go Serverless - AWS Summit Berlin
Websites go Serverless - AWS Summit Berlin
Boaz Ziniman
AWS Lambda updates from re:Invent
AWS Lambda updates from re:InventAWS Lambda updates from re:Invent
AWS Lambda updates from re:Invent
Boaz Ziniman
Artificial Intelligence for Developers - OOP Munich
Artificial Intelligence for Developers - OOP MunichArtificial Intelligence for Developers - OOP Munich
Artificial Intelligence for Developers - OOP Munich
Boaz Ziniman
Introduction to Serverless Computing - OOP Munich
 Introduction to Serverless Computing - OOP Munich Introduction to Serverless Computing - OOP Munich
Introduction to Serverless Computing - OOP Munich
Boaz Ziniman
IoT from Cloud to Edge & Back Again - WebSummit 2018
IoT from Cloud to Edge & Back Again - WebSummit 2018IoT from Cloud to Edge & Back Again - WebSummit 2018
IoT from Cloud to Edge & Back Again - WebSummit 2018
Boaz Ziniman
Breaking Language Barriers with AI - Web Summit 2018
Breaking Language Barriers with AI - Web Summit 2018Breaking Language Barriers with AI - Web Summit 2018
Breaking Language Barriers with AI - Web Summit 2018
Boaz Ziniman

Recently uploaded (20)

Threat Modeling a Batch Job System - AWS Security Community Day
Threat Modeling a Batch Job System - AWS Security Community DayThreat Modeling a Batch Job System - AWS Security Community Day
Threat Modeling a Batch Job System - AWS Security Community Day
Teri Radichel
Introduction to PHP from Beginning to End
Introduction to PHP from Beginning to EndIntroduction to PHP from Beginning to End
Introduction to PHP from Beginning to End
christopherneo4
Health Promotion explained ppt.pptx
Health Promotion  explained ppt.pptxHealth Promotion  explained ppt.pptx
Health Promotion explained ppt.pptx
MohamedIbrahim354734
Presentation Session 4 -Agent Builder.pdf
Presentation Session 4 -Agent Builder.pdfPresentation Session 4 -Agent Builder.pdf
Presentation Session 4 -Agent Builder.pdf
Mukesh Kala
H2O Generative AI Starter Track - Support Presentation 際際滷s.pdf
H2O Generative AI Starter Track - Support Presentation 際際滷s.pdfH2O Generative AI Starter Track - Support Presentation 際際滷s.pdf
H2O Generative AI Starter Track - Support Presentation 際際滷s.pdf
Sri Ambati
TrustArc Webinar - Data Privacy and Cyber Security: A Symbiotic Relationship
TrustArc Webinar - Data Privacy and Cyber Security: A Symbiotic RelationshipTrustArc Webinar - Data Privacy and Cyber Security: A Symbiotic Relationship
TrustArc Webinar - Data Privacy and Cyber Security: A Symbiotic Relationship
TrustArc
BrightonSEO April 2025 - hreflang XML E-Commerce - Nick Samuel.pdf
BrightonSEO April 2025 - hreflang XML E-Commerce - Nick Samuel.pdfBrightonSEO April 2025 - hreflang XML E-Commerce - Nick Samuel.pdf
BrightonSEO April 2025 - hreflang XML E-Commerce - Nick Samuel.pdf
Nick Samuel
AI in SEO Marketing Presentation (BY MetaSense Marketing)
AI in SEO Marketing Presentation (BY MetaSense Marketing)AI in SEO Marketing Presentation (BY MetaSense Marketing)
AI in SEO Marketing Presentation (BY MetaSense Marketing)
MetaSense Marketing
How to Achieve High-Accuracy Results When Using LLMs
How to Achieve High-Accuracy Results When Using LLMsHow to Achieve High-Accuracy Results When Using LLMs
How to Achieve High-Accuracy Results When Using LLMs
Aggregage
AC1-intro-agenda-Agile concepts in an enterprise environment
AC1-intro-agenda-Agile concepts in an enterprise environmentAC1-intro-agenda-Agile concepts in an enterprise environment
AC1-intro-agenda-Agile concepts in an enterprise environment
Dennis Van Aelst
Elevating AI Workflows: Integrating Azure API Management and Azure Functions ...
Elevating AI Workflows: Integrating Azure API Management and Azure Functions ...Elevating AI Workflows: Integrating Azure API Management and Azure Functions ...
Elevating AI Workflows: Integrating Azure API Management and Azure Functions ...
Callon Campbell
Transactional Outbox & Inbox Patterns.pptx
Transactional Outbox & Inbox Patterns.pptxTransactional Outbox & Inbox Patterns.pptx
Transactional Outbox & Inbox Patterns.pptx
Maysam Mousa
Cloudflares Game-Changing Move The First Remote MCP Server for AI Agent Deve...
Cloudflares Game-Changing Move The First Remote MCP Server for AI Agent Deve...Cloudflares Game-Changing Move The First Remote MCP Server for AI Agent Deve...
Cloudflares Game-Changing Move The First Remote MCP Server for AI Agent Deve...
davidandersonofficia
Codequiry: A Code Similarity Checker Every Developer Should Know
Codequiry: A Code Similarity Checker Every Developer Should KnowCodequiry: A Code Similarity Checker Every Developer Should Know
Codequiry: A Code Similarity Checker Every Developer Should Know
Code Quiry
FutureProofing the Nordic Economy with GenAI
FutureProofing the Nordic Economy with GenAIFutureProofing the Nordic Economy with GenAI
FutureProofing the Nordic Economy with GenAI
Pete Nieminen
AC3-SCRUM-Agile concepts in an enterprise environment
AC3-SCRUM-Agile concepts in an enterprise environmentAC3-SCRUM-Agile concepts in an enterprise environment
AC3-SCRUM-Agile concepts in an enterprise environment
Dennis Van Aelst
A Dell PowerStore shared storage solution is more cost-effective than an HCI ...
A Dell PowerStore shared storage solution is more cost-effective than an HCI ...A Dell PowerStore shared storage solution is more cost-effective than an HCI ...
A Dell PowerStore shared storage solution is more cost-effective than an HCI ...
Principled Technologies
Fran巽ais Patch Tuesday - Avril
Fran巽ais Patch Tuesday - AvrilFran巽ais Patch Tuesday - Avril
Fran巽ais Patch Tuesday - Avril
Ivanti
Evaluating Global Load Balancing Options for Kubernetes in Practice (Kubermat...
Evaluating Global Load Balancing Options for Kubernetes in Practice (Kubermat...Evaluating Global Load Balancing Options for Kubernetes in Practice (Kubermat...
Evaluating Global Load Balancing Options for Kubernetes in Practice (Kubermat...
Tobias Schneck
Top 10 Mobile Hacking Tools 2025 Edition
Top 10 Mobile Hacking Tools  2025 EditionTop 10 Mobile Hacking Tools  2025 Edition
Top 10 Mobile Hacking Tools 2025 Edition
anishachhikara2122
Threat Modeling a Batch Job System - AWS Security Community Day
Threat Modeling a Batch Job System - AWS Security Community DayThreat Modeling a Batch Job System - AWS Security Community Day
Threat Modeling a Batch Job System - AWS Security Community Day
Teri Radichel
Introduction to PHP from Beginning to End
Introduction to PHP from Beginning to EndIntroduction to PHP from Beginning to End
Introduction to PHP from Beginning to End
christopherneo4
Health Promotion explained ppt.pptx
Health Promotion  explained ppt.pptxHealth Promotion  explained ppt.pptx
Health Promotion explained ppt.pptx
MohamedIbrahim354734
Presentation Session 4 -Agent Builder.pdf
Presentation Session 4 -Agent Builder.pdfPresentation Session 4 -Agent Builder.pdf
Presentation Session 4 -Agent Builder.pdf
Mukesh Kala
H2O Generative AI Starter Track - Support Presentation 際際滷s.pdf
H2O Generative AI Starter Track - Support Presentation 際際滷s.pdfH2O Generative AI Starter Track - Support Presentation 際際滷s.pdf
H2O Generative AI Starter Track - Support Presentation 際際滷s.pdf
Sri Ambati
TrustArc Webinar - Data Privacy and Cyber Security: A Symbiotic Relationship
TrustArc Webinar - Data Privacy and Cyber Security: A Symbiotic RelationshipTrustArc Webinar - Data Privacy and Cyber Security: A Symbiotic Relationship
TrustArc Webinar - Data Privacy and Cyber Security: A Symbiotic Relationship
TrustArc
BrightonSEO April 2025 - hreflang XML E-Commerce - Nick Samuel.pdf
BrightonSEO April 2025 - hreflang XML E-Commerce - Nick Samuel.pdfBrightonSEO April 2025 - hreflang XML E-Commerce - Nick Samuel.pdf
BrightonSEO April 2025 - hreflang XML E-Commerce - Nick Samuel.pdf
Nick Samuel
AI in SEO Marketing Presentation (BY MetaSense Marketing)
AI in SEO Marketing Presentation (BY MetaSense Marketing)AI in SEO Marketing Presentation (BY MetaSense Marketing)
AI in SEO Marketing Presentation (BY MetaSense Marketing)
MetaSense Marketing
How to Achieve High-Accuracy Results When Using LLMs
How to Achieve High-Accuracy Results When Using LLMsHow to Achieve High-Accuracy Results When Using LLMs
How to Achieve High-Accuracy Results When Using LLMs
Aggregage
AC1-intro-agenda-Agile concepts in an enterprise environment
AC1-intro-agenda-Agile concepts in an enterprise environmentAC1-intro-agenda-Agile concepts in an enterprise environment
AC1-intro-agenda-Agile concepts in an enterprise environment
Dennis Van Aelst
Elevating AI Workflows: Integrating Azure API Management and Azure Functions ...
Elevating AI Workflows: Integrating Azure API Management and Azure Functions ...Elevating AI Workflows: Integrating Azure API Management and Azure Functions ...
Elevating AI Workflows: Integrating Azure API Management and Azure Functions ...
Callon Campbell
Transactional Outbox & Inbox Patterns.pptx
Transactional Outbox & Inbox Patterns.pptxTransactional Outbox & Inbox Patterns.pptx
Transactional Outbox & Inbox Patterns.pptx
Maysam Mousa
Cloudflares Game-Changing Move The First Remote MCP Server for AI Agent Deve...
Cloudflares Game-Changing Move The First Remote MCP Server for AI Agent Deve...Cloudflares Game-Changing Move The First Remote MCP Server for AI Agent Deve...
Cloudflares Game-Changing Move The First Remote MCP Server for AI Agent Deve...
davidandersonofficia
Codequiry: A Code Similarity Checker Every Developer Should Know
Codequiry: A Code Similarity Checker Every Developer Should KnowCodequiry: A Code Similarity Checker Every Developer Should Know
Codequiry: A Code Similarity Checker Every Developer Should Know
Code Quiry
FutureProofing the Nordic Economy with GenAI
FutureProofing the Nordic Economy with GenAIFutureProofing the Nordic Economy with GenAI
FutureProofing the Nordic Economy with GenAI
Pete Nieminen
AC3-SCRUM-Agile concepts in an enterprise environment
AC3-SCRUM-Agile concepts in an enterprise environmentAC3-SCRUM-Agile concepts in an enterprise environment
AC3-SCRUM-Agile concepts in an enterprise environment
Dennis Van Aelst
A Dell PowerStore shared storage solution is more cost-effective than an HCI ...
A Dell PowerStore shared storage solution is more cost-effective than an HCI ...A Dell PowerStore shared storage solution is more cost-effective than an HCI ...
A Dell PowerStore shared storage solution is more cost-effective than an HCI ...
Principled Technologies
Fran巽ais Patch Tuesday - Avril
Fran巽ais Patch Tuesday - AvrilFran巽ais Patch Tuesday - Avril
Fran巽ais Patch Tuesday - Avril
Ivanti
Evaluating Global Load Balancing Options for Kubernetes in Practice (Kubermat...
Evaluating Global Load Balancing Options for Kubernetes in Practice (Kubermat...Evaluating Global Load Balancing Options for Kubernetes in Practice (Kubermat...
Evaluating Global Load Balancing Options for Kubernetes in Practice (Kubermat...
Tobias Schneck
Top 10 Mobile Hacking Tools 2025 Edition
Top 10 Mobile Hacking Tools  2025 EditionTop 10 Mobile Hacking Tools  2025 Edition
Top 10 Mobile Hacking Tools 2025 Edition
anishachhikara2122

Ci/CD for AWS Lambda Projects - JLM CTO Club

  • 1. 息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Boaz Ziniman, Technical Evangelist, AWS CI/CD for AWS Lambda Projects CTO Club JLM - May 2018 @ziniman boaz.ziniman.aws
  • 2. 息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. About me Technical Evangelist at AWS Events & Meetsup Webinars Blogs Com2bb.munity Social Media A long history of Web Development, IT and Operations AWS Customer since 2009
  • 3. 息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Agenda - Intro - Dev iteration loop - Author (application and code) - Test - Debug - Serverless Deployments
  • 4. 息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Serverless applications ANYTHING Changes in data state Requests to endpoints Changes in resource state EVENT SOURCE FUNCTION Node.js Python Java C# Go
  • 5. 息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Serverless means No servers to provision or manage Scales with usage Never pay for idle Availability and fault tolerance built in
  • 6. 息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Web application Data stored in Amazon DynamoDB Dynamic content in AWS Lambda Amazon API Gateway Browser Amazon CloudFront Amazon S3 Amazon Cognito
  • 7. 息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Streaming data ingestion Amazon CloudWatch: Delivery metrics Amazon S3: Buffered files Kinesis Agent Record Producers Amazon Redshift: Table loads Amazon Elasticsearch Service: Domain loads Amazon S3: Source record backup AWS Lambda: Transformations & enrichment Amazon DynamoDB: Lookup tables Raw records Lookup Transformed records Transformed recordsRaw records Amazon Kinesis Firehose: Delivery stream
  • 8. 息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Operations Automation RDP from 0.0.0.0/0 RDP from 0.0.0.0/0 CloudWatch Event Bus in another AWS Account New Security Group ingress rule Amazon CloudWatch Events: Rule AWS Lambda: Remediate and alert AWS SNS: Email alert Ingress rule deleted
  • 9. 息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. FINRA
  • 10. 息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ALM for serverless applications Author Build Test DeployDebugTest CI/CD Source Author/test/debug
  • 11. 息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Author/test/debug Author Test Debug Simple app No team members No code repo What if:
  • 12. 息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. New and improved Lambda console Cloud9 editor within the Lambda console Function graph Persisted test events Monitoring view (jump to logs for any timeframe) New
  • 13. 息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Author/Test/Debug cycle Author C o d e A p p l i c a t i o n Test Debug
  • 14. 息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Meet SAM!
  • 15. 息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Serverless Application Model (SAM) CloudFormation extension optimized for serverless New serverless resource types: functions, APIs, and tables Supports anything CloudFormation supports Open specification (Apache 2.0)
  • 16. 息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. CloudFormation Provision and manage a collection of related AWS resources. Your application = CloudFormation stack Input .yaml file and output provisioned AWS resources
  • 17. 息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. C o d eA p p l i c a t i o n Test Debug Author/Test/Debug cycle Wait, what about test and debug? AuthorAuthor
  • 18. 息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Testing serverless apps - challenges - Test in an environment that resembles Lambda: - OS - Libraries - Runtime - Configured limits (memory, timeout) - Mimic response and log outputs
  • 19. 息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Testing serverless apps - challenges - Test events need to be: - Syntactically accurate - Different for each trigger
  • 20. 息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Introducing SAM Local CLI tool for local testing of serverless apps Leverages Docker images to mimic Lambdas execution environment Emulates Lambda functions and APIs Event generator to help you generate event payload for common Lambda triggers sam local generate-event s3 --bucket <bucket> --key <key>
  • 21. 息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Introducing SAM Local Response object and function logs available on your local machine Supports live debugging Currently supports Java, Node.js and Python SAM Local is open source & accepting pull requests! https://github.com/awslabs/aws-sam-local npm install g aws-sam-local
  • 22. 息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Cloud9 Cloud-based dev environment Write, test and debug with just a browser Optimized for serverless New
  • 23. 息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Author C o d eA p p l i c a t i o n Test Debug Author/Test/Debug cycle
  • 24. 息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. </> GitHub Amazon S3 AWS CodeCommit AWS CodeBuild AWS CodeBuild Third-party tools AWS CloudFormation Source Build Test Deploy Deploying serverless applications
  • 25. 息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Demo App RateMyTalk Chatbot AWS LambdaAmazon Lex Amazon DynamoDB Amazon ES
  • 26. 息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Demo App RateMyTalk Chatbot AWS CodeDeployAWS CodeBuild AWS CodePipeline
  • 27. 息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Demo App RateMyTalk Chatbot AWS CodeDeploy AWS CodeBuild AWS CodePipeline AWS CodeStar
  • 28. 息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.息 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Demo
  • 29. 息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. https://aws.amazon.com/serverless/developer-tools/
  • 30. 息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Feedback Rate talk (CI/CD for AWS Lambda Projects) boaz.ziniman.aws
  • 31. 息 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Thanks! Boaz Ziniman, Technical Evangelist, AWS @ziniman boaz.ziniman.aws