DevopsArtFactory / goployer

AWS Deployer with Go
https://goployer.dev
Apache License 2.0
72 stars 13 forks source link
aws cicd deployer deployment goployer

goployer

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.

Demo

goployer-demo

Requirements

How goployer works


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.


Examples