Sha256: 9d59a72d6e7515efab9160739e3685f74e7f390ec62969399c8fc6382bc73275
Contents?: true
Size: 1.41 KB
Versions: 3
Compression:
Stored size: 1.41 KB
Contents
scheduler: type: ecs region: ap-northeast-1 cluster: eagletmt desired_count: 2 role: ecsServiceRole elb: listeners: - load_balancer_port: 80 protocol: HTTP subnets: - subnet-XXXXXXXX - subnet-YYYYYYYY security_groups: - sg-ZZZZZZZZ autoscaling: role_arn: arn:aws:iam::012345678901:role/ecsAutoscaleRole min_capacity: 1 max_capacity: 4 policies: # Add one task when ecs-scaling-out-hello-autoscaling-service is in alarm state - alarms: [ecs-scaling-out-hello-autoscaling-service] cooldown: 300 adjustment_type: ChangeInCapacity scaling_adjustment: 1 metric_interval_lower_bound: 0 metric_aggregation_type: Average # Remove one task when ecs-scaling-in-hello-autoscaling-service is in alarm state - alarms: [ecs-scaling-in-hello-autoscaling-service] cooldown: 300 adjustment_type: ChangeInCapacity scaling_adjustment: 1 metric_interval_upper_bound: 0 metric_aggregation_type: Average app: image: ryotarai/hello-sinatra memory: 128 cpu: 256 port: 3000 env: $providers: - type: file path: hello.env PORT: 3000 MESSAGE: '#{username}-san' additional_containers: front: image_tag: hako-nginx memory: 32 cpu: 32 scripts: - <<: !include front.yml locations: /: allow_only_from: - 10.0.0.0/24
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
hako-0.17.2 | examples/hello-autoscaling.yml |
hako-0.17.1 | examples/hello-autoscaling.yml |
hako-0.17.0 | examples/hello-autoscaling.yml |