Skip to content

LAB 22 (OCI Cloud Shell)

arunsinghchauhan38-arch edited this page May 14, 2026 · 5 revisions

OCI Cloud Shell

OCI Cloud Shell is a free, browser-based Linux terminal built directly into the Oracle Cloud Console. It comes preloaded with the OCI CLI, Ansible, Terraform, Git, Python, and other tools, plus 5GB of persistent encrypted storage—making it ideal for quick administration, automation, and labs without needing local setup.

🔑 Key Features of OCI Cloud Shell

  • Access Method: Available directly in the Oracle Cloud Console as a persistent frame.

Pre-authenticated Tools:

  • OCI CLI (already configured for your tenancy and region).

  • Ansible for automation.

  • Terraform for infrastructure as code.

  • Git, Java, Python (multiple versions switchable via csruntimectl).

  • Storage: 5GB encrypted persistent home directory.

  • OS: Runs on Oracle Linux 8.

  • Networking: Public internet access only if tenancy security policies allow.

  • Cost: Free within tenancy limits; does not consume your tenancy’s compute resources.

steps to access the power shell

Step 1. Go to Navigate to Developer tools icon and click on it. after click on cloud shell option.

image image image

Now its open successfully

image

Its like a putty application we are able to do all commands here and here we connect by default with the public network.

image

Step 2. Now we change Network public to Private Network Defination List

image

Now Click on Create private network defination

image

Step 3. We fill name name and select vcn hub_network and in subnet select Hub_Network_Compartment -public subnet hub network

image image

Step 4. After creating if we want to use this private network we need to click on Use as Active Network

image image

Download files from Cloud Shell

Step 1 First we create Directory Amazon and go to Amazon directory and create file abc.txt after this create added text into the text file with help of vi editor.

image

Step 2. Now we Download the file into our laptop or computer

image image image

when download complete we can open the downloaded file and see the data inside the file

image

Clone this wiki locally