SlideShare une entreprise Scribd logo
1  sur  95
Télécharger pour lire hors ligne
Tuesday, Jan 28, 2020
1. Intro & Activity Update
2. Community Open Mic
3. Jonathan Dion: “The state of
Serverless after AWS re:Invent
2019”
4. Networking
1
ServerlessToronto.org Meetup Agenda
Serverless is not just about the Tech:
2
Serverless is New Agile & Mindset
Serverless Dev (gluing
other people’s APIs and
managed services)
We're obsessed by
creating business value
(meaningful MVPs,
products) and helping
Startups
We build bridges
between Serverless
Community (“Dev leg”),
and Front-end & Voice-
First folks (“UX leg”),
and empower UX
developers
Achieve agility NOT by
“sprinting” faster (like in
Scrum), but by working
smarter (by using
bigger building blocks
and less Ops)
We wrapped up last decade nicely…
3
Wardley Maps show how things
evolve (x-axes) and move up the
value chain (y-axes), then evolve
again… moving up.
Innovation happens, then evolves,
goes mainstream, becomes a
commodity. E.g.
• Electricity => 20th century reality
• Computers => e.g. Internet
• Internet => e.g. Cloud
• Cloud => e.g. Machine Learning,
Serverless/Utility Computing
• ML/Serverless => e.g. Voice First
Technologies
=> e.g. Killer Robots ?
Tech predictions for the next one?
#ServerlessTO
Sponsors
4
Venue Sponsor
5
As Certified B Corporation, Myplanet is purpose-driven and
creates benefit for all stakeholders, not just shareholders!
Knowledge Sponsor
6
Get your raffle tickets… and GOOD LUCK!
1. Go to www.manning.com
2. Select eBook or Video title you like
3. Add it to the shopping cart
4. Raffle winner will send me email address used
5. For Manning staff to move to your dashboard
Future Talks
2020
7
Upcoming 2020 #ServerlessTO Meetups
8
1. Using Data Science & Serverless Python (Zappa) to
Find an Apartment in Toronto – Ian Whitestone, Data
Scientist at Shopify ** FEB 27 **
2. Intro to PySpark – Python Data Analysis at scale in the
Cloud – Jonathan Rioux, Lead Data Scientist at EPAM
Systems & author of PySpark in Action book
3. Introduction to Google BigQuery – Matt Welke, Software
Developer at GroupBy Inc
4. Serverless with Pivotal Cloud Foundry – Adib Saikali,
Principal Platform Architect at VMware
5. Fivetran – Data Pipelines, Reinvented – Replicate your
data into the Cloud Warehouse of your choice
Community Open Mic
9
Your 10 sec. pitch ☺
- Looking for work?
- Offering work?
About You – because without you, there would be no meetups!
Feature Talk
Jonathan Dion, Senior Technical
Evangelist at AWS
10
Jonathan Dion
Senior Developer Advocate
Amazon Web Services
@jotdion
linkedin.com/in/jotdion
Serverless Toront o
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
General Availability
LEARN MORE CON-326R - Running Kubernetes Applications on AWS Fargate
Introducing
The only way to run serverless Kubernetes containers securely,
reliably, and at scale
Amazon EKS for AWS Fargate
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Some limitations
• Maximum of 4 vCPU and 30 GB memory per pod
• No persistent volumes or file systems
• You cannot run Daemonsets, Privileged pods or pods that use
HostNetwork or HostPort
• Application Load Balancer only
• Pods must match a Fargate profile at the time that they are scheduled
in order to run on Fargate
• No public IP address
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Receive lower rates
automatically. Easy to use
with recommendations in
AWS Cost Explorer
Significant
savings of up to 72%
Flexible across instance family,
size, OS, tenancy or AWS
Region; also applies to AWS
Fargate & soon to AWS
Lambda usage
LEARN MORE CMP210: Dive deep on Savings Plans
Announced
Simplify purchasing with a flexible pricing model that offers savings of up
to 72% on Amazon EC2, Amazon ECS, AWS Fargate & AWS Lambda usage
Savings Plans
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Serverless Application Repository
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Lambda execution model
Synchronous
(push)
Asynchronous
(event)
Stream
(Poll-based)
/order
Amazon API
Gateway
Lambda
function
Amazon
DynamoDB
Amazon
Kinesis
changes
AWS Lambda
service
function
Amazon
SNS
Amazon
S3
reqs
Lambda
function
Amazon
SQS + FIFO
NEW!!!
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Async enhanced controls
When you know that retries won’t succeed, or would like to
remove the old requests that haven’t been invoked, use these
new controls:
• Event Age (Default/Maximum: 6 hours, Minimum: 60s)
• Retry Attempts (Default/Maximum: 2, Minimum: 0)
These new controls are not breaking changes.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Introducing Lambda Event Destinations
For asynchronous invocations, capture
success or failure
• Record contains details about the request
and response in JSON format
• Contains more information than data sent
to a DLQ
• Can send both outcomes to same
destination
or
• Can send success to one destination,
failure to another
AWS Lambda
AWS Lambda
Amazon EventBridge
Amazon SNS
Amazon SQS
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Use Lambda Event Destinations for:
• Batching events to process with SQS or EventBridge
• Visibility and notification using EventBridge or SNS
• Handling failure with additional context
• Building simple workflow by chaining Lambda functions
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Announcements for streamed event sources
• Enhanced controls on stream processing
• How many retries on a record: MaximumRetryAttempts (0 to 10,000)
• Skip processing old records: MaximumRecordAgeInSeconds (60 seconds to 7 days)
• Trace down the bad records: BisectBatchOnFunctionError
• Send batch info and request context of failed records to SNS/SQS: On-failure
destination
• Batch Window: allows to batch up to 300 seconds before
invocation (instead of data every seconds)
• Invocation criteria: 6MB payload, Maximum Batch Window, Maximum Batch Size
• Parallelization Factor: allows to have up to 10 batches on 10
instances per Kinesis shard (instead of 1 instance per shard)
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
The function lifecycle
Bootstrap
the runtime
Start your
code
Full
cold start
Partial
cold start
Warm
start
Download
your code
Start new
Execution
environment
AWS optimization Your optimization
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Lambda + VPC, no longer a cold-start pain point!
 Before: 14.8-sec duration
After: 933 ms duration →
NEW!!!
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Lambda + VPC, no longer a cold-start pain point!
 Before: 14.8 sec duration
