lab_code: "dba_303_lab_ff0"
title_en: "TiDB Admin Lab 1: Deploying a TiDB Cluster Using TiUP"
title_zh: "管理 TiDB 实验 1: 使用 TiUP 部署 TiDB 集群"
title_ja: "管理 TiDB 演習 1: TiUP を使用した TiDB クラスタの導入"
title_ko: "TiDB 관리 실습 1: TiUP을 사용하여 TiDB 클러스터 배포하기"
description_en:
  In this hands-on lab, you will learn how to deploy a TiDB cluster
  using TiUP. Specifically, we will cover how to deploy a TiDB cluster using TiUP,
  configure TiDB, and interact with the TiDB cluster. This lab is a practical workshop
  that allows you to learn how to deploy a TiDB cluster using TiUP.
description_zh:
  在这个实验中，您将学习如何使用 TiUP 部署 TiDB 集群。具体来说，我们将介绍如何使用 TiUP 部署 TiDB 集群、配置
  TiDB 并与 TiDB 集群互动。这是一个实践性的动手练习，让您学习如何使用 TiUP 部署 TiDB 集群。
description_ja:
  このハンズオン演習では、TiUP を使用して TiDB クラスタを展開する方法を学びます。具体的には、TiUP を使用して TiDB
  クラスタを展開し、TiDB を構成し、TiDB クラスタと対話する方法について説明します。この演習は、TiUP を使用して TiDB クラスタを展開する方法を学ぶことができる実践的なワークショップです。
description_ko:
  이 실습에서는 TiUP을 사용하여 TiDB 클러스터를 배포하는 방법을 배우게 됩니다. 구체적으로, TiUP을 사용하여
  TiDB 클러스터를 배포하고 TiDB를 구성하고 TiDB 클러스터와 상호 작용하는 방법에 대해 설명합니다. 이 실습은 TiUP을 사용하여 TiDB
  클러스터를 배포하는 방법을 배울 수 있는 실습적인 행사입니다.
splash_image_en: https://lab-static.pingcap.com/quick-demo/dba_303_ch01_en.png
splash_image_zh: https://lab-static.pingcap.com/quick-demo/dba_303_ch01_en.png
splash_image_ja: https://lab-static.pingcap.com/quick-demo/dba_303_ch01_en.png
splash_image_ko: https://lab-static.pingcap.com/quick-demo/dba_303_ch01_en.png
external_materials_en:
  - name: "Deploy Using TiUP Deck Template"
    url: https://docs.google.com/presentation/d/1eIauJ7BgQH4udXa52p28NVkejXOkMWf-/edit?slide=id.p1#slide=id.p1
    employee_only: true
external_materials_ja:
  - name: "TiUPを使用してTiDBクラスタを展開するデッキテンプレート"
    url: https://docs.google.com/presentation/d/1eIauJ7BgQH4udXa52p28NVkejXOkMWf-/edit?slide=id.p1#slide=id.p1
    employee_only: true
external_materials_zh:
  - name: "使用 TiUP 部署 TiDB 集群的演示文稿模板"
    url: https://docs.google.com/presentation/d/1eIauJ7BgQH4udXa52p28NVkejXOkMWf-/edit?slide=id.p1#slide=id.p1
    employee_only: true
external_materials_ko:
  - name: "TiUP을 사용하여 TiDB 클러스터를 배포하는 템플릿"
    url: https://docs.google.com/presentation/d/1eIauJ7BgQH4udXa52p28NVkejXOkMWf-/edit?slide=id.p1#slide=id.p1
    employee_only: true
lab_level: Intermediate
category_en:
  - Deployment
category_zh:
  - 部署
category_ja:
  - 展開
category_ko:
  - 배포
authors:
  - Fei Dong (CEG)
  - Todd Bao (CEG)
delivery_type: Instructor-Led
tidb_environments:
  - TiDB Self-Managed
tidb_versions:
  - 7.5.0
target_audience:
  - Architect
  - DBA
  - DevOps
regions:
  aws:
    - oregon
    - tokyo
    - singapore
    - frankfurt
credits: 1
credit_redeemable: true
employee_only: false
estimated_duration_minutes: 60

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

requirements:
  - type: "CloudStack"

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

  - name: "prepare pd"
    type: "ShellScript"
    target:
      - pd1
      - pd2
    script: ./scripts/prepare-pd.sh

features:
  enable_content_explain: false
