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

What's hot (10)

PPTX
Aws tutorial for beginners- tibacademy.in
TIB Academy
 
PDF
AWS 101, London - September 2014
Ian Massingham
 
PPTX
Aws platform overview
Vinay Yelluri
 
PPTX
AWS Summit London 2014 - JUST EAT - High Availability and Rapid Change
daniel-richardson
 
PPTX
How we do Serverless
A Cloud Guru
 
PDF
Introduction to AWS
Angel Borroy López
 
PPTX
Aws overview
abhijeetrajpurohit29
 
PPT
Cloud Computing With AWS
Munish Gupta
 
PDF
AWSome Day, Milan | 5 Marzo 2015 - Contenuto Tecnico (Danilo Poccia - AWS Sol...
lanfranf
 
PDF
Aws concepts-power-point-slides
Sushil Thapa
 
Aws tutorial for beginners- tibacademy.in
TIB Academy
 
AWS 101, London - September 2014
Ian Massingham
 
Aws platform overview
Vinay Yelluri
 
AWS Summit London 2014 - JUST EAT - High Availability and Rapid Change
daniel-richardson
 
How we do Serverless
A Cloud Guru
 
Introduction to AWS
Angel Borroy López
 
Aws overview
abhijeetrajpurohit29
 
Cloud Computing With AWS
Munish Gupta
 
AWSome Day, Milan | 5 Marzo 2015 - Contenuto Tecnico (Danilo Poccia - AWS Sol...
lanfranf
 
Aws concepts-power-point-slides
Sushil Thapa
 

Similar to AWS and Serverless with Alexa (20)

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

More from Rory Preddy (17)

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

Recently uploaded (20)

PDF
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
PPTX
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
PPTX
Milwaukee Marketo User Group - Summer Road Trip: Mapping and Personalizing Yo...
bbedford2
 
PPTX
Comprehensive Risk Assessment Module for Smarter Risk Management
EHA Soft Solutions
 
PDF
NEW-Viral>Wondershare Filmora 14.5.18.12900 Crack Free
sherryg1122g
 
PDF
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
PPTX
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
PDF
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
PPTX
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
PDF
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
PPTX
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
PPTX
Foundations of Marketo Engage - Powering Campaigns with Marketo Personalization
bbedford2
 
PDF
IObit Driver Booster Pro 12.4.0.585 Crack Free Download
henryc1122g
 
PPTX
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
PDF
[Solution] Why Choose the VeryPDF DRM Protector Custom-Built Solution for You...
Lingwen1998
 
PPTX
Finding Your License Details in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
Empowering Asian Contributions: The Rise of Regional User Groups in Open Sour...
Shane Coughlan
 
PDF
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
PPTX
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
Milwaukee Marketo User Group - Summer Road Trip: Mapping and Personalizing Yo...
bbedford2
 
Comprehensive Risk Assessment Module for Smarter Risk Management
EHA Soft Solutions
 
NEW-Viral>Wondershare Filmora 14.5.18.12900 Crack Free
sherryg1122g
 
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
Foundations of Marketo Engage - Powering Campaigns with Marketo Personalization
bbedford2
 
IObit Driver Booster Pro 12.4.0.585 Crack Free Download
henryc1122g
 
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
[Solution] Why Choose the VeryPDF DRM Protector Custom-Built Solution for You...
Lingwen1998
 
Finding Your License Details in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Empowering Asian Contributions: The Rise of Regional User Groups in Open Sour...
Shane Coughlan
 
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 

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/