Final Thoughts

Congratulations! You have successfully completed the workshop. Today you have:

  1. Learned about AWS Batch, its use cases and components.
  2. Seen how easy it is to adopt Spot best practices when using AWS Batch, by defining several compute environments with the appropriate allocation strategies.
  3. Learned the different types of jobs you find in AWS Batch (array and single). Also, you have learned how to define dependencies between them and how to work with the AWS_BATCH_JOB_ARRAY_INDEX environment variable.
  4. Learned the concepts required to create a derivatives pricing and risk pipeline using QuantLib and AWS Lambda.
  5. Used AWS Step Functions to orchestrate the workflow of the pipeline.
  6. Built and published a Docker image that prices a non-trivial derivative product using AWS Batch.

Savings

You can check how much you have saved with Spot instances by going to the Savings Summary panel. To view your savings do the following:

  1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.
  2. In the navigation pane, choose Spot Requests.
  3. In the top right corner of the screen, select Savings summary

Savings with Spot