After: 933ms duration →
NEW!!!
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
L E A R N M O R E SVS401 - Optimizing your serverless applications
Provisioned Concurrency on AWS Lambda
Introducing
• Keeps functions initialized and hyper-ready, ensuring
start times stay in the milliseconds
• Builders have full control over when provisioned
concurrency is set
• No code changes are required to provision concurrency
on functions in production
• Can be combined with AWS Auto Scaling at launch
General Availability
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What Happens on a Cold Start?
Client
Invoke
AWS Lambda
Service
Create new
Execution
Environment
& Download
Code
Bootstrap
the runtime Invoke the
Handler
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Prior to Provisioned Concurrency…
• Pre-warm your function with the concurrent invocations
• Don’t ping more often than every 5 minutes
• Pass in a test payload that can be identified as such
• Create handler logic that replies accordingly without running the whole function
exports.handler = async (event) => {
// if a warming event
if (await warmer(event)) return 'warmed’
// else proceed with handler logic
return 'Hello from Lambda’
}
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Lambda Provisioned Concurrency
• Greater control over the start up time
of your Lambda functions.
• Functions stay initialized and hyper-
ready to respond in double-digit
milliseconds.
• No code changes necessary
• Ideal for interactive applications such as
web or mobile backends
• Good for customers that are building:
• Applications that have strict latency SLAs
• Applications that support high-velocity traffic bursts
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What Happens on a Cold Start?
Client
Invoke
AWS Lambda
Service
Create new
Execution
Environment
& Download
Code
Bootstrap
the runtime Invoke the
Handler
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Use Cases: Strict Latency SLAs
• Applications that:
• Have direct interaction with end-users
• Leverage languages that have a slower cold start time or require large deployment packages
• Lambda will:
• Pre-create and initialize the sandboxes as if it was a normal cold start
• The provisioning speed defaults to standard burst scaling rate (3K at once then +500 per
minute)
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Use Cases: High-Velocity Traffic Bursts
• Applications that:
• Serve content such as ads during a live stream
• Mobile applications such as games
• Marketing blitzes or flash sales
• Lambda will:
• Provisioning scheduled in advance
• Schedule in advance to allow for scale-up
• Provision in increments of 5 minutes
• Invocations above the provisioned concurrency are handled by on-demand Lambda
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Provisioning Concurrency
• Provisioning scheduled in
advance
• Schedule in advance to
allow for scale-up
• Provision in increments of
5 minutes
• Invocations above the
provisioned concurrency
are handled by on-demand
Lambda
0
500
1000
1500
2000
2500
0
500
1000
1500
2000
2500
Traffic (TPS) Provisioned concurrency
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Lambda runtimes
New Runtimes
• Based on the Amazon Linux 2 execution environment
• Node.js 12
• Java 11
• Python 3.8
Change to current Runtimes
• requests library removed from botocore used by boto3 (Python SDK)
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Business workflow is rarely sequential start to finish
Multiple decision paths
Need to handle failure
Multiple step processes
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS
Step Functions
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Introduction to Step Functions
All work in your state
machine is done by
tasks
You can directly
call other AWS
services
Use Amazon
CloudWatch to
monitor your
workflows
Retries and fallbacks
are available to you
States are elements
in your state
machine
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Step Functions + Lambda
“Serverless” workflow management with
zero administration:
• Makes it easy to coordinate the
components of distributed applications
and microservices using visual workflows
• Automatically triggers and tracks each
step and retries when there are errors, so
your application executes in order and as
expected
• Logs the state of each step, so when
things do go wrong, you can diagnose and
debug problems quickly
Choice
Start
ExtractImageMetadata
CheckJobStatus
Rekognition
ImageTypeCheck
NotSupportedImageType
End
Thumbnail
AddRekognizedTags
Tasks
Failure capture
Parallel tasks
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Step Functions: Integrations
Simplify building workloads such as order processing, report
generation, and data analysis
Write and maintain less code; add services in minutes
More service integrations:
AWS Step
Functions
Amazon Simple
Notification
Service
(Amazon SNS)
Amazon Simple
Queue Service
(Amazon SQS)
Amazon
SageMaker
AWS Glue AWS Batch Amazon Elastic
Container Service
AWS Fargate Amazon EMR
NEW!!!
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Simpler integration, less code
With serverless polling With direct service integrationStart
End
AWS
Lambda
functions
Start
End
No
Lambda
functions
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Step Functions Express Workflows
Introducing
Orchestrate AWS compute, database, and messaging services at rates
greater than 100,000 events/second, suitable for high-volume event
processing workloads such as IoT data ingestion, streaming data
processing and transformation.
General Availability
L E A R N M O R E API321: Event-Processing Workflows at Scale with AWS Step Functions
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Which one is right my use case?
Standard Workflows
• IT automation
• report generation
• order processing
• payment and billing
• machine learning model training
• ELT and big data orchestration
• media processing
Express Workflows
• event driven microservice
orchestration
• high volume data processing
• IoT data ingestion
• order / cart validation
• payment reconciliation
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Standard vs. Express Workflows
Standard Express
Console Step Functions Step Functions
State machine
definition
Amazon States Language Amazon States Language
Documentation Step Functions Step Functions
Pricing Priced per state transition
Priced by the number of executions
you run, their duration, and memory
consumption
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Standard vs. Express Workflows
Standard Express
Maximum
duration
365 days 5 minutes
Start execution
Bucket Size: 1,300
Refill Rate per Second: 300
Bucket Size: 6,000
Refill Rate per Second: 6,000
State transition
Bucket Size: 5,000
Refill Rate per Second: 1,500
Unlimited
Execution
semantics
Exactly-once workflow step
execution
At-least-once workflow step
execution
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Standard vs. Express Workflows
Standard Express
Executions
Executions are persisted and have
ARNs
Executions are not persisted except
as log data
Execution
history
Stored in Step Functions, with
tooling for visual debugging in the
console
Sent to Amazon CloudWatch Logs
Service
integrations
Supports all service integrations and
activities
Supports all service integrations.
Does not support activities.
Patterns Supports all patterns
Does not support Job-run (.sync) or
Callback (.waitForTaskToken)
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Standard + Express Workflows
Express Workflows can be nested within a Standard Workflow, enabling
customers to use Express Workflows for short periods of task execution
and a Standard Workflow for long periods of task execution or waiting.
EndStart
Standard Workflow
Express Workflow
Validate
Image
Approval
Notification
Approval
Received
Store
Metadata
Rekognition Add
Tags
Thumbnail
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Customers are ditching monolithic applications
Monolithic application
Does everything
Shared release pipeline
Rigid scaling
High impact of change
Hard to adopt new technologies
Microservices
Does one thing
Independent deployments
Independent scaling
Small impact of change
Choice of technology
When the impact of change is small, release velocity can increase
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How microservices communicate
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How microservices communicate
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How microservices communicate
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How microservices communicate
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon EventBridge
Native integrations with SaaS providers
17 target services
Easily build event-driven architectures
Fully managed, pay-as-you-go
Amazon
EventBridge
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon EventBridge event bus
Rule 1
Rule 2
Rule 3
Event Source
Amazon EventBridge overview
Targets
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Event Source TargetsAmazon EventBridge event bus
Rule 1
Rule 2
Rule 3
Amazon EventBridge overview
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Anatomy of an event
{
"version": "0",
"id": "adeacade-c34c-ce58-c4a0-74f106398c4e",
"account": ”123456789012",
"region": "us-east-1",
"time": "2019-12-02T21:46:19Z",
"source": "order-service",
"detail-type": "New Order",
"resources": [],
"detail": {
"orderId": "cfb2ae566f9b",
"customerId": "C12345",
...
}
}
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How do you manage event types?
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon EventBridge Schema Registry
Introducing
Store event structure - or schema - in a shared central location, so it’s
faster and easier to find the events you need. Generate code bindings
right in your IDE to represent an event as an object in code.
Preview
LEARN MORE API320 – Building event-driven architectures with Amazon EventBridge
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Schema Registry and Discovery pricing
Schema Registries
Free!
Schema Discovery
Free tier Additional usage
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Relational Database Service (Amazon RDS)
Managed relational database service with a choice of popular database engines
Easy to
administer
Easily deploy and maintain
hardware, OS, and DB
software; built-in
monitoring
Performant
& scalable
Scale compute
and storage with a few
clicks; minimal downtime
for your application
Available
& durable
Automatic Multi-AZ data
replication; automated
backup, snapshots,
and failover
Secure &
compliant
Data encryption at rest
and in transit; industry
compliance and
assurance programs
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Aurora
Enterprise database at open source price
Delivered as a managed service
Amazon Aurora
Speed and availability of high-end commercial databases
Simplicity and cost-effectiveness of open source databases
Drop-in compatibility with MySQL and PostgreSQL
Simple pay as you go pricing
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
You have some choices to make . . .
Provision for peak
Continuously monitor and
manually scale up or down
-or-
Expensive
Hard
• Requires experts
• Risks outages
Provision less than peak User (business) impact
-or-
Aurora Serverless architecture
• Starts up on demand, shuts
down when not in use
• Scales up/down
automatically
• No application impact when
scaling
• Pay per second, 1 minute
minimum
Warm pool
of instances
Application
Database storage
Scalable DB capacity
Request routers
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
You asked for a simpler access model for Aurora
Serverless
• Modern applications on AWS Lambda require networking
• Access restricted within Amazon Virtual Private Cloud (Amazon VPC)
• Database connection limits
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon RDS Data API solves these challenges
Millions of
IoT/mobile devices RDS Data API
API
endpoint
Aurora
Serverless
Access through simple web interface
• Public HTTPS endpoint for easier access
• No client configuration required
• No persistent connections required
• Java Client library for a developer-friendly
experience (New!)
AWS Command
Line Interface
(AWS CLI)
AWS
Lambda
AWS
Cloud9
AWS
AppSync
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Many applications, including serverless apps, have a
large number of open DB connections and high
connection open/close rate, exhausting DB resources
Modern apps can have
1000s of DB connections,
exhausting DB resources
Custom failure handling:
Code can contain security
risks like DB credentials
Self-managed proxy servers
help manage DB load, but
are difficult to deploy
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon RDS Proxy
Introducing
Fully managed, highly available database proxy feature for Amazon
RDS. Pools and shares connections to make applications more
scalable, more resilient to database failures, and more secure.
Public Beta
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon RDS Proxy – How it works
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Connection pooling
• Sets of system variables, sets of user-defined variables, calls of locking
functions, tables locks, creates of temporary tables, prepares statement
prepare call
RDSProxy
Connection pooling
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Seamless and faster failovers
Fast, seamless failover
RDSProxy
Application connections preserved during failovers
Detects failovers and connects to standby quicker, bypassing DNS caches
Up to 66% faster failover times
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Improved application security
• Enforce IAM authentication with your relational databases
• Centrally manage database credentials using AWS Secrets Manager
No passwords embedded in code
const signer = new AWS.RDS.Signer({ username: process.env.username,
hostname: process.env.endpoint, region: 'us-east-2', port: 3306, })
const token = await signer.getAuthToken()
const connection = mysql.createConnection({ host: process.env.endpoint,
user: process.env.username, password: token, database:
process.env.database, }) connection.connect()
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
RDS Proxy regions and engines
• RDS Proxy is available in:
• Asia Pacific (Tokyo)
• EU West (Ireland)
• US East (N. Virginia)
• US East (Ohio)
• US West (Oregon)
• RDS Proxy supports the following
engines:
• RDS MySQL 5.6 and 5.7
• Aurora MySQL 5.6 and 5.7
• RDS and Aurora PostgreSQL coming soon!
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Achieve up to 67% cost reduction and 50% latency reduction compared
to REST APIs. HTTP APIs are also easier to configure than REST APIs,
allowing customers to focus more time on building applications.
Reduce application costs by
up to 67%
Reduce application latency by
up to 50%
Configure HTTP APIs easier
and faster than before
HTTP APIs for Amazon API Gateway
Introducing
Preview
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
REST API vs HTTP API
REST API HTTP API
Authorizers AWS Lambda, IAM, Cognito
Native OpenID Connect/Oauth
2.0, Cognito (JWT issuer)
Integration
HTTP proxy, Lambda proxy,
HTTP, AWS services, Private
integration, Mock
HTTP proxy, Lambda proxy
API Management
Usage plans, API Keys,
Custom domain names
Custom domain names
Extra security
features
Client certificates, AWS WAF,
Resource policies
None
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
REST API vs HTTP API
REST API HTTP API
Development
Cache, Transformation,
Validation, Test invocation
CORS, Automatic deployments,
Default stage and route
API Type
Regional, Edge-optimized,
Private
Regional
Monitoring
Access logs to CloudWatch logs
and Kinesis Data Firehose,
Execution logs, CloudWatch
metrics, AWS X-Ray
Access logs to CloudWatch
logs, CloudWatch metrics
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Create HTTP APIs
OpenAPI 3.0 AWS Serverless
Application Model
integration
AWS::ApiGatewayV2::Api
AWS CloudFormation
AWS::ApiGatewayV2::Api
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Latency example
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amplify for iOS & Android
Introducing
General Availability
Open source libraries and toolchain that enable mobile developers to
build scalable and secure cloud powered serverless applications.
L E A R N M O R E MOB317 - Speed up native mobile development with AWS Amplify
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amplify DataStore
New Feature
General Availability
Multi-platform (iOS/Android/React Native/Web) on-device persistent
storage engine that automatically synchronizes data between
mobile/web apps and the cloud using GraphQL.
L E A R N M O R E MOB402: Build data-driven mobile and web apps with AWS AppSync
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Server-side Encryption using CMK
• Key Management Service integration of Customer managed key
General Availability
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Hot keys identification
Identify frequently access keys and database traffic trends
Preview
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Adaptive capacity
• Handles imbalanced workloads by isolating frequently accessed items
automatically
• Shifts data across partitions to rebalance
• Main table and Global Secondary Indexes
• On by default
• No additional cost
General Availability
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
2020 and Beyond
Excelling in Service Fundamentals
Availability, latency, security, scale
Equipping Developers
Improving tools for monitoring, troubleshooting, auditing
Adding Efficiency to Dev Patterns
New patterns through events, workflows, and APIs
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Jonathan Dion
Senior Developer Advocate
Amazon Web Services
@jotdion
linkedin.com/in/jotdion
Thank you!
All re:Invent 2019 sessions: bit.ly/36HeYl6

