내용으로 건너뛰기

How can I create a shared folder on an AWS EC2 instance and access it as a local drive from my local PC? i have window base EC2 Instance

0

How can I create a shared folder on an AWS EC2 instance and access it as a local drive from my local PC? i have window base EC2 Instance

질문됨 2년 전940회 조회

2개 답변
0

To create a shared folder on an AWS EC2 Windows instance and access it as a local drive from your local PC, you can follow these steps:

  1. First, ensure your EC2 Windows instance is joined to a Microsoft Active Directory. You can do this by either seamlessly joining or manually joining the instance to the Active Directory.

  2. Connect to your EC2 Windows instance using Remote Desktop Protocol (RDP).

  3. Once connected, create the folder you want to share on the EC2 instance.

  4. Right-click on the folder, select "Properties," then go to the "Sharing" tab and click "Share" to set up the folder as a network share.

  5. On your local PC, open File Explorer.

  6. In the navigation pane, right-click on "Network" and choose "Map Network Drive."

  7. Choose a drive letter for the mapped drive.

  8. In the "Folder" field, enter the path to your shared folder on the EC2 instance using the format: \EC2-instance-DNS-name\ShareName

  9. If you want the drive to reconnect each time you sign in, check the box for "Reconnect at sign-in."

  10. Click "Finish" to complete the mapping process.

After following these steps, the shared folder on your EC2 instance should appear as a local drive on your PC. You can now access and work with the files in this shared folder as if they were on your local machine.

Remember to ensure that your EC2 instance's security group allows inbound traffic on the necessary ports for file sharing (typically port 445 for SMB), and that your network settings permit this connection between your local PC and the EC2 instance.
Sources
Accessing data using file shares - Amazon FSx for Windows File Server
Mapping a file share on an Amazon EC2 Windows instance - Amazon FSx for Windows File Server
Transfer files to a Windows instance using RDP - Amazon Elastic Compute Cloud

답변함 2년 전

0

Assuming you access your Windows EC2 instance using RDP, you can map your remote drives to your local computer within the RDP client. You can follow the steps in the AWS Documentation to get started.

Another method may be to create a shared file share that's accessible over the network to both the EC2 instance and your local computer, but this may require to much setup.

답변함 2년 전

전문가

검토됨 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

관련 콘텐츠