SlideShare a Scribd company logo
AWS
(and Serverless)
@rorypreddy
Meet Rory
‱ Developer in R&D team at BBD
– Training for 700 Developers
– All Languages & Frameworks
‱ Organizer for
– Jozi-JUG
– AWS-Jozi
‱ Not related to Tyrion Lannister
‱ Don’t do kids parties
AWS and Serverless with Alexa
AWS and Serverless with Alexa
AWS and Serverless with Alexa
Agenda
‱ The “Cloud”
‱ Core AWS Services
– Tooling
– Billing
– Monitoring
‱ Serverless
‱ Alexa Demo
AWS and Serverless with Alexa
AWS and Serverless with Alexa
Lift and Shift
(Minimal
Change)
Move theApp
Infrastructure
Decommission
Do NotMove
Determine
Migration
Process
ManuallyMove
App and Data
rd3 Party Tools
AWS VM Import
Refactor
forAWS
Rebuild Application
Architecture
Refactor
forAWS
Application
Lift and Shift
Vendor Movethe
S/PaaS Application
(if available)
3rd Party Migration Tool
Manually Move App and Data
Determine
MigrationProcess
Replatform
(typically legacy
applications)
Recode App
Components
Rearchitect
Application
Recode
Application
Architect AWS Environment
and Deploy App, Migrate Data
Org/Ops
Impact
Analysis
Change
Management
Plan
Discover,
Assess (Enterprise
Architecture and
Applications)
Operate
Determine
MigrationPath
Design, Build AWS
Environment
Signoff
Tuning Cutover
Identify
Ops Changes
Migrationand
UAT Testing
Plan Migration and Sequencing
Adoption
Source: https://www.slideshare.net/AmazonWebServices/aws-migration-planning-roadmap
Lift and Shift
Cloud Native
Signing up for an AWS account
‱ Sign up through https://aws.amazon.com
‱ You will need a credit card
‱ There will be a telephone verification
‱ Choose a zone
‱ try and stick to one
‱ Ireland is Best!
Regions and Availability Zones
Regions and Availability Zones
AWS Core Services
‱ Traditional Infrastructure Amazon Web Services
Security
Network
Security
Network
Security Groups NACLs Access Mgmt
VPCVPCEC2 “Classic”
“Public
”
ELB
On-Demand
Provision
Security
Security Groups Network ACLs AWS IAMFirewalls ACLs Administrators
Networking
VPCELBRouter Network Pipeline Switch
Storage
and
Database
SAN
DB Amazon
EBS
Amazon
EFS
Amazon
S3
Amazon
RDS
Servers
Amazon EC2 InstancesOn-Premises Servers Beanstalk
Simple Storage Service (S3)
‱ Cloud based file storage
‱ Simple API to CRUD files
‱ Unlimited capacity
‱ Static website hosting
AWS and Serverless with Alexa
EC2
‱ Hardware virtualization in the cloud
‱ Various sized servers
‱ All major operating systems
‱ Provision, configure, start and stop machines
from your App!
‱ Full operating system access via SSH and
Security Groups
AWS and Serverless with Alexa
Elastic Beanstalk
‱ Deploy and scale web applications
‱ Languages: Java, .NET, PHP, Node.js, Python, Ruby

