SlideShare a Scribd company logo
Using AWS Lambda for
Infrastructure Automation
and beyond
Mykola Turskyi
DevOps Architect, SoftServe
- Working in IT since 2005
- DevOps Architect at SoftServe since 2013
- Pioneered Cloud Management with Scalr
- Working with since 2007
About me
ntursky
nicktursky
mturs@softserveinc.com
AWS Lambda
overview
Why AWS Lambda?
AWS Lambda Overview
General approach
Event source
AWS Lambda Overview
- Announced at AWS re:Invent 2014
- Public availability: Apr 2015
- Latest big update: Oct 2015
- Functions in Python
- Support for VPC
- Scheduling
- Versioning
History
AWS Lambda Overview
• Kinesis Stream Entry
• Schedule
• API Gateway call
• S3 object modification
• SNS Notifications
• CloudWatch Logs
• SES Email
• Amazon Cognito events
• AWS IoT
• DynamoDB entries
And more!
Invocation:
AWS Lambda Overview
• Node.js (JavaScript)
• Java
• Python
• Bash, Go, Ruby (process execution)
Languages supported:
AWS Lambda Overview
Permissions model
• IAM role/policy based
• Invocation permission
• Execution permissions
Debug
• Test execution
• CloudWatch Logs
AWS Lambda Overview
Use cases
- Log processing
AWS Lambda Overview
Use cases
- Event stream processing
AWS Lambda Overview
- Deployment flow automation
Use cases
AWS Lambda Overview
Use cases
- Infrastructure automation
AWS Lambda Overview
Use cases
- Serverless API service
AWS Lambda Overview
- Very small overhead on process instantiation
- Instant API availability in different regions with CloudFront
Performance
Pricing
$0.20 per 1 million requests (Free Tier: 1M/mo)
$0.016 per 1 TB/second (Free Tier: 400 TB-seconds/mo)
+ data transfers, S3, other services usage
AWS Lambda Overview
- Iron.io
- Webtask.io
- StackHut
- PaaS please?
Alternatives
Conclusions
- Inexpensive
- Connected with many Amazon services
- Gentle learning curve
- Instant availability/presence
- Secure
Demo
AWS Lambda for
Infrastructure Automation
AWS Lambda Demo
Route53 Resource Records for ASG Servers
Questions?
Resources
• AWS Serverless Multi-Tier Architectures Using Amazon API Gateway
and AWS Lambda by AWS, Nov 2015
• https://aws.amazon.com/lambda/
• https://github.com/ntursky/aws-lambda-demo
USA HQ
Toll Free: 866-687-3588
Tel: +1-512-516-8880
Ukraine HQ
Tel: +380-32-240-9090
Bulgaria
Tel: +359-2-902-3760
Germany
Tel: +49-69-2602-5857
Netherlands
Tel: +31-20-262-33-23
Poland
Tel: +48-71-382-2800
UK
Tel: +44-207-544-8414
EMAIL
info@softserveinc.com
WEBSITE:
www.softserveinc.com
Thank you.

More Related Content

What's hot (17)

PPTX
AWS Serverless concepts and solutions
ElenaIvannikova3
 
PPTX
Aws serverless application repository
Sotiris (Soto) Hatzis
 
PPTX
AWS Kinesis
Julian Kleinhans
 
PDF
Serverless computing with AWS Lambda
Apigee | Google Cloud
 
PPTX
Integrating API Gateway and internal ELB
Juan Diaz
 
PDF
Getting Started with Amazon EventBridge
Srushith Repakula
 
PPTX
Let's Talk About Serverless - Focusing on AWS Lambda
Okis Chuang
 
PDF
Nested Beanstalk Deployment - Brett Sutter, Minneapolis
AWS Chicago
 
PPTX
Cost Optimization Best Practices from Trend Micro
Cliff Chao-kuan Lu
 
PPTX
Serverless Architecture
Michał Kurzeja
 
PPTX
Serverless computing
Dmitriy Ivanov
 
PPTX
AWS Lambda
Julian Kleinhans
 
PDF
AWS Cloud Development Kit (CDK)를 이용한 코드 기반 인프라 개발 및 배포 - 공찬호(리얼리티매직) :: AWS C...
AWSKRUG - AWS한국사용자모임
 
PDF
Brendon Foxen (Channel 4) - Speeding up Software Delivery at Channel 4
Outlyer
 
PDF
Serverless architecture and aws lambda
Nishant Kumar
 
PDF
Serverless Applications on AWS
Dean Bryen
 
PPTX
Serverless Architecture
Saul Caganoff
 
AWS Serverless concepts and solutions
ElenaIvannikova3
 
Aws serverless application repository
Sotiris (Soto) Hatzis
 
AWS Kinesis
Julian Kleinhans
 
