SlideShare a Scribd company logo
Amazon Web Services
Why Learn AWS ? ● Fastest growing cloud
computing platform on the
planet
● Largest public cloud
computing platform on the
planet
● More and more organizations
are outsourcing their IT to
AWS
● The AWS Certifications are the
most popular IT certifications
right now
● Top Paid IT Certification for
2016 according to Forbes
http://bit.ly/2whWp9h
http://bit.ly/2uPswfT
Image Source: Gartner Magic Quadrant
Gartner’s Magic Quadrant
In August 2016 AWS was named as a
leader in the IaaS Magic Quadrant for
the 6th consecutive year
Image Source: AWS
AWS Global Infrastructure
16 Regions ns & 44 Availability Zones
5 More Regions & 14 More Availability
Zones
August 2017
Image Source: AWS
AWS Web Services
A Region is a geographical area.
Each Region consists of 2 (or more)
Availability Zones.
An Availability Zone (AZ) is Simply a
Data Center.
AWS - Lambda
Goals / Agenda ● When to use Lambda
● How to write functions
● Integration with event sources
Image Source: Wikipedia
Serverless
“No server is easier to manage
than no server at all”
Werner Vogels
Pricing and serveless ● Pricing matches usage
● Pay as you go
● Low-to-no upfront costs
Why lambda ? ● Simplicity
● Save $$$
● Easy for ops
● Easy for devs
Use Cases ● ETL Jobs (S3)
● APIs (with API Gateway)
● Mobile backends
● Infrastructure automation
● Data Validation
How Lambda Works
Under the Hood
● Containers
● Shared EC2 Instances
● Resources isolation
● 100ms execution limits
How Lambda Works
Anatomy of an Application
● Code (and dependencies)
● Event (from another AWS
services)
● Output
How Lambda Works
Event sources
● Schedules
● S3 event
● DynamoDB streams
● Kinesis streams
● SNS topics (Notification
Services)
● API Gateway
● SDK invocation
https://console.aws.amazon.com
Cloud Conf Varna - Cloud Application with AWS Lambda functions
Hello World
Handler
● Path to the function to be run
● Must accept 3 arguments
● Event, context and callback
● Uses index.js by default
Hello World
index.js
exports.handler = function(event, context, callback) {
console.log(“Hi, everyone”);
return callback(null, “hello!”); // Callback format is error, data
}
Hello World
IAM Role
● Think “role” is in “job title”
● Can have many policies
● Policies have statements like:
{
“Effect”: “Allow”,
“Action”: “logs:CreateLogGroup”,
“Resources”: “arn:aws:logs:*:*:*”;
}
Hello World
Memory and Performance
● CPU scales with memory
● More memory, more $$$
● Up to 1.5 GB Gigabytes of
RAM
Hello World
Logs
● Automatically collected and
stored
● Searchable
● Timestamped automatically
Lab: Lambda and S3
Lab
Overview
● AWS CLI Introduction
● Create function
● Deploy version 1
● Testing and debugging
● Deploy version 2
● Output and timeouts
AWS CLI
https://docs.aws.amazon.com/cli/latest/us
erguide/installing.html
Lab
S3 Bucket
● Simple Storage Service
● Bucket names are global
● Upload files
Lab
Lambda function
● Skip the blueprint
● Choose our role
● Test run!
Cloud Conf Varna - Cloud Application with AWS Lambda functions
http://bit.ly/aws-cloud-conf

More Related Content

What's hot (19)

PDF
Cloud Powered WordPress for Everyone
Xiao Yu
 
PPTX
Aws day 3
Gourav Varma
 
PDF
Scalable Data Analytics and Visualization with Cloud Optimized Services
Globus
 
PPTX
AWS for the SQL Server Pro
Lynn Langit
 
PPTX
An introduction to cloud computing with Amazon Web Services and MongoDB
Samuel Demharter
 
PPTX
ĐœĐžŃ…Đ°ĐžĐ» МаĐșŃĐžĐŒĐŸĐČ ( Software engineer, DataArt. AWS certified Solution Architect)
DataArt
 
