How do I install .NET Framework 3.5 on an EC2 Windows instance that doesn't have internet access?

2 minute read
0

I want to use .NET Framework 3.5 on my Amazon Elastic Compute Cloud (Amazon EC2) Windows instance, but my instance doesn't have internet access. When I try to install .NET Framework 3.5 using the Add Roles and Features wizard, I get an error similar to the following: "Do you need to specify an alternate source path? One or more installation selections are missing source files on the destination." How do I install .NET Framework 3.5 on my Amazon EC2 Windows instance when my instance doesn't have internet access?

Resolution

If your instance doesn't have internet access, AWS provides public Amazon Elastic Block Store (Amazon EBS) snapshots that include these extra files.

Follow these steps:

  1. Find and attach the correct Amazon EBS volume for your instance using the Amazon EC2 console, Windows PowerShell, or the AWS Command Line Interface (AWS CLI). For instructions, see Adding Windows components using installation media.
  2. Bring the new volume online by making an Amazon EBS volume available for use on Windows.
  3. Install .NET Framework 3.5 using the Add Roles and Features wizard, or using Windows PowerShell.

To confirm if you have successfully installed .NET Framework 3.5, see How to: Determine which .NET Framework versions are installed.


Related information

How do I troubleshoot Remote Desktop connection issues to my Amazon EC2 Windows instance?

.NET Framework 3.5 installation error: 0x800F0906, 0x800F081F, 0x800F0907

AWS OFFICIAL
AWS OFFICIALUpdated 2 years ago