AWS Deployer with Go
goployer
is an application you can use for EC2 deployment. You can deploy in a blue/green mode. goployer only
changes the autoscaling group so that you don't need to create another load balancer or manually attach autoscaling group to target group.
hello-v001
, then next version will be hello-v002
autoscaling
in manifest, goployer creates autoscaling policies and put these to the autoscaling group. If you use alarms
with autoscaling, then goployer will also create a cloudwatch alarm for autoscaling policy.spot instance
option with goployer.spot instance
.instance_market_options
: You can set spot instance options and with this, you will only use spot instances.
instance_market_options:
market_type: spot
spot_options:
block_duration_minutes: 180
instance_interruption_behavior: terminate # terminate / stop / hibernate
max_price: 0.2
spot_instance_type: one-time # one-time or persistent
mixed_instances_policy
: You can mix on-demand
and spot
together with this setting.
mixed_instances_policy:
enabled: true
override_instance_types:
- c5.large
- c5.xlarge
on_demand_percentage: 20
spot_allocation_strategy: lowest-price
spot_instance_pools: 3
spot_max_price: 0.3
You can see the detailed information in manifest format page.
cd examples/manifests