Serverless computing with AWS Lambda
Apigee | Google Cloud
 
Integrating API Gateway and internal ELB
Juan Diaz
 
Getting Started with Amazon EventBridge
Srushith Repakula
 
Let's Talk About Serverless - Focusing on AWS Lambda
Okis Chuang
 
Nested Beanstalk Deployment - Brett Sutter, Minneapolis
AWS Chicago
 
Cost Optimization Best Practices from Trend Micro
Cliff Chao-kuan Lu
 
Serverless Architecture
Michał Kurzeja
 
Serverless computing
Dmitriy Ivanov
 
AWS Lambda
Julian Kleinhans
 
AWS Cloud Development Kit (CDK)를 이용한 코드 기반 인프라 개발 및 배포 - 공찬호(리얼리티매직) :: AWS C...
AWSKRUG - AWS한국사용자모임
 
Brendon Foxen (Channel 4) - Speeding up Software Delivery at Channel 4
Outlyer
 
Serverless architecture and aws lambda
Nishant Kumar
 
Serverless Applications on AWS
Dean Bryen
 
Serverless Architecture
Saul Caganoff
 

Viewers also liked (13)

PPTX
Politicas gubernamentale de la ciencia y la tecnologia
marlinkari72
 
DOCX
C sharp language specification
miguelzuri
 
PDF
DIAGRAMA DE LOS PROCESOS DE TRANSCULTURACIÓN DESDE LA IDENTIDAD DE NUESTRA AM...
ARCENIO PARRA GONZALEZ
 
PDF
Groupe Insearch Compliance Salary Survey 2014
Groupe Insearch
 
PDF
Rol de la ciencia y la tecnologia en la dinamica de hoy
marlinkari72
 
PDF
Presentation Tools Presentation
Zach Kaczynski
 
PPTX
Vanguardias en españa
NestorIKT
 
PDF
Mapa conceptual sobre la empresa
ARCENIO PARRA GONZALEZ
 
PPTX
Cities 3.0 --> Learning 3.0: Badges and Creating a 21st Century Learning Infr...
Connie Yowell
 
PDF
Austin Python Meetup 2017: What's New in Pythons 3.5 and 3.6?
Viach Kakovskyi
 
PPTX
Linear Programming - Workforce Scheduling Model
Pranath Pussella
 
PPT
Lp and ip programming cp 9
M S Prasad
 
PDF
Status RH Promo
Status RH Promo
 
Politicas gubernamentale de la ciencia y la tecnologia
marlinkari72
 
C sharp language specification
miguelzuri
 
DIAGRAMA DE LOS PROCESOS DE TRANSCULTURACIÓN DESDE LA IDENTIDAD DE NUESTRA AM...
ARCENIO PARRA GONZALEZ
 
Groupe Insearch Compliance Salary Survey 2014
Groupe Insearch
 
Rol de la ciencia y la tecnologia en la dinamica de hoy
marlinkari72
 
Presentation Tools Presentation
Zach Kaczynski
 
Vanguardias en españa
NestorIKT
 
Mapa conceptual sobre la empresa
ARCENIO PARRA GONZALEZ
 
Cities 3.0 --> Learning 3.0: Badges and Creating a 21st Century Learning Infr...
Connie Yowell
 
Austin Python Meetup 2017: What's New in Pythons 3.5 and 3.6?
Viach Kakovskyi
 
Linear Programming - Workforce Scheduling Model
Pranath Pussella
 
Lp and ip programming cp 9
M S Prasad
 
Status RH Promo
Status RH Promo
 
Ad

Similar to Using AWS Lambda for Infrastructure Automation and Beyond (17)

PDF
Serverless Day Zero: How to Serveless [July 2019]
Dhaval Nagar
 
PDF
Webinar: Serverless Architectures with AWS Lambda and MongoDB Atlas
MongoDB
 
PDF
Building serverless apps with Node.js
Julien SIMON
 
PDF
TechTalk@Vingle - Serverless
Sanghyun Lee
 
PDF
Matt Chung (Independent) - Serverless application with AWS Lambda
Outlyer
 
PPTX
Fin jaws 202103
Yuki Yoshida
 
PPTX
Lambda Architecture in Practice
Navneet kumar
 
PPTX
Introduction to DevOps on AWS
Shiva Narayanaswamy
 
PDF
AWS re:Invent 2020 Serverless Recap
Daniel Zivkovic
 
PDF
Serverless Culture
AWS User Group Bengaluru
 
PDF
Lambdaless and AWS CDK
MooYeol Lee
 
PPTX
AWS and Serverless with Alexa
Rory Preddy
 
PDF
Microservices Manchester: Serverless Architectures By Rafal Gancarz
OpenCredo
 
PDF
20180111 we bde-bs - serverless url shortener
Luca Bianchi
 
