You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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.
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.
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
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:
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?
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.
Activity
david-crespo commentedon Mar 13, 2024
Ben did some related experimentation in #1890
askfongjojo commentedon Mar 13, 2024
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
charliepark commentedon May 8, 2024
One possibility: VPC link on instance detail table says "VPC / Firewall Rules"
charliepark commentedon May 9, 2024
Here's what that looks like …

charliepark commentedon May 9, 2024
Crespo and I are both "decidedly 'meh'" on that approach
charliepark commentedon Jun 21, 2024
This does not need to be in Release 9, and we don't have a compelling solution to the problem, so I removed the
9Milestone tag.david-crespo commentedon May 6, 2026
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:
charliepark commentedon May 13, 2026
One possibility:
david-crespo commentedon May 13, 2026
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?
charliepark commentedon May 14, 2026
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).


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

rcgoodfellow commentedon May 19, 2026
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.
benjaminleonard commentedon May 19, 2026
Would this be the VPC that is attached to an instances primary NIC?
rcgoodfellow commentedon May 20, 2026
Yeah. All interfaces/NICs on an instance currently are required to be in the same VPC.
Direct user to firewall rules tab from instance networking view (#3216)