Converting from A2U Gateway (HCU Proxy) to HCU Gateway
How to replace the A2U Gateway appliance with the HCU Gateway, cut over with Biza, and roll back if you need to.
What changed
The A2U Gateway, sometimes called the HCU Proxy, is the virtual machine appliance that connects the Biza network boundary to your UniVerse database. The HCU Gateway replaces it. HCU Gateway 3.0.0 is the first release. It is the A2U appliance renamed, with these changes:
| A2U Gateway (HCU Proxy) | HCU Gateway | |
|---|---|---|
| Image | Gallery Biza_HaaS, image biza-haas-a2u-integration-gen2 (earlier builds: biza-haas-a2u-integration) | Gallery Biza_Marketplace, image HCU_Gateway |
| UniVerse connection | universe services are a plain TCP proxy, with no TLS | universe services terminate TLS with a self-signed certificate that the appliance generates at every boot |
| HAProxy | HAProxy from Ubuntu's own packages | HAProxy 3.0, accepting TLS 1.2 and TLS 1.3 only |
| Magic Link | Not available. MyViewPoint requests dashboard SSO tokens from the Biza Management API over a private link back to Biza | Built-in Magic Link service: MyViewPoint requests tokens from the HCU Gateway inside your network |
| User data | haproxy block only | haproxy block, unchanged, plus a magic_link block |
| Load balancer | A2U_Connectivity backend pool, A2U_HealthProbe, rules for UniverseDB (11001) and Monitor (11000) | HCU_Connectivity backend pool, HCU_HealthProbe, the same two rules plus a Magic Link rule (8080) |
The Management API, and its SSO token endpoint, was retired in Nebula.01 and is not available in the Orion series. If MyViewPoint uses Magic Link SSO to sign Consumers in to the Consumer Dashboard, you MUST move to the HCU Gateway before you move to Orion.
User data differences
The haproxy block keeps the same keys (port, services, and for each service backend-targets, frontend-port, type and check-interval), so you can copy it from your A2U Gateway unchanged. Its universe services now use TLS automatically. You don't add certificate settings.
The HCU Gateway adds a magic_link block. A2U user data had no equivalent:
---
haproxy: # copied unchanged from your A2U Gateway
port: 11000
services:
universedb:
backend-targets:
- "10.0.0.5:31438"
frontend-port: 11001
type: universe
check-interval: 60000
magic_link: # new for the HCU Gateway
port: 8080
basic-auth-username: wecarebank
basic-auth-password: supersecretpassword
hmac-secret: wGbdGu7EFjM7dJ0KI/1pDCPLh5vpXE2NARk757ndUi1xTYENNJAiC72/ScY72GCiC27iKqqI6osXFyvPRn1vKw==
audience: https://idp.example.com/biza-dashboard-auth
basic-auth-usernameandbasic-auth-passwordMUST match MyViewPoint'scdrConsentApiUsernameandcdrConsentApiPassword.hmac-secretMUST be the base64-encoded HMAC-SHA512 key that matches your HaaS Space configuration. The service signs with the decoded bytes, not the base64 text.audienceis the realm issuer URI. The service uses it as theaudclaim of every token. Since HCU Gateway 3.0.4, it is required.
The field reference is in User data configuration. The token claims are in Dashboard SSO.
Who is affected
Every Universe customer that runs the A2U Gateway (HCU Proxy) in its own Azure environment. If you already run the HCU Gateway, no further installation steps are needed.
Required actions
The migration reuses the existing load balancer behind the Private Link Service. The A2U VMSS and the A2U_Connectivity backend pool stay in place until you have verified the cutover, so you can roll back quickly.
1. Prepare the HCU Gateway user data. Copy the haproxy block from your A2U Gateway and add the magic_link block (see User data differences).
2. Deploy the HCU Gateway VMSS by following the Setup procedure, with image Biza_Marketplace/HCU_Gateway. Use the same VNet and subnet as the A2U Gateway, so the existing load balancer can reach the new VMSS. The setup procedure includes the firewall rules for the Magic Link port (8080), which the A2U Gateway didn't need.
3. On the existing load balancer (the one the Private Link Service uses), complete these load balancer configuration steps:
- Create the new
HCU_Connectivitybackend pool for the new VMSS. - Create the
HCU_HealthProbehealth probe. - Create the Magic Link load balancing rule (port
8080) pointing atHCU_Connectivity. The A2U setup has no equivalent rule.
4. Agree a short outage window with Biza. During the window:
- Move the existing Monitor (
11000) and UniverseDB (11001) load balancing rules from theA2U_Connectivitybackend pool to the newHCU_Connectivitybackend pool. - Biza switches your HaaS Space to HCU Gateway mode. Do both in the same window: the A2U Gateway's UniVerse port is plain TCP, but the HCU Gateway's expects TLS.
5. Update MyViewPoint so that it requests dashboard SSO tokens from the HCU Gateway rather than the Biza Management API. Set cdrConsentApiBaseUrl, cdrConsentApiUsername and cdrConsentApiPassword as described in MyViewPoint configuration change, and follow MyViewPoint installation.
6. Complete the verification checks.
7. When connectivity is verified and stable, you can delete the old A2U VMSS and the A2U_Connectivity backend pool. After that, rollback means redeploying the A2U Gateway.
Verification
-
The monitor page loads through the load balancer at
http://<load-balancer-ip>:11000/monitor. -
Biza confirms that the HCU in your HaaS Space reaches your UniVerse database through the HCU Gateway.
-
From a host that can reach the gateway, the Magic Link endpoint returns a token:
curl -X POST -u <basic-auth-username>:<basic-auth-password> \-H "Content-Type: application/json" \-d '{"principalId": "test-principal", "userId": "test-user"}' \http://<hcu-gateway-dns>:8080/dio-au/v0/dashboard/sso/requestThe response is a JWT. Its header has
"alg": "HS512", and its claims include"iss": "biza-dashboard", youraudienceasaud, andtest-user:test-principalassub. -
A Consumer can open the Consumer Dashboard from MyViewPoint.
Rollback
Roll back while the A2U VMSS and the A2U_Connectivity backend pool still exist:
1. Contact Biza. Move the Monitor (11000) and UniverseDB (11001) load balancing rules back from HCU_Connectivity to A2U_Connectivity, and ask Biza to switch your HaaS Space back from HCU Gateway mode, so that the HCU connects to the A2U Gateway's plain TCP port again.
2. Check that the monitor page loads through the load balancer.
3. If you changed MyViewPoint in step 5, restore its previous cdrConsentApiBaseUrl, cdrConsentApiUsername and cdrConsentApiPassword. This works only while your HaaS Space still offers the Management API's SSO token endpoint: it was retired in Nebula.01.
The HCU_Connectivity pool, the Magic Link rule and the HCU Gateway VMSS can stay in place while you fix the problem and try the cutover again.