PDF
Microservices and serverless for MegaStartups - DLD TLV 2017
Boaz Ziniman
 
PPTX
Serverless without Code (Lambda)
CloudHesive
 
PDF
An introduction to serverless architectures (February 2017)
Julien SIMON
 
Serverless Day Zero: How to Serveless [July 2019]
Dhaval Nagar
 
Webinar: Serverless Architectures with AWS Lambda and MongoDB Atlas
MongoDB
 
Building serverless apps with Node.js
Julien SIMON
 
TechTalk@Vingle - Serverless
Sanghyun Lee
 
Matt Chung (Independent) - Serverless application with AWS Lambda
Outlyer
 
Fin jaws 202103
Yuki Yoshida
 
Lambda Architecture in Practice
Navneet kumar
 
Introduction to DevOps on AWS
Shiva Narayanaswamy
 
AWS re:Invent 2020 Serverless Recap
Daniel Zivkovic
 
Serverless Culture
AWS User Group Bengaluru
 
Lambdaless and AWS CDK
MooYeol Lee
 
AWS and Serverless with Alexa
Rory Preddy
 
Microservices Manchester: Serverless Architectures By Rafal Gancarz
OpenCredo
 
20180111 we bde-bs - serverless url shortener
Luca Bianchi
 
Microservices and serverless for MegaStartups - DLD TLV 2017
Boaz Ziniman
 
Serverless without Code (Lambda)
CloudHesive
 
An introduction to serverless architectures (February 2017)
Julien SIMON
 
Ad

Recently uploaded (20)

PPT
Footbinding.pptmnmkjkjkknmnnjkkkkkkkkkkkkkk
mamadoundiaye42742
 
PDF
Biomechanics of Gait: Engineering Solutions for Rehabilitation (www.kiu.ac.ug)
publication11
 
PDF
REINFORCEMENT LEARNING IN DECISION MAKING SEMINAR REPORT
anushaashraf20
 
PPTX
Knowledge Representation : Semantic Networks
Amity University, Patna
 
PDF
AN EMPIRICAL STUDY ON THE USAGE OF SOCIAL MEDIA IN GERMAN B2C-ONLINE STORES
ijait
 
PPTX
Introduction to Internal Combustion Engines - Types, Working and Camparison.pptx
UtkarshPatil98
 
PPTX
Shinkawa Proposal to meet Vibration API670.pptx
AchmadBashori2
 
PPTX
The Role of Information Technology in Environmental Protectio....pptx
nallamillisriram
 
PPTX
VITEEE 2026 Exam Details , Important Dates
SonaliSingh127098
 
PDF
Introduction to Productivity and Quality
মোঃ ফুরকান উদ্দিন জুয়েল
 
PPTX
Water Resources Engineering (CVE 728)--Slide 3.pptx
mohammedado3
 
PPT
New_school_Engineering_presentation_011707.ppt
VinayKumar304579
 
PDF
MAD Unit - 1 Introduction of Android IT Department
JappanMavani
 
PDF
Viol_Alessandro_Presentazione_prelaurea.pdf
dsecqyvhbowrzxshhf
 
PPTX
How Industrial Project Management Differs From Construction.pptx
jamespit799
 
PPTX
Element 11. ELECTRICITY safety and hazards
merrandomohandas
 
PPTX
Mechanical Design of shell and tube heat exchangers as per ASME Sec VIII Divi...
shahveer210504
 
PPTX
DATA BASE MANAGEMENT AND RELATIONAL DATA
gomathisankariv2
 
PDF
AI TECHNIQUES FOR IDENTIFYING ALTERATIONS IN THE HUMAN GUT MICROBIOME IN MULT...
vidyalalltv1
 
PPTX
GitOps_Without_K8s_Training_detailed git repository
DanialHabibi2
 
Footbinding.pptmnmkjkjkknmnnjkkkkkkkkkkkkkk
mamadoundiaye42742
 
Biomechanics of Gait: Engineering Solutions for Rehabilitation (www.kiu.ac.ug)
publication11
 
REINFORCEMENT LEARNING IN DECISION MAKING SEMINAR REPORT
anushaashraf20
 
Knowledge Representation : Semantic Networks
Amity University, Patna
 
AN EMPIRICAL STUDY ON THE USAGE OF SOCIAL MEDIA IN GERMAN B2C-ONLINE STORES
ijait
 
Introduction to Internal Combustion Engines - Types, Working and Camparison.pptx
UtkarshPatil98
 
Shinkawa Proposal to meet Vibration API670.pptx
AchmadBashori2
 
The Role of Information Technology in Environmental Protectio....pptx
nallamillisriram
 
VITEEE 2026 Exam Details , Important Dates
SonaliSingh127098
 
Introduction to Productivity and Quality
মোঃ ফুরকান উদ্দিন জুয়েল
 
