

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# `pcluster stop`
<a name="pcluster.stop"></a>

停止運算機群，讓前端節點保持執行狀態。

```
pcluster stop [ -h ] [ -c CONFIG_FILE ] [ -r REGION ] cluster_name
```

## 定位引數
<a name="pcluster.stop.posarg"></a>

***cluster\$1name***  
停止所提供叢集名稱的運算機群。

**使用 2.11.7 AWS ParallelCluster 版的範例：**

## 具名引數
<a name="pcluster.stop.namedarg"></a>

**-h, --help**  
顯示 的說明文字`pcluster stop`。

**-c *CONFIG\$1FILE*, --config *CONFIG\$1FILE***  
指定要使用的替代組態檔案。  
預設為 `~/.parallelcluster/config`。

**-r *REGION*, --region *REGION***  
指定 AWS 區域 要使用的 。使用 [`pcluster configure`](pcluster.configure.md)命令預設為 AWS 區域 指定的 。

```
$ pcluster stop mycluster
Compute fleet status is: STOPPED. Submitting status change request.
Request submitted successfully. It might take a while for the transition to complete.
Please run 'pcluster status' if you need to check compute fleet status
```

將 Auto Scaling 群組參數設定為 min/max/desired = 0/0/0，並終止運算機群。頭部保持執行中。若要終止所有 EC2 資源和避免產生 EC2 費用，請考慮刪除叢集。