/elasticspot

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

Primary LanguageGo

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