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

질문됨 일 년 전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
답변함 일 년 전
profile picture
전문가
검토됨 한 달 전

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

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

질문 답변하기에 대한 가이드라인

관련 콘텐츠