Module library

VPC

Terraform module to create AWS VPC resources

Version
Submodules
flow-logvpc-endpoints

Charged while it exists

2

These set the floor of the bill. They accrue from the moment they are created, even if nothing uses them.

  • EC2

    aws_eip

    An hourly charge per address, whether or not it is attached.

  • VPC

    aws_nat_gateway

    An hourly charge per gateway plus every GB processed. One per availability zone multiplies both.

Charged by usage

2

These stay near zero until there is traffic, and are the hardest to predict from source alone.

  • CloudWatch Logs

    aws_cloudwatch_log_group

    Per GB ingested, then per GB stored for as long as retention keeps it. Retention set to never expire is the usual surprise.

  • VPC

    aws_flow_log

    Per GB of captured traffic. Logging all traffic on a busy VPC is expensive.

No charge

28

These carry no charge of their own, though some of them govern resources that do.

  • ElastiCache

    aws_elasticache_subnet_group
  • IAM

    aws_iam_policy
  • IAM

    aws_iam_role
  • IAM

    aws_iam_role_policy_attachment
  • RDS

    aws_db_subnet_group
  • Redshift

    aws_redshift_subnet_group
  • Site-to-Site VPN

    aws_customer_gateway
  • Site-to-Site VPN

    aws_vpn_gateway
  • Site-to-Site VPN

    aws_vpn_gateway_attachment
  • Site-to-Site VPN

    aws_vpn_gateway_route_propagation
  • VPC

    aws_default_network_acl
  • VPC

    aws_default_route_table
  • VPC

    aws_default_security_group
  • VPC

    aws_default_vpc
  • VPC

    aws_egress_only_internet_gateway
  • VPC

    aws_internet_gateway
  • VPC

    aws_network_acl
  • VPC

    aws_network_acl_rule
  • VPC

    aws_route
  • VPC

    aws_route_table
  • VPC

    aws_route_table_association
  • VPC

    aws_subnet
  • VPC

    aws_vpc
  • VPC

    aws_vpc_block_public_access_exclusion
  • VPC

    aws_vpc_block_public_access_options
  • VPC

    aws_vpc_dhcp_options
  • VPC

    aws_vpc_dhcp_options_association
  • VPC

    aws_vpc_ipv4_cidr_block_association