

我們不再更新 Amazon Machine Learning 服務或接受新使用者。本文件可供現有使用者使用，但我們不再更新。如需詳細資訊，請參閱[什麼是 Amazon Machine Learning](https://docs.aws.amazon.com/machine-learning/latest/dg/what-is-amazon-machine-learning.html)。

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

# 從 Amazon Redshift 中的資料建立 Amazon ML 資料來源
<a name="using-amazon-redshift-with-amazon-ml"></a>

如果您的資料存放在 Amazon Redshift 中，您可以使用 Amazon Machine Learning (Amazon ML) 主控台中的**建立資料來源**精靈來建立資料來源物件。當您從 Amazon Redshift 資料建立資料來源時，您可以指定包含資料的叢集，以及擷取資料的 SQL 查詢。Amazon ML 透過在叢集上叫用 Amazon Redshift `Unload`命令來執行查詢。Amazon ML 會將結果存放在您選擇的 Amazon Simple Storage Service (Amazon S3) 位置，然後使用存放在 Amazon S3 中的資料來建立資料來源。資料來源、Amazon Redshift 叢集和 S3 儲存貯體都必須位於相同的區域。

**注意**  
 Amazon ML 不支援從私有 VPCs 中的 Amazon Redshift 叢集建立資料來源。叢集必須有公有 IP 地址。

**Topics**
+ [建立資料來源精靈的必要參數](redshift-parameters.md)
+ [使用 Amazon Redshift 資料建立資料來源 （主控台）](create-datasource-from-redshift-procedure.md)
+ [對 Amazon Redshift 問題進行故障診斷](troubleshooting.md)