How to create EC2 spot request step by step

How to create EC2 spot request step by step

How to create an AWS EC2 Spot request step by step

Hello Everyone

Welcome to CloudAffaire and this is Debjeet

In the last blog post, we have discussed AWS EC2 Spot instance.

https://cloudaffaire.com/aws-ec2-spot-instance/

In this blog post, we are going to create an AWS EC2 Spot instance request.

How to create an AWS EC2 Spot request step by step:

Step 1: Login to your AWS console and navigate to EC2 service and click on ‘Spot Request’ under INSTANCES.

create an AWS Spot Request

Step 2: Click ‘Request Spot Instances’.

create an AWS EC2 spot instance

Step 3: Select Submit a one-time Spot instance request.

create an AWS EC2 spot instance

There are three types of Spot request that you can make

  1. Request: Submit a one-time Spot instance request
  2. Request and Maintain: Request a fleet of Spot instances to maintain your target capacity
  3. Reserve for duration: Request a Spot instance with no interruption for 1 to 6 hours (a Spot block)

In this blog, we will be creating a one time request.

Step 4: Provide the number of Spot instance that you want to launch under Total target capacity.

create an AWS EC2 spot instance

You can also include On-Demand instance under your Spot instance request provided you have a valid launch template for the On-Demand instance.

Step 5: Choose AMI for your Spot instance. Click on ‘Search for AMI’ to select the AMI.

create an AWS EC2 spot instance

We are going to use the default one for this blog.

Step 6: To select the instance type click ‘Select’.

create an AWS EC2 spot instance

We are going to use T2.micro for this Spot request.

Step 7: Provide additional configuration for your Spot request and click ‘Launch’.

create an AWS EC2 spot instance

create an AWS EC2 spot instance

create an AWS EC2 spot instance

Warning: Chagres apply depending upon the region and number of instances if your request is fulfilled.

You will get a confirmation message that your Spot instance request successfully created.

create an AWS EC2 spot instance

In order to view the status of this request click OK and you will be redirected to your Spot instance request page.

create an AWS EC2 spot instance

Note: Once the Spot instance request is created it will be only fulfilled if there is capacity available in your selected availability zone and instance type and your Spot instance request price is greater than the current Spot price.

Hope you have enjoyed this article. In the next blog post, we are going discuss launch template

 

This Post Has One Comment

  1. Thanks for sharing information

Leave a Reply

Close Menu