CloudAcademy

The hands-on lab is part of this learning path

Lab Steps

keyboard_tab
lock
Logging in to the Amazon Web Services Console
lock
Creating your first Spot Instance
lock
Dealing with Spot Instance Termination
lock
Auto Scaling Spot Fleets
lock
Informing your Bidding with Spot Bid Advisor

Ready for the real environment experience?

DifficultyBeginner
Duration1h 20m
Students453

Description

Lab Overview

In this Lab, you will learn how EC2 spot instances can be used in AWS. You will see that spot instances can be used in much the same way as regular, on-demand instances except with a different pricing model built around them allowing you to save a substantial amount. You set a maximum price that you are willing to pay for an instance, and if the spot market price rises to your maximum, your instance is subject to termination. Despite this complication, you will see that there are easy ways to manage this situation.

Prerequisites

You should be familiar with:

  • Creating on-demand Amazon EC2 instances
  • Using EBS volumes with your instances
  • Working with autoscaling groups at a basic level

Learning Objectives

Upon completion of this Lab, you will be able to:

  • Create EC2 instances by placing spot requests
  • Handle instance interruptions
  • Auto-scale a spot fleet
  • Get advice from Spot Bid Advisor

Lab Environment

Before completing the Lab instructions, the environment will look as follows:

 

After completing the Lab instructions, the environment should look similar to:

 

 

Updates

November 8th, 2018 - Updated instructions and screenshots to match the new AWS UI

About the Author

Students10222
Labs68
Courses7
Learning paths4

Logan has been involved in software development and research since 2007 and has been in the cloud since 2012. He is an AWS Certified DevOps Engineer - Professional, MCSE: Cloud Platform and Infrastructure, Google Cloud Certified Associate Cloud Engineer, Certified Kubernetes Administrator (CKA), Certified Kubernetes Application Developer (CKAD), and Linux Foundation Certified System Administrator (LFCS). He earned his Ph.D. studying design automation and enjoys all things tech.