Yes, it is possible to create an SSH service connection on Azure DevOps for an Oracle Cloud Infrastructure (OCI) instance via Azure Bastion. Here’s a general outline of the steps involved:
Set Up Azure Bastion: Ensure Azure Bastion is configured to securely connect to your OCI instance. Azure Bastion allows you to connect to your virtual machines using SSH without exposing them to the public internet 1.
Create SSH Service Connection in Azure DevOps:
Navigate to your Azure DevOps project.
Go to Project settings > Service connections.
Select New service connection and choose SSH.
Enter the required details such as the hostname or IP address of your OCI instance, port number, username, and authentication method (private key and passphrase) 2.
Configure SSH Task in Azure Pipelines:
Use the SSH@0 task in your pipeline to run commands or scripts on the remote OCI instance.
Specify the SSH service connection created earlier in the sshEndpoint parameter 2.
Oracle Bastion Configuration: Ensure your OCI instance is accessible via SSH through Oracle Bastion. Oracle Bastion allows authorized users to connect from specific IP addresses to target resources using SSH sessions 3.
By following these steps, you can securely manage and automate tasks on your OCI instance using Azure DevOps and Azure Bastion.
included the links to the sites that overview what you need to do 😊