nickfiggins / elasticspot

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.


Languages

Language:Go 97.4%Language:Makefile 2.6%