apache / apache/cloudstack

Proposal to Enhance Private Gateway Functionality for Measuring and Billing Usage

Open
#8,270 5 comments 0 reactions 0 assignees View on GitHub
archive component:networking component:usage-server component:vpc type:enhancement
Dominant language
Java
Stars
3.1k
Forks
1.4k
Avg merge
6d 19h
Merged PRs (30d)
32

Description

##### ISSUE TYPE

* Enhancement Request

##### COMPONENT NAME

~~~
Private Gateway
~~~

##### CLOUDSTACK VERSION

~~~
CloudStack 4.18.0.0
~~~

##### CONFIGURATION

##### OS / ENVIRONMENT

##### SUMMARY

Hello Community,

I'd like to address an observation regarding Private Gateway functionality that presents a challenge in billing and measuring end-user usage. Currently, while it's feasible to connect VPCs or other networks, there exists a notable gap in quantifying and billing the usage for end users.

There are two key scenarios where this limitation is evident:

1. VPC to VPC Peering within the same zone (No Charges)
- Network traffic travels through fiber cables within the zone.

2. VPC to VPC Peering not within the same zone (Charges Apply)
- Network traffic travels via Private Lines managed by the Cloud Operator.
- Multiple VPCs from different tenants utilize these Private Lines.

3. VPC to External Networks Peering (Charges Apply)
- Clients may deploy their devices in the data center.

To address this issue, I believe it's crucial to enhance the system's capability to measure Private Gateway usage accurately. This enhancement would enable the application of different tariffs for billing purposes, allowing for a more transparent and fair billing process for all users involved. I intend to raise this concern on Github and propose enhancements to facilitate these measurements and billing functionalities.

##### STEPS TO REPRODUCE

~~~

~~~

##### EXPECTED RESULTS

~~~

~~~

##### ACTUAL RESULTS

~~~

~~~

Contributor guide

Open the contributing guide

Research direction

The issue names the Private Gateway component and three peering scenarios, but provides no files, commands, tests, or acceptance criteria. Start by mapping how CloudStack currently records gateway traffic and billing for same-zone, cross-zone, and external peering. Done would require an agreed enhancement scope and measurable usage output suitable for differentiated tariffs.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.