OCI Object Storage: Buckets, Uploads, Downloads, and Listings with the OCI CLI
Beginner · 30 minutes · 5 tasks, checked automatically · 100 points
In this foundational lab you will use the OCI CLI against a local OCI emulator to learn the core Object Storage workflow. You will create a bucket, upload files into it, list the objects inside it, and download them back to your local filesystem — all without a real cloud account or any billing. By the end you will be comfortable with the most common `oci os` sub-commands used in real OCI projects.
What you’ll learn
- Create an OCI Object Storage bucket using the OCI CLI
- Upload one or more objects into the bucket using `oci os object put`
- List bucket contents and download objects using `oci os object list` and `oci os object get`
How this lab works
- Start the lab: One click starts an emulated cloud on your computer, with the cloud’s own CLI ready: no account and no bill.
- Work through 5 tasks: Each task says what to build or fix. You do it yourself, in a real terminal, with hints when you get stuck.
- Check your work: Check my work reads the emulated cloud’s resources and says, task by task, what passed and what to fix.
- Finish and keep going: 100 points, your progress saved, and the next lab to try.
What it runs on
- Runs: An emulated cloud on your computer: no cloud account, no bill
- Cloud: OCI
- Services: object-storage
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Docker Desktop (or Podman / Rancher Desktop) installed and running
- A OCI sandbox created in the Local Cloud Playground
Topics: oci, object-storage, cli, bucket, upload, download, storage
Create a free account to start this lab.
Keep going
- Cloud Storage Fundamentals: Buckets, Objects, and gcloud storage
- Azure Blob Storage: Create Containers, Upload, Download, and List Blobs
- Object Storage: Namespaces, Metadata, and Content Types
- Write Your First boto3 Script: List, Upload, and Read S3 Objects
- Fire an S3 Event Notification into an SQS Queue on Object Upload
- Object Versioning & Lifecycle Rules on a Cloud Storage Bucket