Egress Cost between Bigquery and tableau on the Azure

When connecting **BigQuery** to **Tableau** on an **Azure instance**, the cost primarily associated with data egress (transferring data from Google Cloud to Azure). However, there are several other potential costs involved, which can vary depending on your architecture and usage patterns. Here’s a breakdown of the different types of costs:


### 1. **BigQuery Costs**

  - **Query Processing Costs**: BigQuery charges based on the amount of data processed by your SQL queries. Even if data is being pulled to Tableau, if a query is run on BigQuery, you will be charged for the data scanned by the query.

   - **On-Demand Pricing**: Pay per terabyte of data processed.

   - **Flat-Rate Pricing**: Fixed monthly fee for a dedicated slot capacity, which can be cost-effective for heavy usage.

  - **Storage Costs**:

   - **Active Storage**: The cost of storing your data in BigQuery.

   - **Long-Term Storage**: Discounted rates for data that hasn't been updated in 90 days.

  - **Streaming Insert Costs** (if applicable): If you are streaming data into BigQuery in real-time, this incurs additional costs.


### 2. **Data Egress Costs (Google Cloud to Azure)**

  - **Data Egress Fees**: Transferring data from Google Cloud (where BigQuery resides) to another cloud provider (Azure) incurs egress fees. These are based on the amount of data transferred out of Google Cloud to the external service.

   - **Data Transfer Pricing**: Charges vary depending on the region from which data is being transferred. For example, transferring data between continents may be more expensive than transferring data within the same region.


### 3. **Azure Costs**

  - **Virtual Machine (VM) Costs**: Running Tableau on an Azure instance typically involves virtual machine (VM) costs. The pricing depends on the VM's type, size, and how long it runs.

   - **Compute Costs**: You are charged for the processing power consumed by the VM.

   - **Storage Costs**: Any storage used for the VM's operating system or application data will also incur costs.

  - **Bandwidth Costs**: Azure charges for outbound data transfers, although inbound data (such as data coming from BigQuery) is generally free. However, if your Tableau instance is accessed by users over the internet, additional bandwidth costs may apply.


### 4. **Tableau Licensing Costs**

  - **Tableau Server or Tableau Online**: If you are running Tableau on Azure, you need to factor in the cost of a **Tableau Server** license (for on-premise or cloud deployment) or **Tableau Online** (Tableau's fully hosted service). These costs are separate from the infrastructure costs.

   - **Core-Based Licensing**: Based on the number of cores available on your server instance.

   - **User-Based Licensing**: Based on the number of users accessing Tableau.


### 5. **Network and Security Costs**

  - **Virtual Network (VNet) or VPN Costs**: If you have a private network connection between Azure and your data sources (e.g., using a VPN or an ExpressRoute connection), there may be additional costs for maintaining this setup.

  - **Firewall and Security Services**: Azure and Google Cloud offer security services such as firewalls, security groups, and monitoring services that could incur costs based on usage.


### Summary of Cost Types:

1. **BigQuery Costs**:

  - Query Processing

  - Storage (Active & Long-Term)

  - Streaming Inserts (if applicable)


2. **Data Egress**:

  - Google Cloud to Azure Egress Fees


3. **Azure Costs**:

  - VM Costs (Compute & Storage)

  - Bandwidth (Outbound)


4. **Tableau Costs**:

  - Licensing (Server or Online)


5. **Network/Security** (if applicable):

  - VNet or VPN Costs

  - Security and Monitoring Services


To estimate your total cost, you would need to account for each of these factors based on your specific usage scenario.

From Blogger iPhone client