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.

Why serverless will revolutionize your software process.

75 views

Published on

Serverless fundamentally changes software development for both enterprises and startups - here's how it impact your process and how you can benefit. Presented at ITNext Summit, Amsterdam in 2019.

Published in: Technology
  • Be the first to comment

Why serverless will revolutionize your software process.

  1. 1. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. James Beswick, AWS Serverless October 30, 2019 Why serverless will revolutionize your software process
  2. 2. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. About me • James Beswick • Email: jbeswick@amazon.com • Twitter: @jbesw • Developer Advocate – AWS Serverless • Self-confessed serverless geek • Previously: • Software Developer and Product Manager • Multiple start-up tech guy • Rackspace, USAA, Morgan Stanley, J P Morgan • Enjoys comedy, travel, coffee and theme parks…
  3. 3. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Hello World
  4. 4. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. A “HelloWorld!” application Server Operating system Runtime Webserver Code const express = require('express') const app = express() const port = 3000 app.get('/', function (req, res) { res.send('Hello World!') }) app.listen(port, () => console.log(`Listening`))
  5. 5. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. A “HelloWorld!” application - at scale… Server Operating system Runtime Webserver Code Security group Server Operating system Runtime Webserver Code Server Operating system Runtime Webserver Code Availability Zone Availability Zone Availability Zone VPC
  6. 6. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. But I just want to run… res.send('Hello World!')
  7. 7. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. “HelloWorld!” –The serverless way Code exports.handler = async (event) => { return "Hello World!“ }API endpoint Lambda function https://hallo.jbes.dev HalloWereld
  8. 8. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Focus on your business logic, not the infrastructure.
  9. 9. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. It’s about simplicity.
  10. 10. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. A classic web app stack Things to consider: • Vertical scaling • Horizontal scaling • Load balancing • Availability • Security • Maintenance • Monitoring • And… actual features Server Operating system Runtime (PHP, Node…) Web server (Apache, Nginx…) Database (MySQL, PostgreSQL…)
  11. 11. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. https://d1.awsstatic.com/whitepapers/wordpress-best-practices-on-aws.pdf
  12. 12. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Serverless web app architecture AWS Cloud S3 bucket Application table API endpoint Edge location
  13. 13. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Remember that time I built a voting website?
  14. 14. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  15. 15. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.https://vote.jbes.dev
  16. 16. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.https://vote.jbes.dev
  17. 17. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.https://vote.jbes.dev
  18. 18. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Things I didn’t have to do… Managing load balancers. Managing SSH keys. Monitoring hardware errors. Migrating instances. Migrating data centers. Dynamic volume provisioning. Orchestrating containers. Rotating root admin keys. Configuring subnets andVPCs. Handling datacenter republication. Renewing certificates. Monitoring disk usage. Resizing clusters. Auto-scaling instances. Restarting servers. sudo yum update. Defining network policies. Scheduling operating system updates.Troubleshooting networking. Configuring IP tables.Volume snapshots. Running server healthchecks.
  19. 19. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Agility
  20. 20. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. The time when you know what to build… Beginning of project? End of project? Along the way? Non-stop changes?
  21. 21. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Why does serverless help with agility? Less code, focused on business logic Microservices are more agile Services for common tasks CI/CD, versioning and automation
  22. 22. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What a serverless application looks like
  23. 23. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What a serverless application looks like https://iot.jbes.dev
  24. 24. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What a serverless application looks like
  25. 25. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Serverless applications
  26. 26. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Serverless applications
  27. 27. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Serverless applications
  28. 28. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Application services Machine Learning Internet ofThings Analytics Web/Mobile/DigitalMedia
  29. 29. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. How to use serverless
  30. 30. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Common serverless application types Web applications Backends Data processing Chatbots Amazon Alexa IT Automation
  31. 31. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Best practices Avoid lift and shift Focus on events Keep functions small
  32. 32. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Best practices Avoid lift and shift Focus on events Keep functions small Choose the right runtime for the job Treat code like plumbing Find the right place to start
  33. 33. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. rev·o·lu·tion·ize [/ˌrevəˈlo͞ oSHəˌnīz/] verb change (something) radically or fundamentally
  34. 34. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Fundamental changes to development Agility
  35. 35. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Fundamental changes to development Agility Scaling
  36. 36. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Fundamental changes to development Agility Scaling Cost
  37. 37. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Fundamental changes to development Agility Scaling Cost Environment
  38. 38. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Thank you! James Beswick, AWS Serverless @jbesw

×