Skip to content

Instance: Make firewall rules more visible  #2064

Closed

Description

@askfongjojo

Users new to us are not necessarily aware of the need to add/modify firewall rules in order to access their applications outside of the rack. The "VPC" name on the instance page (or Create Instance page) also does not suggest anything related to security for that matter. Here are two suggestions for users to have a better chance of getting the firewall rules right:

  1. Create Instance: provide a link on/near the VPC name that lands on the Firewall Rules tab of the VPC selected by the user (perhaps open a new tab so that the user can stay on Create Instance); this allows them to confirm if the VPC selected is right for them.
  2. Instance details: provide a similar link to the VPC Firewall Rules or add another subtab (named more generally as "Security", similar to other public cloud portals) that actually displays all the rules in that VPC.

Activity

  1. added this to the 8 milestone on Mar 13, 2024
  2. david-crespo commented on Mar 13, 2024

    @david-crespo
    Collaborator

    Ben did some related experimentation in #1890

  3. askfongjojo commented on Mar 13, 2024

    @askfongjojo
    Author

    Thanks for pointing me to the PR! (I only searched for related issues but totally forgot about open PRs before I filed this.) It covers exactly the second item in this ticket and great discussions about it. I second the idea of not making edit rules available on the instance tab (to prevent user from inadvertently changing the rules on other instances) and not trying to determine which rules apply to the instance (for the various reasons stated in the PR comments).
    cc @benjaminleonard

  4. modified the milestones: 8, 9 on Apr 15, 2024
  5. charliepark commented on May 8, 2024

    @charliepark
    Contributor

    One possibility: VPC link on instance detail table says "VPC / Firewall Rules"

  6. self-assigned this
    on May 9, 2024
  7. charliepark commented on May 9, 2024

    @charliepark
    Contributor

    Here's what that looks like …
    Screenshot 2024-05-09 at 1 13 28 PM

  8. charliepark commented on May 9, 2024

    @charliepark
    Contributor

    Crespo and I are both "decidedly 'meh'" on that approach

  9. removed this from the 9 milestone on Jun 21, 2024
  10. charliepark commented on Jun 21, 2024

    @charliepark
    Contributor

    This does not need to be in Release 9, and we don't have a compelling solution to the problem, so I removed the 9 Milestone tag.

  11. removed their assignment
    on Apr 8, 2026
  12. david-crespo commented on May 6, 2026

    @david-crespo
    Collaborator

    Relevant experience report: https://github.com/oxidecomputer/docs/issues/801

    I'm thinking we could put a link to the default VPC's firewall rules in the networking tab on the instance. The idea from above about mentioning firewall rules in the VPC label would also work better now that the label is not in a badge:

    Image
  13. charliepark commented on May 13, 2026

    @charliepark
    Contributor

    One possibility: Image

  14. david-crespo commented on May 13, 2026

    @david-crespo
    Collaborator

    Yeah, I think that’s pretty good. I almost wish we had a message box color that was even more neutral than that, but it’s ok. I’d probably shorten the copy. I was also thinking we could add a box like the external IPs and network interfaces ones but inside it, instead of a table we have that message. Kind of janky but fits with the page and lets us justify putting it at the bottom rather than the top. Or maybe it doesn’t have to use the blue message, it could just be some normal text in place of the table. “Edit firewall rules on the VPC”. One worry I have is that there are multiple VPCs — maybe if there’s one we link directly to it but if there are more we link to the list?

  15. charliepark commented on May 14, 2026

    @charliepark
    Contributor

    If multiple VPCs, we can tweak the link copy a bit (in addition to sending them to the VPC list as opposed to the firewall rules tab).
    Image
    Image

    I also tried a more subtle treatment, but I think it gets lost:
    Image

  16. rcgoodfellow commented on May 19, 2026

    @rcgoodfellow

    I think having a link to the VPC firewall rules from the instance networking page is a good start and will provide immediate benefit to users. An instance will only ever belong to one VPC, so we can start by linking to that VPC.

    When we get to the VPC routing feature, I think that there are a number of things we'll want to think about in terms of providing a holistic view of connectivity, and firewall rules would be a part of that.

  17. benjaminleonard commented on May 19, 2026

    @benjaminleonard
    Contributor

    An instance will only ever belong to one VPC, so we can start by linking to that VPC.

    Would this be the VPC that is attached to an instances primary NIC?

  18. rcgoodfellow commented on May 20, 2026

    @rcgoodfellow

    Yeah. All interfaces/NICs on an instance currently are required to be in the same VPC.

  19. added a commit that references this issue on Jun 1, 2026
    621c61b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions