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

Doc: add doc for ~/.sky/config.yaml. #2230

Merged
merged 2 commits into from
Jul 21, 2023
Merged

Doc: add doc for ~/.sky/config.yaml. #2230

merged 2 commits into from
Jul 21, 2023

Conversation

concretevitamin
Copy link
Collaborator

Fixes #2222.

Tested (run the relevant ones):

  • Code formatting: bash format.sh
  • Any manual or new tests for this PR (please specify below): rendered
  • All smoke tests: pytest tests/test_smoke.py
  • Relevant individual smoke tests: pytest tests/test_smoke.py::test_fill_in_the_name
  • Backward compatibility tests: bash tests/backward_comaptibility_tests.sh

Copy link
Collaborator

@Michaelvll Michaelvll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding this @concretevitamin! It looks pretty good to me. The only one thought is that should we add the instructions for how to create the VPC/subnets with only private IPs on AWS from #1512 to somewhere in the doc?

Comment on lines 203 to 210

To instruct SkyPilot to use a specific VPC, you can use SkyPilot's global config
file ``~/.sky/config.yaml`` to specify the VPC name. See the ``aws.vpc_name``
field in :ref:`config-yaml`.

Example use cases include using a private VPC or a VPC with fine-grained
constraints, typically created via Terraform or manually. By default, SkyPilot
uses the "default" VPC in each region.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to include the detailed instructions of how to create VPC with only private IP from #1512 here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a pointer to the PR. We can wait for feedback to see if adding manual creation instructions is worthwhile? Reason is the target user may actually prefer using Terraform.

@concretevitamin concretevitamin merged commit 1fdb219 into master Jul 21, 2023
16 checks passed
@concretevitamin concretevitamin deleted the docs-config branch July 21, 2023 21:51
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.

[Docs] Schema for the ~/.sky/config.yaml and guides for AWS VPC
2 participants