‱ Servers: Apache, Nginx, Tomcat , IIS
‱ Upload your code; AWS handles:
Deployment
Capacity Provisioning
Load balancing
Auto scaling
Health Monitoring
Elastic Beanstalk
AWS and Serverless with Alexa
EC2 Container Service
‱ Run Docker containers in EC2 cluster
‱ API controlled
‱ Support Images from private Docker
repositories
‱ Docker CE and EE for AWS
‱ Docker swarm for Cloud
AWS and Serverless with Alexa
Tooling
‱ AWS and EB CLI
‱ IDE integration – Eclipse, IntelliJ,
Visual Studio
‱ AWS SDK
‱ API to manage AWS services
‱ Use services from within your
application
‱ Android and IOS app
AWS and Serverless with Alexa
Billing
Free Tier
‱ Free for 12 months
‱ EC2 - run 1 micro instance x 1 month or 2
micro instances x half a month
‱ S3 - 5 GB of Standard Storage
‱ First 1 million Lambda calls a month
And a lot more
.
AWS and Serverless with Alexa
SSH
‱ SSH keys are used for secured
access to EC2 instances
AWS and Serverless with Alexa
AWS CodeCommit
AWS CodeDeploy
AWS CodePipeline
Software Development and
Continuous Delivery Toolchain
AWSCodeBuild
AWS CodeStar
AWS CloudFormation
AWS OpsWorks
Infrastructure
as Code
AWS OpsWorks for
ChefAutomate
Amazon CloudWatch
AWS CloudTrail
Monitoring
& Logging
AWSConfig
AWSX-Ray
AWS DevOps Portfolio
Source Build Test Production
Third Party
Tooling
AWS CodeStar – Implement AWS DevOps
Software Development and Continuous Integration & Delivery Workflow
AWS CodeCommit AWS CodeBuild AWS CodeDeploy
AWS CodePipeline
AWS CodeStar
AWS and Serverless with Alexa
Evolution: Servers to
serverless
Code
Runtime
OS
Hardware
Code
Runtime
OS
Hardware
Code
Runtime
OS
Hardware
Code
Runtime
OS
Hardware
Physical
Servers
Virtual
Machines
Containers Serverless
Serverless
AWS Lambda is a compute
service that runs your code in
response to events and
automatically manages the
compute resources for you
Run code in response to events
FUNCTION SERVICES (ANYTHING)
Changes in
data state
Requests to
endpoints
Changes in
resource state
Node
Python
Java
C#
EVENT SOURCE
AWS and Serverless with Alexa
LAMBDA PRICING
‱ Lambda
– Requests
‱ First 1 million per month are free
‱ $0.20 per 1 million requests thereafter
– Duration
‱ Charged per 100ms execution time
‱ First 400,000 GB-seconds of compute time per month are free
‱ $0.00001667 for every GB-second thereafter
‱ API Gateway
– $3.50 per million API calls received plus data transfer
costs
‱ Estimate for Malicious Domain Application:
‱ Lambda: $0.37/hour with 10 threads after free-tier
‱ API Gateway: $0.71/hour
‱ Total: ~$1/hr
AWS and Serverless with Alexa
Lambda Considerations
‱ Lambda can be invoked by **anything** or you can
figure out a way to make it happen.
‱ NodeJS performs well
‱ Stateless
‱ Cold start behavior
AWS and Serverless with Alexa
AWS and Serverless with Alexa
Available in the US, UK, Germany,
Japan and India
‱ Register a device
‱ Link third-party accounts (Twitter)
‱ View lists
‱ Call and Message
‱ Home Automation
‱ And much more
THE ALEXA APP
Lab: Build a Lambda Alexa Skill
https://github.com/alexa/skill-sample-nodejs-fact
Try it yourself with https://echosim.io/
Questions?
@rorypreddy

More Related Content

PPTX
Aws overview (Amazon Web Services)
PPTX
What is AWS?
PDF
AWS Services Eagle View Dec-2017
PDF
Aws 101 A walk-through the aws cloud (2013)
PPTX
Introduction to Amazon Web Services by i2k2 Networks
PDF
Bluesoft @ AWS re:Invent 2017 + AWS 101
PPT
AWS Presentation
PPTX
Basics AWS Presentation
Aws overview (Amazon Web Services)
What is AWS?
AWS Services Eagle View Dec-2017
Aws 101 A walk-through the aws cloud (2013)
Introduction to Amazon Web Services by i2k2 Networks
Bluesoft @ AWS re:Invent 2017 + AWS 101
AWS Presentation
Basics AWS Presentation

What's hot (10)