Contenu connexe

Tendances

gkkAwscloudpractitioneressentialstraining
gkkAwscloudpractitioneressentialstraininggkkAwscloudpractitioneressentialstraining
gkkAwscloudpractitioneressentialstraining
Anne Starr
 
AWSome Day 2016 - Module 1: AWS Introduction and History
AWSome Day 2016 - Module 1: AWS Introduction and HistoryAWSome Day 2016 - Module 1: AWS Introduction and History
AWSome Day 2016 - Module 1: AWS Introduction and History
Amazon Web Services
 

Tendances (20)

AWS Services Eagle View Dec-2017
AWS Services Eagle View Dec-2017AWS Services Eagle View Dec-2017
AWS Services Eagle View Dec-2017
 
Introduction to DevSecOps on AWS
Introduction to DevSecOps on AWSIntroduction to DevSecOps on AWS
Introduction to DevSecOps on AWS
 
AWS re:Invent 2016: NEW LAUNCH! Introducing AWS Greengrass (IOT201)
AWS re:Invent 2016: NEW LAUNCH! Introducing AWS Greengrass (IOT201)AWS re:Invent 2016: NEW LAUNCH! Introducing AWS Greengrass (IOT201)
AWS re:Invent 2016: NEW LAUNCH! Introducing AWS Greengrass (IOT201)
 
