There are several options for securely accessing OCI compute instances located in a VCN’s private subnet. The efficient option is the OCI’s Bastion service. Another secure and faster option is using Oracle OCI Cloud Shell. In this blog, we will cover the steps to use OCI Cloud Shell.
Prerequisites:
- An Oracle cloud fee trial or paid account.
- OCI VCN with private subnet.
- OCI compute instance located in a VCN’s private subnet with API RSA private key.
The Oracle Cloud Shell is a web browser-based terminal in the OCI Console that provides access to a Linux shell, with a pre-authenticated OCI Command Line Interface (CLI). It includes a Network Private Access feature. This feature allows you to create an endpoint in private subnet. This endpoint is governed by the rules in the private subnet’s Security Lists.
Restrictions:
- This feature is supported only in the tenancy’s home region. However, with Regular Remote Peering connections you can extend the accessibility to other regions.
Step #1: Launch Cloud Shell and configure the Private Network Access
Now, OCI Cloud Shell is connected to private subnet using new created private network definition.
No comments:
Post a Comment