X

Announcing Oracle Cloud Shell

Jonathan Schreiber
Principal Product Manager

I’m excited to announce the release of Cloud Shell for Oracle Cloud Infrastructure! Cloud Shell gives you access to an always available Linux shell directly in the Oracle Cloud Infrastructure Console. You can use the shell to interact with resources, follow labs and tutorials, and quickly run OCI CLI commands. Cloud Shell joins the existing the suite of developer tools (CLI, SDKs, and APIs) as a way to help you manage your Oracle Cloud Infrastructure resources. And, it’s now available in all commercial regions.

Cloud Shell is free to use (with monthly limits on usage) and easy to access from the Console. You don't need to set up any resources to get started with Cloud Shell; just click the new icon at the top of the Console.

Cloud Shell offers the following features:

  • A pre-authenticated OCI CLI, so no set up is required to start using the CLI in Cloud Shell
  • A full Linux shell, with key developer tools for interacting with Oracle Cloud Infrastructure services, and preinstalled language runtimes
  • 5 GB of storage for your home directory, so you can save your work between Cloud Shell sessions

Your Cloud Shell machine is managed by the Cloud Shell service, and is available from anywhere you can access the Console. So, you always have a way to interact with Oracle Cloud Infrastructure resources, from your browser.

Getting Started

To launch Cloud Shell, you only need a valid IAM policy that grants you the use of Cloud Shell.

Sign in to the Console for your tenancy, and then click the Cloud Shell icon at the top of the page.

Screenshot that highlights the Cloud Shell icon in the top-right corner of the page.

While you navigate through the Console, Cloud Shell remains active in its own pane.

Screenshot that shows the Cloud Shell pane open at the bottom of the Console page.

Quickstart Examples

Here are just a few example of what you can do with Cloud Shell.

Run an OCI CLI Command in the Console

  1. Open Cloud Shell.

  2. Run an OCI CLI command at the prompt. Try this one:

    $ oci os ns get
  3. Confirm the result (your tenancy’s unique namespace).

Use Preinstalled Tools to Interact with Cloud Resources

For example, you can connect to your Container Engine for Kubernetes cluster as follows:

  1. In the Console, navigate to your clusters (Developer Services > Container Clusters).

  2. Select a cluster, and then click Access Kubeconfig.

  3. Copy the oci ce cluster… command.

  4. Open Cloud Shell.

  5. Paste the copied CLI command into Cloud Shell.

  6. Verify that you can connect to your cluster with kubectl:

    $ kubectl get nodes
  7. Success!

More Information

For more information, see the Cloud Shell documentation and FAQs.

Join the discussion

Comments ( 3 )
  • Stephen Mak Tuesday, February 11, 2020
    This is a very useful product to avoid the hassle to install/config CLI. And it can be used anywhere and stays consistent. Looking forward to having more integration of the cloud shell with other tutorials/samples/services.
  • Kevin Zhang Wednesday, February 12, 2020
    I am using always free OCI, when I login to console, I don't the icon on the top right for the Oracle cloud shell.
  • Stephen Mak Wednesday, February 12, 2020
    Kevin: Free-tier support is not there yet but coming. Stay tune and you will be able to try it out shortly.
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.