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 年前616 查看次数
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
专家
已审核 1 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则