Date: Fri, 29 Mar 2024 00:33:28 +0000 (UTC) Message-ID: <1596372698.1.1711672408748@4e60c083bc6d> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_0_113759625.1711672408736" ------=_Part_0_113759625.1711672408736 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
To allow FlexDeploy to deploy to a database instance on the Orac= le cloud without having to open up the database ports via the firewall, an = ssh tunnel can be established from an internal server. This ssh tunne= l can then be configured to talk to the database listener via the ssh tunne= l. To accomplish this, on a server on the local network that will ser= ve as the endpoint to connect to the cloud database:
mkdir /home/oracle/.ssh/id_=
rsa
id_rsa
file with the private keychmod -R 600 /home/oracle/.ssh
LOCALPORT
to the port that FlexDeploy will con=
nect to on the endpointCLOUD_INSTANCE
to the public DNS name or IP Ad=
dress of the cloud instanceCLOUD_DB_PORT
to the listener port of the data=
base on the cloudssh -i =
/home/oracle/.ssh/id_rsa -f -L LOCALPORT:CLOUD_INSTANCE:CLOUD_DB_PORT oracl=
e@CLOUD_INSTANCE -N
EXAMPLE:
ssh -i /hom= e/oracle/.ssh/id_rsa -f -L 1621: oc-129-144-43-94.compute.oraclecloud.com:1= 521 oracle@oc-129-144-43-94.compute.oraclecloud.com -N