From the course: Serverless and Microservices for AWS

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

All the serverless pieces in action

All the serverless pieces in action - Amazon Web Services (AWS) Tutorial

From the course: Serverless and Microservices for AWS

Start my 1-month free trial

All the serverless pieces in action

- [Instructor] Now that we've talked about many of the resources and techniques for building serverless applications on AWS, let's bring it all together to show how we deal with real-time position data to create the training data for our delay characterization model. This sequence diagram shows the full process from obtaining raw vehicle position reports to storing new training new data. The first task is to get the vehicle position reports. We need to request these reports at least once every 15 seconds. Here we immediately run up against an AWS limit. CloudWatch scheduling events have a minimum rate of one minute. Spinning up an EC2 server for this would work, but it'd be quite expensive, and of course not serverless. Step functions are a solution that we can use. We'll run the step function once per minute, and it will call a Lambda function that obtains the raw reports four times. The Lambda function calls out to…

Contents