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.
- asked a month ago
- asked 3 months ago
- AWS OFFICIALUpdated 25 days ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 2 years ago
- How can I utilize user data to automatically run a script with every restart of my Amazon EC2 Linux instance?AWS OFFICIALUpdated a year ago