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

Support AWS placement groups for cluster fleets #1725

Merged
merged 5 commits into from
Sep 25, 2024

Conversation

r4victor
Copy link
Collaborator

@r4victor r4victor commented Sep 25, 2024

Closes #1715

With this PR, instances in AWS fleets with placement: cluster will be grouped in cluster placement groups to provide better connectivity.

Note that placement groups are not used when running multi-node tasks without first creating a cluster fleet. (We'll see if it should be implemented too).

Fleet example:

type: fleet
name: my-cluster-fleet
nodes: 4
placement: cluster
backends: [aws]

The dstack server creates and deletes placement groups transparently for users. A placement group is created when the first fleet instance is provisioned and deleted by a background task after the fleet is deleted and there are no more instances in the group.

@r4victor r4victor merged commit c187166 into master Sep 25, 2024
23 checks passed
@r4victor r4victor deleted the issue_1715_placement_groups branch September 25, 2024 10:17
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.

Support AWS placement groups
1 participant