Sha256: 30ae8e80cce58eb4d26fc92dc48d7cff09fce84a0d621a421ae8c5c82e80eb11
Contents?: true
Size: 1.17 KB
Versions: 33
Compression:
Stored size: 1.17 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: iam_instance_profile: name: DevLinux # 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
33 entries across 33 versions & 2 rubygems