ec2fleet
is a command line tool that can be used to provision AWS fleets.
NOTE: First time building this package may take longer because go
needs to fetch ec2 dependencies
git clone https://github.com/xwang0818/ec2fleet.git
cd ec2fleet/
make
source etc/aws.config
cd build/
.ec2fleet -help
# eg.
./ec2fleet -nodes=2 -volumeSize=4 -subnets=subnet-15288a34,subnet-d68bfc9b -securityGroups=sg-0e6218c9c2826b9dd -instanceTypes=t3.micro,t3.micro
Modify etc/env.config to include all the inputs
source etc/env.config
./ec2fleet -env
Modify etc/config.json to include all the inputs
./ec2fleet -configFile=etc/config.json