skypilot icon indicating copy to clipboard operation
skypilot copied to clipboard

AWS: Support for EC2 Launch Templates

Open mmcclean-aws opened this issue 2 years ago • 5 comments
trafficstars

Does SkyPilot support EC2 Launch Templates ? When launching a multi-node cluster network interfaces need to be configured properly. An easy way to do this is to pass in an EC2 Launch Template config.

Details of this feature are found here: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html

mmcclean-aws avatar Oct 12 '23 15:10 mmcclean-aws

Not yet; definitely something great to have. @dongreenberg has mentioned this could potentially speed up provisioning as well.

Under the hood SkyPilot uses boto SDK: https://github.com/skypilot-org/skypilot/blob/master/sky/provision/aws/instance.py#L139. It should be possible to plump launch template config from a frontend spec (maybe ~/.sky/config.yaml) to here.

concretevitamin avatar Oct 12 '23 16:10 concretevitamin

Yes, ideally it should be a parameter that can be added to the config yaml file

mmcclean-aws avatar Oct 12 '23 16:10 mmcclean-aws

Here is an example of how a trn1.32xlarge needs to be setup for multi-instance based training with EFA - https://awsdocs-neuron.readthedocs-hosted.com/en/latest/frameworks/torch/torch-neuronx/setup-trn1-multi-node-execution.html

mmcclean-aws avatar Oct 13 '23 01:10 mmcclean-aws

This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 10 days.

github-actions[bot] avatar Feb 10 '24 01:02 github-actions[bot]

This issue was closed because it has been stalled for 10 days with no activity.

github-actions[bot] avatar Feb 20 '24 01:02 github-actions[bot]

This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 10 days.

github-actions[bot] avatar Nov 02 '24 01:11 github-actions[bot]

This issue was closed because it has been stalled for 10 days with no activity.

github-actions[bot] avatar Nov 13 '24 01:11 github-actions[bot]