Connecting to Cluster Nodes with Private IP Addresses
By default, cluster nodes are assigned private IP addresses and are therefore not publicly available on the internet. You can make them available in any of the ways described in the following topics:
Map a Private IP Address to a Public IP Address
Big Data Service nodes are by default assigned private IP addresses, which aren't accessible from the public internet. One way to make a node accessible from the internet is to map a node's private IP address to a public IP address.
The instructions below use the Oracle Cloud Infrastructure Cloud Shell, which is a web browser-based terminal accessible from the Oracle Cloud Console. You'll gather some information about your network and your cluster nodes, and then you'll pass that information to commands in the shell. To perform this task, you must have a cluster running in a VCN in your tenancy, and that cluster must have a regional, public subnet.
To view cluster information, see Getting a Cluster's Details.
Required IAM Privileges for Mapping Private to Public IP Address
You must have appropriate Oracle Infrastructure Identity and Access Management (IAM privileges) to map private to public IP addresses.
The tenancy administrator or a delegated administrator with the appropriate privileges must create a policy according to the following guidelines.
Group
The policy can assign privileges to any Big Data Service group, to give members of that group the rights to map IP addresses.
Permissions
vnic_read
private_ip_read
public_ip_read
public_ip_delete
public_ip_create
public_ip_update
private_ip_assign_public_ip
private_ip_unassign_public_ip
public_ip_assign_private_ip
public_ip_unassign_private_ip
Resource
The policy must specify the tenancy
or the <compartment_name>
of the compartment containing the subnet used for the IP addresses.
Example
allow group bds_net_admins to vnic_read in tenancy
allow group bds_net_admins to private_ip_read in tenancy
allow group bds_net_admins to public_ip_read in tenancy
allow group bds_net_admins to public_ip_delete in tenancy
allow group bds_net_admins to public_ip_create in tenancy
allow group bds_net_admins to public_ip_update in tenancy
allow group bds_net_admins to private_ip_assign_public_ip in tenancy
allow group bds_net_admins to private_ip_unassign_public_ip in tenancy
allow group bds_net_admins to public_ip_assign_private_ip in tenancy
allow group bds_net_admins to public_ip_unassign_private_ip in tenancy
Mapping the Private IP Address to a Public IP Address
Deleting a Public IP Address
Opening Ports to Make Services Available
Making the node publicly available isn't enough to make a service like Apache Ambari or Cloudera Manager available from the internet. You must also open the port for the service by adding an ingress rule to a security list. See Defining Security Rules .
Use a Bastion Host to Connect to Big Data Service
You can use a bastion host to provide access to the a cluster's private network from the public internet.
A bastion host is a compute instance that serves as the public entry point for accessing a private network from external networks like the internet. Traffic must flow through the bastion host to access the private network, and you can set up security mechanisms on the bastion to handle that traffic. For more information, see Bastion.
Use Oracle Cloud Infrastructure site-to-site VPN to connect to Big Data Service
Site-to-site VPN provides a site-to-site IPSec VPN between your on-premises network and your virtual cloud network (VCN). The IPSec protocol suite encrypts IP traffic before the packets are transferred from the source to the destination and decrypts the traffic when it arrives.
For details for connecting to Big Data Service with VPN see Site-to-Site VPN.
Use Oracle Cloud Infrastructure FastConnect to connect to Big Data Service
Use FastConnect to access public services in Oracle Cloud Infrastructure without using the internet, for example, access to Object Storage, or the Oracle Cloud Console and APIs. Without FastConnect, the traffic destined for public IP addresses would be routed over the internet. With FastConnect, that traffic goes over your private physical connection.
For details for connecting Big Data Service with Oracle Cloud Infrastructure FastConnect see FastConnect Overview.