Skip to content

nickfiggins/elasticspot

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
cmd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

ElasticSpot

Plug-in lambda function for reassigning Elastic IPs to new spot instances on termination inside an ECS cluster.

Usage/Examples

package main

import (
	"github.com/nickfiggins/elasticspot"
	...
)


...

func main() {
	lambda.Start(elasticspot.NewHandler(ec2_sess, elasticIp).Handle)
}

Contributing

Contributions are always welcome!

License

MIT

About

Easily reassign Elastic IPs to new Spot instances with AWS Lambda and CloudWatch Events.

Resources

Stars

Watchers

Forks

Packages

No packages published