Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

AWS re:Invent 2020 Serverless Recap

126 views

Published on

Learn about the state of Serverless after AWS re:Invent 2020. Check out the most impactful new features, and use cases for the new capabilities. Event recording (including 1hr long Q&A) is at http://YouTube.ServerlessToronto.org

LINKS FROM THE MEETUP CHAT:

Best practices in Product Management https://www.meetup.com/lean-product/
Some good PMs (Product Managers) will be here https://www.productfaculty.com/cpo-mastery
re:Invent 2020 Sessions https://virtual.awsevents.com/agenda
Amazon Aurora Serverless v2 - Instant scaling for demanding workloads https://virtual.awsevents.com/media/1_3nlad51o
OpenTelemetry & AWS X-Ray https://aws.amazon.com/blogs/opensource/enhancing-aws-x-ray-support-in-opentelemetry-javascript-sdk/
Adrian Cockcroft’s architecture trends and topics for 2021 https://virtual.awsevents.com/esearch/search?keyword=cockcroft
Dirk Froehner's talk "Application integration patterns for microservices" https://virtual.awsevents.com/media/1_6zks63br
"Tim Bray and Friends | Messaging Series" https://aws.amazon.com/messaging/twitch/
"How I started building serverless apps - the Serverless Coffee Break with Emily Shea" https://www.youtube.com/watch?v=oxHnUFMRWu8
Our Knowledge sponsor https://www.manning.com/
4 Serverless events already scheduled for 2021, RSVP at https://www.meetup.com/Serverless-Toronto/events

LINKS FROM THE PRESENTATION:

https://twitter.com/jbesw
1 ms billing https://s12d.com/1ms
Container image support for AWS Lambda https://s12d.com/OCI
https://s12d.com/extensions-intro
https://s12d.com/extensions-building
https://s12d.com/extensions-logs
Decoupling serverless workloads with Amazon EventBridge (James Beswick) https://virtual.awsevents.com/media/1_gyzid3q3
AWS Lambda – Part 1: Optimizing your serverless applications (Chris Munns) https://virtual.awsevents.com/media/1_bhnvfdgz
Best practices for securing your serverless applications (Rob Sutter) https://virtual.awsevents.com/media/1_zchhd4oh
API Gateway – Beyond the proxy (Eric Johnson) https://virtual.awsevents.com/media/1_hgw8wdl7
The serverless LAMP stack (Ben Smith) https://virtual.awsevents.com/media/1_ajbfgmdl
Becoming proficient with serverless application observability (Julian Wood) https://virtual.awsevents.com/media/1_t0qj8lcg
Resources for learning AWS https://ServerlessLand.com/learn

Published in: Software
  • Be the first to comment

