issues
search
binbashar
/
le-tf-infra-aws
Terraform code for Leverage Reference Architecture for AWS, designed under optimal configs for the most popular modern web and mobile applications needs.
https://www.binbash.co/leverage
Apache License 2.0
24
stars
7
forks
source link
Feature | ec2 fleet with ebs attached
#540
Closed
juanmatias
closed
6 months ago
juanmatias
commented
7 months ago
What?
Added parameters to EC2 instances to have more dynamic way of settings
Added defaults for parameters
Added possibility to add additional EBS volumes to instances
Added possibility to set spot instances
Updated module version
Why?
I needed to create an EC2 with custom values (e.g. a custom root volume size) and
with an EBS attached
Also updated module version to allow SSM
github-actions[bot]
commented
7 months ago
Infracost report
💰 Monthly cost will increase by $64 📈
Project
Cost change
New monthly cost
binbashar/le-tf-infra-aws/apps-...us-east-1/ec2-fleet-ansible --
+$64 (+224%)
$93
Cost details
``` ────────────────────────────────── Project: binbashar/le-tf-infra-aws/apps-devstg/us-east-1/ec2-fleet-ansible -- Module path: apps-devstg/us-east-1/ec2-fleet-ansible -- - module.ec2_ansible_fleet["1"].aws_instance.this[0] -$7 - Instance usage (Linux/UNIX, on-demand, t2.nano) -$4 - EC2 detailed monitoring -$2 - root_block_device - Storage (general purpose SSD, gp2) -$0.80 + module.ec2_ansible_fleet["1"].aws_spot_instance_request.this[0] +$23 + Instance usage (Linux/UNIX, spot, t3a.medium) +$23 - module.ec2_ansible_fleet["2"].aws_instance.this[0] -$7 - Instance usage (Linux/UNIX, on-demand, t2.nano) -$4 - EC2 detailed monitoring -$2 - root_block_device - Storage (general purpose SSD, gp2) -$0.80 + module.ec2_ansible_fleet["2"].aws_spot_instance_request.this[0] +$23 + Instance usage (Linux/UNIX, spot, t3a.medium) +$23 - module.ec2_ansible_fleet["3"].aws_instance.this[0] -$7 - Instance usage (Linux/UNIX, on-demand, t2.nano) -$4 - EC2 detailed monitoring -$2 - root_block_device - Storage (general purpose SSD, gp2) -$0.80 + module.ec2_ansible_fleet["3"].aws_spot_instance_request.this[0] +$23 + Instance usage (Linux/UNIX, spot, t3a.medium) +$23 - module.ec2_ansible_fleet["4"].aws_instance.this[0] -$7 - Instance usage (Linux/UNIX, on-demand, t2.nano) -$4 - EC2 detailed monitoring -$2 - root_block_device - Storage (general purpose SSD, gp2) -$0.80 + module.ec2_ansible_fleet["4"].aws_spot_instance_request.this[0] +$23 + Instance usage (Linux/UNIX, spot, t3a.medium) +$23 Monthly cost change for binbashar/le-tf-infra-aws/apps-devstg/us-east-1/ec2-fleet-ansible -- (Module path: apps-devstg/us-east-1/ec2-fleet-ansible --) Amount: +$64 ($29 → $93) Percent: +224% ────────────────────────────────── Key: ~ changed, + added, - removed 2527 cloud resources were detected: ∙ 595 were estimated, 456 of which include usage-based costs, see https://infracost.io/usage-file ∙ 1785 were free, rerun with --show-skipped to see details ∙ 147 are not supported yet, rerun with --show-skipped to see details Infracost estimate: Monthly cost will increase by $64 ↑ ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━┓ ┃ Project ┃ Cost change ┃ New monthly cost ┃ ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━━━━┫ ┃ binbashar/le-tf-infra-aws/apps-...us-east-1/ec2-fleet-ansible -- ┃ +$64 (+224%) ┃ $93 ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━━━━┛ ```
This comment will be updated when code changes.
What?
Why?