Sha256: fafa42feeb49d58aa9ed15c3065ac88ce88da7634bd6915bc3fb7f09493f788e

Contents?: true

Size: 1.23 KB

Versions: 9

Compression:

Stored size: 1.23 KB

Contents

---
# image_id: ami-97785bed # Amazon Linux AMI
image_id: ami-4fffc834 # Amazon Lambda AMI
  # https://docs.aws.amazon.com/lambda/latest/dg/current-supported-versions.html
instance_type: t2.medium
key_name: default
max_count: 1
min_count: 1
user_data: "<%= user_data("bootstrap.sh") %>"
iam_instance_profile:
  name: <%= ENV['IAM_INSTANCE_PROFILE'] %>
# public network settings
security_group_ids: <%= config["security_group_ids"].inspect %>
subnet_id: <%= config["subnets"].shuffle.first %>
block_device_mappings:
  - device_name: /dev/xvda
    ebs:
      volume_size: 20
instance_market_options:
  market_type: spot
  # https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_LaunchTemplateSpotMarketOptionsRequest.html
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Types/SpotMarketOptions.html
  spot_options:
    max_price: "0.018" # $0.020/hr = $14.40/mo
                       # $0.018/hr = $12.96/mo
    # valid combinations:
    #   spot_instance_type: persistent
    #   instance_interruption_behavior: hibernate
    # or
    #   spot_instance_type: one-time
    # More info: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-interruptions.html
    spot_instance_type: persistent
    instance_interruption_behavior: hibernate

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
forger-2.0.5 spec/fixtures/demo_project/profiles/default.yml
forger-2.0.4 spec/fixtures/demo_project/profiles/default.yml
forger-2.0.3 spec/fixtures/demo_project/profiles/default.yml
forger-2.0.2 spec/fixtures/demo_project/profiles/default.yml
forger-2.0.1 spec/fixtures/demo_project/profiles/default.yml
forger-2.0.0 spec/fixtures/demo_project/profiles/default.yml
forger-1.6.0 spec/fixtures/demo_project/profiles/default.yml
forger-1.5.4 spec/fixtures/demo_project/profiles/default.yml
forger-1.5.3 spec/fixtures/demo_project/profiles/default.yml