AWS re:Invent 2020 Serverless Recap

  1. 1. Welcome to ServerlessToronto.org 1 Introduce Yourself ☺ - Why are you here? Where from? - Looking for, or Offering work? Fill the survey to win prises! “AWS re:Invent 2020 Recap” with James Beswick of AWS will start at 6:10pm…
  2. 2. Knowledge Sponsor 1. Go to www.manning.com 2. Select *any* e-Book, Video course, or liveProject you want! 3. Add it to your shopping cart (no more than 1 item in the cart) 4. Raffle winners will send me the emails (used in Manning portal), 5. So the publisher can move it to your Dashboard – as if purchased. GOOD LUCK! Fill the survey to win ☺
  3. 3. Serverless is not just about the Tech: 3 Serverless is New Agile & Mindset #1 Serverless Dev (Back-end FaaS dev, but turned into gluing APIs and Managed Services) #2 We're obsessed by creating business value (meaningful MVPs, Products), to empower Business users #3 We build bridges between Serverless Community (“Dev leg”), and Front-end & Voice- First developers & User Experience designers (“UX leg”) #4 Achieve agility NOT by “sprinting” faster (like in Scrum), but working smarter (by using bigger building blocks and less Ops)
  4. 4. Upcoming ServerlessToronto.org Meetups 4 1) Serverless Cloud Native Java with Spring Cloud GCP (No platform needed) – Ray Tsang, Java Champion, GCP 2) Community Lightning Talks & Updates for our 3rd Birthday 3) How to choose what Azure services to use and when? – Barry Luijbregts Azure MVP & Pluralsight Author 4) This is my Architecture to prevent $72K Cloud Bills / bankruptcies – Sudeep Chauhan, ToMilkieWay.com Please rate us ☺
  5. 5. 5 Feature Presentation by James Beswick re:Cap
  6. 6. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS re:Invent 2020 Serverless Recap James Beswick Senior Developer Advocate, AWS Serverless S E R V E R L E S S T O R O N T O
  7. 7. James Beswick Email: jbeswick@amazon.com Twitter: @jbesw Senior Developer Advocate – AWS Serverless Self-confessed serverless geek Previously Software Developer Product Manager About me
  8. 8. https://secure.flickr.com/photos/mgifford/4525333972 Why are we here today?
  9. 9. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. re:Invent 2020 Releases
  10. 10. • Lambda:  Extensions  Logs API  Amazon MQ as an event source  New layer for CodeGuru Profiler  Support for PrivateLink  AVX2 support  SQS batch window to 5 mins  Code signing with AWS Signer • SAM CLI  sam build --cached  sam build –parallel • X-Ray – S3/SFn integration • EventBridge  Archive & replay events  Resource policies  SSE support • Step Functions  Synchronous Express Workflows  API Gateway integration  Workflows can query Athena • SNS - FIFO topics • DynamoDB  PartiQL  Kinesis Data Streams pre:Invent round-up
  11. 11. • Lambda:  Extensions  Logs API  Amazon MQ as an event source  New layer for CodeGuru Profiler  Support for PrivateLink  AVX2 support  SQS batch window to 5 mins  Code signing with AWS Signer • SAM CLI  sam build --cached  sam build –parallel • X-Ray – S3/SFn integration • EventBridge  Archive & replay events  Resource policies  SSE support • Step Functions  Synchronous Express Workflows  API Gateway integration  Workflows can query Athena • SNS - FIFO topics • DynamoDB  PartiQL  Kinesis Data Streams pre:Invent round-up
  12. 12. • Reduced billing granularity from 100ms to 1ms • Affects all Lambda functions • Automatic – no action needed! • Functions with short duration will see largest cost benefits • Interactive web calls, data streaming, and more • Starts with December 2020 billing cycle AWS Lambda – 1 ms billing
  13. 13. • Sub-100ms savings often ~66% • Reusing TCP connections • Dependence usage • INIT vs handler objects • The AWS Power Tuning Tool AWS Lambda – 1 ms billing Read more at: https://s12d.com/1ms
  14. 14. Developers can now add up to 10 GB in memory with up to 6 corresponding vCPUs to AWS Lambda functions • Build compute intensive workloads • Machine Learning, Genomics, Gaming, HPC applications • Build memory intensive workloads • Batch, ETL, Analytics, Media processing AWS Lambda – Larger Lambda functions Provisioned memory (MB) Allocated cores 128 – 1769 1 1770 – 3538 2 3539 – 5307 3 5308 – 7076 4 7077 – 8845 5 8846 – 10240 6
  15. 15. • Use a consistent set of tools for containers and Lambda-based application • Deploy large applications with AWS provided or third party images of up to 10 GB • ML, data analytics, large dependencies • Benefit from sub-second automatic scaling, high availability, 140 native service integrations, pay for use AWS Lambda container image support P A C K A G E A N D D E P L O Y F U N C T I O N S A S C O N T A I N E R I M A G E S Read more at: https://s12d.com/OCI
  16. 16. Simple developer experience C R E A T E F U N C T I O N A S C O N T A I N E R I M A G E docker push Amazon Elastic Container Registry container image Upload image to registry Invoke Status: ACTIVE Ready for invoke Lambda Function Container image 1. Pull image from ECR 2. Optimize image 3. Deploy image to Lambda CreateFunction Container image Status: PENDING AWS Lambda
  17. 17. AWS SAM developer experience C R E A T E F U N C T I O N A S C O N T A I N E R I M A G E docker push Amazon Elastic Container Registry container image Upload image to registry Invoke Status: ACTIVE Ready for invoke Lambda Function Container Image 1. Pull image from ECR 2. Optimize image 3. Deploy image to Lambda CreateFunction Container image Status: PENDING AWS Lambda AWS SAM will package the container, push it to a repo, and create or update the Lambda function with a single command
  18. 18. https://s12d.com/ extensions-intro https://s12d.com/ extensions-building https://s12d.com/ extensions-logs Use extensions • Consume capabilities of an extension by configuring the options in your Lambda functions Extensions API • Build your own extension • Provides a way for tools to get greater control during function initialization, invocation, and shutdown Logs API • Consume platform and function logs directly from Lambda Most customers use extensions without needing to know about the capabilities of the Extensions API that enables them Lambda Extensions?
  19. 19. How to deploy extensions Deploy extensions as Lambda layers • Using AWS Management Console, AWS CLI, AWS CloudFormation, AWS SAM, Serverless Framework, Terraform, Stackery Include extensions in Lambda container image • Build image using Docker CLI/AWS SAM with a Dockerfile • Add directly to function, or add as image layer
  20. 20. • Lambda  Self-hosted Kafka as an event source  Streaming analytics with tumbling windows  Custom checkpoints for streaming event batches • X-Ray Insights • SDK for JavaScript v3  TypeScript support + modular architecture • SQS  High-throughput mode for FIFO queues (in preview) • AWS CloudShell • S3  Strong read-after-write consistency Other releases
  21. 21. • Decoupling serverless workloads with Amazon EventBridge (James Beswick) https://virtual.awsevents.com/media /1_gyzid3q3 • AWS Lambda – Part 1: Optimizing your serverless applications (Chris Munns) https://virtual.awsevents.com/media /1_bhnvfdgz • Best practices for securing your serverless applications (Rob Sutter) https://virtual.awsevents.com/media /1_zchhd4oh • API Gateway – Beyond the proxy (Eric Johnson) https://virtual.awsevents.com/media /1_hgw8wdl7 • The serverless LAMP stack (Ben Smith) https://virtual.awsevents.com/media /1_ajbfgmdl • Becoming proficient with serverless application observability (Julian Wood) https://virtual.awsevents.com/media /1_t0qj8lcg Developer Advocate sessions – now on demand!
  22. 22. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS re:Invent 2020… More to come in January 2021!
  23. 23. Serverlessland.com https://serverlessland.com/reinvent2020
  24. 24. Thank you! © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. James Beswick jbeswick@amazon.com @jbesw Senior Developer Advocate AWS Serverless
  25. 25. Join www.ServerlessToronto.org Home of “Less IT Mess”

×