Skip to content

Terraform module that requests an EC2 instance on the Spot market

License

Notifications You must be signed in to change notification settings

kurron/terraform-aws-ec2-spot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This Terraform module creates EC2 instances into the provided subnets. The subnet defaults will determine if the instances get public ip address or not. The instances are pulled from the Spot Market.

Prerequisites

Building

Since this is just a collection of Terraform scripts, there is nothing to build.

Installation

This module is not installed but, instead, is obtained by the project using the module. See kurron/terraform-environments for example usage.

Tips and Tricks

Debugging

The debug folder contains files that can be used to test out local changes to the module. Edit backend.cfg and plan.tf to your liking and then run debug/debug-module.sh to test your changes.

Limiting Instance Count

The number of created instances can be controlled by setting instance_limit to a non 0 value. A value of 0 results in one instance per subnet.

Troubleshooting

License and Credits

This project is licensed under the Apache License Version 2.0, January 2004.

List of Changes

About

Terraform module that requests an EC2 instance on the Spot market

Resources

License

Stars

Watchers

Forks

Packages

No packages published