PDF
Cloud computing's truly open silver lining: OpenStack
Asociatia ProLinux
 
PPTX
Various Cloud offerings AWS/AZURE/GCP
Mohammad Imran Ansari
 
KEY
Introduction to cloud computing
Vijay Kalangi
 
PPTX
The Fermilab HEPCloud Facility
Claudio Pontili
 
PPTX
Finding new Customers using D&B and Excel Power Query
Lynn Langit
 
PDF
20181027 deep learningcommunity_aws
Hirokuni Uchida
 
PPTX
Comparison of AWS, GCP & Azure web solutions
basit raza
 
PPTX
AWS for Big Data Experts
Lynn Langit
 
PPTX
Going Serverless with AWS Lambda at ReportGarden
Jay Gandhi
 
PPTX
Implementing Real-Time IoT Stream Processing in Azure
Chris Pietschmann (Microsoft MVP)
 
PPTX
Cloud computing
Shahnoor Chowdhury Eshan
 
PPT
AWS Terms
LadderMinds
 
PDF
Big data on AWS
Stylight
 
Cloud Powered WordPress for Everyone
Xiao Yu
 
Aws day 3
Gourav Varma
 
Scalable Data Analytics and Visualization with Cloud Optimized Services
Globus
 
AWS for the SQL Server Pro
Lynn Langit
 
An introduction to cloud computing with Amazon Web Services and MongoDB
Samuel Demharter
 
ĐœĐžŃ…Đ°ĐžĐ» МаĐșŃĐžĐŒĐŸĐČ ( Software engineer, DataArt. AWS certified Solution Architect)
DataArt
 
Cloud computing's truly open silver lining: OpenStack
Asociatia ProLinux
 
Various Cloud offerings AWS/AZURE/GCP
Mohammad Imran Ansari
 
Introduction to cloud computing
Vijay Kalangi
 
The Fermilab HEPCloud Facility
Claudio Pontili
 
Finding new Customers using D&B and Excel Power Query
Lynn Langit
 
20181027 deep learningcommunity_aws
Hirokuni Uchida
 
Comparison of AWS, GCP & Azure web solutions
basit raza
 
AWS for Big Data Experts
Lynn Langit
 
Going Serverless with AWS Lambda at ReportGarden
Jay Gandhi
 
Implementing Real-Time IoT Stream Processing in Azure
Chris Pietschmann (Microsoft MVP)
 
Cloud computing
Shahnoor Chowdhury Eshan
 
AWS Terms
LadderMinds
 
Big data on AWS
Stylight
 

Similar to Cloud Conf Varna - Cloud Application with AWS Lambda functions (20)

PPTX
Going Serverless at AWS Startup Day Bangalore
Madhusudan Shekar
 
PDF
Infinite Scaling using Lambda and Aws - Atlogys Tech Talk
Atlogys Technical Consulting
 
PPTX
Getting started with Serverless on AWS
Adrian Hornsby
 
PDF
DevTalks Romania - Getting Started with AWS Lambda & the Serverless Cloud
Ian Massingham
 
PDF
Getting Started with AWS Lambda and Serverless Computing
Kristana Kane
 
PDF
Getting Started with AWS Lambda & Serverless Cloud
Ian Massingham
 
PDF
Getting started with AWS Lambda and the Serverless Cloud
Ian Massingham
 
PPTX
Introduction To AWS & AWS Lambda
An Nguyen
 
PDF
Introduction to Serverless Computing and AWS Lambda - AWS IL Meetup
Boaz Ziniman
 
PDF
AWSomeDay Zurich 2018 - How to go serverless
Roman Plessl
 
PDF
Re cap2018
Richard Harvey
 
PDF
Travel hackathon
Vladimir Simek
 
PDF
Stephen Liedig: Building Serverless Backends with AWS Lambda and API Gateway
Steve Androulakis
 
PDF
Building serverless backends - Tech talk 5 May 2017
ARDC
 
PDF
AWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 mins
AWS User Group - Thailand
 
PDF
Serverless use cases with AWS Lambda - More Serverless Event
Boaz Ziniman
 
