Repository navigation
LAB 22 (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
Now its open successfully
Its like a putty application we are able to do all commands here and here we connect by default with the public network.
Now Click on Create private network defination
Step 3. We fill name name and select vcn hub_network and in subnet select Hub_Network_Compartment -public subnet hub network
Step 4. After creating if we want to use this private network we need to click on Use as Active Network
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.
when download complete we can open the downloaded file and see the data inside the file