Windows – Share folders between two EC2 instances within the same VPC

amazon ec2network-sharewindows

I have a number of Windows servers in EC2 on the same VPC. How can I get those machines to share folders with each other?

The closest answer I see is here: Unable to Share Data between Amazon EC2 Instances for Windows

But it's a pretty old post and I cannot get it to work by simply enabling TCP and UDP on ports 135-139 and 445.

I want to be able to say \\server1\shared_folder from my server2 machine.

Best Answer

You can simply create a security group and then add an inbound rule to allow all traffic from it's own security group and then add these security group in both instances to share data with each other but there's an better approach for this is to use FSx in AWS.

enter image description here

Related Topic