Giter Site home page Giter Site logo

Comments (4)

concretevitamin avatar concretevitamin commented on June 18, 2024

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.

Michaelvll avatar Michaelvll commented on June 18, 2024

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.

JGSweets avatar JGSweets commented on June 18, 2024

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.

JGSweets avatar JGSweets commented on June 18, 2024

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.