Bootstrapping - Session 1 - Your First Week with Amazon EC2
Bootstrapping - Session 1 - Your First Week with Amazon EC2Bootstrapping - Session 1 - Your First Week with Amazon EC2
Bootstrapping - Session 1 - Your First Week with Amazon EC2
 
Deep Dive: Amazon Lumberyard & Amazon GameLift
Deep Dive: Amazon Lumberyard & Amazon GameLiftDeep Dive: Amazon Lumberyard & Amazon GameLift
Deep Dive: Amazon Lumberyard & Amazon GameLift
 
Introduction to Amazon EC2
Introduction to Amazon EC2Introduction to Amazon EC2
Introduction to Amazon EC2
 
Connect and Interconnect – The Mesh of Event-Driven Compute and Marvelous Vir...
Connect and Interconnect – The Mesh of Event-Driven Compute and Marvelous Vir...Connect and Interconnect – The Mesh of Event-Driven Compute and Marvelous Vir...
Connect and Interconnect – The Mesh of Event-Driven Compute and Marvelous Vir...
 
AWS re:Invent 2016: 1-Click Enterprise Innovation with the AWS IoT Button (IO...
AWS re:Invent 2016: 1-Click Enterprise Innovation with the AWS IoT Button (IO...AWS re:Invent 2016: 1-Click Enterprise Innovation with the AWS IoT Button (IO...
AWS re:Invent 2016: 1-Click Enterprise Innovation with the AWS IoT Button (IO...
 
Containers and the Evolution of Computing
Containers and the Evolution of ComputingContainers and the Evolution of Computing
Containers and the Evolution of Computing
 
Deep Dive: Developing, Deploying & Operating Mobile Apps with AWS
Deep Dive: Developing, Deploying & Operating Mobile Apps with AWS Deep Dive: Developing, Deploying & Operating Mobile Apps with AWS
Deep Dive: Developing, Deploying & Operating Mobile Apps with AWS
 
HSBC and AWS Day - AWS foundations
HSBC and AWS Day - AWS foundationsHSBC and AWS Day - AWS foundations
HSBC and AWS Day - AWS foundations
 
Working with microservices and Amazon ECS at Airtime
Working with microservices and Amazon ECS at AirtimeWorking with microservices and Amazon ECS at Airtime
Working with microservices and Amazon ECS at Airtime
 
Getting started with AWS
Getting started with AWSGetting started with AWS
Getting started with AWS
 
IOT203_Getting Started with AWS IoT
IOT203_Getting Started with AWS IoTIOT203_Getting Started with AWS IoT
IOT203_Getting Started with AWS IoT
 
Microservizi e container Docker in produzione: strumenti e consigli
Microservizi e container Docker in produzione: strumenti e consigliMicroservizi e container Docker in produzione: strumenti e consigli
Microservizi e container Docker in produzione: strumenti e consigli
 
gkkAwscloudpractitioneressentialstraining
gkkAwscloudpractitioneressentialstraininggkkAwscloudpractitioneressentialstraining
gkkAwscloudpractitioneressentialstraining
 
AWSome Day 2016 - Module 1: AWS Introduction and History
AWSome Day 2016 - Module 1: AWS Introduction and HistoryAWSome Day 2016 - Module 1: AWS Introduction and History
AWSome Day 2016 - Module 1: AWS Introduction and History
 
透過Amazon CloudFront 和AWS WAF來執行安全的內容傳輸
透過Amazon CloudFront 和AWS WAF來執行安全的內容傳輸透過Amazon CloudFront 和AWS WAF來執行安全的內容傳輸
透過Amazon CloudFront 和AWS WAF來執行安全的內容傳輸
 
Intro to AWS: Amazon EC2 and Compute Services
Intro to AWS: Amazon EC2 and Compute ServicesIntro to AWS: Amazon EC2 and Compute Services
Intro to AWS: Amazon EC2 and Compute Services
 
Iniciando com AWS IoT
Iniciando com AWS IoTIniciando com AWS IoT
Iniciando com AWS IoT
 

Similaire à Serverless AWS reInvent 2019 recap

Building Serverless Web Applications - DevDay Austin 2017
Building Serverless Web Applications - DevDay Austin 2017Building Serverless Web Applications - DevDay Austin 2017
Building Serverless Web Applications - DevDay Austin 2017
Amazon Web Services
 

Similaire à Serverless AWS reInvent 2019 recap (20)

Getting started building your first serverless web application on AWS
Getting started building  your first serverless web application on AWSGetting started building  your first serverless web application on AWS
Getting started building your first serverless web application on AWS
 
Introduction to Serverless Computing - OOP Munich
 Introduction to Serverless Computing - OOP Munich Introduction to Serverless Computing - OOP Munich
Introduction to Serverless Computing - OOP Munich
 
Migrating Microsoft Applications to AWS like an Expert - AWS Summit Sydney 2018
Migrating Microsoft Applications to AWS like an Expert - AWS Summit Sydney 2018Migrating Microsoft Applications to AWS like an Expert - AWS Summit Sydney 2018
Migrating Microsoft Applications to AWS like an Expert - AWS Summit Sydney 2018
 
Aws 101 A walk-through the aws cloud (2013)
Aws 101  A walk-through the aws cloud (2013)Aws 101  A walk-through the aws cloud (2013)
Aws 101 A walk-through the aws cloud (2013)
 
20200803 - Serverless with AWS @ HELTECH
20200803 - Serverless with AWS @ HELTECH20200803 - Serverless with AWS @ HELTECH
20200803 - Serverless with AWS @ HELTECH
 
AWS re:Invent serverless recap day: Controls for-managing-events-in-serverles...
AWS re:Invent serverless recap day: Controls for-managing-events-in-serverles...AWS re:Invent serverless recap day: Controls for-managing-events-in-serverles...
AWS re:Invent serverless recap day: Controls for-managing-events-in-serverles...
 
AWS SSA Webinar 7 - Getting Started on AWS
AWS SSA Webinar 7 - Getting Started on AWSAWS SSA Webinar 7 - Getting Started on AWS
AWS SSA Webinar 7 - Getting Started on AWS
 
Getting Started with ARM-Based EC2 A1 Instances - CMP302 - Anaheim AWS Summit
Getting Started with ARM-Based EC2 A1 Instances - CMP302 - Anaheim AWS SummitGetting Started with ARM-Based EC2 A1 Instances - CMP302 - Anaheim AWS Summit
Getting Started with ARM-Based EC2 A1 Instances - CMP302 - Anaheim AWS Summit
 
Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...
Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...
Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...
 
AWS Application Service Workshop - Serverless Architecture
AWS Application Service Workshop - Serverless ArchitectureAWS Application Service Workshop - Serverless Architecture
AWS Application Service Workshop - Serverless Architecture
 
Blur the boundaries between your on-premises to AWS cloud by embracing VMWare...
Blur the boundaries between your on-premises to AWS cloud by embracing VMWare...Blur the boundaries between your on-premises to AWS cloud by embracing VMWare...
Blur the boundaries between your on-premises to AWS cloud by embracing VMWare...
 
Become a Serverless Black Belt - Optimizing Your Serverless Applications - AW...
Become a Serverless Black Belt - Optimizing Your Serverless Applications - AW...Become a Serverless Black Belt - Optimizing Your Serverless Applications - AW...
Become a Serverless Black Belt - Optimizing Your Serverless Applications - AW...
 
Introduction to AWS Lambda and Serverless Applications
Introduction to AWS Lambda and Serverless ApplicationsIntroduction to AWS Lambda and Serverless Applications
Introduction to AWS Lambda and Serverless Applications
 
Intro to AWS Lambda and Serverless Applications: re:Invent 2018 Recap at the ...
Intro to AWS Lambda and Serverless Applications: re:Invent 2018 Recap at the ...Intro to AWS Lambda and Serverless Applications: re:Invent 2018 Recap at the ...
Intro to AWS Lambda and Serverless Applications: re:Invent 2018 Recap at the ...
 
SRV315 Building Enterprise-Grade Serverless Apps
 SRV315 Building Enterprise-Grade Serverless Apps SRV315 Building Enterprise-Grade Serverless Apps
SRV315 Building Enterprise-Grade Serverless Apps
 
Building Serverless Web Applications - DevDay Austin 2017
Building Serverless Web Applications - DevDay Austin 2017Building Serverless Web Applications - DevDay Austin 2017
Building Serverless Web Applications - DevDay Austin 2017
 
AWS 101
AWS 101AWS 101
AWS 101
 
Leveraging serverless in fullstack development
Leveraging serverless in fullstack developmentLeveraging serverless in fullstack development
Leveraging serverless in fullstack development
 
Raleigh DevDay 2017: Build a serverless web application in one day workshop
Raleigh DevDay 2017: Build a serverless web application in one day workshopRaleigh DevDay 2017: Build a serverless web application in one day workshop
Raleigh DevDay 2017: Build a serverless web application in one day workshop
 
Serverless at Lifestage
Serverless at LifestageServerless at Lifestage
Serverless at Lifestage
 

Plus de Daniel Zivkovic

Opinionated re:Invent recap with AWS Heroes & Builders
Opinionated re:Invent recap with AWS Heroes & BuildersOpinionated re:Invent recap with AWS Heroes & Builders
Opinionated re:Invent recap with AWS Heroes & Builders
Daniel Zivkovic
 
Intro to Vertex AI, unified MLOps platform for Data Scientists & ML Engineers
Intro to Vertex AI, unified MLOps platform for Data Scientists & ML EngineersIntro to Vertex AI, unified MLOps platform for Data Scientists & ML Engineers
Intro to Vertex AI, unified MLOps platform for Data Scientists & ML Engineers
Daniel Zivkovic
 
This is my Architecture to prevent Cloud Bill Shock
This is my Architecture to prevent Cloud Bill ShockThis is my Architecture to prevent Cloud Bill Shock
This is my Architecture to prevent Cloud Bill Shock
Daniel Zivkovic
 
Azure for AWS & GCP Pros: Which Azure services to use?
Azure for AWS & GCP Pros: Which Azure services to use?Azure for AWS & GCP Pros: Which Azure services to use?
Azure for AWS & GCP Pros: Which Azure services to use?
Daniel Zivkovic
 
Serverless Evolution during 3 years of Serverless Toronto
Serverless Evolution during 3 years of Serverless TorontoServerless Evolution during 3 years of Serverless Toronto
Serverless Evolution during 3 years of Serverless Toronto
Daniel Zivkovic
 

Plus de Daniel Zivkovic (20)

All in AI: LLM Landscape & RAG in 2024 with Mark Ryan (Google) & Jerry Liu (L...
All in AI: LLM Landscape & RAG in 2024 with Mark Ryan (Google) & Jerry Liu (L...All in AI: LLM Landscape & RAG in 2024 with Mark Ryan (Google) & Jerry Liu (L...
All in AI: LLM Landscape & RAG in 2024 with Mark Ryan (Google) & Jerry Liu (L...
 
Canadian Experts Discuss Modern Data Stacks and Cloud Computing for 5 Years o...
Canadian Experts Discuss Modern Data Stacks and Cloud Computing for 5 Years o...Canadian Experts Discuss Modern Data Stacks and Cloud Computing for 5 Years o...
Canadian Experts Discuss Modern Data Stacks and Cloud Computing for 5 Years o...
 
Opinionated re:Invent recap with AWS Heroes & Builders
Opinionated re:Invent recap with AWS Heroes & BuildersOpinionated re:Invent recap with AWS Heroes & Builders
Opinionated re:Invent recap with AWS Heroes & Builders
 
Google Cloud Next '22 Recap: Serverless & Data edition
Google Cloud Next '22 Recap: Serverless & Data editionGoogle Cloud Next '22 Recap: Serverless & Data edition
Google Cloud Next '22 Recap: Serverless & Data edition
 
Conversational Document Processing AI with Rui Costa
Conversational Document Processing AI with Rui CostaConversational Document Processing AI with Rui Costa
Conversational Document Processing AI with Rui Costa
 
How to build unified Batch & Streaming Pipelines with Apache Beam and Dataflow
How to build unified Batch & Streaming Pipelines with Apache Beam and DataflowHow to build unified Batch & Streaming Pipelines with Apache Beam and Dataflow
How to build unified Batch & Streaming Pipelines with Apache Beam and Dataflow
 
Gojko's 5 rules for super responsive Serverless applications
Gojko's 5 rules for super responsive Serverless applicationsGojko's 5 rules for super responsive Serverless applications
Gojko's 5 rules for super responsive Serverless applications
 
Retail Analytics and BI with Looker, BigQuery, GCP & Leigha Jarett
Retail Analytics and BI with Looker, BigQuery, GCP & Leigha JarettRetail Analytics and BI with Looker, BigQuery, GCP & Leigha Jarett
Retail Analytics and BI with Looker, BigQuery, GCP & Leigha Jarett
 
What's new in Serverless at AWS?
What's new in Serverless at AWS?What's new in Serverless at AWS?
What's new in Serverless at AWS?
 
Intro to Vertex AI, unified MLOps platform for Data Scientists & ML Engineers
Intro to Vertex AI, unified MLOps platform for Data Scientists & ML EngineersIntro to Vertex AI, unified MLOps platform for Data Scientists & ML Engineers
Intro to Vertex AI, unified MLOps platform for Data Scientists & ML Engineers
 
Empowering Developers to be Healthcare Heroes
Empowering Developers to be Healthcare HeroesEmpowering Developers to be Healthcare Heroes
Empowering Developers to be Healthcare Heroes
 
Get started with Dialogflow & Contact Center AI on Google Cloud
Get started with Dialogflow & Contact Center AI on Google CloudGet started with Dialogflow & Contact Center AI on Google Cloud
Get started with Dialogflow & Contact Center AI on Google Cloud
 
Building a Data Cloud to enable Analytics & AI-Driven Innovation - Lak Lakshm...
Building a Data Cloud to enable Analytics & AI-Driven Innovation - Lak Lakshm...Building a Data Cloud to enable Analytics & AI-Driven Innovation - Lak Lakshm...
Building a Data Cloud to enable Analytics & AI-Driven Innovation - Lak Lakshm...
 
Smart Cities of Italy: Integrating the Cyber World with the IoT
Smart Cities of Italy: Integrating the Cyber World with the IoTSmart Cities of Italy: Integrating the Cyber World with the IoT
Smart Cities of Italy: Integrating the Cyber World with the IoT
 
Running Business Analytics for a Serverless Insurance Company - Joe Emison & ...
Running Business Analytics for a Serverless Insurance Company - Joe Emison & ...Running Business Analytics for a Serverless Insurance Company - Joe Emison & ...
Running Business Analytics for a Serverless Insurance Company - Joe Emison & ...
 
This is my Architecture to prevent Cloud Bill Shock
This is my Architecture to prevent Cloud Bill ShockThis is my Architecture to prevent Cloud Bill Shock
This is my Architecture to prevent Cloud Bill Shock
 
Lunch & Learn BigQuery & Firebase from other Google Cloud customers
Lunch & Learn BigQuery & Firebase from other Google Cloud customersLunch & Learn BigQuery & Firebase from other Google Cloud customers
Lunch & Learn BigQuery & Firebase from other Google Cloud customers
 
Azure for AWS & GCP Pros: Which Azure services to use?
Azure for AWS & GCP Pros: Which Azure services to use?Azure for AWS & GCP Pros: Which Azure services to use?
Azure for AWS & GCP Pros: Which Azure services to use?
 
Serverless Evolution during 3 years of Serverless Toronto
Serverless Evolution during 3 years of Serverless TorontoServerless Evolution during 3 years of Serverless Toronto
Serverless Evolution during 3 years of Serverless Toronto
 
Simpler, faster, cheaper Enterprise Apps using only Spring Boot on GCP
Simpler, faster, cheaper Enterprise Apps using only Spring Boot on GCPSimpler, faster, cheaper Enterprise Apps using only Spring Boot on GCP
Simpler, faster, cheaper Enterprise Apps using only Spring Boot on GCP
 

Dernier

The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
shinachiaurasa2
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
masabamasaba
 

Dernier (20)

Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 

Serverless AWS reInvent 2019 recap

  • 1. Tuesday, Jan 28, 2020 1. Intro & Activity Update 2. Community Open Mic 3. Jonathan Dion: “The state of Serverless after AWS re:Invent 2019” 4. Networking 1 ServerlessToronto.org Meetup Agenda
  • 2. Serverless is not just about the Tech: 2 Serverless is New Agile & Mindset Serverless Dev (gluing other people’s APIs and managed services) We're obsessed by creating business value (meaningful MVPs, products) and helping Startups We build bridges between Serverless Community (“Dev leg”), and Front-end & Voice- First folks (“UX leg”), and empower UX developers Achieve agility NOT by “sprinting” faster (like in Scrum), but by working smarter (by using bigger building blocks and less Ops)
  • 3. We wrapped up last decade nicely… 3 Wardley Maps show how things evolve (x-axes) and move up the value chain (y-axes), then evolve again… moving up. Innovation happens, then evolves, goes mainstream, becomes a commodity. E.g. • Electricity => 20th century reality • Computers => e.g. Internet • Internet => e.g. Cloud • Cloud => e.g. Machine Learning, Serverless/Utility Computing • ML/Serverless => e.g. Voice First Technologies => e.g. Killer Robots ? Tech predictions for the next one?
  • 5. Venue Sponsor 5 As Certified B Corporation, Myplanet is purpose-driven and creates benefit for all stakeholders, not just shareholders!
  • 6. Knowledge Sponsor 6 Get your raffle tickets… and GOOD LUCK! 1. Go to www.manning.com 2. Select eBook or Video title you like 3. Add it to the shopping cart 4. Raffle winner will send me email address used 5. For Manning staff to move to your dashboard
  • 8. Upcoming 2020 #ServerlessTO Meetups 8 1. Using Data Science & Serverless Python (Zappa) to Find an Apartment in Toronto – Ian Whitestone, Data Scientist at Shopify ** FEB 27 ** 2. Intro to PySpark – Python Data Analysis at scale in the Cloud – Jonathan Rioux, Lead Data Scientist at EPAM Systems & author of PySpark in Action book 3. Introduction to Google BigQuery – Matt Welke, Software Developer at GroupBy Inc 4. Serverless with Pivotal Cloud Foundry – Adib Saikali, Principal Platform Architect at VMware 5. Fivetran – Data Pipelines, Reinvented – Replicate your data into the Cloud Warehouse of your choice
  • 9. Community Open Mic 9 Your 10 sec. pitch ☺ - Looking for work? - Offering work? About You – because without you, there would be no meetups!
  • 10. Feature Talk Jonathan Dion, Senior Technical Evangelist at AWS 10
  • 11. Jonathan Dion Senior Developer Advocate Amazon Web Services @jotdion linkedin.com/in/jotdion Serverless Toront o
  • 12.
  • 13. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 14. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 15. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 16. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 17. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. General Availability LEARN MORE CON-326R - Running Kubernetes Applications on AWS Fargate Introducing The only way to run serverless Kubernetes containers securely, reliably, and at scale Amazon EKS for AWS Fargate
  • 18. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Some limitations • Maximum of 4 vCPU and 30 GB memory per pod • No persistent volumes or file systems • You cannot run Daemonsets, Privileged pods or pods that use HostNetwork or HostPort • Application Load Balancer only • Pods must match a Fargate profile at the time that they are scheduled in order to run on Fargate • No public IP address
  • 19. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Receive lower rates automatically. Easy to use with recommendations in AWS Cost Explorer Significant savings of up to 72% Flexible across instance family, size, OS, tenancy or AWS Region; also applies to AWS Fargate & soon to AWS Lambda usage LEARN MORE CMP210: Dive deep on Savings Plans Announced Simplify purchasing with a flexible pricing model that offers savings of up to 72% on Amazon EC2, Amazon ECS, AWS Fargate & AWS Lambda usage Savings Plans
  • 20. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 21. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Serverless Application Repository
  • 22. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Lambda execution model Synchronous (push) Asynchronous (event) Stream (Poll-based) /order Amazon API Gateway Lambda function Amazon DynamoDB Amazon Kinesis changes AWS Lambda service function Amazon SNS Amazon S3 reqs Lambda function Amazon SQS + FIFO NEW!!!
  • 23. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Async enhanced controls When you know that retries won’t succeed, or would like to remove the old requests that haven’t been invoked, use these new controls: • Event Age (Default/Maximum: 6 hours, Minimum: 60s) • Retry Attempts (Default/Maximum: 2, Minimum: 0) These new controls are not breaking changes.
  • 24. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Introducing Lambda Event Destinations For asynchronous invocations, capture success or failure • Record contains details about the request and response in JSON format • Contains more information than data sent to a DLQ • Can send both outcomes to same destination or • Can send success to one destination, failure to another AWS Lambda AWS Lambda Amazon EventBridge Amazon SNS Amazon SQS
  • 25. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Use Lambda Event Destinations for: • Batching events to process with SQS or EventBridge • Visibility and notification using EventBridge or SNS • Handling failure with additional context • Building simple workflow by chaining Lambda functions
  • 26. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Announcements for streamed event sources • Enhanced controls on stream processing • How many retries on a record: MaximumRetryAttempts (0 to 10,000) • Skip processing old records: MaximumRecordAgeInSeconds (60 seconds to 7 days) • Trace down the bad records: BisectBatchOnFunctionError • Send batch info and request context of failed records to SNS/SQS: On-failure destination • Batch Window: allows to batch up to 300 seconds before invocation (instead of data every seconds) • Invocation criteria: 6MB payload, Maximum Batch Window, Maximum Batch Size • Parallelization Factor: allows to have up to 10 batches on 10 instances per Kinesis shard (instead of 1 instance per shard)
  • 27. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. The function lifecycle Bootstrap the runtime Start your code Full cold start Partial cold start Warm start Download your code Start new Execution environment AWS optimization Your optimization
  • 28. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Lambda + VPC, no longer a cold-start pain point!  Before: 14.8-sec duration After: 933 ms duration → NEW!!!
  • 29. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Lambda + VPC, no longer a cold-start pain point!  Before: 14.8 sec duration After: 933ms duration → NEW!!!
  • 30. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. L E A R N M O R E SVS401 - Optimizing your serverless applications Provisioned Concurrency on AWS Lambda Introducing • Keeps functions initialized and hyper-ready, ensuring start times stay in the milliseconds • Builders have full control over when provisioned concurrency is set • No code changes are required to provision concurrency on functions in production • Can be combined with AWS Auto Scaling at launch General Availability
  • 31. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. What Happens on a Cold Start? Client Invoke AWS Lambda Service Create new Execution Environment & Download Code Bootstrap the runtime Invoke the Handler
  • 32. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Prior to Provisioned Concurrency… • Pre-warm your function with the concurrent invocations • Don’t ping more often than every 5 minutes • Pass in a test payload that can be identified as such • Create handler logic that replies accordingly without running the whole function exports.handler = async (event) => { // if a warming event if (await warmer(event)) return 'warmed’ // else proceed with handler logic return 'Hello from Lambda’ }
  • 33. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Lambda Provisioned Concurrency • Greater control over the start up time of your Lambda functions. • Functions stay initialized and hyper- ready to respond in double-digit milliseconds. • No code changes necessary • Ideal for interactive applications such as web or mobile backends • Good for customers that are building: • Applications that have strict latency SLAs • Applications that support high-velocity traffic bursts
  • 34. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. What Happens on a Cold Start? Client Invoke AWS Lambda Service Create new Execution Environment & Download Code Bootstrap the runtime Invoke the Handler
  • 35. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Use Cases: Strict Latency SLAs • Applications that: • Have direct interaction with end-users • Leverage languages that have a slower cold start time or require large deployment packages • Lambda will: • Pre-create and initialize the sandboxes as if it was a normal cold start • The provisioning speed defaults to standard burst scaling rate (3K at once then +500 per minute)
  • 36. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Use Cases: High-Velocity Traffic Bursts • Applications that: • Serve content such as ads during a live stream • Mobile applications such as games • Marketing blitzes or flash sales • Lambda will: • Provisioning scheduled in advance • Schedule in advance to allow for scale-up • Provision in increments of 5 minutes • Invocations above the provisioned concurrency are handled by on-demand Lambda
  • 37. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Provisioning Concurrency • Provisioning scheduled in advance • Schedule in advance to allow for scale-up • Provision in increments of 5 minutes • Invocations above the provisioned concurrency are handled by on-demand Lambda 0 500 1000 1500 2000 2500 0 500 1000 1500 2000 2500 Traffic (TPS) Provisioned concurrency
  • 38. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Lambda runtimes New Runtimes • Based on the Amazon Linux 2 execution environment • Node.js 12 • Java 11 • Python 3.8 Change to current Runtimes • requests library removed from botocore used by boto3 (Python SDK)
  • 39. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 40. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Business workflow is rarely sequential start to finish Multiple decision paths Need to handle failure Multiple step processes
  • 41. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Step Functions
  • 42. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Introduction to Step Functions All work in your state machine is done by tasks You can directly call other AWS services Use Amazon CloudWatch to monitor your workflows Retries and fallbacks are available to you States are elements in your state machine
  • 43. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Step Functions + Lambda “Serverless” workflow management with zero administration: • Makes it easy to coordinate the components of distributed applications and microservices using visual workflows • Automatically triggers and tracks each step and retries when there are errors, so your application executes in order and as expected • Logs the state of each step, so when things do go wrong, you can diagnose and debug problems quickly Choice Start ExtractImageMetadata CheckJobStatus Rekognition ImageTypeCheck NotSupportedImageType End Thumbnail AddRekognizedTags Tasks Failure capture Parallel tasks
  • 44. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Step Functions: Integrations Simplify building workloads such as order processing, report generation, and data analysis Write and maintain less code; add services in minutes More service integrations: AWS Step Functions Amazon Simple Notification Service (Amazon SNS) Amazon Simple Queue Service (Amazon SQS) Amazon SageMaker AWS Glue AWS Batch Amazon Elastic Container Service AWS Fargate Amazon EMR NEW!!!
  • 45. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Simpler integration, less code With serverless polling With direct service integrationStart End AWS Lambda functions Start End No Lambda functions
  • 46. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Step Functions Express Workflows Introducing Orchestrate AWS compute, database, and messaging services at rates greater than 100,000 events/second, suitable for high-volume event processing workloads such as IoT data ingestion, streaming data processing and transformation. General Availability L E A R N M O R E API321: Event-Processing Workflows at Scale with AWS Step Functions
  • 47. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Which one is right my use case? Standard Workflows • IT automation • report generation • order processing • payment and billing • machine learning model training • ELT and big data orchestration • media processing Express Workflows • event driven microservice orchestration • high volume data processing • IoT data ingestion • order / cart validation • payment reconciliation
  • 48. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Standard vs. Express Workflows Standard Express Console Step Functions Step Functions State machine definition Amazon States Language Amazon States Language Documentation Step Functions Step Functions Pricing Priced per state transition Priced by the number of executions you run, their duration, and memory consumption
  • 49. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Standard vs. Express Workflows Standard Express Maximum duration 365 days 5 minutes Start execution Bucket Size: 1,300 Refill Rate per Second: 300 Bucket Size: 6,000 Refill Rate per Second: 6,000 State transition Bucket Size: 5,000 Refill Rate per Second: 1,500 Unlimited Execution semantics Exactly-once workflow step execution At-least-once workflow step execution
  • 50. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Standard vs. Express Workflows Standard Express Executions Executions are persisted and have ARNs Executions are not persisted except as log data Execution history Stored in Step Functions, with tooling for visual debugging in the console Sent to Amazon CloudWatch Logs Service integrations Supports all service integrations and activities Supports all service integrations. Does not support activities. Patterns Supports all patterns Does not support Job-run (.sync) or Callback (.waitForTaskToken)
  • 51. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Standard + Express Workflows Express Workflows can be nested within a Standard Workflow, enabling customers to use Express Workflows for short periods of task execution and a Standard Workflow for long periods of task execution or waiting. EndStart Standard Workflow Express Workflow Validate Image Approval Notification Approval Received Store Metadata Rekognition Add Tags Thumbnail
  • 52. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 53. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Customers are ditching monolithic applications Monolithic application Does everything Shared release pipeline Rigid scaling High impact of change Hard to adopt new technologies Microservices Does one thing Independent deployments Independent scaling Small impact of change Choice of technology When the impact of change is small, release velocity can increase
  • 54. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. How microservices communicate
  • 55. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. How microservices communicate
  • 56. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. How microservices communicate
  • 57. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. How microservices communicate
  • 58. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon EventBridge Native integrations with SaaS providers 17 target services Easily build event-driven architectures Fully managed, pay-as-you-go Amazon EventBridge
  • 59. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon EventBridge event bus Rule 1 Rule 2 Rule 3 Event Source Amazon EventBridge overview Targets
  • 60. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Event Source TargetsAmazon EventBridge event bus Rule 1 Rule 2 Rule 3 Amazon EventBridge overview
  • 61. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Anatomy of an event { "version": "0", "id": "adeacade-c34c-ce58-c4a0-74f106398c4e", "account": ”123456789012", "region": "us-east-1", "time": "2019-12-02T21:46:19Z", "source": "order-service", "detail-type": "New Order", "resources": [], "detail": { "orderId": "cfb2ae566f9b", "customerId": "C12345", ... } }
  • 62. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. How do you manage event types?
  • 63. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon EventBridge Schema Registry Introducing Store event structure - or schema - in a shared central location, so it’s faster and easier to find the events you need. Generate code bindings right in your IDE to represent an event as an object in code. Preview LEARN MORE API320 – Building event-driven architectures with Amazon EventBridge
  • 64. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Schema Registry and Discovery pricing Schema Registries Free! Schema Discovery Free tier Additional usage
  • 65. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 66. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Relational Database Service (Amazon RDS) Managed relational database service with a choice of popular database engines Easy to administer Easily deploy and maintain hardware, OS, and DB software; built-in monitoring Performant & scalable Scale compute and storage with a few clicks; minimal downtime for your application Available & durable Automatic Multi-AZ data replication; automated backup, snapshots, and failover Secure & compliant Data encryption at rest and in transit; industry compliance and assurance programs
  • 67. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Aurora Enterprise database at open source price Delivered as a managed service Amazon Aurora Speed and availability of high-end commercial databases Simplicity and cost-effectiveness of open source databases Drop-in compatibility with MySQL and PostgreSQL Simple pay as you go pricing
  • 68. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. You have some choices to make . . . Provision for peak Continuously monitor and manually scale up or down -or- Expensive Hard • Requires experts • Risks outages Provision less than peak User (business) impact -or-
  • 69. Aurora Serverless architecture • Starts up on demand, shuts down when not in use • Scales up/down automatically • No application impact when scaling • Pay per second, 1 minute minimum Warm pool of instances Application Database storage Scalable DB capacity Request routers
  • 70. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. You asked for a simpler access model for Aurora Serverless • Modern applications on AWS Lambda require networking • Access restricted within Amazon Virtual Private Cloud (Amazon VPC) • Database connection limits
  • 71. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon RDS Data API solves these challenges Millions of IoT/mobile devices RDS Data API API endpoint Aurora Serverless Access through simple web interface • Public HTTPS endpoint for easier access • No client configuration required • No persistent connections required • Java Client library for a developer-friendly experience (New!) AWS Command Line Interface (AWS CLI) AWS Lambda AWS Cloud9 AWS AppSync
  • 72. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 73. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Many applications, including serverless apps, have a large number of open DB connections and high connection open/close rate, exhausting DB resources Modern apps can have 1000s of DB connections, exhausting DB resources Custom failure handling: Code can contain security risks like DB credentials Self-managed proxy servers help manage DB load, but are difficult to deploy
  • 74. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon RDS Proxy Introducing Fully managed, highly available database proxy feature for Amazon RDS. Pools and shares connections to make applications more scalable, more resilient to database failures, and more secure. Public Beta
  • 75. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon RDS Proxy – How it works
  • 76. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Connection pooling • Sets of system variables, sets of user-defined variables, calls of locking functions, tables locks, creates of temporary tables, prepares statement prepare call RDSProxy Connection pooling
  • 77. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Seamless and faster failovers Fast, seamless failover RDSProxy Application connections preserved during failovers Detects failovers and connects to standby quicker, bypassing DNS caches Up to 66% faster failover times
  • 78. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Improved application security • Enforce IAM authentication with your relational databases • Centrally manage database credentials using AWS Secrets Manager
  • 79. No passwords embedded in code const signer = new AWS.RDS.Signer({ username: process.env.username, hostname: process.env.endpoint, region: 'us-east-2', port: 3306, }) const token = await signer.getAuthToken() const connection = mysql.createConnection({ host: process.env.endpoint, user: process.env.username, password: token, database: process.env.database, }) connection.connect()
  • 80. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. RDS Proxy regions and engines • RDS Proxy is available in: • Asia Pacific (Tokyo) • EU West (Ireland) • US East (N. Virginia) • US East (Ohio) • US West (Oregon) • RDS Proxy supports the following engines: • RDS MySQL 5.6 and 5.7 • Aurora MySQL 5.6 and 5.7 • RDS and Aurora PostgreSQL coming soon!
  • 81. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 82. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Achieve up to 67% cost reduction and 50% latency reduction compared to REST APIs. HTTP APIs are also easier to configure than REST APIs, allowing customers to focus more time on building applications. Reduce application costs by up to 67% Reduce application latency by up to 50% Configure HTTP APIs easier and faster than before HTTP APIs for Amazon API Gateway Introducing Preview
  • 83. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. REST API vs HTTP API REST API HTTP API Authorizers AWS Lambda, IAM, Cognito Native OpenID Connect/Oauth 2.0, Cognito (JWT issuer) Integration HTTP proxy, Lambda proxy, HTTP, AWS services, Private integration, Mock HTTP proxy, Lambda proxy API Management Usage plans, API Keys, Custom domain names Custom domain names Extra security features Client certificates, AWS WAF, Resource policies None
  • 84. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. REST API vs HTTP API REST API HTTP API Development Cache, Transformation, Validation, Test invocation CORS, Automatic deployments, Default stage and route API Type Regional, Edge-optimized, Private Regional Monitoring Access logs to CloudWatch logs and Kinesis Data Firehose, Execution logs, CloudWatch metrics, AWS X-Ray Access logs to CloudWatch logs, CloudWatch metrics
  • 85. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Create HTTP APIs OpenAPI 3.0 AWS Serverless Application Model integration AWS::ApiGatewayV2::Api AWS CloudFormation AWS::ApiGatewayV2::Api
  • 86. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Latency example
  • 87. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 88. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amplify for iOS & Android Introducing General Availability Open source libraries and toolchain that enable mobile developers to build scalable and secure cloud powered serverless applications. L E A R N M O R E MOB317 - Speed up native mobile development with AWS Amplify
  • 89. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amplify DataStore New Feature General Availability Multi-platform (iOS/Android/React Native/Web) on-device persistent storage engine that automatically synchronizes data between mobile/web apps and the cloud using GraphQL. L E A R N M O R E MOB402: Build data-driven mobile and web apps with AWS AppSync
  • 90. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 91. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Server-side Encryption using CMK • Key Management Service integration of Customer managed key General Availability
  • 92. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Hot keys identification Identify frequently access keys and database traffic trends Preview
  • 93. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Adaptive capacity • Handles imbalanced workloads by isolating frequently accessed items automatically • Shifts data across partitions to rebalance • Main table and Global Secondary Indexes • On by default • No additional cost General Availability
  • 94. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. 2020 and Beyond Excelling in Service Fundamentals Availability, latency, security, scale Equipping Developers Improving tools for monitoring, troubleshooting, auditing Adding Efficiency to Dev Patterns New patterns through events, workflows, and APIs
  • 95. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Jonathan Dion Senior Developer Advocate Amazon Web Services @jotdion linkedin.com/in/jotdion Thank you! All re:Invent 2019 sessions: bit.ly/36HeYl6