Build a Translation Service with OCI Generative AI

Build a Translation Service with OCI Generative AI

The Challenge with Modern Translation Traditional translation services often struggle with context, idioms, and the subtle nuances that make language beautiful and meaningful. As businesses become increasingly global, there’s a growing need for translation services that can handle these complexities while maintaining security, scalability, and cost-effectiveness. Enter OCI Generative AI Oracle Cloud Infrastructure’s Generative AI service offers a compelling solution to these challenges. Unlike conventional translation APIs, OCI’s service leverages advanced language models that understand context and cultural nuances, making it an ideal choice for enterprise applications. ...

December 18, 2024 · 3 min · Enrico Pesce
Stop OCI VM instance

Stop OCI VM instance

Introduction When running workloads on Oracle Cloud Infrastructure (OCI), managing your instances efficiently is crucial. This guide will show you how to create a simple, efficient way to shut down your OCI instance from within the instance itself, using instance metadata and instance principal authentication. Prerequisites An OCI instance with instance principal authentication enabled OCI CLI installed on your instance Basic understanding of command-line operations Understanding the Components Instance Metadata Every OCI instance has access to its own metadata through a local endpoint. This metadata includes crucial information like: ...

December 9, 2024 · 2 min · Enrico Pesce
OCI Vision workflow

OCI Vision: Identify Cereals with a Custom Model

OCI Vision: How do we identify cereals? Is it possible to use OCI Vision to classify images that are not included in the default Vision model, without managing infrastructure or needing deep ML expertise? Yes, it is possible! You can use OCI Vision to identify image content and use this feature to improve your software and business. Let me show you how! In this example, I used cereals, but the same approach can be extended to many visible objects. ...

September 21, 2024 · 4 min · Enrico Pesce
Get a Kubernetes cluster in minutes on OCI

Get a Kubernetes Cluster in Minutes on OCI

My first OCI automation project After 10 years of experience with DevOps practices, automation, infrastructure as code, and many customer discussions, I decided to build a tool that helps people deploy a well-defined Kubernetes architecture without needing deep infrastructure expertise. Oracle Kubernetes Engine Deploy project (OKED) OKED helps you deploy a complete Kubernetes infrastructure on OCI, including the required network dependencies, without requiring OCI expertise. This is the Terraform edition of OKED. If you prefer Python-based infrastructure as code instead, see the Pulumi edition of OKED . ...

September 15, 2024 · 2 min · Enrico Pesce
x86 vs ARM Architecture: Server Comparison

x86 vs ARM Architecture: Server Comparison

Intel x86 vs. ARM Architecture: A Comparative Analysis for Server Technologies In the dynamic field of server technology, the battle between CPU architectures has become a focal point, especially between Intel’s x86 architecture and ARM-based processors. This blog post provides a comprehensive comparison of these two architectures, focusing specifically on their performance metrics, energy efficiency, and their overarching impact on the server and cloud computing sectors. Detailed Architectural Insights Intel x86 Architecture Intel’s x86 architecture, grounded in a complex instruction set computing (CISC) framework, offers a broad instruction range and high computation capabilities. This architecture is renowned for its robust performance and extensive software compatibility, making it the preferred choice in traditional server environments. ...

April 15, 2024 · 3 min · Enrico Pesce
OCI Flex Shapes Benchmark

OCI Flex Shapes: E5 vs E4 vs A1

If you are comparing OCI Compute Flex shapes, the short answer from this Geekbench 6 run is: VM.Standard.E5.Flex led in raw multicore performance, VM.Standard.A1.Flex was the strongest cost-conscious option, and the Intel-based shapes remained relevant when x86 compatibility is a hard requirement. Quick recommendation Goal Start with Why Best multicore performance VM.Standard.E5.Flex Highest Geekbench 6 multicore score in this test. Lowest cost with strong throughput VM.Standard.A1.Flex Similar score to E4/Optimized3 in this benchmark, with the lowest price in the table. Existing x86 workload compatibility VM.Standard3.Flex or VM.Optimized3.Flex Useful when your software stack is tied to x86 packages, binaries, or vendor support. Balanced AMD x86 option VM.Standard.E4.Flex Lower-cost x86 option, but behind E5 in this benchmark. This is a benchmark snapshot from March 2024. Use the numbers below to compare relative behavior, then verify current regional availability and pricing in the OCI Cost Estimator before making a production decision. ...