PDF
Aws Tools for Alexa Skills
Boaz Ziniman
 
PDF
Amazon web services
Suresh Kumar
 
PDF
AWS intro
Ashish Mishra ☁
 
PDF
Awsgsg intro
Duy Hoang Nguyen
 
Going Serverless at AWS Startup Day Bangalore
Madhusudan Shekar
 
Infinite Scaling using Lambda and Aws - Atlogys Tech Talk
Atlogys Technical Consulting
 
Getting started with Serverless on AWS
Adrian Hornsby
 
DevTalks Romania - Getting Started with AWS Lambda & the Serverless Cloud
Ian Massingham
 
Getting Started with AWS Lambda and Serverless Computing
Kristana Kane
 
Getting Started with AWS Lambda & Serverless Cloud
Ian Massingham
 
Getting started with AWS Lambda and the Serverless Cloud
Ian Massingham
 
Introduction To AWS & AWS Lambda
An Nguyen
 
Introduction to Serverless Computing and AWS Lambda - AWS IL Meetup
Boaz Ziniman
 
AWSomeDay Zurich 2018 - How to go serverless
Roman Plessl
 
Re cap2018
Richard Harvey
 
Travel hackathon
Vladimir Simek
 
Stephen Liedig: Building Serverless Backends with AWS Lambda and API Gateway
Steve Androulakis
 
Building serverless backends - Tech talk 5 May 2017
ARDC
 
AWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 mins
AWS User Group - Thailand
 
Serverless use cases with AWS Lambda - More Serverless Event
Boaz Ziniman
 
Aws Tools for Alexa Skills
Boaz Ziniman
 
Amazon web services
Suresh Kumar
 
Awsgsg intro
Duy Hoang Nguyen
 
Ad

More from Dimitar Danailov (20)

PDF
Evolution - ReConnect() 2019
Dimitar Danailov
 
PDF
Data Visualization and D3Js
Dimitar Danailov
 
PDF
#Productivity - {S:01 Ep:03}
Dimitar Danailov
 
PDF
#Productivity - {S:01 Ep:02}
Dimitar Danailov
 
PDF
#Productivity s01 ep02
Dimitar Danailov
 
PDF
#Productivity s01 ep01
Dimitar Danailov
 
PDF
DEV.BG - Angular 1 and Jasmine (Unit Testing and TDD)
Dimitar Danailov
 
PDF
Building modern Progressive Web Apps with Polymer
Dimitar Danailov
 
PDF
Typescript - MentorMate Academy
Dimitar Danailov
 
PDF
HackConf2016 - Ruby on Rails: Unexpected journey
Dimitar Danailov
 
PDF
Microservices - Code Voyagers Sofia
Dimitar Danailov
 
PDF
Mongo DB Terms - Mentormate Academy
Dimitar Danailov
 
PDF
Startup Europe Week - Cloud Conf Varna & GDG Varna
Dimitar Danailov
 
PDF
GDG Varna - Hadoop
Dimitar Danailov
 
PDF
MicroServices: Advantages ans Disadvantages
Dimitar Danailov
 
PDF
GDG Varna - EcmaScript 6
Dimitar Danailov
 
PDF
Softuni.bg - Microservices
Dimitar Danailov
 
PDF
Cloud Conf Varna: Vagrant and Amazon
Dimitar Danailov
 
PDF
HackConf2015 - Ruby on Rails: Unexpected journey
Dimitar Danailov
 
PDF
Lighting talks - Microservices
Dimitar Danailov
 
Evolution - ReConnect() 2019
Dimitar Danailov
 
Data Visualization and D3Js
Dimitar Danailov
 
#Productivity - {S:01 Ep:03}
Dimitar Danailov
 
#Productivity - {S:01 Ep:02}
Dimitar Danailov
 
#Productivity s01 ep02
Dimitar Danailov
 
#Productivity s01 ep01
Dimitar Danailov
 
DEV.BG - Angular 1 and Jasmine (Unit Testing and TDD)
Dimitar Danailov
 
Building modern Progressive Web Apps with Polymer
Dimitar Danailov
 
