Blazing iconBlazing
Intermediate10 minAkash -- Games

Tetris2 Multi-Provider

Deploy the classic Tetris2 game across 3 providers simultaneously: Akash (global, reverse-auction), GCP (europe-west1, fixed pricing), and DFC (Lisbon, Akash infrastructure). Demonstrates multi-cloud deployment with mixed pricing models in a single cluster.

#akash#gcp#dfc#blazing-core#games#multi-provider#multi-cloud#multi-region#reverse-auction#fixed-pricing#public-ingress#cost-comparison
core.yaml

Setup Instructions

Tetris2 Multi-Provider

Deploy a classic JavaScript Tetris game across three cloud providers simultaneously.

Overview

This example deploys the uzyexe/tetris container image to a single cluster spanning three providers at once: Akash, GCP, and DFC. Each provider has its own region, pricing model, and infrastructure characteristics. This is the most comprehensive Tetris2 deployment variant, demonstrating Blazing Core's multi-cloud orchestration.

Providers

| Provider | Region | Pricing Model | Primary | |----------|-------------------|-----------------|---------| | Akash | akash-global | Reverse auction | Yes | | GCP | gcp-europe-west1 | Fixed (Standard)| No | | DFC | dfc-pt-lisbon | Fixed (Spot) | No |

Key Concepts

  • providers.akash.max_price: 15.00 -- sets the Akash reverse-auction bid cap
  • providers.gcp.network_tier: Standard -- GCP Standard tier for cost savings
  • providers.dfc.status: prefer -- DFC uses Akash blockchain infrastructure
  • 3 explicit regions -- workload is deployed to all three simultaneously
  • Mixed pricing -- each region has its own cost model visible in the cost tab

Resources (per region)

| Resource | Value | |----------|---------| | CPU | 1.0 | | Memory | 512 Mi | | Storage | 512 Mi |

Run

Bash

Cost

Because the cluster includes an Akash region (hasAkashRegion=true), the cost tab displays PERIOD | MAX columns instead of BASE/PEAK/SAVINGS. The header shows "MAX MONTHLY:" with an Akash reverse-auction indicator. The per-region breakdown lists all 3 providers, with the Akash row showing an amber MAX badge.