

# SUS04-BP07 盡可能減少跨網路的資料移動
<a name="sus_sus_data_a8"></a>

使用共用檔案系統或物件儲存體存取通用資料，將支援工作負載資料移動所需的整體聯網資源降至最低。

 **常見的反模式：**
+  無論資料使用者位於何處，您都將所有資料儲存在相同的 AWS 區域 中。
+  您未最佳化資料大小和格式，便將其移至網路。

 **建立此最佳實務的優勢：**最佳化整個網路間的資料移動，可減少工作負載所需的整體聯網資源，並降低其環境影響。

 **未建立此最佳實務時的曝險等級：**中 

## 實作指引
<a name="implementation-guidance"></a>

 要在您的組織移動資料，需要運算、聯網和儲存資源。使用相關技術盡可能減少資料移動，並改善工作負載的整體效率。

## 實作步驟
<a name="implementation-steps"></a>
+  **使用鄰近性：**[選取工作負載的區域時](https://aws.amazon.com/blogs/architecture/how-to-select-a-region-for-your-workload-based-on-sustainability-goals/)，可將區域與資料或使用者的鄰近性視為決策因素。
+  **分區服務：**對區域性使用的服務進行分區，以便將區域專屬的資料存放在使用它的區域內。
+  **使用有效率的檔案格式：**使用有效率的檔案格式 (例如 Parquet 或 ORC)，並在透過網路移動資料之前先壓縮資料。
+  **盡可能減少資料移動：**請勿移動未使用的資料。一些有助於避免移動未使用資料的範例：
  +  減少 API 回應 (僅回應相關資料)。
  +  彙總詳細的資料 (不需要記錄層級資訊)。
  +  參閱 [Well-Architected 實驗室 - 使用 Amazon Redshift 資料共用來最佳化資料模式](https://catalog.workshops.aws/well-architected-sustainability/en-US/3-data/optimize-data-pattern-using-redshift-data-sharing)。
  +  考慮[在 AWS Lake Formation 中使用跨帳戶資料共用](https://docs.aws.amazon.com/lake-formation/latest/dg/cross-account-permissions.html)。
+  **使用邊緣服務：**使用可協助您在更接近工作負載使用者的位置執行程式碼的服務。    
[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/wellarchitected/latest/sustainability-pillar/sus_sus_data_a8.html)

## 資源
<a name="resources"></a>

 **相關文件：**
+  [最佳化您的 AWS 永續性基礎架構，第 III 部分：聯網](https://aws.amazon.com/blogs/architecture/optimizing-your-aws-infrastructure-for-sustainability-part-iii-networking/) 
+  [AWS 全球基礎設施](https://aws.amazon.com/about-aws/global-infrastructure/) 
+  [Amazon CloudFront 主要功能，包括 CloudFront Global Edge Network](https://aws.amazon.com/cloudfront/features/) 
+  [在 Amazon OpenSearch Service 中壓縮 HTTP 請求](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/gzip.html) 
+  [使用 Amazon EMR 進行中間資料壓縮](https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-output-compression.html#HadoopIntermediateDataCompression) 
+  [從 Amazon S3 載入壓縮資料檔案至 Amazon Redshift](https://docs.aws.amazon.com/redshift/latest/dg/t_loading-gzip-compressed-data-files-from-S3.html) 
+  [使用 Amazon CloudFront 提供壓縮檔案服務](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/ServingCompressedFiles.html) 

 **相關影片：**
+ [揭密 AWS 上的資料傳輸](https://www.youtube.com/watch?v=-MqXgzw1IGA)