Open crashGoBoom opened 3 years ago
I'm interested in this as well, we have been able to deploy the RFDK examples but haven't been able to get a windows worker node up and running.
Adding a Windows worker fleet to the examples is definitely something that we'll do. In the meantime, here are the modifications that you'll need to make; I'm going to assume the Python example, but the conversion to the Typescript example is just syntax.
worker_machine_image
property ( https://docs.aws.amazon.com/rfdk/api/latest/docs/aws-rfdk.deadline.WorkerInstanceFleet.html#workermachineimage ) to an image that is based off of Windows instead of Linux.deadline_client_windows_ami_map
and define it the same way you would the Linux one except use a Windows-based AMI instead of a Linux one.deadline_client_image = MachineImage.generic_linux(config.deadline_client_linux_ami_map)
line from the app.py into deadline_client_image = MachineImage.generic_windows(config.deadline_client_windows_ami_map)
(this is just using the CDK MachineImage class -- https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-ec2.MachineImage.html )If you would like multiple worker fleets (ex: one Linux & one Windows) then just modify the ComputeTierProps
to add properties for each of the different client images that you want to use, and add a new instance of WorkerInstanceFleet
in the Compute Tier for each of those added properties.
Hi! The current example seems to be for linux support only. If there is Windows support can this be added as an example / documented?
Thank you!
This is a 📕 documentation issue