Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Azure Bastion tunneling in place of VM Bastion #200

Open
anniehedgpeth opened this issue Nov 14, 2022 · 2 comments
Open

Use Azure Bastion tunneling in place of VM Bastion #200

anniehedgpeth opened this issue Nov 14, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@anniehedgpeth
Copy link
Contributor

anniehedgpeth commented Nov 14, 2022

What problem would you like to address?

After this pull request was created that added an option for tunneling, we should use this feature in our tests wherever possible. This may end up negating the need for VM bastions entirely in all of our Active/Active test scenarios.

Who is the audience for this request?

TFE team

What would the ideal solution look like?

The tunneling feature would be used for all SSHing in our tests in place of the use of a bastion (like here).

What alternatives have you considered?

The alternative is to leave it as is, but the test infrastructure provisioning will likely be faster if/when we use this.

How does this impact you?

It doesn't. I just like efficiency. 😄

Are there any deadlines?

Nope.

Is there any additional context?

Please be sure to document the best way to access the TFE instance after this is implemented.

@anniehedgpeth anniehedgpeth added the enhancement New feature or request label Nov 14, 2022
@anniehedgpeth
Copy link
Contributor Author

az network bastion ssh --name "hcqj-bastion-host" --resource-group "hcqj-rg" --auth-type "ssh-key" --username "tfeuser" --ssh-key "./work/private-key.pem" --target-resource-id "/subscriptions/1234SubscriptionID/resourceGroups/hcqj-rg/providers/Microsoft.Compute/virtualMachineScaleSets/hcqj-vmss/virtualMachines/0"

@anniehedgpeth
Copy link
Contributor Author

Extensions must be added:

az extension add --name bastion
az extension add --name ssh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant