Announcing OCI Toolkit for VS Code: Supercharge your cloud development

June 1, 2023 | 5 minute read
Shreya Krishnan
Product Manager
Text Size 100%:

We’re excited to announce the launch of the Oracle Cloud Infrastructure (OCI) Toolkit for Visual Studio Code (VS Code), a rich collection of OCI extensions, making it easier for you to develop, test, and deploy applications on OCI straight from VS Code.

As developers, we understand the challenges in building and deploying applications on cloud platforms. You often spend significant time configuring your development environment to build cloud applications and switching between multiple tools and environments. The OCI Toolkit solves these challenges by simplifying how you work and interact with OCI resources right from VS Code.

Focus on code, not configuration!

The OCI Toolkit for VS Code offers a set of features and tools that help increase your productivity and efficiency. It seamlessly integrates with OCI services and supports end-to-end coding workflows for OCI services, including Functions, Resource Manager, and Data Science.

The Toolkit simplifies the steps involved in deploying to OCI, such as user authentication and setting up and connecting to OCI service runtimes. It also offers the flexibility of using the built-in OCI CLI with interactive features to manage cloud resources directly from the VS Code terminal. Whether you’re experienced with OCI or just getting started, you can apply the Quick Start code templates, sample code, and documentation to learn new workflows and get applications running in just minutes.

Let’s dive deeper into the OCI Toolkit’s key capabilities designed to bolster your productivity and offer a seamlessly integrated development experience on OCI.

Integrated OCI sign-in and account creation

We can seamlessly connect to OCI by signing into an existing OCI account or creating a account directly from VS Code without navigating to the Oracle Cloud Console. This streamlined sign-in mechanism saves time and reduces the need to switch contexts.

A screenshot of the integrated OCI sign-in and account creation in VS Code.

OCI Functions

The OCI Toolkit simplifies OCI Functions development by offering a fast and easy way to create, edit, and deploy Functions applications directly from VS Code. It greatly simplifies Functions development by abstracting away complex steps involved in creating and deploying applications, such as authentication, initializing the runtime, and setting up container registries. You can also rapidly prototype and test Functions apps in minutes by using curated code samples in GitHub and Quick Start templates that can be tailored. You can alternatively deploy and manage your applications from the VS Code terminal using the Functions CLI.

A gif showing the process for connecting the OCI Functions extension.

OCI Data Science

We can natively edit and run Data Science job artifacts with the OCI Toolkit’s robust support for OCI Data Science. Monitor the progress of your jobs’ outputs and access service logs in the log viewer from within VS Code. You can create new artifacts from scratch or use the Quick Start templates and deploy their jobs in minutes, while the OCI Toolkit handles all the steps in between.

A gif showing the process of adding the OCI Data Science extension.

OCI Resource Manager infrastructure-as-code configurations

The OCI Toolkit’s Resource Manager extension lets you codify your cloud infrastructure and automate the configuration and provisioning of OCI resources from VS Code. It enables you to easily create, update, run, and apply Resource Manager infrastructure-as-code configurations and run-ready samples stored in OCI Object Storage or Git. As a result, you can reduce the time spent manually configuring and deploying OCI resources.

A gif showing the process for adding the OCI Resource Manager extension.

Manage OCI resources using the OCI CLI with interactive mode

We can effortlessly perform common platform actions, such as creating and managing OCI resources using the built-in OCI CLI in the VS Code terminal. Utilizing the OCI CLI’s interactive mode to simplify resource management tasks with command and parameter suggestions, automatic completion, and command reference information. The interactive mode can also be a helpful learning tool, enabling you to experiment with different commands and resources from the VS Code terminal.

A gif showing the OCI CLI interactive mode in VS Code.

Quick Start templates and code samples

Whether you’re a seasoned developer or new to OCI development, the OCI Toolkit is designed to help you rapidly prototype cloud solutions, explore new services, and accomplish quick coding tasks. It offers a broad set of Quick Start templates, sample code, and documentation for OCI services to help you learn new workflows and get applications running in a few clicks. The Quick Start templates for services, including Functions, Resource Manager, and Data Science, provide pre-built projects with sample code for multiple programming languages supported by these services, such as Java, Python, and Terraform.

Get started today!

The OCI Toolkit complements the suite of existing VS Code extensions provided by Oracle. With its powerful features, seamless integration with other OCI cloud tools and services, and intuitive user interface, the OCI Toolkit is sure to become an essential part of your day-to-day development flow. To get started, download the OCI Toolkit from the VS Code Marketplace today to get started.

If you’re new to Oracle Cloud Infrastructure, you can take advantage of the Oracle Cloud Free Tier to get acquainted. We want to hear from you! We want to hear from you! If you have any questions or feedback, contact us.

For more information, see the following resources:

Shreya Krishnan

Product Manager

Shreya is a Product Manager on the Oracle Cloud Developer Tools and Services team. She's passionate about building products that delight developers and focuses on improving customer outcomes.

Previous Post

Announcing OCI File Storage policy-based snapshots

Aboo Valappil | 4 min read

Next Post

Graphics rendering with NVIDIA A10 GPU shapes on OCI

Praveen Coca | 7 min read