Comments (4)
Thanks for filing this @JGSweets! We'd love to understand more how you/your team plan to deploy SkyPilot. Is it possible to share some info? Feel free to talk with the dev team on Slack too: https://slack.skypilot.co/
from skypilot.
Thanks for the issue @JGSweets! Just a few questions.
In order to follow naming conventions, users would need to be able to set the name of the IAM role
The IAM role only needs to be created once by the admin, and all the user under the same account could share the IAM role. Do you think this is too demanding to the user?
not all resources created need the extensive permissions allowed by the default IAM role.
We have a page for the admin to create an IAM role that has the minimal permission to use SkyPilot. https://skypilot.readthedocs.io/en/latest/cloud-setup/cloud-permissions/aws.html#minimal-permissions
Do you mean the permissions mentioned here are still too much?
from skypilot.
The IAM role only needs to be created once by the admin, and all the user under the same account could share the IAM role. Do you think this is too demanding to the user?
I'm suggesting that the naming of the IAM in this case is hardcoded in the DEFAULT_SKYPILOT_INSTANCE_PROFILE
Which also suggests this could change in a PR since it is v1
/ controlled by other parameters. It's change would be a breaking change. Allowing users to set the IAM role also allows them to ensure that it is static. Also for security, being able to alter the value to something different than a hard coded value would be helpful.
Do you mean the permissions mentioned here are still too much?
I've been in environments where this would be too permissive. This could be curtailed down to only allowing the setting of specific tags and only allowing alteration of EC2s with those tags. ETC.
However, limiting the role of controller vs replicas is helpful to limit the opportunity for an attacker if they were to have access to a replica vs a controller which has control over other EC2s or other access permissions.
from skypilot.
@concretevitamin @Michaelvll Thanks for the quick response. I also added a PR which I'm happy to modify or take feedback on to fit your all's vision for skypilot here: #3488
I have one for security groups as well which will address #3473. However, it isn't as clean an update as the IAM roles which is why I made this first.
Thanks all!
from skypilot.
Related Issues (20)
- [k8s] Nodes with same GPU type are not detected HOT 5
- [Core][Docker] `docker:continuumio/miniconda3` is not working for Azure when used as a runtime environment
- FOZEN SCREEN BEFORE PRICING ++ PROVISIONING Loop HOT 5
- [Core] Extra fields `_require_fuse` in `Resources.to_yaml_config()`
- [k8s] Show which Kubernetes context/cluster is used in `sky status`
- [Serve] Fail to launch controller when no resources is specified for a service when firstly used
- Feat: Specify regions for spot instances HOT 2
- [Core][Serve] Cannot specify security groups for the serve nodes. HOT 1
- [Storage] Fail to use R2 as default storage when no other storage clouds are enabled
- [Storage] Fail early for COPY mode storage field without source specified
- Support for .skyignore or SYNC_FILE_MOUNTS in sky.exec
- [Core][Spot] Change Spot Dashboard from port forwarding to open ports
- [Docs] Add docs for installing SkyPilot with pipx
- KeyError on Syncing File Mounts When Launching Spot HOT 1
- [Clouds] Launch Error with Paperspace Backend HOT 6
- [Core] Support cross-cloud failover when labels are provided
- [k8s] [GKE] Fail to request T4 instance HOT 4
- [Tests] Azure disk tier test fail HOT 4
- I get permitrootlogin error on fludstack. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skypilot.