Cost Estimation Reference for Terraform Resources
Pricing dimensions, Terraform examples, and optimization tips for every resource C3X estimates across AWS, Azure, and Google Cloud.
aws_acm_certificateTLS certificates for AWS services. Public certificates are free with auto-renewal. Private CA-issued certificates bill $400/month per private CA. Wildcard and SAN certificates included at no extra cost.
aws_acmpca_certificate_authorityA managed private certificate authority. Priced as a flat monthly CA fee by mode, plus a per-certificate issuance charge.
aws_amplify_appManaged hosting for web apps, billed by build minutes, served data, and storage. A small app (500 build min, 15 GB served, 5 GB stored) is ~$7/month.
aws_api_gateway_rest_apiA REST API endpoint. Priced per request, with no base hourly fee. Cheaper than ALB at low volume.
aws_apigatewayv2_apiHTTP and WebSocket APIs. HTTP API is 70% cheaper than REST API: $1.00 per million requests vs $3.50. WebSocket connections billed separately by connection-minute and messages.
aws_apprunner_serviceA managed container service that scales to zero between requests. Priced on provisioned memory plus active vCPU, with separate build minutes.
aws_appstream_fleetA fleet of streaming application instances. Bills per instance-hour by type × fleet size. Two stream.standard.medium instances always-on are ~$146/month.
aws_appsync_graphql_apiA managed GraphQL API with real-time subscriptions. Priced per query/mutation operation and per real-time update, plus connection minutes and optional caching.
aws_athena_workgroupServerless query engine for S3 data. $5 per TB scanned (standard). Provisioned capacity option starts at $0.30/DPU-hour with 24-hour minimum. Workgroups themselves are free; the queries within bill.
aws_backup_vaultLogical container for backups managed by AWS Backup. Vaults themselves are free; you pay for the storage of recovery points ($0.05/GB-month warm, $0.01/GB-month cold) plus restore data transfer.
aws_cloudfront_distributionA CDN distribution. Priced by data transfer to viewers and request count, with rates varying by region.
aws_cloudhsm_v2_hsmA dedicated, single-tenant hardware security module billed per HSM-hour. One HSM is ~$1,168/month — and production needs at least two for HA.
aws_cloudtrailAn audit log of AWS API calls. Management events are free. Data events and Insights are billed per event.
aws_cloudwatch_dashboardA CloudWatch dashboard for visualizing metrics, billed ~$3/dashboard/month. The first 3 dashboards (with limited metrics) are free.
aws_cloudwatch_event_ruleAn EventBridge (CloudWatch Events) rule that routes events to targets. The rule is free; custom events published cost ~$1/million. AWS-service events are free.
aws_cloudwatch_log_groupA log group for storing application and AWS service logs. Priced by ingestion ($0.50/GB), storage ($0.03/GB-month), and queries.
aws_cloudwatch_metric_alarmAlarm that triggers actions when a metric breaches a threshold. $0.10/alarm-month for standard resolution. High-resolution alarms (10s) cost $0.30/month. Composite alarms are free per logical condition.
aws_codeartifact_domainA package-registry domain billed by stored artifacts, requests, and cross-region data transfer. 100 GB + 1M requests is ~$10/month.
aws_codebuild_projectA managed build environment for CI/CD. Priced per build-minute by compute type, with no idle cost between builds.
aws_codepipelineA managed CI/CD pipeline billed ~$1/month per active pipeline (V1). The cost is trivial; the spend lives in the compute the pipeline triggers.
aws_cognito_user_poolA managed user directory for sign-up and sign-in. Priced per monthly active user (MAU) above a free tier, with the rate set by the feature tier.
aws_config_config_ruleA compliance rule evaluated by AWS Config, billed per rule evaluation. 10,000 evaluations is ~$10; cost scales with resource changes and rule count.
aws_config_configuration_recorderRecords resource configuration changes into AWS Config, billed per configuration item. 10,000 items is ~$30; cost is driven by recording scope and churn.
aws_dax_clusterAn in-memory write-through cache for DynamoDB. Priced per node-hour by node type, multiplied across the cluster's node count.
aws_db_instanceA managed relational database instance on RDS. Priced per hour by instance class, engine, deployment option, and region, with storage and IOPS billed separately.
aws_db_proxyA managed connection pool in front of RDS or Aurora. Priced per vCPU-hour of the proxied database instances, billed continuously.
aws_db_snapshotA manual snapshot of an RDS instance, billed per GB-month of backup storage beyond the free allowance. A 50 GB snapshot is ~$4.75/month.
aws_directory_service_directoryA managed directory (Microsoft AD, Simple AD, or AD Connector) billed per hour. Standard Microsoft AD is ~$88/month; Simple AD is cheaper.
aws_dms_replication_instanceA managed instance that runs database migration and replication tasks. Priced per instance-hour by class, doubled for Multi-AZ, plus storage.
aws_documentdb_clusterMongoDB-compatible managed document database. Instance-hour ($0.277/hour for db.r6g.large) plus storage ($0.10/GB-month) plus I/O ($0.20/M-requests). Backup storage above retention is $0.021/GB-month.
aws_dx_connectionA dedicated physical network link to AWS, billed per port-hour by speed plus data transfer out. A 1 Gbps port is ~$219/month before egress.
aws_dx_connectionA dedicated physical network connection from on-premises to AWS. Priced per port-hour by bandwidth, plus per-GB data transfer at a lower rate than internet.
aws_dynamodb_tableA managed NoSQL table. Pay-per-request (on-demand) or provisioned capacity, plus storage. No instances to manage.
aws_ebs_snapshotA point-in-time backup of an EBS volume, stored in S3. $0.05/GB-month standard (incremental), or $0.0125/GB-month in the archive tier.
aws_ebs_volumeA persistent block storage volume. Priced per GB-month by volume type, with separate IOPS and throughput charges on certain types.
aws_ec2_hostA physical server dedicated to your account, billed per host-hour by instance family. An m5 dedicated host is ~$3,700/month — you pay for the whole host, not the instances on it.
aws_ec2_transit_gatewayA network hub connecting multiple VPCs, VPNs, and Direct Connects. $0.05/hour per attachment plus $0.02/GB processed.
aws_ec2_transit_gateway_vpc_attachmentAttaches a VPC to a Transit Gateway, billed ~$0.05/hour (~$36.50/month) per attachment plus the data the TGW processes for it.
aws_ecr_repositoryA container image registry. Priced per GB-month stored, with the first 500 MB free, plus data transfer charges.
aws_ecs_clusterAn ECS cluster. The cluster itself is free. Cost comes from the EC2 instances and Fargate tasks that run inside it.
aws_ecs_serviceA long-running ECS service. Cost depends on launch type: EC2 (pay for nodes), Fargate (pay per task vCPU/memory), or Fargate Spot.
aws_efs_file_systemA managed NFS file system for shared access from EC2, ECS, EKS, and Lambda. Priced per GB stored, with tiered storage classes.
aws_eipA static public IPv4 address. Free while attached and in use, $0.005/hour while detached or unassociated. As of 2024, also charges per-hour for attached IPv4 in some scenarios.
aws_eks_clusterA managed Kubernetes control plane. Flat $0.10/hour per cluster, with worker nodes and storage billed separately.
aws_eks_node_groupManaged EC2 worker nodes for an EKS cluster. The node group has no charge of its own — it bills as the EC2 instances it launches. 3× m5.large is ~$210/month.
aws_elasticache_clusterManaged Redis or Memcached. Priced per node-hour by instance type, with no storage or request charges.
aws_elasticache_replication_groupA Redis (or Valkey) replication group with primary and replica nodes, optionally cluster-mode sharded. Priced per node-hour by node type across all shards and replicas.
aws_elasticache_serverless_cacheA serverless Redis or Valkey cache that scales automatically. Priced per GB-hour of data stored plus per million ElastiCache Processing Units (ECPUs).
aws_elasticsearch_domainThe legacy Elasticsearch Service domain (now OpenSearch). Bills per data-node instance-hour plus storage. A single t3.small.search node is ~$26/month.
aws_emr_clusterManaged Hadoop, Spark, Hive, Presto, and HBase. Bills EC2 instance hours plus EMR service fee (typically $0.063-$0.27/instance-hour on top of EC2). EMR Serverless eliminates instance management; EMR on EKS allows reusing EKS clusters.
aws_fms_policyA Firewall Manager policy that centrally manages WAF/Shield/security-group rules across accounts, billed ~$100/policy/region/month — plus the resources it deploys.
aws_fsx_file_systemManaged file storage for Windows, Lustre, NetApp ONTAP, and OpenZFS workloads. Pricing varies wildly: from $0.025/GB-month (Lustre HDD) to $0.30+/GB-month (Windows SSD with deduplication).
aws_fsx_lustre_file_systemA high-performance Lustre file system for HPC and ML. Bills per GB of provisioned storage, with throughput coupled to capacity. 1.2 TB at 125 MB/s/TiB is ~$174/month.
aws_fsx_ontap_file_systemA managed NetApp ONTAP file system with multiprotocol access and NetApp features, billed per GB of SSD capacity plus throughput. 1 TB Multi-AZ is ~$256/month.
aws_fsx_openzfs_file_systemA managed OpenZFS file system for NFS workloads with ZFS features, billed per GB of SSD capacity plus throughput. 64 GB Single-AZ is ~$5.76/month.
aws_fsx_windows_file_systemA managed SMB file system with Active Directory integration. Bills per GB of provisioned storage plus throughput; 32 GB SSD Single-AZ is ~$4/month, scaling with capacity.
aws_glacier_vaultA vault for long-term archival storage, billed per GB-month at the deep-archive rate. 1 TB is ~$3.60/month — cheap to store, but retrieval costs time and money.
aws_globalaccelerator_acceleratorAnycast IPs that route users to the nearest healthy endpoint over the AWS backbone. Priced as a fixed hourly fee plus a per-GB data transfer premium.
aws_glue_crawlerA crawler that catalogs data sources into the Glue Data Catalog, billed per DPU-hour while it runs. 10 DPU-hours/month is ~$4.40 — it only bills during crawl runs.
aws_glue_jobA managed ETL job using Spark or Python shell. Priced per DPU-hour with 1-minute billing minimum, plus development endpoint and Data Catalog costs.
aws_grafana_workspaceA managed Grafana workspace for dashboards. Priced purely per active user per month by role, with no always-on infrastructure fee.
aws_guardduty_detectorManaged threat detection billed by the volume of CloudTrail events, VPC flow logs, and DNS logs analyzed. ~10M events + 100 GB logs is ~$140/month.
aws_instanceAn EC2 virtual machine. Priced per hour by instance type, OS, tenancy, and region, with separate charges for attached EBS volumes and data transfer.
aws_kendra_indexA managed intelligent-search index. Priced as a flat hourly fee by edition, billed continuously, with a substantial monthly floor.
aws_kinesis_firehose_delivery_streamA managed stream that loads data into S3, Redshift, OpenSearch, or Splunk. Priced per GB ingested, with extras for format conversion and VPC delivery.
aws_kinesis_streamA real-time data stream. Two capacity modes: Provisioned (priced per shard-hour) or On-Demand (priced per record and per GB).
aws_kinesisanalyticsv2_applicationA managed Apache Flink (Kinesis Data Analytics) application billed per Kinesis Processing Unit-hour. Two KPUs run ~$161/month, billed while the application runs.
aws_kms_keyA managed encryption key. Flat $1/month per key, plus per-request charges for cryptographic operations.
aws_lambda_functionA serverless function billed by request count and execution duration. Free tier covers 1M requests and 400,000 GB-seconds per month.
aws_lbA managed load balancer (ALB or NLB). Priced per hour plus per LCU/NLCU based on processed traffic.
aws_lightsail_bucketSimplified object storage sold as a flat monthly bundle with included storage and transfer. The small bundle is ~$1/month, all-in.
aws_lightsail_databaseA simplified managed database (MySQL/PostgreSQL) sold as a flat monthly bundle. The micro bundle is ~$15/month, all-in; HA bundles cost more.
aws_lightsail_distributionA simplified CDN fronting a Lightsail (or other) origin, sold as a flat monthly bundle with an included transfer allowance. The small bundle is ~$2.50/month.
aws_lightsail_instanceSimplified VPS bundles for small workloads. Flat monthly pricing from $3.50/month (512 MB) to $160/month (64 GB). Includes data transfer allowance. Much simpler than EC2 but limited features.
aws_macie2_accountManaged sensitive-data discovery for S3, billed per bucket evaluated plus per GB inspected. 50 buckets + 100 GB inspected is ~$105/month.
aws_memorydb_clusterA durable, Redis-compatible in-memory database. Priced per node-hour across all shards and replicas, plus per-GB data written and snapshot storage.
aws_mq_brokerA managed ActiveMQ or RabbitMQ message broker. Priced per broker-instance-hour by instance type and deployment mode, plus storage.
aws_msk_clusterA managed Apache Kafka cluster. Priced per broker-hour by instance type, plus EBS storage per GB-month and data transfer.
aws_msk_serverless_clusterA serverless Apache Kafka cluster that scales automatically. Priced per cluster-hour plus partition-hours, storage, and data in/out.
aws_mwaa_environmentA managed Apache Airflow environment. Priced per environment-hour by size, plus additional worker and scheduler hours and metadata storage.
aws_nat_gatewayA managed NAT gateway for outbound internet access from private subnets. Notoriously expensive: $0.045/hour plus $0.045/GB processed.
aws_neptune_clusterManaged graph database supporting Gremlin, openCypher, and SPARQL. Instance hours ($0.348/hour for db.r5.large) plus storage ($0.10/GB-month) plus I/O ($0.20/M requests). Neptune Serverless offers auto-scaling per-NCU.
aws_neptune_cluster_instanceA compute instance in a Neptune graph-database cluster, billed per instance-hour by class. A db.r5.large runs ~$254/month, and a cluster usually has a writer plus readers.
aws_networkfirewall_firewallA managed VPC firewall billed per endpoint-hour plus traffic processed. One endpoint with 100 GB is ~$295/month — and multi-AZ deployments multiply the endpoint fee.
aws_opensearch_domainA managed OpenSearch (formerly Elasticsearch) cluster. Priced per node-hour by instance type, plus storage and optional UltraWarm/Cold tiers.
aws_opensearchserverless_collectionServerless OpenSearch billed per OpenSearch Compute Unit-hour, with a minimum capacity floor. The 4-OCU minimum is ~$701/month.
aws_prometheus_workspaceManaged Prometheus billed by samples ingested and metrics stored — no node cost. 1B samples + 100 GB storage is ~$93/month, and the bill scales with metric cardinality.
aws_qldb_ledgerA serverless immutable ledger database billed by write IOs, read IOs, and journal/indexed storage — no instances. 10M write IOs + 20 GB is ~$12/month.
aws_rds_clusterAn Aurora cluster (MySQL or PostgreSQL compatible). Priced by per-instance compute, storage by GB used, and I/O (Standard) or compute (I/O-Optimized).
aws_rds_cluster_instanceA compute instance in an Aurora cluster, billed per instance-hour by class. A db.r6g.large Aurora PostgreSQL instance is ~$247/month — and a cluster usually runs several.
aws_redshift_clusterA managed data warehouse. Two compute models: classic node-based pricing (per-hour) or Redshift Serverless (per-RPU-hour), plus managed storage.
aws_redshiftserverless_workgroupServerless Redshift compute billed per RPU-hour only while queries run. 100 RPU-hours is ~$36; idle workgroups cost nothing for compute.
aws_route53_health_checkA health check that monitors an endpoint for DNS failover, billed ~$0.50/month for AWS endpoints or ~$0.75 for external ones, plus optional feature add-ons.
aws_route53_resolver_endpointAn inbound or outbound DNS resolver endpoint for hybrid name resolution, billed per elastic network interface (IP) per hour. Two IPs are ~$183/month, plus DNS query charges.
aws_route53_zoneA DNS hosted zone. Flat $0.50/month per zone, plus tiered per-query charges.
aws_s3_bucketObject storage on S3. Priced by storage class, request count, and data transfer, with the bucket itself being free.
aws_sagemaker_endpointReal-time ML inference endpoint. Bills instance hours 24/7 (e.g., $0.0532/hour for ml.t2.medium, up to $30+/hour for ml.p4d.24xlarge). Serverless inference bills per-invocation. Async inference for batch-like workloads.
aws_sagemaker_notebook_instanceA managed Jupyter notebook instance billed per hour while running. An ml.t3.medium is ~$37/month if left on 24/7 — and idle notebooks are the classic waste.
aws_secretsmanager_secretA managed secret with versioning, rotation, and IAM-controlled access. Flat $0.40/month per secret plus per-API-call charges.
aws_securityhub_accountCentralized security posture management, billed per security check and per finding ingested. 100K checks/month is ~$100, with tiers lowering the rate at scale.
aws_sfn_state_machineWorkflow orchestration. Standard workflows at $0.025 per 1,000 state transitions. Express workflows at $1 per 1M requests + duration fees. Standard for long-running workflows; Express for high-volume short workflows.
aws_shield_protectionEnrolls a resource in AWS Shield Advanced DDoS protection. Shield Advanced is a flat ~$3,000/month subscription per organization — shared across all protected resources.
aws_sns_topicA pub/sub topic for sending notifications. Priced per message published, per delivery, and by destination protocol.
aws_spot_instance_requestAn EC2 instance run at Spot prices — up to ~90% below on-demand — in exchange for possible interruption. c3x prices it at the on-demand ceiling (a t3.micro is ~$7.59/month).
aws_sqs_queueA managed message queue. Priced per request, with no per-queue or storage fee. Generous free tier.
aws_storagegateway_gatewayHybrid storage bridging on-premises to AWS. File Gateway ($0.023/GB-month + data transfer), Volume Gateway (per-GB cached or stored mode), Tape Gateway (VTL for backup). Pricing varies significantly by gateway type.
aws_timestreamwrite_tableA serverless time-series table billed by writes, storage tier, and queries — no instances. 100M writes + 500 GB magnetic storage is ~$65/month.
aws_transfer_serverManaged SFTP, FTPS, or FTP access to S3 and EFS. Priced per protocol-hour the endpoint is enabled, plus per-GB uploaded and downloaded.
aws_vpc_endpointA private endpoint into AWS services from your VPC. Gateway endpoints (S3, DynamoDB) are free; Interface endpoints are ~$7/month per AZ plus data fees.
aws_vpn_connectionA site-to-site IPsec VPN connection between your VPC and on-premises network. $0.05/hour per active connection plus data transfer.
aws_wafv2_web_aclA web application firewall. $5/month per Web ACL, $1/month per rule, plus $0.60 per million inspected requests.
aws_workspaces_workspaceA managed cloud desktop billed monthly or hourly by bundle. An always-on Value bundle is ~$25/month; larger bundles run up to ~$220.
aws_xray_groupDistributed tracing billed per trace recorded plus per trace retrieved/scanned. 10M traces recorded + 1M scanned is ~$50.50.
azurerm_analysis_services_serverA managed tabular analytics engine billed per hour by tier. An S0 is ~$591/month if left running — but it can be paused, which stops the charge entirely.
azurerm_api_managementFull API gateway with developer portal, rate limiting, transformations. Consumption ($3.50/M calls), Developer ($48/month, no SLA), Basic ($147/month), Standard ($686/month), Premium ($2,795/month per unit).
azurerm_app_configurationA managed store for application settings and feature flags. Priced as a flat daily fee on the Standard tier, with a genuinely free tier.
azurerm_application_gatewayA Layer 7 load balancer with WAF support. Priced by gateway hours, capacity units, and optional WAF tier.
azurerm_application_insightsApplication performance monitoring. Bills through a linked Log Analytics workspace by GB ingested. Free tier covers 5 GB/month.
azurerm_automation_accountRunbook automation billed per job-run minute beyond a free monthly allowance, plus watcher hours. 10,500 job-minutes is ~$20.
azurerm_backup_protected_vmA VM enrolled in Azure Backup, billed a per-instance protection fee by VM size plus backup storage. A ≤500 GB VM with 100 GB of backups is ~$12/month.
azurerm_bastion_hostManaged, browser-based RDP/SSH access to VMs without public IPs. Priced per gateway-hour by SKU, plus outbound data transfer and scale-unit hours.
azurerm_batch_poolA pool of compute nodes for batch/HPC jobs, billed the underlying VM rate per node. Two Standard_D2s_v5 dedicated nodes are ~$140/month — but autoscale and Spot make it usage-driven.
azurerm_cdn_endpointA CDN endpoint that caches and serves content from an origin, billed per GB of egress by zone. 1 TB of Zone 1 egress is ~$81/month.
azurerm_cdn_frontdoor_profileGlobal CDN + WAF + load balancer. Standard at $35/month base + $0.17/GB outbound. Premium at $165/month base + $0.225/GB outbound. WAF rules and Private Link add fees. Anycast routing across 192+ POPs.
azurerm_cognitive_accountManaged AI APIs: OpenAI, Vision, Speech, Language, Translation. Pay-per-call (varies by service). OpenAI GPT-4o: $5/M input tokens, $15/M output. Vision: $1-$5/1K transactions. Speech-to-Text: $1/audio-hour.
azurerm_container_appServerless containers billed by active vCPU-seconds and GiB-seconds. An always-on 0.5 vCPU / 1 GiB replica is ~$39/month; scale-to-zero apps cost far less.
azurerm_container_groupServerless containers billed per vCPU-second and GB-second, only while running. 1 vCPU + 1.5 GB run 24/7 is ~$28/month; scale-to-zero workloads cost far less.
azurerm_container_registryA managed Docker container registry. Three tiers (Basic, Standard, Premium) with different per-day rates and included storage.
azurerm_cosmosdb_accountA globally-distributed multi-model database. Priced by Request Units (RU/s) and storage, with provisioned and serverless options.
azurerm_cosmosdb_cassandra_clusterA managed Apache Cassandra cluster billed per node-hour by VM SKU. Three Standard_DS14_v2 nodes run ~$4,419/month — node count and SKU drive the whole bill.
azurerm_dashboard_grafanaA managed Grafana instance for dashboards and observability. Priced on a per-instance hourly node fee plus a per-active-user charge.
azurerm_data_factoryManaged ETL/ELT and data integration. Pipeline orchestration ($1/1K runs), data flow execution ($0.193-$0.34/vCore-hour for General Purpose), and Integration Runtime hours. Data movement billed separately ($0.25/DIU-hour Azure-hosted).
azurerm_data_protection_backup_vaultA vault for backups of disks, blobs, databases, and AKS, billed per GB of backup storage. 500 GB of vaulted LRS backup is ~$50/month — retention drives the bill.
azurerm_databricks_workspaceManaged Spark and Delta Lake. Bills DBU (Databricks Units) at $0.15-$0.55/DBU-hour depending on workload type plus underlying VM costs. Photon engine adds ~30% to DBU rate for ~2-3x performance.
azurerm_ddos_protection_planA network DDoS protection plan billed a flat ~$2,944/month — but it covers up to 100 public IPs across all your VNets, so the cost is meant to be shared.
azurerm_dedicated_hostA physical server dedicated to your VMs for isolation and licensing. Priced per host-hour by host SKU, independent of how many VMs you place on it.
azurerm_digital_twins_instanceA managed IoT digital-twin graph, billed purely by usage — operations, messages, and query units, each per 1,000. 1M operations is ~$2.50; no standing fee.
azurerm_dns_zoneA public DNS zone hosted on Azure's name servers. Priced per zone per month plus per-million queries, both at low flat rates.
azurerm_eventgrid_domainA multi-tenant event routing domain billed per million operations. The first 100K/month are free, then ~$0.60/million — 10M operations is ~$6.
azurerm_eventgrid_topicA managed event-routing topic. Priced per million operations, with a generous free tier and no always-on cost.
azurerm_eventhub_clusterA single-tenant dedicated Event Hubs cluster billed per Capacity Unit-hour. One CU is ~$6,847/month — only worth it at very high, sustained throughput.
azurerm_eventhub_namespaceA Kafka-compatible event streaming platform. Tier-based pricing (Basic, Standard, Premium, Dedicated) with throughput units or processing units.
azurerm_express_route_circuitA private, dedicated connection between on-premises and Azure. Priced as a monthly circuit fee by bandwidth and billing model, plus outbound data on the metered plan.
azurerm_firewallManaged network firewall. Standard SKU at $1.25/hour ($912/month) plus $0.016/GB processed. Premium SKU at $1.75/hour adds TLS inspection and IDPS. Often the most expensive single resource in a subscription.
azurerm_hdinsight_hadoop_clusterA managed Hadoop/Hive cluster on HDInsight, billed per node-hour for head and worker VMs. A 2-head + 3-worker cluster is ~$1,894/month, and it doesn't auto-pause.
azurerm_hdinsight_hbase_clusterA managed Apache HBase (NoSQL wide-column) cluster on HDInsight, billed per node-hour for head and worker (region server) VMs. A 2-head + 3-worker cluster is ~$1,894/month.
azurerm_hdinsight_interactive_query_clusterA managed Hive LLAP (Interactive Query) cluster on HDInsight, billed per node-hour for head and worker VMs. A 2-head + 3-worker cluster is ~$1,894/month.
azurerm_hdinsight_kafka_clusterA managed Apache Kafka cluster on HDInsight, billed per node-hour for head and worker (broker) VMs. A 2-head + 3-broker cluster is ~$1,894/month, running continuously.
azurerm_hdinsight_spark_clusterA managed Apache Spark cluster billed per node-hour for head and worker VMs. A 2-head + 3-worker cluster is ~$1,894/month, running continuously.
azurerm_healthcare_fhir_serviceA managed FHIR (healthcare data) service billed by structured storage plus optional provisioned throughput. 100 GB of storage is ~$25/month.
azurerm_imageA custom VM image stored as managed-disk snapshots, billed per GB-month. A 127 GB image is ~$6.35/month.
azurerm_iothubA managed IoT message broker billed per provisioned unit by tier. An S1 unit is $25/month and includes a daily message quota; you scale by adding units.
azurerm_iothub_dpsZero-touch device provisioning for IoT Hub, billed per provisioning operation. 100K operations is ~$12 — it's a low, usage-based cost.
azurerm_key_vaultA managed secret, key, and certificate store. Two tiers: Standard (pay-per-operation) and Premium (HSM-backed keys, higher rate).
azurerm_kubernetes_clusterA managed Kubernetes cluster on AKS. Control plane is free in Standard tier; you pay for the underlying node VMs and disks.
azurerm_kubernetes_cluster_node_poolAn additional node pool for an AKS cluster, billed as the underlying VMs it runs. Two Standard_D2s_v5 nodes are ~$140/month.
azurerm_kusto_clusterA managed analytics engine (Kusto) for fast queries over telemetry and logs. Priced on the underlying VM instances plus an Azure Data Explorer markup per vCPU-hour.
azurerm_lbLayer-4 (TCP/UDP) load balancer. Standard SKU at $0.025/hour + $0.005 per processed GB. Basic SKU is free but deprecated for production (retiring 2025). Outbound rules and inbound NAT count toward the rule limit.
azurerm_linux_function_appA serverless function app. Three hosting plans with different cost models: Consumption (per-execution), Premium (always-warm), or App Service Plan (fixed).
azurerm_linux_virtual_machineA single Linux VM. Billed per hour for the chosen size plus a separate managed OS disk. A Standard_D2s_v5 runs ~$70/month before the disk.
azurerm_linux_virtual_machineA Linux VM on Azure. Priced per hour by VM size, region, and license. Managed disks and bandwidth billed separately.
azurerm_linux_virtual_machine_scale_setA group of identical Linux VMs that scales as a unit. Priced per instance-hour by VM size times the instance count, plus per-instance managed OS disks.
azurerm_load_testA managed load-testing service billed per virtual user hour beyond a free monthly allowance. 1,050 VUH (1,000 billable) is ~$150/month.
azurerm_log_analytics_clusterA dedicated Log Analytics cluster requiring a daily-ingestion commitment. The minimum 100 GB/day commitment tier is ~$5,880/month — only for very high ingestion.
azurerm_log_analytics_workspaceA workspace for ingesting, storing, and querying logs. Pay-As-You-Go by GB ingested, with optional Commitment Tiers for discounts.
azurerm_logic_app_standardA Standard-plan Logic App running on dedicated compute, billed per hour for the workflow plan. A WS1 plan is ~$143/month, regardless of how many workflows run on it.
azurerm_logic_app_workflowA Consumption-plan Logic App billed per action executed — no standing fee. 1M built-in actions is ~$25; it scales to zero when idle.
azurerm_machine_learning_compute_clusterAn autoscaling cluster for ML training and batch jobs. Priced on the underlying VM rate per node-hour, scaling between min and max nodes with the workload.
azurerm_machine_learning_compute_instanceA managed dev VM for Azure ML, billed the underlying VM rate per hour while running. A Standard_DS3_v2 is ~$214/month if left on — and idle instances are the classic waste.
azurerm_managed_diskA block storage disk for Azure VMs. Priced by disk type and tier (per-disk for Premium SSD, per-GB for Standard).
azurerm_managed_lustre_file_systemA high-performance Lustre file system for HPC/ML, billed per GiB of provisioned capacity by throughput tier. 4 TB at the 250 MB/s/TiB tier is ~$696/month.
azurerm_maps_accountLocation and mapping APIs billed per transaction (tiles, routing, search). The account itself is free; usage drives cost — 100K tile transactions is ~$500 on S1.
azurerm_mariadb_serverA managed MariaDB server billed per vCore plus storage. A 2-vCore server with 50 GB is ~$182/month — but the service is retiring, so plan a migration.
azurerm_monitor_metric_alertA metric alert rule billed per monitored time series. A standard (static-threshold) rule is ~$0.10/month; dynamic-threshold rules are ~$0.50.
azurerm_mssql_databaseManaged SQL Server in Azure. DTU model from $4.90/month (Basic 5 DTU) or vCore model from $0.18/vCore-hour (General Purpose Serverless). Hyperscale tier scales beyond 4 TB. License-included or BYOL via Hybrid Benefit.
azurerm_mssql_elasticpoolA shared pool of resources for many Azure SQL databases. Priced per pool vCore-hour (or DTU) plus pool storage, amortizing capacity across databases.
azurerm_mssql_managed_instanceA fully managed SQL Server instance with near-100% engine compatibility. Priced per vCore-hour by service tier and hardware generation, plus included and overage storage.
azurerm_mysql_flexible_serverManaged MySQL with vCPU-based pricing. Burstable B1ms at $13.87/month, General Purpose D2ds_v4 at ~$140/month. Storage $0.115/GB-month. HA doubles compute cost; zone-redundant adds 25% on top.
azurerm_mysql_serverThe legacy MySQL Single Server, billed per vCore plus storage. A 2-vCore GP server with 50 GB is ~$70/month — but Single Server is retired, so migrate to Flexible Server.
azurerm_nat_gatewayManaged outbound SNAT for a subnet. Priced per gateway-hour plus per-GB of data processed, with the attached public IP billed separately.
azurerm_netapp_poolA provisioned capacity pool for high-performance NFS/SMB file storage. Priced per provisioned TiB by service level, billed on allocated (not used) capacity.
azurerm_orchestrated_virtual_machine_scale_setA Flexible-orchestration VM scale set, billed per instance-hour at the VM rate. Two Standard_D2s_v5 instances are ~$140/month, scaling with the instance count.
azurerm_point_to_site_vpn_gatewayA user (point-to-site) VPN gateway in a Virtual WAN hub, billed per scale unit-hour plus per connected user. One scale unit is ~$264/month.
azurerm_postgresql_flexible_serverA managed PostgreSQL server. Priced by compute SKU, storage size, and high-availability mode.
azurerm_postgresql_serverThe legacy PostgreSQL Single Server, billed per vCore plus storage. A 2-vCore GP server with 50 GB is ~$70/month — but Single Server is retired, so migrate to Flexible Server.
azurerm_powerbi_embeddedDedicated Power BI capacity for embedding analytics in apps, billed per hour by A-SKU. An A1 is ~$736/month — but it can be paused when not in use.
azurerm_private_dns_resolverA managed DNS resolver for hybrid name resolution between Azure and on-prem, billed per inbound/outbound endpoint-hour. Two endpoints are ~$365/month.
azurerm_private_dns_zoneA private DNS zone for name resolution within VNets, billed a flat ~$0.50/zone/month plus per-million queries. 1M queries is ~$0.90.
azurerm_private_endpointA private IP into a PaaS service over Private Link. ~$0.01/hour per endpoint (~$7.30/month) plus $0.01/GB processed — small individually, large in aggregate.
azurerm_public_ipPublic IPv4 or IPv6 address. Standard SKU at $0.005/hour ($3.65/month). Basic SKU is deprecated and retiring. Per-IP charges apply whether the IP is attached or unattached.
azurerm_purview_accountA data-governance and catalog account billed per always-on Data Map capacity unit, plus scanning. One capacity unit is ~$300/month before scans.
azurerm_redis_cacheA managed Redis cache. Priced per hour by tier (Basic, Standard, Premium, Enterprise) and cache size.
azurerm_redis_enterprise_clusterThe Enterprise tier of Azure Cache for Redis, billed a flat hourly rate by SKU. An Enterprise_E10-2 runs ~$609/month — the capacity (E-number) drives the cost.
azurerm_relay_namespaceA namespace for Hybrid Connections / WCF Relay, billed per listener plus message volume. One Hybrid Connection listener is ~$9.78/month.
azurerm_search_serviceManaged full-text and vector search. Free tier for development. Basic at $75/month, Standard from $250/month per Search Unit. Semantic ranking and vector search included on Standard+.
azurerm_sentinel_log_analytics_workspace_onboardingOnboards a Log Analytics workspace to Microsoft Sentinel (SIEM), adding a per-GB analysis charge on top of Log Analytics ingestion. 100 GB/month is ~$430.
azurerm_service_planThe compute plan that hosts Web Apps and Function Apps, billed per instance-hour by tier × worker count. A B1 plan with one worker is ~$12/month.
azurerm_service_planA compute plan for web apps, API apps, and function apps. Priced per hour by SKU and number of instances.
azurerm_servicebus_namespaceEnterprise messaging with queues and topics. Basic ($0.05/M operations), Standard ($0.0135/hour + $0.80/M operations), Premium ($0.99/hour per Messaging Unit). Premium for VNet isolation, predictable performance.
azurerm_signalr_serviceManaged real-time messaging over WebSockets. Priced per unit per day by tier, with included connections and messages per unit.
azurerm_site_recovery_replicated_vmA VM protected by Azure Site Recovery (DR replication), billed ~$25/protected instance/month plus the storage and egress the replica consumes.
azurerm_snapshotA point-in-time copy of a managed disk, billed per GB-month. A 128 GB Standard LRS snapshot is ~$6.40/month.
azurerm_spring_cloud_serviceA managed platform for Spring Boot apps. The Standard tier carries a per-hour base fee (~$578/month) on top of per-app vCPU/memory usage.
azurerm_static_web_appManaged hosting for static sites with serverless API backends. Priced as a flat monthly plan fee, with a genuinely free tier for small projects.
azurerm_storage_accountA storage account for Blob, File, Queue, and Table services. Priced by service type, redundancy, access tier, and operations.
azurerm_storage_shareA managed SMB/NFS file share billed by tier and capacity. A 100 GiB standard share is ~$6/month; Premium provisions capacity at a higher rate.
azurerm_stream_analytics_jobA real-time stream-processing job billed per Streaming Unit-hour. Three streaming units run ~$241/month, and the job bills while it's running whether or not events flow.
azurerm_synapse_spark_poolAn Apache Spark pool in Synapse billed per vCore-hour of active nodes. Three Small nodes running full-time are ~$1,253/month — but auto-pause makes the real cost usage-driven.
azurerm_synapse_sql_poolA dedicated, provisioned data-warehouse pool. Priced per cDWU-hour by performance level, plus separately-billed storage, and pausable to stop compute charges.
azurerm_synapse_workspaceUnified data warehouse + Spark + serverless SQL + Data Factory pipelines. Dedicated SQL pool from $1.20/DWU-hour. Spark pool $0.143/vCore-hour. Serverless SQL $5/TB scanned. Workspace itself is free.
azurerm_traffic_manager_profileDNS-based global load balancing billed per million DNS queries plus per monitored endpoint. 10M queries with 2 endpoints is ~$6/month.
azurerm_virtual_hubThe central hub of an Azure Virtual WAN, billed per hour for the hub plus per GB of data processed. The hub base is ~$182.50/month before data and gateways.
azurerm_virtual_network_gatewayA VPN (or ExpressRoute) gateway billed per hour by SKU. A VpnGw1 runs ~$139/month just to exist, before any data processing.
azurerm_vpn_gatewayA scalable VPN gateway in a Virtual WAN hub, billed per scale unit-hour. One scale unit is ~$264/month, plus data processed through the hub.
azurerm_web_pubsubManaged real-time messaging over WebSockets with a pub/sub model. Priced per unit per day by tier, with included connections and messages per unit.
azurerm_windows_virtual_machineA single Windows VM. Bills per hour for the size — including a Windows license surcharge — plus a managed OS disk. A Standard_D2s_v5 runs ~$137/month before the disk.
azurerm_windows_virtual_machine_scale_setA fleet of identical Windows VMs that scales as a unit, billed per instance-hour (Windows rate). Three Standard_D2s_v5 instances are ~$412/month.
Google Cloud
All Google Cloud resources →google_alloydb_clusterPostgreSQL-compatible managed database with up to 4x faster queries than standard PG. CPU $0.06814/vCPU-hour + memory $0.00822/GB-hour. Storage $0.30/GB-month. Designed for OLTP and analytical workloads.
google_alloydb_instanceA PostgreSQL-compatible instance within an AlloyDB cluster. Priced per vCPU-hour and per GB of memory-hour, plus separately-billed cluster storage.
google_api_gateway_apiA managed gateway for serverless backends. Priced per million API calls, with a free tier and no always-on cost.
google_artifact_registry_repositoryA managed registry for container images, Helm charts, language packages. $0.10/GB-month storage plus data transfer.
google_bigquery_datasetA serverless data warehouse dataset. Two pricing models: on-demand ($6.25/TB scanned) or capacity-based (slot-hours).
google_bigquery_reservationDedicated BigQuery compute capacity (slots) for predictable query pricing. Priced per slot-hour by edition, billed for the reserved slot count.
google_bigtable_instanceWide-column NoSQL for low-latency, high-throughput workloads. $0.65/node-hour (SSD) or $0.17/node-hour (HDD) plus storage. 3-node minimum production. Replication to another region doubles node cost.
google_cloud_ids_endpointA managed intrusion detection endpoint built on Palo Alto threat engines. Priced per endpoint-hour plus per-GB of traffic inspected.
google_cloud_run_serviceA serverless container service. Billed by request count and per-request CPU/memory time. Generous free tier.
google_cloud_run_v2_serviceA fully managed container service that scales to zero. Priced per vCPU-second and GiB-second while requests are being handled, plus per-request fees.
google_cloud_scheduler_jobA managed cron job that triggers HTTP, Pub/Sub, or App Engine targets on a schedule. Priced per job per month, with the first three jobs free.
google_cloud_tasks_queueManaged task queue for HTTP/gRPC targets. First 1M tasks/month free, then $0.40 per million tasks. No queue infrastructure to manage. Tasks call HTTP endpoints (Cloud Run, Cloud Functions, GKE services) with retry and rate limiting.
google_cloudfunctions_functionA 1st-gen serverless function. Priced per invocation plus compute time (GHz-seconds and GB-seconds), with a generous free tier and scale to zero.
google_cloudfunctions2_functionA serverless function (2nd gen, Cloud Run-based). Billed per invocation, vCPU-time, memory-time, and outbound networking.
google_composer_environmentManaged Apache Airflow. Composer 2: ~$455/month minimum (web server $73 + scheduler $73 + workers $25/CPU + Cloud SQL $73). Composer 3 introduces serverless workers. Often the priciest 'orchestration' bill.
google_compute_addressA reserved static IP address. Per-hour charge based on attachment state and IP version (IPv4 vs IPv6).
google_compute_diskA block storage disk for Compute Engine VMs. Priced per GB-month by disk type. Hyperdisk adds per-IOPS and per-throughput billing.
google_compute_global_addressA reserved global static external IP. Charged ~$0.01/hour (~$7.30/month) only while reserved-but-unattached — attached to a load balancer it's free.
google_compute_ha_vpn_gatewayA high-availability IPsec VPN gateway with a 99.99% SLA. Priced per tunnel-hour, plus standard egress on traffic leaving Google Cloud.
google_compute_instanceA Google Compute Engine VM. Priced per second by machine type, region, and license. Sustained-use discounts apply automatically.
google_compute_instance_group_managerA managed instance group that runs and autoscales a fleet of identical VMs, billed as the Compute Engine instances. 3× e2-medium is ~$73/month.
google_compute_interconnect_attachmentA VLAN attachment connecting your VPC to a Cloud Interconnect, billed per hour by capacity. A 1 Gbps attachment is ~$75/month, plus egress over the link.
google_compute_region_instance_group_managerA regional (multi-zone) managed instance group, billed as the Compute Engine VMs it runs across zones. 3× e2-medium is ~$73/month.
google_compute_router_natManaged NAT gateway for private GKE/VMs reaching the internet. $0.044/hour per gateway + $0.045/GB processed. Significantly cheaper than AWS NAT Gateway, and outbound to Google services is free via Private Google Access.
google_compute_security_policy_advancedA Cloud Armor (Enterprise tier) WAF/DDoS policy billed per policy plus per rule, plus request inspection. A policy with 5 rules is ~$10/month before requests.
google_compute_vpn_tunnelAn IPsec VPN tunnel to an on-premises or peer network, billed per tunnel-hour. One tunnel is ~$37/month — and HA VPN needs two, plus egress over the tunnel.
google_container_clusterA managed Kubernetes cluster on GKE. Two operating modes: Standard with per-cluster management fee, or Autopilot priced per pod.
google_container_node_poolCompute Engine worker nodes for a GKE cluster. Bills as the VMs it runs: node_count × machine_type. 3× e2-standard-4 is ~$294/month.
google_dataflow_jobA managed Apache Beam job for streaming and batch data processing. Priced per worker-hour by machine type and tier, plus data processed.
google_dataproc_clusterManaged Spark, Hadoop, Flink, and Presto. Bills underlying Compute Engine VMs + $0.010/vCPU-hour Dataproc fee. Dataproc Serverless eliminates cluster management. Dataproc on GKE runs Spark on existing GKE.
google_dataproc_metastore_serviceA managed Hive metastore for data lakes. Priced as a flat hourly service fee by tier, billed continuously while the service runs.
google_dns_managed_zoneA managed DNS zone. Priced per zone per month plus per-query, both at low flat rates that scale with the number of zones and query volume.
google_filestore_instanceManaged NFS file storage. Basic HDD at $0.16/GB-month (1 TB min). Basic SSD at $0.30/GB-month. Enterprise tier at $0.45/GB-month with regional replication. High Scale at $0.10/GB-month for parallel workloads.
google_firestore_databaseA serverless document database billed by reads, writes, deletes, and storage — no instances. 10M reads + 2M writes + 50 GB is ~$19/month, with a free daily tier.
google_kms_crypto_keyCustomer-managed encryption keys. Software keys $0.06/key-month + $0.03/10K operations. HSM keys $1-$2.50/key-month + $0.03/10K operations. External Key Manager (EKM) keys also supported.
google_kms_crypto_key_versionAn individual cryptographic key version in Cloud KMS, billed per active version per month (software ~$0.06; HSM more), plus per cryptographic operation.
google_logging_project_bucket_configA bucket for storing GCP logs. Ingestion is $0.50/GiB beyond the free tier; storage beyond 30 days is $0.01/GiB-month.
google_looker_instanceA managed Looker BI platform instance. Priced per instance-hour by platform edition, billed continuously while the instance runs.
google_memcache_instanceA managed Memcached cluster. Priced per node by vCPU-hour and memory GB-hour, multiplied across the node count.
google_notebooks_instanceA managed JupyterLab notebook VM for data science. Priced at the underlying Compute Engine rate per hour, plus boot disk and any attached GPUs.
google_privateca_certificate_authorityA managed private certificate authority. Priced as a flat monthly CA fee by tier, plus a per-certificate issuance charge.
google_pubsub_topicA pub/sub topic for messaging. Priced per TB of message ingestion and delivery, with a generous free tier.
google_redis_clusterA horizontally-scalable, sharded Redis Cluster on Memorystore. Priced per shard-node-hour by capacity, multiplied across shards and replicas.
google_redis_instanceA managed Redis instance. Priced per GB-hour by service tier (Basic or Standard) and capacity.
google_secret_manager_secretA managed secret with versioning and IAM access. $0.06/month per active secret version, plus per-access fees beyond the free tier.
google_spanner_instanceGlobally-consistent, horizontally-scalable SQL database. $0.90/node-hour ($657/month) for regional, $3/node-hour for multi-region. Storage $0.30/GB-month regional, $0.50/GB-month multi-region. Processing Units offer 1/1000th node granularity.
google_sql_database_instanceA managed MySQL, PostgreSQL, or SQL Server database. Priced by tier, storage, and HA mode. Sustained-use discounts apply.
google_storage_bucketObject storage on GCS. Priced by storage class, region, operations, and egress. Lifecycle rules can auto-tier cold data.
google_vertex_ai_endpointManaged ML inference endpoint. Bills n1-standard-2 at $0.05/hour up to GPU-backed n1-highmem-32 at $5+/hour. Foundation model endpoints (Gemini, PaLM) bill per-token. Batch prediction available for offline workloads.
google_vmwareengine_clusterA dedicated VMware vSphere cluster running on Google Cloud. Priced per ESXi node-hour, with a multi-node minimum that makes this one of the largest standing costs.
google_workbench_instanceA managed Jupyter notebook VM for Vertex AI, billed the underlying Compute Engine rate per hour. An e2-standard-4 is ~$98/month if left on — idle notebooks are the waste.
google_workflows_workflowServerless orchestration that chains services and APIs. Priced per step executed, separating cheaper internal steps from pricier external HTTP calls.