Skip to content

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
@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

2 participants