Typescript - MentorMate Academy
Dimitar Danailov
 
HackConf2016 - Ruby on Rails: Unexpected journey
Dimitar Danailov
 
Microservices - Code Voyagers Sofia
Dimitar Danailov
 
Mongo DB Terms - Mentormate Academy
Dimitar Danailov
 
Startup Europe Week - Cloud Conf Varna & GDG Varna
Dimitar Danailov
 
GDG Varna - Hadoop
Dimitar Danailov
 
MicroServices: Advantages ans Disadvantages
Dimitar Danailov
 
GDG Varna - EcmaScript 6
Dimitar Danailov
 
Softuni.bg - Microservices
Dimitar Danailov
 
Cloud Conf Varna: Vagrant and Amazon
Dimitar Danailov
 
HackConf2015 - Ruby on Rails: Unexpected journey
Dimitar Danailov
 
Lighting talks - Microservices
Dimitar Danailov
 
Ad

Recently uploaded (20)

PDF
Capcut Pro Crack For PC Latest Version {Fully Unlocked} 2025
hashhshs786
 
PPTX
3uTools Full Crack Free Version Download [Latest] 2025
muhammadgurbazkhan
 
PPTX
An Introduction to ZAP by Checkmarx - Official Version
Simon Bennetts
 
PDF
Executive Business Intelligence Dashboards
vandeslie24
 
PDF
Thread In Android-Mastering Concurrency for Responsive Apps.pdf
Nabin Dhakal
 
PDF
Powering GIS with FME and VertiGIS - Peak of Data & AI 2025
Safe Software
 
PDF
GetOnCRM Speeds Up Agentforce 3 Deployment for Enterprise AI Wins.pdf
GetOnCRM Solutions
 
PPTX
Migrating Millions of Users with Debezium, Apache Kafka, and an Acyclic Synch...
MD Sayem Ahmed
 
PPTX
MiniTool Power Data Recovery Full Crack Latest 2025
muhammadgurbazkhan
 
PDF
Revenue streams of the Wazirx clone script.pdf
aaronjeffray
 
PDF
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
DOCX
Import Data Form Excel to Tally Services
Tally xperts
 
PDF
Beyond Binaries: Understanding Diversity and Allyship in a Global Workplace -...
Imma Valls Bernaus
 
PDF
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
PPTX
Tally_Basic_Operations_Presentation.pptx
AditiBansal54083
 
PDF
Efficient, Automated Claims Processing Software for Insurers
Insurance Tech Services
 
PPTX
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pptx
Varsha Nayak
 
PDF
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pdf
Varsha Nayak
 
PDF
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
PDF
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
Capcut Pro Crack For PC Latest Version {Fully Unlocked} 2025
hashhshs786
 
3uTools Full Crack Free Version Download [Latest] 2025
muhammadgurbazkhan
 
An Introduction to ZAP by Checkmarx - Official Version
Simon Bennetts
 
Executive Business Intelligence Dashboards
vandeslie24
 
Thread In Android-Mastering Concurrency for Responsive Apps.pdf
Nabin Dhakal
 
Powering GIS with FME and VertiGIS - Peak of Data & AI 2025
Safe Software
 
GetOnCRM Speeds Up Agentforce 3 Deployment for Enterprise AI Wins.pdf
GetOnCRM Solutions
 
Migrating Millions of Users with Debezium, Apache Kafka, and an Acyclic Synch...
MD Sayem Ahmed
 
MiniTool Power Data Recovery Full Crack Latest 2025
muhammadgurbazkhan
 
Revenue streams of the Wazirx clone script.pdf
aaronjeffray
 
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
Import Data Form Excel to Tally Services
Tally xperts
 
Beyond Binaries: Understanding Diversity and Allyship in a Global Workplace -...
Imma Valls Bernaus
 
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
Tally_Basic_Operations_Presentation.pptx
AditiBansal54083
 
Efficient, Automated Claims Processing Software for Insurers
Insurance Tech Services
 
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pptx
Varsha Nayak
 
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pdf
Varsha Nayak
 
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 

Cloud Conf Varna - Cloud Application with AWS Lambda functions