Water Resources Engineering (CVE 728)--Slide 3.pptx
mohammedado3
 
New_school_Engineering_presentation_011707.ppt
VinayKumar304579
 
MAD Unit - 1 Introduction of Android IT Department
JappanMavani
 
Viol_Alessandro_Presentazione_prelaurea.pdf
dsecqyvhbowrzxshhf
 
How Industrial Project Management Differs From Construction.pptx
jamespit799
 
Element 11. ELECTRICITY safety and hazards
merrandomohandas
 
Mechanical Design of shell and tube heat exchangers as per ASME Sec VIII Divi...
shahveer210504
 
DATA BASE MANAGEMENT AND RELATIONAL DATA
gomathisankariv2
 
AI TECHNIQUES FOR IDENTIFYING ALTERATIONS IN THE HUMAN GUT MICROBIOME IN MULT...
vidyalalltv1
 
GitOps_Without_K8s_Training_detailed git repository
DanialHabibi2
 

Using AWS Lambda for Infrastructure Automation and Beyond

  • 1. Using AWS Lambda for Infrastructure Automation and beyond Mykola Turskyi DevOps Architect, SoftServe
  • 2. - Working in IT since 2005 - DevOps Architect at SoftServe since 2013 - Pioneered Cloud Management with Scalr - Working with since 2007 About me ntursky nicktursky [email protected]
  • 5. AWS Lambda Overview General approach Event source
  • 6. AWS Lambda Overview - Announced at AWS re:Invent 2014 - Public availability: Apr 2015 - Latest big update: Oct 2015 - Functions in Python - Support for VPC - Scheduling - Versioning History
  • 7. AWS Lambda Overview • Kinesis Stream Entry • Schedule • API Gateway call • S3 object modification • SNS Notifications • CloudWatch Logs • SES Email • Amazon Cognito events • AWS IoT • DynamoDB entries And more! Invocation:
  • 8. AWS Lambda Overview • Node.js (JavaScript) • Java • Python • Bash, Go, Ruby (process execution) Languages supported:
  • 9. AWS Lambda Overview Permissions model • IAM role/policy based • Invocation permission • Execution permissions Debug • Test execution • CloudWatch Logs
  • 10. AWS Lambda Overview Use cases - Log processing
  • 11. AWS Lambda Overview Use cases - Event stream processing
  • 12. AWS Lambda Overview - Deployment flow automation Use cases
  • 13. AWS Lambda Overview Use cases - Infrastructure automation
  • 14. AWS Lambda Overview Use cases - Serverless API service
  • 15. AWS Lambda Overview - Very small overhead on process instantiation - Instant API availability in different regions with CloudFront Performance Pricing $0.20 per 1 million requests (Free Tier: 1M/mo) $0.016 per 1 TB/second (Free Tier: 400 TB-seconds/mo) + data transfers, S3, other services usage
  • 16. AWS Lambda Overview - Iron.io - Webtask.io - StackHut - PaaS please? Alternatives Conclusions - Inexpensive - Connected with many Amazon services - Gentle learning curve - Instant availability/presence - Secure
  • 18. AWS Lambda Demo Route53 Resource Records for ASG Servers
  • 20. Resources • AWS Serverless Multi-Tier Architectures Using Amazon API Gateway and AWS Lambda by AWS, Nov 2015 • https://aws.amazon.com/lambda/ • https://github.com/ntursky/aws-lambda-demo
  • 21. USA HQ Toll Free: 866-687-3588 Tel: +1-512-516-8880 Ukraine HQ Tel: +380-32-240-9090 Bulgaria Tel: +359-2-902-3760 Germany Tel: +49-69-2602-5857 Netherlands Tel: +31-20-262-33-23 Poland Tel: +48-71-382-2800 UK Tel: +44-207-544-8414 EMAIL [email protected] WEBSITE: www.softserveinc.com Thank you.

Editor's Notes

  • #5: Появляются десятки сервисов каждый год, почему именно Lambda? Сама концепция DevOps появилась в этом тренде: программисты дорожают, вычислительные ресурсы дешевеют, Все хотят снизить Time-to-Market. Вся индустрия работает на то, чтобы программисты были более эффективными и быстрее могли выкатить код. Новые ЯП, фреймворки, тулы, позволяют программистам быть более эффективными. Следующий этап – ОПС. Все больше автоматизации, все ниже порог вхождения (девелоперы сами делают работу, которую раньше могли делать только ОПС): развертывания окружений для разработки, деплоймента, автоматизация тестирования. Одна из стратегий оптимизации ОПС – PaaS. Lambda – ее закономерное развитие.
  • #7: Actively developed
  • #10: I’ll show In demo
  • #16: MemMin: 128, MemMax: 1.5GB