March 19, 2024 · 4 min · Enrico Pesce

OCI Compute Standard Flex Shapes: Another CPU Multicore Benchmark

When selecting a compute instance, factors such as raw computational power, price-to-performance ratio, and workload optimization play a significant role. Let’s focus on the following standard flex shapes available in most OCI regions: VM.Standard.E4.Flex (Processor: AMD EPYC 7J13. Base frequency 2.55 GHz, max boost frequency 3.5 GHz) VM.Standard.E5.Flex (Processor: AMD EPYC 9J14. Base frequency 2.4 GHz, max boost frequency 3.7 GHz) VM.Standard3.Flex (Processor: Intel Xeon Platinum 8358. Base frequency 2.6 GHz, max turbo frequency 3.4 GHz) VM.Optimized3.Flex (Processor: Intel Xeon 6354. Base frequency 3.0 GHz, max turbo frequency 3.6 GHz) VM.Standard.A1.Flex (Each OCPU corresponds to a single hardware execution thread. Processor: Ampere Altra Q80-30. Max frequency 3.0 GHz.) I conducted benchmark tests with Geekbench 6 on three CPU configurations: 2, 4, and 8 cores. ...

February 10, 2024 · 2 min · Enrico Pesce
Kopia Backup Cloud Storage Setup

Kopia Backup: Cloud Storage Setup Guide (OCI, S3, Backblaze B2)

Kopia is an open-source backup tool that creates encrypted, deduplicated and compressed snapshots and stores them on any S3-compatible cloud storage — including OCI Object Storage, Backblaze B2, AWS S3, MinIO, and more. The practical goal of this guide is simple: create a Kopia repository on your chosen backend, validate it, run the first snapshot, and know how to reconnect or restore data later. Quick setup Step What you need 1. Choose a storage backend OCI Object Storage, Backblaze B2, or any S3-compatible service. 2. Create a bucket and access keys Bucket name, endpoint, access key and secret key for your provider. 3. Create the Kopia repository kopia repository create s3 with the provider S3 endpoint. 4. Validate the repository kopia repository validate-provider. 5. Create snapshots kopia snapshot create <path>. Supported storage backends Kopia supports a wide range of storage backends. For cloud backups, the most common choices are: ...

February 6, 2024 · 7 min · Enrico Pesce
Performance testing with PHP and OCI Compute instances

Performance testing with PHP and OCI Compute instances

A while ago, I developed a tool with the aim of assessing the actual performance improvement between different versions of PHP. Subsequently, I search to understand which AWS instance type was the most performant. Since AWS does not allow for custom sizing of CPU and RAM resources, I wanted to explore the differences among the various instance types and determine which one would be most cost-effective to choose. During the holiday season, I dedicated myself to expanding this project and doing the same analysis with OCI , Oracle Cloud Infrastructure. ...

January 19, 2024 · 4 min · Enrico Pesce
Scalable and Serverless Data Ingestion with OCI Functions

Scalable and Serverless Data Ingestion with OCI Functions

In this article, we will leverage OCI’s capabilities to the fullest, embracing the following principles: Scalability Resilience Flexibility Security Automation The “loadfileintoadw” project is located in the same GitHub repository used so far to discuss OCI Function fn-examples . This example will help you understand how to integrate multiple OCI services and make the most of the cloud provider. We will simulate a series of weather stations that will write a CSV file with sampling data (temperature, humidity, etc.). The sensor will automatically upload the file to an Object Storage bucket. ...

October 20, 2023 · 1 min · Enrico Pesce