PPTX
Aws tutorial for beginners- tibacademy.in
PDF
AWS 101, London - September 2014
PPTX
Aws platform overview
PPTX
AWS Summit London 2014 - JUST EAT - High Availability and Rapid Change
PPTX
How we do Serverless
PDF
Introduction to AWS
PPTX
Aws overview
PPT
Cloud Computing With AWS
PDF
AWSome Day, Milan | 5 Marzo 2015 - Contenuto Tecnico (Danilo Poccia - AWS Sol...
PDF
Aws concepts-power-point-slides
Aws tutorial for beginners- tibacademy.in
AWS 101, London - September 2014
Aws platform overview
AWS Summit London 2014 - JUST EAT - High Availability and Rapid Change
How we do Serverless
Introduction to AWS
Aws overview
Cloud Computing With AWS
AWSome Day, Milan | 5 Marzo 2015 - Contenuto Tecnico (Danilo Poccia - AWS Sol...
Aws concepts-power-point-slides
Ad

Similar to AWS and Serverless with Alexa (20)

PDF
AWS for Java Developers workshop
PPTX
AWS for the Java Developer
PDF
Crio.do - Deployment on AWS Masterclass
PDF
Jumpstart your idea with AWS Serverless [Oct 2020]
PDF
AWS Application Service Workshop - Serverless Architecture
PDF
Introducing to serverless computing and AWS lambda - Israel Clouds Meetup
PDF
2018 10-19-jc conf-embrace-legacy-java-ee-by-aws-serverless
PDF
Microservices and Serverless for Mega Startups - DevOps IL Meetup
PPTX
Primeros pasos en desarrollo serverless
PDF
Low Cost AWS Services For Application Development in the Cloud
PDF
Getting Started with Serverless Architectures
PDF
20200803 - Serverless with AWS @ HELTECH
PDF
Introduction to Serverless Computing - OOP Munich
PDF
2016-06 - Design your api management strategy - AWS - Microservices on AWS
PDF
Introduction to Serverless Computing and AWS Lambda - AWS IL Meetup
PDF
Introduction to Serverless computing and AWS Lambda - Floor28
PDF
Build an app on aws for your first 10 million users (2)
PDF
Microservices and serverless for MegaStartups - DLD TLV 2017
PDF
Getting Started with AWS Lambda and Serverless Computing
PDF
Modern Applications Development on AWS
AWS for Java Developers workshop
AWS for the Java Developer
Crio.do - Deployment on AWS Masterclass
Jumpstart your idea with AWS Serverless [Oct 2020]
AWS Application Service Workshop - Serverless Architecture
Introducing to serverless computing and AWS lambda - Israel Clouds Meetup
2018 10-19-jc conf-embrace-legacy-java-ee-by-aws-serverless
Microservices and Serverless for Mega Startups - DevOps IL Meetup
Primeros pasos en desarrollo serverless
Low Cost AWS Services For Application Development in the Cloud
Getting Started with Serverless Architectures
20200803 - Serverless with AWS @ HELTECH
Introduction to Serverless Computing - OOP Munich
2016-06 - Design your api management strategy - AWS - Microservices on AWS
Introduction to Serverless Computing and AWS Lambda - AWS IL Meetup
Introduction to Serverless computing and AWS Lambda - Floor28
Build an app on aws for your first 10 million users (2)
Microservices and serverless for MegaStartups - DLD TLV 2017
Getting Started with AWS Lambda and Serverless Computing
Modern Applications Development on AWS
Ad

More from Rory Preddy (17)

PPTX
Programming for accessibility
PPTX
Whats new in .net for 2019
PDF
Whats new in .NET for 2019
PDF
Getting started with Firebase
PDF
Whats new in Java 9,10,11,12
PDF
Java modules
PDF
Java 2018 certifications
PPTX
AWS Transcribe and Comprehend
PPTX
BDD with Mockito
PPTX
Up and Running with Kubernetes
PPTX
Dockercompose
PPTX
Functional Reactive Endpoints using Spring 5
PPTX
Nashorn
PPTX
Vs java (1)
PPTX
Polyglot
PPTX
BDD - Keep love alive
PPTX
Kotlin
Programming for accessibility
Whats new in .net for 2019
Whats new in .NET for 2019
Getting started with Firebase
Whats new in Java 9,10,11,12
Java modules
Java 2018 certifications
AWS Transcribe and Comprehend
BDD with Mockito
Up and Running with Kubernetes
Dockercompose
Functional Reactive Endpoints using Spring 5
Nashorn
Vs java (1)
Polyglot
BDD - Keep love alive
Kotlin

Recently uploaded (20)

PPTX
assetexplorer- product-overview - presentation
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
medical staffing services at VALiNTRY
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PPTX
Computer Software and OS of computer science of grade 11.pptx
PDF
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
PDF
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
PDF
Digital Systems & Binary Numbers (comprehensive )
PDF
Tally Prime Crack Download New Version 5.1 [2025] (License Key Free
PPTX
AMADEUS TRAVEL AGENT SOFTWARE | AMADEUS TICKETING SYSTEM
PPTX
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
PDF
Salesforce Agentforce AI Implementation.pdf
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PPTX
L1 - Introduction to python Backend.pptx
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PPTX
Reimagine Home Health with the Power of Agentic AI​
assetexplorer- product-overview - presentation
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
medical staffing services at VALiNTRY
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
Design an Analysis of Algorithms I-SECS-1021-03
Design an Analysis of Algorithms II-SECS-1021-03
Computer Software and OS of computer science of grade 11.pptx
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
Digital Systems & Binary Numbers (comprehensive )
Tally Prime Crack Download New Version 5.1 [2025] (License Key Free
AMADEUS TRAVEL AGENT SOFTWARE | AMADEUS TICKETING SYSTEM
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
Salesforce Agentforce AI Implementation.pdf
Odoo Companies in India – Driving Business Transformation.pdf
Adobe Illustrator 28.6 Crack My Vision of Vector Design
L1 - Introduction to python Backend.pptx
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Navsoft: AI-Powered Business Solutions & Custom Software Development
Reimagine Home Health with the Power of Agentic AI​

AWS and Serverless with Alexa

  • 2. Meet Rory ‱ Developer in R&D team at BBD – Training for 700 Developers – All Languages & Frameworks ‱ Organizer for – Jozi-JUG – AWS-Jozi ‱ Not related to Tyrion Lannister ‱ Don’t do kids parties
  • 6. Agenda ‱ The “Cloud” ‱ Core AWS Services – Tooling – Billing – Monitoring ‱ Serverless ‱ Alexa Demo
  • 9. Lift and Shift (Minimal Change) Move theApp Infrastructure Decommission Do NotMove Determine Migration Process ManuallyMove App and Data rd3 Party Tools AWS VM Import Refactor forAWS Rebuild Application Architecture Refactor forAWS Application Lift and Shift Vendor Movethe S/PaaS Application (if available) 3rd Party Migration Tool Manually Move App and Data Determine MigrationProcess Replatform (typically legacy applications) Recode App Components Rearchitect Application Recode Application Architect AWS Environment and Deploy App, Migrate Data Org/Ops Impact Analysis Change Management Plan Discover, Assess (Enterprise Architecture and Applications) Operate Determine MigrationPath Design, Build AWS Environment Signoff Tuning Cutover Identify Ops Changes Migrationand UAT Testing Plan Migration and Sequencing Adoption Source: https://www.slideshare.net/AmazonWebServices/aws-migration-planning-roadmap Lift and Shift Cloud Native
  • 10. Signing up for an AWS account ‱ Sign up through https://aws.amazon.com ‱ You will need a credit card ‱ There will be a telephone verification ‱ Choose a zone ‱ try and stick to one ‱ Ireland is Best!
  • 13. AWS Core Services ‱ Traditional Infrastructure Amazon Web Services Security Network Security Network Security Groups NACLs Access Mgmt VPCVPCEC2 “Classic” “Public ” ELB On-Demand Provision Security Security Groups Network ACLs AWS IAMFirewalls ACLs Administrators Networking VPCELBRouter Network Pipeline Switch Storage and Database SAN DB Amazon EBS Amazon EFS Amazon S3 Amazon RDS Servers Amazon EC2 InstancesOn-Premises Servers Beanstalk
  • 14. Simple Storage Service (S3) ‱ Cloud based file storage ‱ Simple API to CRUD files ‱ Unlimited capacity ‱ Static website hosting
  • 16. EC2 ‱ Hardware virtualization in the cloud ‱ Various sized servers ‱ All major operating systems ‱ Provision, configure, start and stop machines from your App! ‱ Full operating system access via SSH and Security Groups
  • 18. Elastic Beanstalk ‱ Deploy and scale web applications ‱ Languages: Java, .NET, PHP, Node.js, Python, Ruby
 ‱ Servers: Apache, Nginx, Tomcat , IIS ‱ Upload your code; AWS handles: Deployment Capacity Provisioning Load balancing Auto scaling Health Monitoring
  • 21. EC2 Container Service ‱ Run Docker containers in EC2 cluster ‱ API controlled ‱ Support Images from private Docker repositories ‱ Docker CE and EE for AWS ‱ Docker swarm for Cloud
  • 23. Tooling ‱ AWS and EB CLI ‱ IDE integration – Eclipse, IntelliJ, Visual Studio ‱ AWS SDK ‱ API to manage AWS services ‱ Use services from within your application ‱ Android and IOS app
  • 25. Billing Free Tier ‱ Free for 12 months ‱ EC2 - run 1 micro instance x 1 month or 2 micro instances x half a month ‱ S3 - 5 GB of Standard Storage ‱ First 1 million Lambda calls a month And a lot more
.
  • 27. SSH ‱ SSH keys are used for secured access to EC2 instances
  • 29. AWS CodeCommit AWS CodeDeploy AWS CodePipeline Software Development and Continuous Delivery Toolchain AWSCodeBuild AWS CodeStar AWS CloudFormation AWS OpsWorks Infrastructure as Code AWS OpsWorks for ChefAutomate Amazon CloudWatch AWS CloudTrail Monitoring & Logging AWSConfig AWSX-Ray AWS DevOps Portfolio
  • 30. Source Build Test Production Third Party Tooling AWS CodeStar – Implement AWS DevOps Software Development and Continuous Integration & Delivery Workflow AWS CodeCommit AWS CodeBuild AWS CodeDeploy AWS CodePipeline AWS CodeStar
  • 34. AWS Lambda is a compute service that runs your code in response to events and automatically manages the compute resources for you
  • 35. Run code in response to events FUNCTION SERVICES (ANYTHING) Changes in data state Requests to endpoints Changes in resource state Node Python Java C# EVENT SOURCE
  • 37. LAMBDA PRICING ‱ Lambda – Requests ‱ First 1 million per month are free ‱ $0.20 per 1 million requests thereafter – Duration ‱ Charged per 100ms execution time ‱ First 400,000 GB-seconds of compute time per month are free ‱ $0.00001667 for every GB-second thereafter ‱ API Gateway – $3.50 per million API calls received plus data transfer costs ‱ Estimate for Malicious Domain Application: ‱ Lambda: $0.37/hour with 10 threads after free-tier ‱ API Gateway: $0.71/hour ‱ Total: ~$1/hr
  • 39. Lambda Considerations ‱ Lambda can be invoked by **anything** or you can figure out a way to make it happen. ‱ NodeJS performs well ‱ Stateless ‱ Cold start behavior
  • 42. Available in the US, UK, Germany, Japan and India
  • 43. ‱ Register a device ‱ Link third-party accounts (Twitter) ‱ View lists ‱ Call and Message ‱ Home Automation ‱ And much more THE ALEXA APP
  • 44. Lab: Build a Lambda Alexa Skill https://github.com/alexa/skill-sample-nodejs-fact Try it yourself with https://echosim.io/