

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

# Configuration
<a name="configuration"></a>

根據預設， AWS ParallelCluster 會將 `~/.parallelcluster/config` 檔案用於所有組態參數。您可以使用 `-c`或 `--config`命令列選項或 `AWS_PCLUSTER_CONFIG_FILE`環境變數來指定自訂組態檔案。

範例組態檔案與 一起安裝在 的 AWS ParallelCluster Python 目錄中`site-packages/aws-parallelcluster/examples/config`。範例組態檔也可以在 GitHub 上取得，網址為 [https://github.com/aws/aws-parallelcluster/blob/v2.11.9/cli/src/pcluster/examples/config](https://github.com/aws/aws-parallelcluster/blob/v2.11.9/cli/src/pcluster/examples/config)。

目前 AWS ParallelCluster 2 版本：2.11.9。

**Topics**
+ [版面配置](#layout)
+ [`[global]` 區段](global.md)
+ [`[aws]` 區段](aws.md)
+ [`[aliases]` 區段](aliases.md)
+ [`[cluster]` 區段](cluster-definition.md)
+ [`[compute_resource]` 區段](compute-resource-section.md)
+ [`[cw_log]` 區段](cw-log-section.md)
+ [`[dashboard]` 區段](dashboard-section.md)
+ [`[dcv]` 區段](dcv-section.md)
+ [`[ebs]` 區段](ebs-section.md)
+ [`[efs]` 區段](efs-section.md)
+ [`[fsx]` 區段](fsx-section.md)
+ [`[queue]` 區段](queue-section.md)
+ [`[raid]` 區段](raid-section.md)
+ [`[scaling]` 區段](scaling-section.md)
+ [`[vpc]` 區段](vpc-section.md)
+ [範例](examples.md)

## 版面配置
<a name="layout"></a>

 AWS ParallelCluster 組態在多個區段中定義。

需要以下區段： [`[global]`](global.md)區段和 [`[aws]`區段](aws.md)。

您也必須包含至少一個[`[cluster]`區段](cluster-definition.md)和一個[`[vpc]`區段](vpc-section.md)。

區段的開頭為括號括住的區段名稱，接著是參數和組態。

```
[global]
cluster_template = default
update_check = true
sanity_check = true
```