<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Giovanny Velez on Medium]]></title>
        <description><![CDATA[Stories by Giovanny Velez on Medium]]></description>
        <link>https://medium.com/@giovannyvelez?source=rss-4bd3fd9d3dc1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*BThUzEdOUm3vXgqfPjHeEg.jpeg</url>
            <title>Stories by Giovanny Velez on Medium</title>
            <link>https://medium.com/@giovannyvelez?source=rss-4bd3fd9d3dc1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 16:45:39 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@giovannyvelez/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Why Oracle Cloud Infrastructure is the Ideal Platform for Kotlin Enterprise & Platform Engineering]]></title>
            <link>https://medium.com/kmp-expansions/why-oracle-cloud-infrastructure-is-the-ideal-platform-for-kotlin-enterprise-platform-engineering-b62fcef5d2a0?source=rss-4bd3fd9d3dc1------2</link>
            <guid isPermaLink="false">https://medium.com/p/b62fcef5d2a0</guid>
            <category><![CDATA[kotlin]]></category>
            <category><![CDATA[platform-engineering]]></category>
            <category><![CDATA[oracle-cloud]]></category>
            <category><![CDATA[graalvm]]></category>
            <category><![CDATA[graalvm-native-image]]></category>
            <dc:creator><![CDATA[Giovanny Velez]]></dc:creator>
            <pubDate>Wed, 11 Mar 2026 22:20:48 GMT</pubDate>
            <atom:updated>2026-03-12T16:40:47.395Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-sa/4.0/</cc:license>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Lp1McRFHTB3YnAx0GcnNpA.jpeg" /></figure><blockquote>Post 0 of the Kotlin + OCI Platform Engineering series</blockquote><h3>Introduction</h3><p><em>You’ve chosen </em><strong><em>Kotlin</em></strong><em> + </em><strong><em>GraalVM</em></strong><em> for your platform. The question isn’t whether OCI can run it — every major cloud can. The question is which cloud was built to run it.</em></p><p><strong>Kotlin</strong> is no longer just an <strong>Android</strong> language. At <a href="https://blog.jetbrains.com/kotlin/2025/08/kotlin-on-the-backend-what-s-new-from-kotlinconf-2025/"><strong>KotlinConf 2025</strong>, <strong>JetBrains</strong> reported that 50% of its 2.5 million developer base now uses <strong>Kotlin</strong> for backend and server-side work</a>. That’s a structural shift, not a trend. Combine it with the K2 compiler — default in <strong>IntelliJ IDEA</strong> 2025.1 — delivering 40%+ faster compilation, and you have a server-side ecosystem maturing fast.</p><p><strong>GraalVM Native Image</strong> has matured alongside it. Native compilation is production-ready across every major Kotlin-compatible framework: <strong>Spring Boot with AOT</strong>, <strong>Micronaut</strong> (and <strong>Oracle’s Graal Dev Kit for Micronaut</strong> distribution), <strong>Ktor</strong>, and <strong>Quarkus</strong>. The startup numbers speak for themselves:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4eaf7a070d9cca4972bfd854be35fa7a/href">https://medium.com/media/4eaf7a070d9cca4972bfd854be35fa7a/href</a></iframe><p><strong><em>Source:</em></strong><em> Java 25 Framework Benchmarks, October 2025 (</em><a href="http://gillius.org/"><em>gillius.org</em></a><em>)</em></p><p>Sub-100ms startup transforms what’s architecturally possible. Serverless becomes viable for stateful workloads, autoscaling responds to traffic in real time, and cold starts stop being a production incident.</p><p>Here’s the fact that changes the cloud conversation: <strong>OCI is the only hyperscaler where the cloud vendor is also the original author and maintainer of the JVM runtime — not just a distributor of it.</strong> <strong>Oracle</strong> doesn’t just support <strong>GraalVM</strong> — <strong>Oracle</strong> builds <strong>GraalVM</strong>. That vertical integration has concrete consequences. Every <strong>OCI</strong> customer gets <strong>Oracle GraalVM 17 and 21</strong> at no additional charge. <strong>Profile-Guided Optimization</strong>, historically a paid enterprise feature, is free for <strong>OCI</strong> subscribers.</p><p>Compare that to <strong>AWS</strong>, where the closest cold-start mitigation — <strong>SnapStart</strong> — applies exclusively to <strong>Lambda</strong>. <strong>OCI’s GraalVM</strong> integration spans all compute: VMs, containers, and functions.</p><p>This isn’t academic. When your compiler vendor is also your cloud vendor, runtime bugs become first-party issues with first-party SLAs. Optimization features ship to <strong>OCI</strong> first. The toolchain — from build pipelines to fleet management — is designed around the assumption that you’re running <strong>GraalVM</strong>.</p><p>Those startup and memory numbers translate directly to infrastructure cost:</p><ul><li>fewer nodes to handle the same throughput</li><li>smaller container images</li><li>lower memory per pod</li><li>reduced compute spend across the board</li></ul><h3>OCI’s Unique Advantages for Kotlin Development</h3><p><strong>Oracle</strong> builds <strong>GraalVM</strong>. When you run on <strong>OCI</strong>, you’re running on the cloud built by the people who built your compiler. That vertical integration — compiler vendor, JDK vendor, and cloud vendor as a single entity — creates optimization opportunities that third-party arrangements structurally cannot. This isn’t a partnership announcement or a marketplace listing. It’s ownership, and the engineering benefits compound at every layer of the stack.</p><h3>First-Party GraalVM Integration Across OCI Services</h3><p>Every major <strong>OCI</strong> compute surface ships with <strong>GraalVM</strong> support baked in — not bolted on:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b79cd3e8b29dafcfbc4576eeec9abf6c/href">https://medium.com/media/b79cd3e8b29dafcfbc4576eeec9abf6c/href</a></iframe><p>The practical implication: a new team member can open <strong>Cloud Shell</strong>, compile a <strong>Kotlin</strong> service to a native image, and push it to <strong>OCR</strong> within minutes — no JDK installation, no JAVA_HOME gymnastics, no Dockerfile surgery to pull the right <strong>GraalVM</strong> base image. That&#39;s what first-party integration buys you: fewer decisions on the Golden Path.</p><h3>Profile-Guided Optimization — The Hidden Performance Lever</h3><p>Most Kotlin teams don’t realize that <strong>Profile-Guided Optimization</strong> was historically a paid <strong>Oracle GraalVM</strong> feature. On <strong>OCI</strong>, it’s free — bundled with your subscription.</p><p><strong>PGO</strong> works in three stages:</p><ul><li>compile an instrumented binary</li><li>run it under realistic load to collect execution profiles</li><li>then recompile with those profiles baked in</li></ul><p>The compiler auto-selects -O3 optimization, inlining the exact hot paths your service actually exercises in production. For <strong>Kotlin</strong> microservices with predictable request patterns — and most microservices have very predictable hot paths — <strong>PGO</strong> closes the throughput gap between native image and <strong>JIT</strong>.</p><p>Here’s what that looks like in an <strong>OCI DevOps</strong> pipeline:</p><pre># build-spec.yml for OCI DevOps<br>version: 0.1<br>steps:<br>  - type: Command<br>    name: &quot;Install GraalVM 21&quot;<br>    command: yum -y install graalvm-21-native-image<br>  - type: Command<br>    name: &quot;Instrument binary for PGO&quot;<br>    command: |<br>      ./mvnw package -Pnative -DskipTests -DinstrumentedBuild=true<br>      ./target/myservice &amp;<br>      ./scripts/warmup.sh<br>      kill $(cat /tmp/myservice.pid)<br>  - type: Command<br>    name: &quot;Optimized native build with PGO&quot;<br>    command: ./mvnw package -Pnative -DskipTests -Doptimize=true</pre><p>Three steps. No external tooling. The instrumented build collects profiles, the warmup script simulates production traffic, and the final build produces a binary that already knows where your code spends time. This is the kind of optimization that turns a 10-pod deployment into an 8-pod deployment — and that’s a line item your FinOps team will notice.</p><h3>Ampere A1 + GraalVM: ARM Beating x86</h3><p>Here’s the benchmark that should challenge your assumptions:<a href="https://blogs.oracle.com/graal/graalvm-enterprise-accelerates-java-performance-on-oracle-cloud-ampere-a1"> <strong>Oracle GraalVM</strong> on <strong>OCI’s Ampere A1</strong></a> outperforms <strong>Intel Xeon Gold</strong> + <strong>OpenJDK</strong>. <strong>ARM</strong> plus an optimizing compiler beats <em>x86</em> plus a standard <strong>JDK</strong>.</p><p>Why? <strong>Ampere Altra</strong> uses a single-threaded core design — no simultaneous multithreading, no “noisy neighbor” contention between hardware threads sharing execution units. Each <strong>OCPU</strong> is a dedicated physical core delivering consistent, predictable throughput. For <strong>JVM</strong> workloads in multi-tenant <strong>Kubernetes</strong> clusters, that consistency matters more than raw peak clock speed. <a href="https://www.oracle.com/cloud/compute/arm/pricing/">And <strong>A1</strong> pricing at <strong>$0.01/OCPU-hr</strong></a> makes the cost-performance ratio difficult for any other hyperscaler to match.</p><h3>Startup and Memory: The Container Density Story</h3><p>Java 25 framework benchmarks (October 2025) make the cold-start case concrete:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/00584cf1e491151634dbf421915f7fd5/href">https://medium.com/media/00584cf1e491151634dbf421915f7fd5/href</a></iframe><p>Native image startup is 13–39x faster depending on framework. Memory tells a similar story — up to 50% RSS reduction. A <strong>Micronaut</strong> web server drops from 470 MB on full <strong>JDK</strong> to 22 MB as a static native image. That’s not a performance curiosity; it’s the difference between 10 pods and 40 pods on the same node.</p><p>For long-running, CPU-bound workloads, <strong>PGO </strong>needs profiling runs from time to time. With <strong>PGO</strong> and <strong>G1</strong>, <strong>Native Image</strong> has on-par performance, lower memory, and similar or better p99 latency. Native image dominates cold-start latency, container density, and serverless scale-to-zero.</p><h3>Java Management Service: Fleet Governance at Scale</h3><p>Once you’re running <strong>Kotlin</strong> services across dozens of <strong>OKE</strong> clusters, the operational question shifts from “how fast does it start” to “what JDK versions are running, are they patched, and can we prove it to auditors.” That’s where <a href="https://www.oracle.com/java/jms/"><strong>Java Management Service</strong></a> fills a gap no other hyperscaler addresses:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ec59c8dead756e711112ba89cc9cdf23/href">https://medium.com/media/ec59c8dead756e711112ba89cc9cdf23/href</a></iframe><p>That last row deserves emphasis. <strong>Crypto Event Analysis</strong> scans your fleet for weak cryptographic algorithms. <strong>Java Libraries scanning</strong> identifies vulnerable dependencies. Together, they automate the evidence collection that <strong>SOC2</strong> auditors require — turning a weeks-long manual process into a dashboard query. For organizations running hundreds of <strong>JVM</strong> services, this isn’t a nice-to-have; it’s the difference between passing an audit in days versus months.</p><p>These performance and governance advantages are real, but they don’t exist in a vacuum — they compound when paired with <strong>OCI</strong>’s pricing model.</p><h3>Cost-Effectiveness</h3><p><strong>AWS</strong> gives you 100 GB of free egress. <a href="https://www.oracle.com/cloud/pricing/"><strong>OCI</strong> gives you 10 TB</a>. That’s not a rounding error — it’s a different pricing philosophy. And once you internalize the difference, every cost model you build for multi-service <strong>Kotlin</strong> platforms changes fundamentally.</p><h3>Egress: The Hidden Tax</h3><p>Most teams don’t budget for egress until it shows up on the invoice. At scale, it’s the line item that blows up FinOps models.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6f0e62180eb736813c263a4202215fcd/href">https://medium.com/media/6f0e62180eb736813c263a4202215fcd/href</a></iframe><p>At 50 TB/month — a realistic number for a platform running observability pipelines, API traffic, and cross-region replication:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5c292b6c8012683a3b3a339a0e451127/href">https://medium.com/media/5c292b6c8012683a3b3a339a0e451127/href</a></iframe><p>OCI is over 10x cheaper. Not because of a promotional discount — because the pricing model treats egress as infrastructure, not a profit center.</p><h3>Always Free: What You Can Actually Build</h3><p>Forget spec sheets. Here’s what a team can run permanently at zero cost on <a href="https://www.oracle.com/cloud/free/"><strong>OCI’s Always Free</strong></a> tier:</p><ul><li><strong>OKE Basic cluster</strong> with Arm A1 worker nodes (4 OCPUs + 24 GB RAM)</li><li><strong>2–3 Kotlin microservices</strong> compiled to <strong>GraalVM</strong> native images (remember — 40 MB per service, not 350 MB)</li><li><strong>2x Oracle Autonomous Databases</strong> (<a href="https://www.oracle.com/autonomous-database/autonomous-transaction-processing/">ATP</a> or <a href="https://www.oracle.com/autonomous-database/autonomous-data-warehouse/get-started/">ADW</a>)</li><li><strong>OCI API Gateway</strong> (1M requests/month)</li><li><strong>OCI Monitoring + APM</strong> (500M data points + 1,000 trace events)</li><li><strong>10 TB/month</strong> outbound egress</li></ul><p>That’s a legitimate proof-of-concept platform — not a sandbox. No 12-month expiration. No credit card surprise after a trial period.</p><p><strong>Caveat</strong>: <strong>Oracle</strong> may reclaim <strong>Always Free</strong> compute instances idle for 7+ consecutive days (CPU/memory/network utilization below 20%). Size your workloads accordingly.</p><h3>OKE: Serverless Kubernetes at a Third of the Price</h3><p>Per-unit pricing tells the real story. These are published list rates using each provider’s lowest-cost region — except <strong>OCI</strong>, which charges the same rate everywhere.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/309b339cb66f1681938e639a366b193d/href">https://medium.com/media/309b339cb66f1681938e639a366b193d/href</a></iframe><p><strong>Scenario A</strong> — 20 pods, each 2 vCPU / 8 GiB, running 31 days:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/8b6fc68fd966fa7ede2a0cd392e7ba63/href">https://medium.com/media/8b6fc68fd966fa7ede2a0cd392e7ba63/href</a></iframe><p>OCI is 2.7–2.9x cheaper across the board.</p><p>These comparisons are based on <a href="https://blogs.oracle.com/cloud-infrastructure/kubernetes-cloud-cost-comparison-best-value">Oracle’s March 2023</a> published pricing analysis. Cloud pricing evolves — verify current OKE, EKS, AKS, and GKE rates before making procurement decisions.</p><h3>Enterprise Scale: Where the Numbers Get Serious</h3><p><a href="https://blogs.oracle.com/cloud-infrastructure/kubernetes-cloud-cost-comparison-best-value"><strong>Oracle</strong>’s published case study</a> describes a financial services customer running a large Kubernetes fleet: EKS (Fargate) at ~$723K/month vs. OKE at ~$335K/month — a delta of ~$388K/month, or roughly <strong>$4.6M/year</strong> in savings. This is <strong>Oracle</strong>’s own example; run your own TCO analysis with your actual workload profiles before making procurement decisions.</p><h3>Regional Pricing Parity</h3><p><strong>OCI</strong> charges the <strong>same rate in every region globally</strong>. <strong>AWS</strong> charges up to +72% in <strong>São Paulo</strong>, +35% in <strong>Zurich</strong>, +25% in <strong>Tokyo</strong>. <strong>Azure</strong> and <strong>GCP</strong> apply similar regional premiums.</p><p>The implication for platform engineering: a multi-region deployment across <strong>Tokyo</strong>, <strong>Frankfurt</strong>, and <strong>São Paulo</strong> on <strong>OCI</strong> costs the same as a single US East region on <strong>OCI</strong>. On <strong>AWS</strong>, that identical footprint costs 25–72% more per additional region. If you’re building a Golden Path that includes multi-region by default, <strong>OCI</strong> is the only provider where the pricing model doesn’t punish you for it.</p><h3>Predictable Pricing Is an Engineering Property</h3><p>Predictable pricing — no egress surprises, no inter-AZ transfer fees, no regional premiums. You can model it accurately, budget for it, and audit against it. For SOC2-compliant platforms where cost anomalies trigger investigation workflows, pricing predictability reduces operational overhead directly.</p><h3>The Compound Effect: GraalVM + OKE</h3><p>This is where the performance and cost stories compound. <strong>GraalVM</strong> native images reduce memory footprint by ~87% (350 MB → 40 MB per service). Fewer megabytes per pod means fewer pods per node. Fewer pods per node means fewer nodes in the cluster. Fewer nodes means a lower <strong>OKE</strong> bill — at rates already 2.7x cheaper than the competition. The savings are multiplicative across the stack, not additive.</p><p>A <strong>Kotlin</strong> service that costs $1,808/month on <strong>EKS Fargate</strong> with <strong>JVM</strong> containers could cost under $250/month on <strong>OKE Virtual Nodes</strong> with <strong>GraalVM</strong> native images. That’s not optimization — that’s a different cost structure entirely.</p><h3>Platform Engineering Capabilities</h3><p>Cheap compute is table stakes. What matters is what you can build on it.</p><p>A platform team’s job is to pave Golden Paths: opinionated, secure-by-default workflows that let application teams ship without filing tickets. On <strong>OCI</strong>, four capabilities define those paths:</p><ul><li><a href="https://blogs.oracle.com/cloud-infrastructure/oke-workload-identity-greater-control-access">OKE Workload Identity</a> for zero-credential IAM,</li><li><a href="https://www.pulumi.com/docs/iac/">Pulumi</a> for typed infrastructure, and</li><li>a clear service mesh strategy.</li></ul><h3>OKE Workload Identity — The Architectural Centerpiece</h3><p>If you take one thing from this section, make it this: <a href="https://blogs.oracle.com/cloud-infrastructure/oke-workload-identity-greater-control-access"><strong>OKE Workload Identity</strong></a> eliminates credentials from your <strong>Kubernetes</strong> platform.</p><p>Every pod running on an <strong>OKE</strong> <strong>Enhanced</strong> cluster gets an <strong>IAM-native</strong> identity scoped to three dimensions: <em>the cluster OCID</em>, <em>the Kubernetes namespace</em>, and the <em>service account</em>. That triple acts as a cryptographic principal in <strong>OCI’s IAM policy engine</strong>.</p><ul><li>No static API keys.</li><li>No credentials rotated on a schedule by a pipeline you hope still works.</li><li>No Kubernetes Secrets containing base64-encoded access tokens that any developer with kubectl get secret can decode.</li></ul><p>The policy syntax makes the scoping explicit:</p><pre>Allow any-user to manage object-family in compartment production<br>  where all {<br>    request.principal.type=&#39;workload&#39;,<br>    request.principal.cluster_id=&#39;&lt;cluster-ocid&gt;&#39;,<br>    request.principal.namespace=&#39;payments-ns&#39;,<br>    request.principal.service_account=&#39;payment-processor-sa&#39;<br>  }</pre><p>Read that policy out loud. Only pods in the payments-ns namespace, running under the payment-processor-sa service account, on <em>that specific cluster</em>, can touch Object Storage in the production compartment. If someone deploys the same service account name on a dev cluster, it gets nothing. The cluster OCID is part of the identity — not an afterthought.</p><p>On the application side, using the <a href="https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdk.htm">Java OCI SDK</a> makes this trivially consumable:</p><pre>val provider = OkeWorkloadIdentityAuthenticationDetailsProvider.builder()<br>    .build()<br>val objectStorageClient = ObjectStorageClient.builder()<br>    .build(provider)</pre><p>Two lines. No configuration files, no environment variable wiring, no init containers fetching tokens. The SDK discovers the workload identity from the pod’s projected service account token automatically. Your application code doesn’t know it’s running on <strong>Kubernetes</strong> — it just has an authenticated <strong>OCI</strong> client.</p><p><a href="https://micronaut-projects.github.io/micronaut-object-storage/latest/guide/#oracleCloud">Open source <strong>Micronaut</strong> (including the <strong>Oracle</strong> build) have higher level abstractions on OCI (and other cloud) services</a>.</p><p>Every API call made through that client is recorded in the OCI Audit service with the full workload identity principal. When your SOC2 auditor asks “which service accessed this bucket, from which cluster, in which namespace, at what time?” — you have the answer without building a single additional logging pipeline.</p><p><strong>The catch:</strong> Workload Identity requires OKE Enhanced clusters. That’s $0.10/cluster-hour, capped at <strong>$74.40/month </strong>for each OKE enhanced cluster you provision. For production workloads where you’d otherwise spend engineering time building and maintaining a secrets rotation pipeline, this counts as a rounding error.</p><h3>Pulumi — Typed IaC with an Honest Assessment</h3><p>For teams that want infrastructure defined in <strong>Kotlin</strong> rather than <strong>YAML</strong>, <strong>Pulumi</strong> is the path — but you should know what you’re buying.</p><p><strong>Path 1: </strong><strong>pulumi-kotlin</strong> — a <a href="https://github.com/VirtuslabRnD/pulumi-kotlin">community library maintained by VirtuslabRnD (~54 GitHub stars, experimental)</a>. It wraps the official <strong>Pulumi</strong> providers with an idiomatic <strong>Kotlin DSL</strong>. Type-safe, expressive, and actively developed — but community-maintained means you own the risk.</p><p><strong>Path 2: </strong><a href="https://www.pulumi.com/docs/iac/languages-sdks/java/"><strong>Pulumi Java SDK</strong> — officially supported by <strong>Pulumi</strong></a>. Since <strong>Kotlin</strong> compiles to <strong>JVM</strong> bytecode, you call the <strong>Java SDK</strong> directly with full interop. Less idiomatic, but backed by <strong>Pulumi</strong>’s support and release cadence.</p><p><strong>Oracle</strong>’s investment here is tangible:</p><ul><li><strong>four official blog posts on Pulumi + OCI</strong> (1. <a href="https://blogs.oracle.com/cloud-infrastructure/pulumi-oci-iac-approach-deploy-manage-resources">https://blogs.oracle.com/cloud-infrastructure/pulumi-oci-iac-approach-deploy-manage-resources</a>, 2. <a href="https://blogs.oracle.com/developers/pulumi-brings-universal-infrastructure-as-code-to-oracle-cloud">https://blogs.oracle.com/developers/pulumi-brings-universal-infrastructure-as-code-to-oracle-cloud</a>, 3. <a href="https://blogs.oracle.com/cloud-infrastructure/terraform-to-pulumi-multiple-iac-tools-cloud">https://blogs.oracle.com/cloud-infrastructure/terraform-to-pulumi-multiple-iac-tools-cloud</a> and 4. <a href="https://blogs.oracle.com/cloud-infrastructure/compare-terraform-pulumi-oci-multicloud-manage">https://blogs.oracle.com/cloud-infrastructure/compare-terraform-pulumi-oci-multicloud-manage</a>)</li><li>plus oracle-devrel reference implementations on GitHub for OKE deployment (1. <a href="https://github.com/oracle-devrel/pulumi-python-oci-instances">https://github.com/oracle-devrel/pulumi-python-oci-instances</a>, 2. <a href="https://github.com/oracle-devrel/pulumi-python-oci-oke">https://github.com/oracle-devrel/pulumi-python-oci-oke</a>, 3. <a href="https://github.com/oracle-devrel/pulumi-python-oci-devops-oke">https://github.com/oracle-devrel/pulumi-python-oci-devops-oke</a> and 4. <a href="https://github.com/oracle-devrel/pulumi-java-oci-objectstorage">https://github.com/oracle-devrel/pulumi-java-oci-objectstorage</a>)</li></ul><p><strong>My recommendation:</strong> use pulumi-kotlin if your team is comfortable depending on a community library and values the DSL ergonomics. Fall back to the Java SDK when you need the stability guarantees of an officially supported path.</p><h3>Service Mesh Managed</h3><p>OCI gives you one managed option, <a href="https://docs.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengistio-cluster-add-on.htm"><strong>Istio as an OKE Add-on</strong></a> is the right default for most teams. <strong>Oracle</strong> manages the <strong>Istio</strong> lifecycle — upgrades, patches, compatibility with <strong>OKE</strong> versions. Your team likely already knows <strong>Istio</strong>’s traffic management and observability model. Choosing the managed add-on means you keep that expertise and shed the operational burden.</p><h3>Enterprise-Grade Features</h3><p>Before you deploy, your Architect needs to sign off on compliance. Here’s what they’ll find.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/32c7debdc7142fa4aee4fbcf5f810e35/href">https://medium.com/media/32c7debdc7142fa4aee4fbcf5f810e35/href</a></iframe><p>That table clears most procurement checklists in a single pass. But certifications are table stakes. The differentiators live deeper in the stack.</p><h3>FIPS 140–2 Level 3 HSMs Included</h3><p><a href="https://docs.oracle.com/en-us/iaas/Content/KeyManagement/home.htm">OCI Vault</a> ships with FIPS 140–2 Level 3 certified HSMs as a built-in capability. Not a separate SKU. Not a separate billing line. <strong>AWS CloudHSM</strong> is also Level 3 — but it’s a standalone service you provision separately and pay for independently. On OCI, it’s part of the platform.</p><p>OCI also supports BYOK (Bring Your Own Key) and HYOK (Hold Your Own Key), where encryption keys are stored entirely outside OCI on third-party HSMs. For regulated industries — banking, healthcare, government — HYOK is often the difference between a “yes” and a six-month legal review.</p><h3>Two-Region-Per-Country: Data Residency as an Engineering Feature</h3><p><a href="https://www.oracle.com/cloud/public-cloud-regions/"><strong>OCI</strong> operates 50+ regions across 28 countries</a>. <strong>Oracle’</strong>s strategy is deliberate: every country gets at least two regions. That means in-country disaster recovery without cross-border data transfer.</p><p>This isn’t a geography trivia point. GDPR in the EU, DPDP in India, the UAE’s data localization framework, Australia’s Privacy Act amendments — all impose constraints on where data can physically reside during failover. If your DR target is in another jurisdiction, you’ve created a compliance incident, not a recovery.</p><p>Two regions per country turns data residency from a legal problem into an infrastructure configuration.</p><h3>Autonomous Database: Fewer Runbooks, Smaller Rotations</h3><p>For Platform Engineering teams, <a href="https://www.oracle.com/autonomous-database/"><strong>Autonomous Database</strong></a> is an ops burden argument. Self-patching. Zero-downtime upgrades. Compute auto-scaling to 3x base ECPU on demand — no capacity planning tickets, no 2 AM scaling events.</p><p><a href="https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/maintenance-windows-patching.html#GUID-94150883-EE29-4EED-94A7-44ECCEC05B99">Automated Regression Detection </a>(shipped April 2025) catches performance degradation during maintenance windows before it reaches your SLIs. That’s one less runbook your on-call engineer has to execute and one fewer unplanned weekend.</p><p>The AI capabilities are production-relevant too: native Vector Search for RAG pipelines and Select AI for NL-to-SQL queries against operational data.</p><p>These are GA features your Kotlin services can call today via JDBC.</p><h3>Database@Azure, @Google Cloud, @AWS: OCI Inside Your Current Cloud</h3><p>This is OCI’s most strategically interesting play. <strong>Oracle</strong> deploys <strong>Autonomous Database</strong> and <strong>Exadata</strong> infrastructure <em>inside</em> <strong>Azure</strong>, <strong>Google Cloud</strong>, and <strong>AWS</strong> data centers. Private cross-cloud interconnect — no public internet hop, no double-egress billing.</p><p>For enterprise teams already running on <strong>AWS</strong> or <strong>Azure</strong>, this isn’t a migration ask. It’s an integration path. You keep your existing compute, networking, and CI/CD. You add <strong>Oracle’</strong>s database capabilities alongside them, connected over a private fabric. Your <strong>Kotlin</strong> services on <strong>EKS</strong> or <strong>AKS</strong> talk to <strong>Autonomous Database</strong> at local-network latency.</p><h3>FastConnect: Flat-Rate Private Connectivity</h3><p>Dedicated connections from 1 Gbps to 400 Gbps. Flat hourly rate based on port capacity. No per-byte egress charges — the same pricing philosophy we covered in the cost section, extended to dedicated interconnects.</p><p>For hybrid architectures moving terabytes between on-premises data centers and OCI, predictable network costs aren’t a nice-to-have but a FinOps requirement.</p><h3>Developer Experience</h3><p>Enterprise credentials get you through procurement. Developer experience gets you through sprint one.</p><p>A <strong>Kotlin</strong> team evaluating <strong>OCI</strong> has one question: can I be productive before the end of the day? The answer starts in the browser.</p><p><strong>Cloud Shell delivers zero-setup from first login.</strong> You opened the OCI Console. GraalVM, Maven, Gradle, kubectl, Terraform — already there. Pre-authenticated to your tenancy. No local install, no credential management, no “works on my machine.” An engineer goes from zero to a compiled GraalVM native image in under ten minutes. That’s what happens when the cloud vendor and the JVM vendor are the same company.</p><p>The <a href="https://github.com/oracle/oci-java-sdk"><strong>OCI Java SDK</strong></a> ships weekly. Version 3.81.0 dropped March 03, 2026. Weekly release cadence signals something specific: active maintenance and responsive bug fixes. When a production team evaluates long-term platform commitment, release velocity is a proxy for engineering investment. OCI’s SDK passes that test.</p><p>Adding it to a <strong>Kotlin</strong> project is one line:</p><pre>implementation(&quot;com.oracle.oci.sdk:oci-java-sdk:3.81.0&quot;)</pre><p>The SDK is <strong>Java-native</strong>, but <strong>Kotlin</strong> interop is clean. The builder pattern maps naturally, and the authentication model covers every deployment context — local dev, VM-based services, and <strong>Kubernetes</strong> pods:</p><pre>val provider: AuthenticationDetailsProvider = ConfigFileAuthenticationDetailsProvider(<br>    &quot;~/.oci/config&quot;, &quot;DEFAULT&quot;<br>)<br><br>val instancePrincipal = InstancePrincipalsAuthenticationDetailsProvider<br>.builder().build()<br><br>val workloadIdentity = OkeWorkloadIdentityAuthenticationDetailsProvider<br>.builder().build()<br><br>val objectStorageClient = ObjectStorageClient<br>.builder().build(provider)</pre><p>Three providers, one interface.</p><ul><li>ConfigFile for local development,</li><li>InstancePrincipals for compute instances,</li><li>OkeWorkloadIdentity for pods. Your service code never changes between environments — only the provider wiring does.</li></ul><p><strong>The highest-value Kotlin-specific improvement is the coroutines bridge.</strong> The SDK’s async clients return java.util.concurrent.Future. One import — kotlinx.coroutines.future.await — turns every async SDK call into a suspend function. No callback hell, no reactive wrappers, no custom threading:</p><pre>import kotlinx.coroutines.future.await<br><br>suspend fun getObject(<br>    client: ObjectStorageAsyncClient,<br>    namespace: String,<br>    bucket: String,<br>    objectName: String<br>): GetObjectResponse {<br>    return client.getObject(<br>        GetObjectRequest.builder()<br>            .namespaceName(namespace)<br>            .bucketName(bucket)<br>            .objectName(objectName)<br>            .build()<br>    ).await()<br>}</pre><p>That’s idiomatic structured concurrency wrapping a Java SDK — no Kotlin-specific SDK required. Every *AsyncClient in the SDK becomes coroutine-native with this pattern.</p><p>For IDE tooling, the <strong>IntelliJ plugin (v1.2.0, June 2025)</strong> remains actively maintained. Autonomous Database management, multi-region support, credential management — all from the IDE Kotlin teams already live in. It’s not a checkbox feature; it’s the primary plugin for JetBrains-ecosystem developers on OCI.</p><p>CI/CD is equally straightforward. A complete Kotlin + GraalVM native image pipeline in OCI DevOps requires one file:</p><pre># build-spec.yml — OCI DevOps<br>version: 0.1<br>component: build<br>timeoutInSeconds: 600<br>steps:<br>  - type: Command<br>    name: Install GraalVM 21<br>    command: |<br>      yum -y install graalvm-21-native-image<br>      java -version<br>      native-image --version<br>  - type: Command<br>    name: Build Kotlin service<br>    command: |<br>      ./gradlew clean build -x test<br>  - type: Command<br>    name: Compile GraalVM native image<br>    command: |<br>      ./gradlew nativeCompile<br>  - type: Command<br>    name: Build and push container image<br>    command: |<br>      docker build -f Dockerfile.native -t ${OCIR_PATH}/${IMAGE_NAME}:${BUILDRUN_HASH} .<br>      docker push ${OCIR_PATH}/${IMAGE_NAME}:${BUILDRUN_HASH}</pre><p>Four steps:</p><ul><li>install GraalVM from Oracle’s own RPM repo (license included in your OCI subscription),</li><li>build the Kotlin project,</li><li>compile to native image,</li><li>push to OCI Container Registry.</li></ul><p>Copy-paste this into your repo and you have a production-grade native image pipeline.</p><p>One more thing worth stating plainly: <strong>you can build everything in this series for $0, permanently.</strong> The Always Free tier includes 4 OCPUs, 24 GB RAM on Ampere A1, and an OKE Basic cluster — no 90-day expiry, no credit card surprise. That’s not a toy sandbox. That’s enough to run <strong>Kotlin</strong> microservices, a <strong>Kubernetes</strong> cluster, and an <strong>Autonomous Database</strong> as a genuine evaluation platform.</p><h3>What’s Coming in This Series</h3><p>This article made the case. The next articles build the platform. Each one produces working infrastructure and deployable code — no toy examples.</p><pre>Foundation: OCI + Kotlin architectural case (you are here)<br>Post 1: Infrastructure (VCN, networking, Pulumi Kotlin components)<br>  └─► Post 2: Kubernetes Platform (OKE + GitOps + observability)<br>        ├─► Post 3: Native Images (GraalVM microservices → OKE)<br>        ├─► Post 4: IDP Platform (Pulumi Automation API → OKE)<br>        ├─► Post 5: Event-Driven (Kafka/OCI Streaming → OKE)<br>        └─► Post 6: Legacy Migration (Java→Kotlin + ADB → OKE)</pre><p><strong>Post 1</strong> stands up the entire <strong>OCI</strong> foundation — VCN, subnets, gateways, security groups, compartments — as a reusable <strong>Kotlin</strong> component library in <strong>Pulumi</strong>. We write <strong>Pulumi</strong> in <strong>Kotlin</strong>, not <strong>YAML</strong>. You’ll ship a <strong>FinOps-ready</strong> tagging strategy that every subsequent resource inherits. Nothing else deploys until this is solid.</p><p><strong>Post 2</strong> builds a hardened <strong>OKE</strong> cluster on that foundation. <strong>ArgoCD</strong> delivers <strong>GitOps</strong>. <strong>Prometheus</strong>, <strong>Grafana</strong>, and <strong>OpenTelemetry</strong> handle observability. cert-manager, <strong>External Secrets Operator</strong>, <strong>OCI IAM</strong> integrated with <strong>Kubernetes RBAC</strong> — a production-grade platform developers self-serve from day one.</p><p><strong>Post 3</strong> takes a <strong>Spring Boot</strong> + <strong>Kotlin REST API</strong>, compiles it to a <strong>GraalVM native image</strong>, and deploys it to <strong>OKE</strong>. You’ll run the benchmark yourself: <strong>JVM</strong> vs. <strong>native</strong> on startup time, memory footprint, and sustained throughput. A CI/CD pipeline automates native builds end to end.</p><p><strong>Post 4</strong> is the central Platform Engineering deliverable. You build an <strong>Internal Developer Platform</strong> — an API that lets teams self-provision pre-approved <strong>OCI</strong> resources through <strong>Pulumi Automation API</strong>. <strong>CrossGuard</strong> policy packs enforce tagging, cost ceilings, and encryption requirements before anything touches production.</p><p><strong>Post 5</strong> wires up a full event-driven order processing system using <strong>Kafka</strong> producers and consumers with <strong>Kotlin</strong> coroutines, the <strong>Saga</strong> pattern for distributed transactions, and <strong>HPA</strong> scaling keyed to consumer lag on <strong>OCI Streaming</strong>.</p><p><strong>Post 6</strong> walks through a Java-to-Kotlin migration of a real Spring Boot application. Blue-green and canary deployments on OKE validate every step. You’ll measure the before-and-after: cost, startup, memory, throughput.</p><p>Everything you need to start is free. An <strong>OCI Always Free</strong> account gives you 4 Arm Ampere OCPUs, 24 GB of RAM, and a <strong>Kubernetes</strong> cluster you can run indefinitely. Post 1 is waiting.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b62fcef5d2a0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/kmp-expansions/why-oracle-cloud-infrastructure-is-the-ideal-platform-for-kotlin-enterprise-platform-engineering-b62fcef5d2a0">Why Oracle Cloud Infrastructure is the Ideal Platform for Kotlin Enterprise &amp; Platform Engineering</a> was originally published in <a href="https://medium.com/kmp-expansions">Kotlin Expansions</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>