Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

broadcast FSx capability by default for Windows #3780

Merged
merged 1 commit into from
Jul 7, 2023
Merged

Conversation

rawahars
Copy link
Contributor

Summary

Presently, the logic for enabling FSx on the instance requires the instance to be domain joined with the AD. This behaviour was fixed in #3540.

However, this is not needed for enabling just FSx capability. If a customer has setup their DHCP option set for their AD, then FSx can work on their instances even without a domain join. Reference- https://docs.aws.amazon.com/directoryservice/latest/admin-guide/dhcp_options_set.html

Therefore, we will enable FSx capability by default. The customer can explicitly disable it by setting ECS_FSX_WINDOWS_FILE_SERVER_SUPPORTED as false.

Implementation details

Removed the dependency of FSx capability on instance domain join.

Testing

Created a custom agent and ran a FSx enabled task without domain join of the instance.
New tests cover the changes:

Description for the changelog

enable FSx capability by default for Windows

Licensing

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@rawahars rawahars requested a review from a team as a code owner June 30, 2023 12:14
arun-annamalai
arun-annamalai previously approved these changes Jun 30, 2023
agent/config/config_unix.go Show resolved Hide resolved
agent/config/parse_linux.go Show resolved Hide resolved
agent/config/parse_unsupported.go Show resolved Hide resolved
arun-annamalai
arun-annamalai previously approved these changes Jul 6, 2023
singholt
singholt previously approved these changes Jul 6, 2023
singholt
singholt previously approved these changes Jul 6, 2023
agent/config/types.go Outdated Show resolved Hide resolved
Presently, the logic for enabling FSx on the instance requires the instance to be domain joined with the AD. However, in essence this is not needed for enabling just FSx capability.

If a customer has setup their DHCP option set for their AD, then FSx can work on their instances even without a domain join. Reference- https://docs.aws.amazon.com/directoryservice/latest/admin-guide/dhcp_options_set.html

Therefore, we will enable FSx capability by default. The customer can explicitly disable it by setting `ECS_FSX_WINDOWS_FILE_SERVER_SUPPORTED` as false.
@singholt singholt merged commit eeff7dc into aws:dev Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants