lab_code: demo_009a
title_en: "Short Demo: Seamless Scale-Out and Scale-In"
title_zh: "快速演示: 无缝水平扩展"
title_ja: "クイックデモ: シームレスな水平スケールアウト"
title_ko: "빠른 데모: 원활한 수평 확장"
description_en: Demonstrates seamless database scale-out in 5 minutes, with zero downtime while the application remains running. The lab environment will be available for 1 hour.
description_zh: 在5分钟内，展示水平扩容的实际操作，同时应用程序保持运行，不会造成停机。实验室环境将持续1小时。
description_ja: 5分間で、水平スケールアウトを実演しますが、アプリケーションは停止せずに実行されます。実験環境は1時間続きます。
description_ko: 5분 동안 데이터베이스의 원활한 확장을 실제 작업으로 보여줍니다が, 애플리케이션은 중단 없이 실행됩니다. 실험 환경은 1시간 동안 유지됩니다.
splash_image_en: https://lab-static.pingcap.com/quick-demo/demo_009_en.png
splash_image_zh: https://lab-static.pingcap.com/quick-demo/demo_009_en.png
splash_image_ja: https://lab-static.pingcap.com/quick-demo/demo_009_en.png
splash_image_ko: https://lab-static.pingcap.com/quick-demo/demo_009_en.png
lab_level: Intermediate
category_en:
  - Short Demo
  - Scalability
category_zh:
  - 快速演示
  - 可扩展性
category_ja:
  - 短時デモ
  - スケーラビリティ
category_ko:
  - 짧은 데모
  - 확장성
authors:
  - Todd Bao (CEG)
delivery_type: Self-Paced
tidb_environments:
  - TiDB Self-Managed
tidb_versions:
  - 8.5.1
target_audience:
  - Architect
  - DBA
  - DevOps
regions:
  aws:
    - oregon
    - tokyo
    - singapore
    - frankfurt
credits: 5
credit_redeemable: false
employee_only: true
estimated_duration_minutes: 30

topology:
  - role: monitor
    node_count: 1
    web_ssh: true
    web_ssh_name: "TiUP Control Machine"
    ssh_user: ec2-user
  - role: pd
    node_count: 1
  - role: kv
    node_count: 4
  - role: db
    node_count: 2

requirements:
  - type: "CloudStack"

bootstrap:
  - name: "prepare monitor"
    type: "ShellScript"
    target:
      - monitor1
    script: ./scripts/prepare-monitor.sh

  - name: "prepare tidb cluster"
    type: "ShellScript"
    target:
      - monitor1
    script: ./scripts/prepare-tidb.sh

features:
  enable_content_explain: false
