Book Image

Learn AWS Serverless Computing

By : Scott Patterson
Book Image

Learn AWS Serverless Computing

By: Scott Patterson

Overview of this book

Serverless computing is a way to run your code without having to provision or manage servers. Amazon Web Services provides serverless services that you can use to build and deploy cloud-native applications. Starting with the basics of AWS Lambda, this book takes you through combining Lambda with other services from AWS, such as Amazon API Gateway, Amazon DynamoDB, and Amazon Step Functions. You’ll learn how to write, run, and test Lambda functions using examples in Node.js, Java, Python, and C# before you move on to developing and deploying serverless APIs efficiently using the Serverless Framework. In the concluding chapters, you’ll discover tips and best practices for leveraging Serverless Framework to increase your development productivity. By the end of this book, you’ll have become well-versed in building, securing, and running serverless applications using Amazon API Gateway and AWS Lambda without having to manage any servers.
Table of Contents (20 chapters)
Free Chapter
1
Section 1: Why We're Here
4
Section 2: Getting Started with AWS Lambda Functions
9
Section 3: Development Patterns
12
Section 4: Architectures and Use Cases

Predicting what comes next

So, what is the next evolution after nanoservices? We've already seen applications being broken into smaller and smaller parts with the edition of repositories so that developers can share useful functions with others in the community.

I think we're going to see more sharing of things we can build into our applications, especially things we may not be specialists in building. I postulate that an Algorithms as a Service concept will emerge and become increasingly popular very soon. Developers who have knowledge in a particular problem domain or technology vertical will be able to share their models or the use of those models with others to achieve the same inferences.

A simple example could be a recommendation engine that predicts the likelihood of a customer purchasing a product, given their previous buying or browsing behaviors. Models could also be shared for good—think about a model that could detect a particular type of rare cancer in a photo of a number of cells. This model could be used by medical physicians to give an accurate positive or negative diagnosis, with the results of that feeding back into the training model.

This year (2019), we're seeing an explosion of new types of algorithms and new use cases. The intersection of machine learning and other technology areas has been made possible by the native integrations provided by AWS, connecting machine learning and artificial intelligence with areas such as IoT, big data, and mobile. There's no doubt that this will help drive the adoption of a new software architecture building block.

AWS has already launched its marketplace for models. AWS Marketplace for machine learning and artificial intelligence is a place where you can go to discover and buy algorithms for use in your own products or applications.