

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

# Elastic Beanstalk 上 Windows Server 淘汰元件的建議
<a name="dotnet-deprecation-recommendations"></a>

如果您的應用程式目前正在淘汰的 Windows Server 2012 R2 平台分支上執行，本主題會提供建議。它還解決了對 AWS 我們的服務 API 端點和受影響的平台分支上的 TLS 1.0 和 1.1 通訊協定版本的已棄用支援。

## Windows Server 2012 R2 平台分行已被淘汰
<a name="dotnet-retired-branches"></a>

Elastic Beanstalk 已於 202[3 年 12](https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2023-12-04-windows-2012-retire.html) 月 4 日淘汰 Windows Server 2012 R2 平台分支，並在 2024 年 4 月 10 日將這些平台相關聯的 AMIs 設為私有。此動作可防止在使用預設 Beanstalk AMI 的 Windows Server 2012 環境中啟動執行個體。

如果您有任何環境在淘汰的 Windows 平台分支上執行，我們建議您將它們遷移到下列其中一個 Windows Server 平台，這些平台是目前且完全支援的：
+ Windows Server 2022 搭配 IIS 10.0 2.x 版
+ Windows Server 2019 搭配 IIS 10.0 版本 2.x

如需完整的遷移考量事項，請參閱[從先前的 Windows Server 平台主要版本遷移](dotnet-v2migration.md#dotnet-v2migration.migration)。

如需有關平台版本棄用的詳細資訊，請參閱[Elastic Beanstalk 平台支援政策](platforms-support-policy.md)。

**注意**  
如果您無法遷移到這些完全支援的平台，我們建議您使用以 Windows Server 2012 R2 AMIs 或 Windows Server 2012 R2 Core AMI 建立AMIs 作為基礎映像，如果您尚未這麼做。如需詳細說明，請參閱 [保留已淘汰平台的 Amazon Machine Image (AMI) 存取權](using-features.customenv-env-copy.md)。如果您在執行其中一個遷移步驟時需要暫時存取 AMI，請聯絡 [AWS 支援中心](https://console.aws.amazon.com/support/home#/)。

## TLS 1.2 相容性
<a name="tls-1-2-enforcement."></a>

截至 2023 年 12 月 31 日， AWS 開始對所有 AWS API 端點完全強制執行 TLS 1.2。此動作已移除搭配 AWS APIs.1 版的能力。此資訊最初於 [2022 年 6 月 28](https://aws.amazon.com/blogs/security/tls-1-2-required-for-aws-endpoints/) 日傳達。為了避免可用性影響的風險，如果您尚未這麼做，請盡快將執行此處識別之平台版本的任何環境升級至較新的版本。

**潛在影響**  
執行 TLS v1.1 或更早版本的 Elastic Beanstalk 平台版本會受到影響。此變更會影響環境動作，包括但不限於下列項目：組態部署、應用程式部署、自動擴展、新環境啟動、日誌輪換、增強型運作狀態報告，以及將應用程式日誌發佈至與您應用程式相關聯的 Amazon S3 儲存貯體。

**受影響的 Windows 平台版本**  
建議在下列平台版本上具有 Elastic Beanstalk 環境的客戶將其每個對應環境升級至 [2022 年 2 月 18 日](https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2022-02-18-windows.html)發行的 Windows 平台版本 2.8.3 或更新版本。
+ Windows Server 2019 – 平台版本 2.8.2 或先前的版本

建議在下列平台版本上具有 Elastic Beanstalk 環境的客戶將其每個對應環境升級至 [2022 年 12 月 28 日](https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2022-12-28-windows.html)發行的 Windows 平台 2.10.7 版或更新版本。
+ Windows Server 2016 – 平台版本 2.10.6 或先前的版本
+ Windows Server 2012 — 所有平台版本；此平台已於 [2023 年 12 月 4](https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2023-12-04-windows-2012-retire.html) 日淘汰 
+ Windows Server 2008 — 所有平台版本；此平台於 [2019 年 10 月 28 日](https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-10-28-windows.html)被淘汰 

如需最新和支援的 Windows Server 平台版本的清單，請參閱《*AWS Elastic Beanstalk 平台*指南》中的[支援的平台](https://docs.aws.amazon.com/elasticbeanstalk/latest/platforms/platforms-supported.html#platforms-supported.net)。

如需更新環境的詳細資訊和最佳實務，請參閱 [更新您 Elastic Beanstalk 環境的平台版本](using-features.platform.upgrade.md)。