Access the Compute Instance
Use SSH and set up the proxy to access the compute instance.
- Identify the IP address of the node in your domain.
The name of the node is
servicename-wls-n
, whereservicename
is the resource name prefix you provided during stack creation. The Administration Server runs on the first node,servicename-wls-0
- If your domain is on a public subnet, then use the public IP address of the compute instance.
- If your domain is on a private subnet, then use the public IP address of the bastion and the private IP address of the compute instance.
- Open an SSH connection to the node as the
opc
user.ssh -i <path_to_private_key> opc@<node_public_ip>
Or,
ssh -i <path_to_private_key> -o ProxyCommand="ssh -W %h:%p -i <path_to_private_key> opc@<bastion_public_ip>" opc@<node_private_ip>
- Change to the
oracle
user.sudo su - oracle