oci-cis-landingzone-quickstart icon indicating copy to clipboard operation
oci-cis-landingzone-quickstart copied to clipboard

The creation of a bastion-nsg is confusing because you can't attach an NSG to a Bastion service private endpoint AFAICT

Open LanceBraswell opened this issue 10 months ago • 1 comments

Using the v2 Landing Zone, I see there is a bastion-nsg created and the rules allow egress to the other NSGs (app-nsg, db-nsg, lbr-nsg). And the app-nsg, db-nsg, lbr-nsg NSGs all allow ingress from bastion-nsg. But I don't see how you can attach an NSG to a Bastion service private endpoint. If this is true, I don't see how they could be used with the Bastion Service. The only way bastion-nsg would be used is if there is a plain old jumphost VM Instance serving as a traditional "bastion" which could have the bastion-nsg attached to its private endpoint.

I'm trying to understand if I am missing something or if that is the correct intention of the bastion-nsg (i.e. use with VM Instance service as a jumphost and not with the Bastion service)?

LanceBraswell avatar Apr 19 '24 18:04 LanceBraswell

Hi Lance, you got it right. The bastion-nsg applies to a jump host, not the Bastion service. A Bastion service endpoint isn't NSG aware yet.

andrecorreaneto avatar Apr 30 '24 21:04 andrecorreaneto

Thank you for the clarification. I closed the issue.

LanceBraswell avatar Jul 15 '24 21:07 LanceBraswell