使用 AWS re:Post 即表示您同意 AWS re:Post 使用條款

How to map a file share on an Amazon EC2 Windows instance via a user data script?

0

We need to use shared drive to store data for WIndows based EC2 instance. Objective here is we should be able to map drive on Windows Server when it starts automatically. I found this blog a little bit complex and facing challenge in joining domain to windows server. https://aws.amazon.com/blogs/storage/seamlessly-map-file-shares-for-amazon-fsx-for-windows-file-server-with-aws-auto-scaling/

  • Might help if you provide some additional info such as:

    Are you using AWS Managed AD or Self-Managed What are you finding complex about the domain join process What are you using to host the file share

已提問 1 年前檢視次數 822 次
1 個回答
0

Given what you describe, it is unclear that you are trying to match the use case that the blog illustrates. The goal of the blog that you reference is to a fleet of EC2 instances that is a part of an autoscaling group and have each map the FSx for Window servers. From your initial statement, it seems that you may only want to map a drive from a single server. Drive mappings in a windows environment are typically done per user - which would be a part of a GPO (Group Policy Object). If you have some process that needs to run against the mounted drive when no one is logged in, then you'll need to use the system account on the Windows client with a persistent drive mapping. Hope this provides you some avenues depending on your use case.

AWS
已回答 1 年前
profile picture
專家
已審閱 8 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南