<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Engineering Archives | Clever Cloud</title>
	<atom:link href="https://www.clever.cloud/blog/tag/engineering-fr/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.clever.cloud/blog/tag/engineering-fr/</link>
	<description>From Code to Product</description>
	<lastBuildDate>Fri, 04 Dec 2026 13:05:13 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://cdn.clever-cloud.com/uploads/2023/03/cropped-cropped-favicon-32x32.png</url>
	<title>Engineering Archives | Clever Cloud</title>
	<link>https://www.clever.cloud/blog/tag/engineering-fr/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Post-quantum cryptography: where we stand</title>
		<link>https://www.clever.cloud/blog/engineering/2026/12/04/post-quantum-cryptography/</link>
		
		<dc:creator><![CDATA[Stanislav Sauvin]]></dc:creator>
		<pubDate>Fri, 04 Dec 2026 12:35:02 +0000</pubDate>
				<category><![CDATA[Engineering]]></category>
		<guid isPermaLink="false">https://www.clever.cloud/?p=26169</guid>

					<description><![CDATA[<p><img width="2400" height="1065" src="https://cdn.clever-cloud.com/uploads/2026/12/2026-12-03-clever-cloud-banniere-blog-cryptographie-post-quantique-en.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="2026.12.03 Clever Cloud Bannière Blog Cryptographie Post Quantique EN" decoding="async" fetchpriority="high" srcset="https://cdn.clever-cloud.com/uploads/2026/12/2026-12-03-clever-cloud-banniere-blog-cryptographie-post-quantique-en.png 2400w, https://cdn.clever-cloud.com/uploads/2026/12/2026-12-03-clever-cloud-banniere-blog-cryptographie-post-quantique-en-300x133.png 300w, https://cdn.clever-cloud.com/uploads/2026/12/2026-12-03-clever-cloud-banniere-blog-cryptographie-post-quantique-en-1024x454.png 1024w, https://cdn.clever-cloud.com/uploads/2026/12/2026-12-03-clever-cloud-banniere-blog-cryptographie-post-quantique-en-768x341.png 768w, https://cdn.clever-cloud.com/uploads/2026/12/2026-12-03-clever-cloud-banniere-blog-cryptographie-post-quantique-en-1536x682.png 1536w, https://cdn.clever-cloud.com/uploads/2026/12/2026-12-03-clever-cloud-banniere-blog-cryptographie-post-quantique-en-2048x909.png 2048w, https://cdn.clever-cloud.com/uploads/2026/12/2026-12-03-clever-cloud-banniere-blog-cryptographie-post-quantique-en-1368x607.png 1368w" sizes="(max-width: 2400px) 100vw, 2400px" /></p><!-- wp:paragraph -->
<p>These publications ask organisations to move faster, because of a risk that concerns data exchanged today: traffic recorded now could be decrypted years from now, once a large enough quantum computer exists. This matters most for data that must stay confidential for a long time, such as health data.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The <a href="https://media.defense.gov/2026/Dec/01/2004039413/-1/-1/0/CSA_Immediate_Actions_Push_Toward_PQC.PDF">NSA advisory</a> is a list of practical steps to speed up this transition: inventory where cryptography is used, move to TLS 1.3 and enable post-quantum key exchange where available, then update certificates and software. <strong>It does not describe an attack against the encryption in use today, and no quantum computer able to break it has been demonstrated.</strong> ANSSI reached the same conclusion: in its <a href="https://cyber.gouv.fr/actualites/avis-de-lanssi-sur-avancees-permises-par-lia-et-leur-impact-sur-la-cryptographie/" target="_blank" rel="noopener">opinion published on December 4</a>, it considers that, given current knowledge, these advances have no immediate practical implications, and encourages organisations to continue their post-quantum migration. Your connections to Clever Cloud keep using current, recognised encryption, and <strong>no action is required on your side</strong> for traffic served by our load balancers at this stage. We take this risk seriously, which is why the transition is already under way on our platform.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Timeline</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>This risk was already identified, and the work began before these publications, with the new version of our load balancers. We have also started an audit of the cryptography used across all our services, including the images we provide for your applications, to plan the next steps for each of them.</p>
<!-- /wp:paragraph -->

<!-- wp:spacer {"height":"25px"} -->
<div style="height:25px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:html -->
<style>
  .cc-table-wrap {
    width: 100%;
    overflow-x: auto;
  }

  .cc-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 17px;
    font-family: "Plus Jakarta Sans", "PlusJakartaSans", -apple-system,
      BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: #111827;
  }

  .cc-table th,
  .cc-table td {
    padding: 12px 16px;
    text-align: left;
    vertical-align: top;
    line-height: 1.6;
  }

  .cc-table thead th {
    font-weight: 700;
    text-align: center;
  }

  .cc-table tbody td:first-child {
    font-weight: 700;
  }

  .cc-table tbody tr + tr td,
  .cc-table tbody tr:first-child td {
    border-top: 1px solid #deddee;
  }

  .cc-table th + th,
  .cc-table td + td {
    border-left: 1px solid #deddee;
  }

  .cc-table th:nth-child(1),
  .cc-table td:nth-child(1) {
    width: 30%;
  }

  .cc-table th:nth-child(2),
  .cc-table td:nth-child(2) {
    width: 70.00%;
  }

  @media (max-width: 767px) {
    .cc-table {
      font-size: 15px;
    }

    .cc-table th,
    .cc-table td {
      padding: 10px 12px;
    }
  }
</style>

<div class="cc-table-wrap">
  <table class="cc-table">
    <thead>
      <tr>
        <th>Scope</th>
        <th>Status</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td><code>cleverapps.io</code> domains</td>
        <td>✅ Post-quantum key exchange</td>
      </tr>

      <tr>
        <td><a href="https://www.clever.cloud/product/cellar-object-storage/">Cellar object storage</a></td>
        <td>✅ Post-quantum key exchange</td>
      </tr>

      <tr>
        <td>Custom domains, regions other than Paris</td>
        <td>✅ Post-quantum key exchange</td>
      </tr>

      <tr>
        <td>Custom domains, Paris</td>
        <td>Early 2027</td>
      </tr>

      <tr>
        <td>Databases and other services</td>
        <td>Service by service, as we upgrade the versions and adapt the configurations we run</td>
      </tr>
    </tbody>
  </table>
</div>
<!-- /wp:html -->

<!-- wp:spacer {"height":"20px"} -->
<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:paragraph -->
<p>"Post-quantum key exchange" means that the connection uses it whenever your browser or client supports it, which recent browsers do.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>We use a hybrid approach, as <a href="https://messervices.cyber.gouv.fr/documents-guides/transition_post_quantique_tls_1_3.pdf">recommended by ANSSI</a>: post-quantum protection is added on top of today's encryption, without replacing or weakening it. Clients that don't support it yet are not affected and keep connecting as before. We closely follow <a href="https://messervices.cyber.gouv.fr/documents-guides/Avis%20de%20l'ANSSI%20sur%20la%20migration%20vers%20la%20cryptographie.pdf">ANSSI's guidance</a> and will adapt our approach if its position changes.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Your applications and their outgoing connections</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Post-quantum protection is negotiated separately for each connection, and both ends must support it. Our load balancers cover traffic coming into your applications. Connections your applications open themselves, to a third-party API, a database or another service, depend on the TLS library they use and on the server they reach.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>On our runtimes, we maintain the operating system images and their system libraries, such as OpenSSL and GnuTLS, and keep them up to date; they are part of our audit. Some languages embed their own TLS implementation, such as Go, Java, Node.js or Rust with rustls: for these, the runtime or dependency version you choose decides whether post-quantum key exchange is available (see below). The same goes for Docker applications, which run your own image. Keeping your runtime versions and dependencies up to date is the main step on your side.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>We will keep you posted on our <a href="https://www.clever.cloud/developers/changelog/">changelog</a> at each step. If you have any questions, contact <a href="https://console.clever-cloud.com/ticket-center-choice">Clever Cloud support</a>.</p>
<!-- /wp:paragraph -->

<!-- wp:spacer {"height":"50px"} -->
<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:heading {"style":{"typography":{"textAlign":"center"}}} -->
<h2 class="wp-block-heading has-text-align-center">Q&amp;A - Post-quantum cryptography</h2>
<!-- /wp:heading -->

<!-- wp:html -->
<div style="height: 1px; background-color: #DEDDEE; margin: 30px auto; width: 100%;"></div>
<!-- /wp:html -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Do I need to change anything in my application or my certificates?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Not for incoming traffic. The change happens on our load balancers. Your certificates and your configuration stay the same. For connections your application opens itself, keep your runtime and dependencies up to date (see below).</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Which language versions support post-quantum key exchange for outgoing connections?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>On our runtimes, the system OpenSSL offers it by default, so languages that rely on it, such as Python, Ruby or PHP, benefit from it without any change. For languages that embed their own TLS implementation:</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul class="wp-block-list"><!-- wp:list-item -->
<li><strong>Go</strong> 1.24 or later offers it by default.</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>Java</strong> 25.0.5 or later offers it by default. Oracle has announced backports to Java 21 and 17 in 2027.</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>Node.js</strong> ships with its own OpenSSL, and offers it by default from <strong>22.20.0</strong>, <strong>24.5.0</strong> and in all Node.js 25 and 26 releases. Node.js 20 and earlier don't.</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>Rust</strong> with rustls needs the <code>aws-lc-rs</code> provider; the <code>ring</code> provider doesn't support it.</li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">How can I check whether my domain uses post-quantum key exchange?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Open your site in a recent browser:</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul class="wp-block-list"><!-- wp:list-item -->
<li><strong>Chrome or Edge</strong>: open the developer tools (F12), then the <em>Security</em> tab. The connection details show <code>X25519MLKEM768</code> when the post-quantum exchange is in use.</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>Firefox</strong>: open the developer tools (F12), select a request in the <em>Network</em> tab, then its <em>Security</em> tab. The key exchange group shows <code>mlkem768x25519</code>.</li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p>From a terminal, with OpenSSL 3.5 or later:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>DOMAIN=clever.cloud; echo | openssl s_client -connect "$DOMAIN:443" -servername "$DOMAIN" -tls1_3 -groups X25519MLKEM768 2&gt;&amp;1 | grep "Negotiated TLS1.3 group"</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>Replace <code>clever.cloud</code> with your domain. <code>Negotiated TLS1.3 group: X25519MLKEM768</code> means it does. <code>&lt;NULL&gt;</code> or no output means it does not yet.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">What about certificates and signatures?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Signatures can't be forged after the fact on recorded traffic, so they are a lower priority than key exchange. Public certificate authorities don't issue post-quantum certificates yet. <a href="https://letsencrypt.org/2026/12/03/crypto-algorithms">Let's Encrypt announced on December 3</a> that it is accelerating its work on post-quantum certificates based on ML-DSA, and aims to make them generally available in early February 2027, depending on browsers and root programs. We will follow these developments for the certificates we manage for you.</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Do I need to change anything in my application or my certificates?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Not for incoming traffic. The change happens on our load balancers. Your certificates and your configuration stay the same. For connections your application opens itself, keep your runtime and dependencies up to date (see below)."
      }
    },
    {
      "@type": "Question",
      "name": "Which language versions support post-quantum key exchange for outgoing connections?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "On our runtimes, the system OpenSSL offers it by default, so languages that rely on it, such as Python, Ruby or PHP, benefit from it without any change. For languages that embed their own TLS implementation: Go 1.24 or later offers it by default. Java 25.0.5 or later offers it by default. Oracle has announced backports to Java 21 and 17 in 2027. Node.js ships with its own OpenSSL, and offers it by default from 22.20.0, 24.5.0 and in all Node.js 25 and 26 releases. Node.js 20 and earlier don't. Rust with rustls needs the aws-lc-rs provider; the ring provider doesn't support it."
      }
    },
    {
      "@type": "Question",
      "name": "How can I check whether my domain uses post-quantum key exchange?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Open your site in a recent browser: Chrome or Edge: open the developer tools (F12), then the Security tab. The connection details show X25519MLKEM768 when the post-quantum exchange is in use. Firefox: open the developer tools (F12), select a request in the Network tab, then its Security tab. The key exchange group shows mlkem768x25519. From a terminal, with OpenSSL 3.5 or later: DOMAIN=clever.cloud; echo | openssl s_client -connect \"$DOMAIN:443\" -servername \"$DOMAIN\" -tls1_3 -groups X25519MLKEM768 2>&1 | grep \"Negotiated TLS1.3 group\" Replace clever.cloud with your domain. Negotiated TLS1.3 group: X25519MLKEM768 means it does. <NULL> or no output means it does not yet."
      }
    },
    {
      "@type": "Question",
      "name": "What about certificates and signatures?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Signatures can't be forged after the fact on recorded traffic, so they are a lower priority than key exchange. Public certificate authorities don't issue post-quantum certificates yet. Let's Encrypt announced on December 3 that it is accelerating its work on post-quantum certificates based on ML-DSA, and aims to make them generally available in early February 2027, depending on browsers and root programs. We will follow these developments for the certificates we manage for you."
      }
    }
  ]
}
</script>
<!-- /wp:html -->]]></description>
										<content:encoded><![CDATA[<p><img width="2400" height="1065" src="https://cdn.clever-cloud.com/uploads/2026/12/2026-12-03-clever-cloud-banniere-blog-cryptographie-post-quantique-en.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="2026.12.03 Clever Cloud Bannière Blog Cryptographie Post Quantique EN" decoding="async" srcset="https://cdn.clever-cloud.com/uploads/2026/12/2026-12-03-clever-cloud-banniere-blog-cryptographie-post-quantique-en.png 2400w, https://cdn.clever-cloud.com/uploads/2026/12/2026-12-03-clever-cloud-banniere-blog-cryptographie-post-quantique-en-300x133.png 300w, https://cdn.clever-cloud.com/uploads/2026/12/2026-12-03-clever-cloud-banniere-blog-cryptographie-post-quantique-en-1024x454.png 1024w, https://cdn.clever-cloud.com/uploads/2026/12/2026-12-03-clever-cloud-banniere-blog-cryptographie-post-quantique-en-768x341.png 768w, https://cdn.clever-cloud.com/uploads/2026/12/2026-12-03-clever-cloud-banniere-blog-cryptographie-post-quantique-en-1536x682.png 1536w, https://cdn.clever-cloud.com/uploads/2026/12/2026-12-03-clever-cloud-banniere-blog-cryptographie-post-quantique-en-2048x909.png 2048w, https://cdn.clever-cloud.com/uploads/2026/12/2026-12-03-clever-cloud-banniere-blog-cryptographie-post-quantique-en-1368x607.png 1368w" sizes="(max-width: 2400px) 100vw, 2400px" /></p><!-- wp:paragraph -->
<p>These publications ask organisations to move faster, because of a risk that concerns data exchanged today: traffic recorded now could be decrypted years from now, once a large enough quantum computer exists. This matters most for data that must stay confidential for a long time, such as health data.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The <a href="https://media.defense.gov/2026/Dec/01/2004039413/-1/-1/0/CSA_Immediate_Actions_Push_Toward_PQC.PDF">NSA advisory</a> is a list of practical steps to speed up this transition: inventory where cryptography is used, move to TLS 1.3 and enable post-quantum key exchange where available, then update certificates and software. <strong>It does not describe an attack against the encryption in use today, and no quantum computer able to break it has been demonstrated.</strong> ANSSI reached the same conclusion: in its <a href="https://cyber.gouv.fr/actualites/avis-de-lanssi-sur-avancees-permises-par-lia-et-leur-impact-sur-la-cryptographie/" target="_blank" rel="noopener">opinion published on December 4</a>, it considers that, given current knowledge, these advances have no immediate practical implications, and encourages organisations to continue their post-quantum migration. Your connections to Clever Cloud keep using current, recognised encryption, and <strong>no action is required on your side</strong> for traffic served by our load balancers at this stage. We take this risk seriously, which is why the transition is already under way on our platform.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Timeline</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>This risk was already identified, and the work began before these publications, with the new version of our load balancers. We have also started an audit of the cryptography used across all our services, including the images we provide for your applications, to plan the next steps for each of them.</p>
<!-- /wp:paragraph -->

<!-- wp:spacer {"height":"25px"} -->
<div style="height:25px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:html -->
<style>
  .cc-table-wrap {
    width: 100%;
    overflow-x: auto;
  }

  .cc-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 17px;
    font-family: "Plus Jakarta Sans", "PlusJakartaSans", -apple-system,
      BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: #111827;
  }

  .cc-table th,
  .cc-table td {
    padding: 12px 16px;
    text-align: left;
    vertical-align: top;
    line-height: 1.6;
  }

  .cc-table thead th {
    font-weight: 700;
    text-align: center;
  }

  .cc-table tbody td:first-child {
    font-weight: 700;
  }

  .cc-table tbody tr + tr td,
  .cc-table tbody tr:first-child td {
    border-top: 1px solid #deddee;
  }

  .cc-table th + th,
  .cc-table td + td {
    border-left: 1px solid #deddee;
  }

  .cc-table th:nth-child(1),
  .cc-table td:nth-child(1) {
    width: 30%;
  }

  .cc-table th:nth-child(2),
  .cc-table td:nth-child(2) {
    width: 70.00%;
  }

  @media (max-width: 767px) {
    .cc-table {
      font-size: 15px;
    }

    .cc-table th,
    .cc-table td {
      padding: 10px 12px;
    }
  }
</style>

<div class="cc-table-wrap">
  <table class="cc-table">
    <thead>
      <tr>
        <th>Scope</th>
        <th>Status</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td><code>cleverapps.io</code> domains</td>
        <td>✅ Post-quantum key exchange</td>
      </tr>

      <tr>
        <td><a href="https://www.clever.cloud/product/cellar-object-storage/">Cellar object storage</a></td>
        <td>✅ Post-quantum key exchange</td>
      </tr>

      <tr>
        <td>Custom domains, regions other than Paris</td>
        <td>✅ Post-quantum key exchange</td>
      </tr>

      <tr>
        <td>Custom domains, Paris</td>
        <td>Early 2027</td>
      </tr>

      <tr>
        <td>Databases and other services</td>
        <td>Service by service, as we upgrade the versions and adapt the configurations we run</td>
      </tr>
    </tbody>
  </table>
</div>
<!-- /wp:html -->

<!-- wp:spacer {"height":"20px"} -->
<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:paragraph -->
<p>"Post-quantum key exchange" means that the connection uses it whenever your browser or client supports it, which recent browsers do.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>We use a hybrid approach, as <a href="https://messervices.cyber.gouv.fr/documents-guides/transition_post_quantique_tls_1_3.pdf">recommended by ANSSI</a>: post-quantum protection is added on top of today's encryption, without replacing or weakening it. Clients that don't support it yet are not affected and keep connecting as before. We closely follow <a href="https://messervices.cyber.gouv.fr/documents-guides/Avis%20de%20l'ANSSI%20sur%20la%20migration%20vers%20la%20cryptographie.pdf">ANSSI's guidance</a> and will adapt our approach if its position changes.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Your applications and their outgoing connections</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Post-quantum protection is negotiated separately for each connection, and both ends must support it. Our load balancers cover traffic coming into your applications. Connections your applications open themselves, to a third-party API, a database or another service, depend on the TLS library they use and on the server they reach.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>On our runtimes, we maintain the operating system images and their system libraries, such as OpenSSL and GnuTLS, and keep them up to date; they are part of our audit. Some languages embed their own TLS implementation, such as Go, Java, Node.js or Rust with rustls: for these, the runtime or dependency version you choose decides whether post-quantum key exchange is available (see below). The same goes for Docker applications, which run your own image. Keeping your runtime versions and dependencies up to date is the main step on your side.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>We will keep you posted on our <a href="https://www.clever.cloud/developers/changelog/">changelog</a> at each step. If you have any questions, contact <a href="https://console.clever-cloud.com/ticket-center-choice">Clever Cloud support</a>.</p>
<!-- /wp:paragraph -->

<!-- wp:spacer {"height":"50px"} -->
<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:heading {"style":{"typography":{"textAlign":"center"}}} -->
<h2 class="wp-block-heading has-text-align-center">Q&amp;A - Post-quantum cryptography</h2>
<!-- /wp:heading -->

<!-- wp:html -->
<div style="height: 1px; background-color: #DEDDEE; margin: 30px auto; width: 100%;"></div>
<!-- /wp:html -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Do I need to change anything in my application or my certificates?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Not for incoming traffic. The change happens on our load balancers. Your certificates and your configuration stay the same. For connections your application opens itself, keep your runtime and dependencies up to date (see below).</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Which language versions support post-quantum key exchange for outgoing connections?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>On our runtimes, the system OpenSSL offers it by default, so languages that rely on it, such as Python, Ruby or PHP, benefit from it without any change. For languages that embed their own TLS implementation:</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul class="wp-block-list"><!-- wp:list-item -->
<li><strong>Go</strong> 1.24 or later offers it by default.</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>Java</strong> 25.0.5 or later offers it by default. Oracle has announced backports to Java 21 and 17 in 2027.</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>Node.js</strong> ships with its own OpenSSL, and offers it by default from <strong>22.20.0</strong>, <strong>24.5.0</strong> and in all Node.js 25 and 26 releases. Node.js 20 and earlier don't.</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>Rust</strong> with rustls needs the <code>aws-lc-rs</code> provider; the <code>ring</code> provider doesn't support it.</li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">How can I check whether my domain uses post-quantum key exchange?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Open your site in a recent browser:</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul class="wp-block-list"><!-- wp:list-item -->
<li><strong>Chrome or Edge</strong>: open the developer tools (F12), then the <em>Security</em> tab. The connection details show <code>X25519MLKEM768</code> when the post-quantum exchange is in use.</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>Firefox</strong>: open the developer tools (F12), select a request in the <em>Network</em> tab, then its <em>Security</em> tab. The key exchange group shows <code>mlkem768x25519</code>.</li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p>From a terminal, with OpenSSL 3.5 or later:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>DOMAIN=clever.cloud; echo | openssl s_client -connect "$DOMAIN:443" -servername "$DOMAIN" -tls1_3 -groups X25519MLKEM768 2&gt;&amp;1 | grep "Negotiated TLS1.3 group"</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>Replace <code>clever.cloud</code> with your domain. <code>Negotiated TLS1.3 group: X25519MLKEM768</code> means it does. <code>&lt;NULL&gt;</code> or no output means it does not yet.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">What about certificates and signatures?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Signatures can't be forged after the fact on recorded traffic, so they are a lower priority than key exchange. Public certificate authorities don't issue post-quantum certificates yet. <a href="https://letsencrypt.org/2026/12/03/crypto-algorithms">Let's Encrypt announced on December 3</a> that it is accelerating its work on post-quantum certificates based on ML-DSA, and aims to make them generally available in early February 2027, depending on browsers and root programs. We will follow these developments for the certificates we manage for you.</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Do I need to change anything in my application or my certificates?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Not for incoming traffic. The change happens on our load balancers. Your certificates and your configuration stay the same. For connections your application opens itself, keep your runtime and dependencies up to date (see below)."
      }
    },
    {
      "@type": "Question",
      "name": "Which language versions support post-quantum key exchange for outgoing connections?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "On our runtimes, the system OpenSSL offers it by default, so languages that rely on it, such as Python, Ruby or PHP, benefit from it without any change. For languages that embed their own TLS implementation: Go 1.24 or later offers it by default. Java 25.0.5 or later offers it by default. Oracle has announced backports to Java 21 and 17 in 2027. Node.js ships with its own OpenSSL, and offers it by default from 22.20.0, 24.5.0 and in all Node.js 25 and 26 releases. Node.js 20 and earlier don't. Rust with rustls needs the aws-lc-rs provider; the ring provider doesn't support it."
      }
    },
    {
      "@type": "Question",
      "name": "How can I check whether my domain uses post-quantum key exchange?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Open your site in a recent browser: Chrome or Edge: open the developer tools (F12), then the Security tab. The connection details show X25519MLKEM768 when the post-quantum exchange is in use. Firefox: open the developer tools (F12), select a request in the Network tab, then its Security tab. The key exchange group shows mlkem768x25519. From a terminal, with OpenSSL 3.5 or later: DOMAIN=clever.cloud; echo | openssl s_client -connect \"$DOMAIN:443\" -servername \"$DOMAIN\" -tls1_3 -groups X25519MLKEM768 2>&1 | grep \"Negotiated TLS1.3 group\" Replace clever.cloud with your domain. Negotiated TLS1.3 group: X25519MLKEM768 means it does. <NULL> or no output means it does not yet."
      }
    },
    {
      "@type": "Question",
      "name": "What about certificates and signatures?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Signatures can't be forged after the fact on recorded traffic, so they are a lower priority than key exchange. Public certificate authorities don't issue post-quantum certificates yet. Let's Encrypt announced on December 3 that it is accelerating its work on post-quantum certificates based on ML-DSA, and aims to make them generally available in early February 2027, depending on browsers and root programs. We will follow these developments for the certificates we manage for you."
      }
    }
  ]
}
</script>
<!-- /wp:html -->]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Cellar: Clever Cloud simplifies and lowers its pricing</title>
		<link>https://www.clever.cloud/blog/engineering/2026/12/01/cellar-pricing-s3-compatible-object-storage/</link>
		
		<dc:creator><![CDATA[Carine Guillemet]]></dc:creator>
		<pubDate>Tue, 01 Dec 2026 11:04:51 +0000</pubDate>
				<category><![CDATA[Engineering]]></category>
		<guid isPermaLink="false">https://www.clever.cloud/?p=26107</guid>

					<description><![CDATA[<p><img width="2400" height="1065" src="https://cdn.clever-cloud.com/uploads/2026/12/2026-12-01-clever-cloud-banniere-blog-tarification-cellar-en-vf.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="2026.12.01 Clever Cloud Bannière Blog Tarification Cellar EN VF" decoding="async" srcset="https://cdn.clever-cloud.com/uploads/2026/12/2026-12-01-clever-cloud-banniere-blog-tarification-cellar-en-vf.png 2400w, https://cdn.clever-cloud.com/uploads/2026/12/2026-12-01-clever-cloud-banniere-blog-tarification-cellar-en-vf-300x133.png 300w, https://cdn.clever-cloud.com/uploads/2026/12/2026-12-01-clever-cloud-banniere-blog-tarification-cellar-en-vf-1024x454.png 1024w, https://cdn.clever-cloud.com/uploads/2026/12/2026-12-01-clever-cloud-banniere-blog-tarification-cellar-en-vf-768x341.png 768w, https://cdn.clever-cloud.com/uploads/2026/12/2026-12-01-clever-cloud-banniere-blog-tarification-cellar-en-vf-1536x682.png 1536w, https://cdn.clever-cloud.com/uploads/2026/12/2026-12-01-clever-cloud-banniere-blog-tarification-cellar-en-vf-2048x909.png 2048w, https://cdn.clever-cloud.com/uploads/2026/12/2026-12-01-clever-cloud-banniere-blog-tarification-cellar-en-vf-1368x607.png 1368w" sizes="(max-width: 2400px) 100vw, 2400px" /></p><!-- wp:paragraph -->
<p>This means a price cut of up to 50% on storage and up to 89% on egress.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Simpler, more competitive pricing</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>The new pricing applies to the standard infrastructure in the <a href="https://www.clever.cloud/infrastructure/">Paris and France North regions</a> (Roubaix and Gravelines).</p>
<!-- /wp:paragraph -->

<!-- wp:spacer {"height":"25px"} -->
<div style="height:25px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:html -->
<style>
  .cc-table-wrap {
    width: 100%;
    overflow-x: auto;
  }

  .cc-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 17px;
    font-family: "Plus Jakarta Sans", "PlusJakartaSans", -apple-system,
      BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: #111827;
  }

  .cc-table th,
  .cc-table td {
    padding: 12px 16px;
    text-align: left;
    vertical-align: top;
    line-height: 1.6;
    border-left: 1px solid #deddee;
  }

  .cc-table thead th {
    font-weight: 700;
    text-align: center;
  }

  .cc-table thead th:first-child,
  .cc-table tbody td.cc-label {
    border-left: none;
  }

  .cc-table tbody td {
    border-top: 1px solid #deddee;
  }

  .cc-table tbody td.cc-label {
    font-weight: 700;
  }

  .cc-table tbody td.cc-span {
    vertical-align: middle;
  }

  .cc-table thead th:nth-child(1) {
    width: 24%;
  }

  .cc-table thead th:nth-child(2) {
    width: 22%;
  }

  .cc-table thead th:nth-child(3) {
    width: 18%;
  }

  .cc-table thead th:nth-child(4) {
    width: 18%;
  }

  .cc-table thead th:nth-child(5) {
    width: 18%;
  }

  @media (max-width: 767px) {
    .cc-table {
      font-size: 15px;
    }

    .cc-table th,
    .cc-table td {
      padding: 10px 12px;
    }
  }
</style>

<div class="cc-table-wrap">
  <table class="cc-table">
    <thead>
      <tr>
        <th>Usage</th>
        <th>Current tier</th>
        <th>Previous price per TB excl. VAT</th>
        <th>New price per TB excl. VAT</th>
        <th>Change</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td class="cc-label cc-span" rowspan="3">Storage (TB/month)</td>
        <td>100 MB to 1 TB</td>
        <td>€20</td>
        <td class="cc-span" rowspan="3">€10</td>
        <td>−50%</td>
      </tr>
      <tr>
        <td>1 to 25 TB</td>
        <td>€15</td>
        <td>−33%</td>
      </tr>
      <tr>
        <td>Over 25 TB</td>
        <td>€10</td>
        <td>Unchanged</td>
      </tr>
      <tr>
        <td class="cc-label cc-span" rowspan="2">Egress (TB)</td>
        <td>Up to 10 TB</td>
        <td>€90</td>
        <td class="cc-span" rowspan="2">€10</td>
        <td>−89%</td>
      </tr>
      <tr>
        <td>Over 10 TB</td>
        <td>€70</td>
        <td>−86%</td>
      </tr>
    </tbody>
  </table>
</div>
<!-- /wp:html -->

<!-- wp:spacer {"height":"25px"} -->
<div style="height:25px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:paragraph -->
<p>In the France North region, a 25% surcharge applies to the <a href="https://www.clever.cloud/health-data-hosting/">infrastructure certified for Health Data Hosting (HDS)</a>, bringing the price to €12.50 excl. VAT per TB stored per month and €12.50 excl. VAT per TB of egress.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The way storage is billed is unchanged: it is based on the average volume stored over the month, and the first 100 MB remain free.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Lowering the cost of storage, but also of data access</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>The object storage market has changed considerably in recent years. With this new pricing, we want to make Cellar more competitive while helping our customers forecast their spending more accurately, whatever their usage volumes.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>This decision also builds on our commitments to reversibility and to fighting <a href="https://www.clever.cloud/clever-cloud-paas/interoperability/">cloud vendor lock-in</a>.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Back in 2024, Clever Cloud chose to <a href="https://www.clever.cloud/blog/company/2024/01/31/object-storage-data-free-of-charge/">remove egress fees for customers switching providers</a>. Customers who want to leave Cellar can therefore transfer their data without paying egress fees, simply by asking our teams. In doing so, we anticipated the provisions of the EU Data Act, which provides for the <a href="https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32023R2854#art_29">complete withdrawal of switching charges</a> from 12 January 2027.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>With this new pricing, we want to go beyond reversibility.</strong> Egress fees should not stand in the way of using data day to day either. Whether they are accessing their data, processing it on other infrastructure or using it in a multi-cloud environment, our customers should be able to do so without being penalised by disproportionate transfer costs.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That is why we have chosen to align the price of egress with that of storage, regardless of how the data is used.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">More accurate egress metering</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Alongside this pricing change, we have reviewed our egress metering system and identified a defect that caused some egress volumes to be underestimated. The fix takes effect on 1 December 2026.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>For the same usage, the egress volumes shown on your invoices may therefore be higher than those previously recorded. However, the impact of this correction should be more than offset by the price cut.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>No retroactive adjustment will be made: the corrected metering only applies to usage from 1 December 2026 onwards.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">New prices apply automatically</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>You do not need to do anything. The new pricing will apply automatically to all Cellar add-ons from 1 December 2026.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The new prices will first appear on your invoice issued in early January 2027, covering your December usage.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>To estimate your future spending, please <a href="https://www.clever.cloud/contact/">contact us</a>.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Cellar in France North (Roubaix and Gravelines): an upcoming change</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>You may already have noticed: Cellar can no longer be ordered in the France North region (Roubaix and Gravelines), on either the standard or the HDS infrastructure. Existing add-ons continue to work normally and benefit from the new pricing from 1 December.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>However, we are preparing to phase out the service in this region. Cellar runs on bare-metal servers with a very specific hardware profile. In today's very tight hardware market, suitable configurations are no longer offered in this region. Rather than keep running infrastructure that we could no longer renew and maintain properly, we are planning ahead.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>At the same time, we have continued to invest in our infrastructure in the Paris region. With the opening of <a href="https://www.clever.cloud/blog/company/2026/10/23/clever-cloud-five-availability-zones-paris/">two new availability zones</a> in October 2026, the Paris region now has five availability zones, making our infrastructure more distributed and more resilient.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Affected customers will have two options:</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul class="wp-block-list"><!-- wp:list-item -->
<li>Migrate to Cellar in the Paris region.</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>If their data must stay in this region, use OVHcloud's own S3-compatible object storage in Roubaix and Gravelines.</li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p>In both cases, our teams will help you make the transition as simple as possible, and you will not be charged for egress related to this migration.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The detailed timeline will be shared with you directly, early enough to give you time to get organised.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>We are continuing to invest in our infrastructure and to develop our services with one constant aim: to help our customers keep their costs under control, rely on resilient infrastructure and stay free to make their own technology choices.</p>
<!-- /wp:paragraph -->]]></description>
										<content:encoded><![CDATA[<p><img width="2400" height="1065" src="https://cdn.clever-cloud.com/uploads/2026/12/2026-12-01-clever-cloud-banniere-blog-tarification-cellar-en-vf.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="2026.12.01 Clever Cloud Bannière Blog Tarification Cellar EN VF" decoding="async" loading="lazy" srcset="https://cdn.clever-cloud.com/uploads/2026/12/2026-12-01-clever-cloud-banniere-blog-tarification-cellar-en-vf.png 2400w, https://cdn.clever-cloud.com/uploads/2026/12/2026-12-01-clever-cloud-banniere-blog-tarification-cellar-en-vf-300x133.png 300w, https://cdn.clever-cloud.com/uploads/2026/12/2026-12-01-clever-cloud-banniere-blog-tarification-cellar-en-vf-1024x454.png 1024w, https://cdn.clever-cloud.com/uploads/2026/12/2026-12-01-clever-cloud-banniere-blog-tarification-cellar-en-vf-768x341.png 768w, https://cdn.clever-cloud.com/uploads/2026/12/2026-12-01-clever-cloud-banniere-blog-tarification-cellar-en-vf-1536x682.png 1536w, https://cdn.clever-cloud.com/uploads/2026/12/2026-12-01-clever-cloud-banniere-blog-tarification-cellar-en-vf-2048x909.png 2048w, https://cdn.clever-cloud.com/uploads/2026/12/2026-12-01-clever-cloud-banniere-blog-tarification-cellar-en-vf-1368x607.png 1368w" sizes="auto, (max-width: 2400px) 100vw, 2400px" /></p><!-- wp:paragraph -->
<p>This means a price cut of up to 50% on storage and up to 89% on egress.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Simpler, more competitive pricing</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>The new pricing applies to the standard infrastructure in the <a href="https://www.clever.cloud/infrastructure/">Paris and France North regions</a> (Roubaix and Gravelines).</p>
<!-- /wp:paragraph -->

<!-- wp:spacer {"height":"25px"} -->
<div style="height:25px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:html -->
<style>
  .cc-table-wrap {
    width: 100%;
    overflow-x: auto;
  }

  .cc-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 17px;
    font-family: "Plus Jakarta Sans", "PlusJakartaSans", -apple-system,
      BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: #111827;
  }

  .cc-table th,
  .cc-table td {
    padding: 12px 16px;
    text-align: left;
    vertical-align: top;
    line-height: 1.6;
    border-left: 1px solid #deddee;
  }

  .cc-table thead th {
    font-weight: 700;
    text-align: center;
  }

  .cc-table thead th:first-child,
  .cc-table tbody td.cc-label {
    border-left: none;
  }

  .cc-table tbody td {
    border-top: 1px solid #deddee;
  }

  .cc-table tbody td.cc-label {
    font-weight: 700;
  }

  .cc-table tbody td.cc-span {
    vertical-align: middle;
  }

  .cc-table thead th:nth-child(1) {
    width: 24%;
  }

  .cc-table thead th:nth-child(2) {
    width: 22%;
  }

  .cc-table thead th:nth-child(3) {
    width: 18%;
  }

  .cc-table thead th:nth-child(4) {
    width: 18%;
  }

  .cc-table thead th:nth-child(5) {
    width: 18%;
  }

  @media (max-width: 767px) {
    .cc-table {
      font-size: 15px;
    }

    .cc-table th,
    .cc-table td {
      padding: 10px 12px;
    }
  }
</style>

<div class="cc-table-wrap">
  <table class="cc-table">
    <thead>
      <tr>
        <th>Usage</th>
        <th>Current tier</th>
        <th>Previous price per TB excl. VAT</th>
        <th>New price per TB excl. VAT</th>
        <th>Change</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td class="cc-label cc-span" rowspan="3">Storage (TB/month)</td>
        <td>100 MB to 1 TB</td>
        <td>€20</td>
        <td class="cc-span" rowspan="3">€10</td>
        <td>−50%</td>
      </tr>
      <tr>
        <td>1 to 25 TB</td>
        <td>€15</td>
        <td>−33%</td>
      </tr>
      <tr>
        <td>Over 25 TB</td>
        <td>€10</td>
        <td>Unchanged</td>
      </tr>
      <tr>
        <td class="cc-label cc-span" rowspan="2">Egress (TB)</td>
        <td>Up to 10 TB</td>
        <td>€90</td>
        <td class="cc-span" rowspan="2">€10</td>
        <td>−89%</td>
      </tr>
      <tr>
        <td>Over 10 TB</td>
        <td>€70</td>
        <td>−86%</td>
      </tr>
    </tbody>
  </table>
</div>
<!-- /wp:html -->

<!-- wp:spacer {"height":"25px"} -->
<div style="height:25px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:paragraph -->
<p>In the France North region, a 25% surcharge applies to the <a href="https://www.clever.cloud/health-data-hosting/">infrastructure certified for Health Data Hosting (HDS)</a>, bringing the price to €12.50 excl. VAT per TB stored per month and €12.50 excl. VAT per TB of egress.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The way storage is billed is unchanged: it is based on the average volume stored over the month, and the first 100 MB remain free.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Lowering the cost of storage, but also of data access</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>The object storage market has changed considerably in recent years. With this new pricing, we want to make Cellar more competitive while helping our customers forecast their spending more accurately, whatever their usage volumes.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>This decision also builds on our commitments to reversibility and to fighting <a href="https://www.clever.cloud/clever-cloud-paas/interoperability/">cloud vendor lock-in</a>.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Back in 2024, Clever Cloud chose to <a href="https://www.clever.cloud/blog/company/2024/01/31/object-storage-data-free-of-charge/">remove egress fees for customers switching providers</a>. Customers who want to leave Cellar can therefore transfer their data without paying egress fees, simply by asking our teams. In doing so, we anticipated the provisions of the EU Data Act, which provides for the <a href="https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32023R2854#art_29">complete withdrawal of switching charges</a> from 12 January 2027.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>With this new pricing, we want to go beyond reversibility.</strong> Egress fees should not stand in the way of using data day to day either. Whether they are accessing their data, processing it on other infrastructure or using it in a multi-cloud environment, our customers should be able to do so without being penalised by disproportionate transfer costs.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That is why we have chosen to align the price of egress with that of storage, regardless of how the data is used.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">More accurate egress metering</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Alongside this pricing change, we have reviewed our egress metering system and identified a defect that caused some egress volumes to be underestimated. The fix takes effect on 1 December 2026.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>For the same usage, the egress volumes shown on your invoices may therefore be higher than those previously recorded. However, the impact of this correction should be more than offset by the price cut.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>No retroactive adjustment will be made: the corrected metering only applies to usage from 1 December 2026 onwards.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">New prices apply automatically</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>You do not need to do anything. The new pricing will apply automatically to all Cellar add-ons from 1 December 2026.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The new prices will first appear on your invoice issued in early January 2027, covering your December usage.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>To estimate your future spending, please <a href="https://www.clever.cloud/contact/">contact us</a>.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Cellar in France North (Roubaix and Gravelines): an upcoming change</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>You may already have noticed: Cellar can no longer be ordered in the France North region (Roubaix and Gravelines), on either the standard or the HDS infrastructure. Existing add-ons continue to work normally and benefit from the new pricing from 1 December.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>However, we are preparing to phase out the service in this region. Cellar runs on bare-metal servers with a very specific hardware profile. In today's very tight hardware market, suitable configurations are no longer offered in this region. Rather than keep running infrastructure that we could no longer renew and maintain properly, we are planning ahead.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>At the same time, we have continued to invest in our infrastructure in the Paris region. With the opening of <a href="https://www.clever.cloud/blog/company/2026/10/23/clever-cloud-five-availability-zones-paris/">two new availability zones</a> in October 2026, the Paris region now has five availability zones, making our infrastructure more distributed and more resilient.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Affected customers will have two options:</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul class="wp-block-list"><!-- wp:list-item -->
<li>Migrate to Cellar in the Paris region.</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>If their data must stay in this region, use OVHcloud's own S3-compatible object storage in Roubaix and Gravelines.</li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p>In both cases, our teams will help you make the transition as simple as possible, and you will not be charged for egress related to this migration.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The detailed timeline will be shared with you directly, early enough to give you time to get organised.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>We are continuing to invest in our infrastructure and to develop our services with one constant aim: to help our customers keep their costs under control, rely on resilient infrastructure and stay free to make their own technology choices.</p>
<!-- /wp:paragraph -->]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Scalability: definition, horizontal vs vertical scaling and how autoscaling works</title>
		<link>https://www.clever.cloud/blog/engineering/2026/11/17/scalability/</link>
		
		<dc:creator><![CDATA[Leo Le Levé Dandé]]></dc:creator>
		<pubDate>Tue, 17 Nov 2026 15:19:58 +0000</pubDate>
				<category><![CDATA[Engineering]]></category>
		<guid isPermaLink="false">https://www.clever.cloud/?p=25973</guid>

					<description><![CDATA[<p><img width="2400" height="1065" src="https://cdn.clever-cloud.com/uploads/2026/11/2026-11-17-clever-cloud-banniere-blog-scalabilite-en.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="2026.11.17 Clever Cloud Bannière Blog Scalabilité EN" decoding="async" loading="lazy" srcset="https://cdn.clever-cloud.com/uploads/2026/11/2026-11-17-clever-cloud-banniere-blog-scalabilite-en.png 2400w, https://cdn.clever-cloud.com/uploads/2026/11/2026-11-17-clever-cloud-banniere-blog-scalabilite-en-300x133.png 300w, https://cdn.clever-cloud.com/uploads/2026/11/2026-11-17-clever-cloud-banniere-blog-scalabilite-en-1024x454.png 1024w, https://cdn.clever-cloud.com/uploads/2026/11/2026-11-17-clever-cloud-banniere-blog-scalabilite-en-768x341.png 768w, https://cdn.clever-cloud.com/uploads/2026/11/2026-11-17-clever-cloud-banniere-blog-scalabilite-en-1536x682.png 1536w, https://cdn.clever-cloud.com/uploads/2026/11/2026-11-17-clever-cloud-banniere-blog-scalabilite-en-2048x909.png 2048w, https://cdn.clever-cloud.com/uploads/2026/11/2026-11-17-clever-cloud-banniere-blog-scalabilite-en-1368x607.png 1368w" sizes="auto, (max-width: 2400px) 100vw, 2400px" /></p><!-- wp:paragraph -->
<p>That is precisely what scalability measures: the ability of an IT system to handle a growing load (more users, requests or data) when it is given extra resources, without its performance degrading in proportion. Scalability plays out on two levels: the infrastructure supplies the resources, and the application has to be able to use them. A platform that scales automatically does not, on its own, make an application scalable.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">What is scalability in computing?</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>The word comes from the verb <em>to scale</em>: to change size or proportion. In practice, a system is scalable when you can multiply its capacity by adding resources, and the gain stays close to the effort you put in.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Take an API that tops out at 500 requests per second on two servers. With four servers, it should get close to 1,000. If it stalls at 600, a bottleneck is hiding somewhere else: a database, a lock, a shared file. Scalability is therefore measured under load, and always against a specific resource.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The word is also part of business vocabulary, where a "scalable" model grows its revenue faster than its costs. The two meanings often meet, because an online service can only take on new customers if its infrastructure keeps up. And making the infrastructure keep up brings us back to the two fixes from the start.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Horizontal vs vertical scaling: two ways to add capacity</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>These two fixes have names: vertical scaling and horizontal scaling.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>Vertical scaling</strong> (<em>scaling up</em>) gives more resources to the same machine: more vCPUs, more memory. It asks nothing of the application, which keeps running as a single copy. Its limit is therefore physical: the largest instance size your provider offers sets the ceiling.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>Horizontal scaling</strong> (<em>scaling out</em>) instead adds identical instances of the application, spread behind a load balancer. The ceiling moves much further away, but the price is paid in the code: every instance must be able to handle any request, which means storing state (sessions, files, caches) outside the instance.</p>
<!-- /wp:paragraph -->

<!-- wp:spacer {"height":"25px"} -->
<div style="height:25px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:html -->
<style>
  .cc-table-wrap {
    width: 100%;
    overflow-x: auto;
  }

  .cc-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 17px;
    font-family: "Plus Jakarta Sans", "PlusJakartaSans", -apple-system,
      BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: #111827;
  }

  .cc-table th,
  .cc-table td {
    padding: 12px 16px;
    text-align: left;
    vertical-align: top;
    line-height: 1.6;
  }

  .cc-table thead th {
    font-weight: 700;
    text-align: center;
  }

  .cc-table tbody td:first-child {
    font-weight: 700;
  }

  .cc-table tbody tr + tr td,
  .cc-table tbody tr:first-child td {
    border-top: 1px solid #deddee;
  }

  .cc-table th + th,
  .cc-table td + td {
    border-left: 1px solid #deddee;
  }

  .cc-table th:nth-child(1),
  .cc-table td:nth-child(1) {
    width: 30%;
  }

  .cc-table th:nth-child(2),
  .cc-table td:nth-child(2) {
    width: 35.00%;
  }

  .cc-table th:nth-child(3),
  .cc-table td:nth-child(3) {
    width: 35.00%;
  }

  @media (max-width: 767px) {
    .cc-table {
      font-size: 15px;
    }

    .cc-table th,
    .cc-table td {
      padding: 10px 12px;
    }
  }
</style>

<div class="cc-table-wrap">
  <table class="cc-table">
    <thead>
      <tr>
        <th>Criterion</th>
        <th>Vertical scaling (scale up)</th>
        <th>Horizontal scaling (scale out)</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td>Mechanism</td>
        <td>A larger instance replaces the previous one</td>
        <td>Identical instances are added in parallel</td>
      </tr>

      <tr>
        <td>Ceiling</td>
        <td>The largest instance size available</td>
        <td>The maximum number of instances, and above all the capacity of the dependencies</td>
      </tr>

      <tr>
        <td>Requirement on the application</td>
        <td>None</td>
        <td>No local state: the application must be able to run as several copies</td>
      </tr>

      <tr>
        <td>Effect on the database</td>
        <td>Same number of connections, but more queries to handle, unless a cache absorbs them</td>
        <td>One more connection pool per instance</td>
      </tr>

      <tr>
        <td>Availability</td>
        <td>A single instance remains a single point of failure</td>
        <td>If one instance fails, the others keep responding</td>
      </tr>

      <tr>
        <td>Typical use case</td>
        <td>Software that handles redundancy poorly, monolithic application</td>
        <td>APIs, stateless web applications, workers</td>
      </tr>
    </tbody>
  </table>
</div>
<!-- /wp:html -->

<!-- wp:spacer {"height":"20px"} -->
<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">How to choose between horizontal and vertical scaling</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>The nature of the application decides, and two questions help you settle it.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>First, can your application run as several copies? Some software handles redundancy poorly, because it synchronises internal state or writes to a local disk. Such software scales vertically, by design. If your application works with multiple instances, horizontal scaling is usually the simplest lever: you add workers that run in parallel.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Second, will your dependencies keep up? Each extra instance opens its own connections to the database. Ten instances with a pool of twenty connections each add up to two hundred simultaneous connections for the database. If it is not sized for that, adding instances moves the bottleneck without removing it, and you are back to the API stuck at 600 requests per second.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Bigger or more numerous machines add capacity. That capacity should still not be confused with two related notions.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Scalability, elasticity and high availability: three different notions</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>These three terms come up together in architecture discussions and are often confused, because they all deal with resources.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>Scalability</strong> tells you whether the system can handle more load when it is given more resources.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>Elasticity</strong> adds movement: resources follow demand, up and down, without human intervention. Autoscaling is what produces that movement. An application can therefore be scalable without being elastic, if every change in resources goes through a person.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>High availability</strong> answers a different question: whether the service holds up when a component fails. It relies on redundancy. Two instances deployed for availability do not necessarily add useful capacity, and a single instance, however large, remains a single point of failure.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Autoscaling is how a platform delivers elasticity. It belongs to the first level, the infrastructure.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Autoscaling: how a platform decides to scale</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Autoscaling adjusts an application's resources without human intervention, based on observed metrics. To do this, an autoscaler needs to know what to watch and at which threshold to react. The ranges within which it acts are yours to set.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Why CPU and memory are not treated alike</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>An autoscaler can watch two kinds of signals. Some measure resources: available memory or disk, or CPU, whose load is, strictly speaking, a cost drawn from a resource. Others describe the application's performance or health, such as the number of requests or connections, or response time. Autoscalers differ in the signals they track and in how they react to them.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>At Clever Cloud, our autoscaler watches CPU and memory, and does not treat them the same way. When CPU activity stays high for a sustained period, over a window of around one to two minutes, it scales up. When free memory drops below a threshold, it reacts immediately, without waiting for the situation to be confirmed. The difference comes from how serious each situation is. A saturated CPU slows the application down or makes it refuse new connections: your users feel it, but the application recovers on its own once the load falls. Running out of memory, on the other hand, can kill the process, or even corrupt data, and is far more costly to recover from.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>To scale down, the autoscaler follows the opposite logic: it waits for CPU load to stay low over a longer window before removing resources. <a href="https://www.clever.cloud/product/kubernetes/">Kubernetes</a> applies the same principle to its Horizontal Pod Autoscaler: <a href="https://github.com/kubernetes/enhancements/blob/master/keps/sig-autoscaling/853-configurable-hpa-scale-velocity/README.md">by default, it scales up without delay and waits five minutes before reducing the number of replicas</a>. Scaling up fast and down slowly stops an application from oscillating between two sizes with every passing spike.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Ranges: two settings and a spending cap</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>You do not set these thresholds. You set the ranges within which the platform acts. Each instance, which we call a Scaler, is an independent virtual machine defined by its CPU and memory. For horizontal scaling, you choose a minimum and maximum number of Scalers, up to 40. For vertical scaling, a minimum and maximum size, from pico to 3XL (16 vCPUs and 32 GiB of memory). You configure this in the Console or <a href="https://www.clever.cloud/developers/doc/tools/cli/applications/configuration/#scale-and-dedicated-build">from the command line</a>:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>clever scale --min-instances 2 --max-instances 6
clever scale --min-flavor S --max-flavor XL</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>When both ranges are set, the platform favours vertical scaling: it first enlarges the running Scalers, then adds more once the maximum size is reached. With sizes from S to L and 2 to 4 Scalers, scaling up therefore follows the order <code>2-S =&gt; 2-M =&gt; 2-L =&gt; 3-L =&gt; 4-L</code>, in line with the rule described in <a href="https://www.clever.cloud/developers/doc/manage/scaling/">our documentation</a>.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>These ranges also act as a spending cap. <a href="https://www.clever.cloud/pricing/">Billing</a> is based on instance size and running time, per second: the maximum therefore sets the highest possible spend for the application. Finally, be careful with the smallest sizes: pico and nano run with a lower CPU priority on the host. If your application is sensitive to latency, choose a larger minimum size.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">What happens during scaling: no build, a boot, a switchover</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Once the decision is made, adding a Scaler does not rerun the build. We reuse the build cache and start a virtual machine of the required size, which takes a few seconds. On top of that comes your application's own start-up time: a JVM loading a large context takes longer than a Go binary.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Vertical scaling, for its part, replaces one instance with another and follows the same path as a redeployment. The new instance starts, and we check that it responds: on port 8080, then on the paths declared in <a href="https://www.clever.cloud/developers/doc/manage/healthcheck/"><code>CC_HEALTH_CHECK_PATH</code></a> if you have configured any. Only then does Sōzu, our load balancer written in Rust, send it new traffic. Connections still open on the old instance get a grace period to finish, then the old instance shuts down. During this overlap, two instances run, but only one receives new requests.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>This overlap is the default behaviour, controlled by the "Zero downtime deployment" option in the Console, <code>zero-downtime</code> on the command line. If you disable it (<code>clever config update --disable-zero-downtime</code>), the old instance stops before the new one starts, and scaling then causes an interruption. Cases that justify this setting are rare, apart from an application that genuinely cannot run as two copies, even briefly.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>For a rise in CPU load, expect a few minutes between the start of the spike and the new capacity taking traffic. All of this belongs to the first level, which the platform handles on its own. The second level, the application, is down to you.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">What stops an application from scaling</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Adding ten instances achieves nothing if the application keeps its state locally: at best, the new instances sit underused; at worst, they return inconsistent results. Before enabling autoscaling, four points are worth checking.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Sessions stored in local memory</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>A user logs in on instance A, their next request lands on instance B, which does not know them, and they are logged out. The fix is to store sessions in a shared service, typically <a href="https://www.clever.cloud/product/redis/">a key-value database</a>. If your application keeps its sessions in memory and you cannot change it right away, enable <em>sticky sessions</em> with <code>clever config update --enable-sticky-sessions</code>. The load balancer will then always send the same user to the same instance. This workaround lets an application that was not designed for it run as several copies, at the cost of a less even distribution of requests. If your application does not need them, leave them disabled.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Files written to the local disk</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Files raise the same problem as sessions. A file uploaded to one instance does not exist on the others, and disappears when the instance is replaced. Persistent files therefore belong in <a href="https://www.clever.cloud/product/cellar-object-storage/">object storage</a> or a <a href="https://www.clever.cloud/product/file-system-buckets/">shared file system</a>.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Database connections</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Instances do share the database, however, and each one adds its own connection pool: that is the two-hundred-connection calculation from earlier. Size the database accordingly, or put a connection manager in front of it, such as <a href="https://www.clever.cloud/developers/guides/databases/pgpool/">Pgpool-II</a> for <a href="https://www.clever.cloud/product/postgresql/">PostgreSQL</a> or <a href="https://www.clever.cloud/developers/guides/databases/proxysql/">ProxySQL</a> for <a href="https://www.clever.cloud/product/mysql/">MySQL</a>.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">The database itself</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>That leaves the database itself. Relational databases such as PostgreSQL or MySQL do not suit the kind of autoscaling that applications get: replacing a live database means keeping its data in exact sync with its replacement, and some engines keep memory allocated even when they no longer use it, which skews the reading of their load. On Clever Cloud, autoscaling therefore applies to applications, not to managed databases. Distributed stores follow a different logic: <a href="https://www.clever.cloud/materia/materia-kv/">Materia KV</a>, built on FoundationDB and replicated across three data centres, runs on a cluster sized for a whole region and designed to scale horizontally.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>These four points stem from the same principle, formalised by the <a href="https://www.clever.cloud/developers/doc/develop/12-factors/">Twelve-Factor</a> methodology: stateless processes that share nothing with each other, and capacity that grows by adding processes. An application that follows it is well suited to horizontal scaling. Even so, it cannot rely on autoscaling for everything, since autoscaling reacts to load rather than anticipating it.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">What autoscaling absorbs, and what it does not</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Autoscaling absorbs the variations that are part of your application's life cycle: the morning ramp-up on a business tool, the lunchtime peak on a food delivery service, the month-end close on an accounting application. These variations repeat and can be observed, and you can adjust the ranges as you test.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>It does not absorb shocks, however. An application that goes from a few hundred to hundreds of thousands of requests in a few seconds, because a TV news programme has just mentioned it, saturates before the detection window is over. Such events can be anticipated: if you know the date, raise the minimum number of instances before the event rather than waiting for the autoscaler to react, and put a cache in front of the application (Varnish for HTTP, Redis at application level) to take load off the application and its database. Clément Nivolle, co-founder of Clever Cloud, describes how we <a href="https://www.clever.cloud/blog/company/2022/01/20/managing-site-traffic-for-a-tv-show-but-in-24-hours/">got BioDemain's website ready in 24 hours for an appearance on the French TV channel M6</a>, with Redis for sessions, ProxySQL for MySQL connections and Varnish as an option.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Conversely, a maximum set too high can hide a problem. A memory leak will trigger successive scale-ups until the maximum is reached, and the bill will follow. On Clever Cloud, the Console shows how the number of instances changes, and each application has a <a href="https://www.clever.cloud/clever-cloud-paas/cloud-observability/">Grafana dashboard</a> that collects CPU, RAM and requests per second with no configuration, with threshold alerts. An autoscaler that regularly hits its maximum points either to a range set too low or to an application that consumes more than it should.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Either way, the safest approach is to know your application's limits before a spike reveals them.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Testing how your application scales before you need it</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>That is the purpose of load testing: it sends a controlled, increasing load to the application, then observes how it responds in terms of response times, error rate and scaling triggers. You find out at what load the application degrades, whether the autoscaler reacts at the right time and which component gives way first. That component is your next piece of work, and it is not always the application, as with the API stuck at 600 requests per second.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Run the <a href="https://www.clever.cloud/developers/doc/develop/load-testing/">load test</a> on an environment that mirrors production, scaling ranges included, and play out two scenarios. A gradual ramp-up checks how the autoscaler behaves. A sudden surge measures what the application can absorb before the new capacity arrives.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>These tests apply whatever scales your application, a managed platform or Kubernetes. The difference between the two lies elsewhere.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Autoscaling on a managed platform or on Kubernetes</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Kubernetes comes with its own tooling. The Horizontal Pod Autoscaler adjusts the number of replicas in a Deployment. The Vertical Pod Autoscaler adjusts the resources requested by pods. The Cluster Autoscaler adds nodes when pods no longer fit, and removes them when part of the cluster stays idle. You choose the metrics, write the policies, tune the stabilisation windows and make sure the three mechanisms stay consistent with each other: <a href="https://github.com/kubernetes/autoscaler/tree/master/vertical-pod-autoscaler#known-limitations">the Vertical Pod Autoscaler documentation</a>, for example, advises against combining it with the Horizontal Pod Autoscaler on the same CPU or memory metric.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>On a managed platform, by contrast, the platform makes those choices: you set ranges, it decides when to act and manages the capacity of the underlying machines. Scaling then sits within the same <a href="https://www.clever.cloud/automated-and-flexible-deployment/">automated deployment pipeline</a> as your releases to production.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The difference therefore lies in the operating model: the managed platform takes on the operation of scaling, Kubernetes gives you control over it. Both run demanding production workloads, and the choice depends on what your team wants to operate itself. If you are unsure, these <a href="https://www.clever.cloud/blog/features/2026/07/24/managed-kubernetes-benefits-limitations-and-selection-criteria/">criteria for choosing a managed Kubernetes service</a> can help you decide.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Is your application scalable?</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Back to the two fixes from the start: a bigger machine or more machines only help an application that can make use of them. An application is scalable when three conditions hold together: it runs as several copies without local state, its dependencies (the database first among them) keep up with rising load, and a load test has confirmed it. Autoscaling then automates capacity that already exists. It does not create it. If you do not know which of these three conditions gives way first in your case, start there, with a simple question: what load brings your application down today?</p>
<!-- /wp:paragraph -->

<!-- wp:spacer {"height":"50px"} -->
<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:heading {"style":{"typography":{"textAlign":"center"}}} -->
<h2 class="wp-block-heading has-text-align-center">Q&amp;A - Scalability</h2>
<!-- /wp:heading -->

<!-- wp:html -->
<div style="height: 1px; background-color: #DEDDEE; margin: 30px auto; width: 100%;"></div>
<!-- /wp:html -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">What does scalable mean?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>A system is scalable when it can change scale: serve ten times more users when it is given more resources, without being rewritten and without its performance collapsing.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">What is the difference between scale up and scale out?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Scaling up, or vertical scaling, enlarges an existing instance. Scaling out, or horizontal scaling, adds instances in parallel. The first asks nothing of the code but runs into the maximum size of a machine. The second pushes that ceiling back, provided the application keeps no local state.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">What are the disadvantages of horizontal scaling?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Horizontal scaling asks more of the application and of its dependencies. Every instance must be able to handle any request, so sessions, uploaded files and caches have to live outside the instance, in a shared service. Each extra instance also opens its own database connections: ten instances with a pool of twenty connections each mean two hundred simultaneous connections, which the database has to be sized for. If it is not, adding instances moves the bottleneck instead of removing it.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">What triggers autoscaling?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>An autoscaler reacts to observed metrics. On Clever Cloud, it watches CPU and memory: CPU activity that stays high for a sustained period, over a window of around one to two minutes, triggers a scale-up, and free memory dropping below a threshold triggers an immediate reaction. Scaling down waits for CPU load to stay low over a longer window. You do not set these thresholds. You set the ranges, in number and size of Scalers, within which the platform acts. Other autoscalers, such as the Kubernetes Horizontal Pod Autoscaler, can also react to application metrics, for example the number of requests.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Does autoscaling reduce costs?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>It saves you from paying for the peak all the time: resources follow the load, up and down. The saving depends on the gap between your average load and your peak load. An application with a constant load gains nothing, while an application with marked variations gains more. The maximum caps the spend.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Do databases scale automatically?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Not traditional relational databases such as PostgreSQL or MySQL. Replacing a live database means handing its exact state over to its replacement, and some engines keep memory allocated even when they no longer use it, which skews the reading of their load. They are sized manually and placed behind a connection manager. Distributed stores, designed as clusters, scale horizontally by design.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">What is a scalable product or business model?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>In business terms, a scalable model grows its revenue faster than its costs, like subscription software where each new customer costs little to serve. Technical scalability is one of its conditions: without infrastructure that can keep up, commercial growth runs into technical limits.</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "What does scalable mean?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "A system is scalable when it can change scale: serve ten times more users when it is given more resources, without being rewritten and without its performance collapsing."
      }
    },
    {
      "@type": "Question",
      "name": "What is the difference between scale up and scale out?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Scaling up, or vertical scaling, enlarges an existing instance. Scaling out, or horizontal scaling, adds instances in parallel. The first asks nothing of the code but runs into the maximum size of a machine. The second pushes that ceiling back, provided the application keeps no local state."
      }
    },
    {
      "@type": "Question",
      "name": "What are the disadvantages of horizontal scaling?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Horizontal scaling asks more of the application and of its dependencies. Every instance must be able to handle any request, so sessions, uploaded files and caches have to live outside the instance, in a shared service. Each extra instance also opens its own database connections: ten instances with a pool of twenty connections each mean two hundred simultaneous connections, which the database has to be sized for. If it is not, adding instances moves the bottleneck instead of removing it."
      }
    },
    {
      "@type": "Question",
      "name": "What triggers autoscaling?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "An autoscaler reacts to observed metrics. On Clever Cloud, it watches CPU and memory: CPU activity that stays high for a sustained period, over a window of around one to two minutes, triggers a scale-up, and free memory dropping below a threshold triggers an immediate reaction. Scaling down waits for CPU load to stay low over a longer window. You do not set these thresholds. You set the ranges, in number and size of Scalers, within which the platform acts. Other autoscalers, such as the Kubernetes Horizontal Pod Autoscaler, can also react to application metrics, for example the number of requests."
      }
    },
    {
      "@type": "Question",
      "name": "Does autoscaling reduce costs?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "It saves you from paying for the peak all the time: resources follow the load, up and down. The saving depends on the gap between your average load and your peak load. An application with a constant load gains nothing, while an application with marked variations gains more. The maximum caps the spend."
      }
    },
    {
      "@type": "Question",
      "name": "Do databases scale automatically?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Not traditional relational databases such as PostgreSQL or MySQL. Replacing a live database means handing its exact state over to its replacement, and some engines keep memory allocated even when they no longer use it, which skews the reading of their load. They are sized manually and placed behind a connection manager. Distributed stores, designed as clusters, scale horizontally by design."
      }
    },
    {
      "@type": "Question",
      "name": "What is a scalable product or business model?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "In business terms, a scalable model grows its revenue faster than its costs, like subscription software where each new customer costs little to serve. Technical scalability is one of its conditions: without infrastructure that can keep up, commercial growth runs into technical limits."
      }
    }
  ]
}
</script>
<!-- /wp:html -->]]></description>
										<content:encoded><![CDATA[<p><img width="2400" height="1065" src="https://cdn.clever-cloud.com/uploads/2026/11/2026-11-17-clever-cloud-banniere-blog-scalabilite-en.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="2026.11.17 Clever Cloud Bannière Blog Scalabilité EN" decoding="async" loading="lazy" srcset="https://cdn.clever-cloud.com/uploads/2026/11/2026-11-17-clever-cloud-banniere-blog-scalabilite-en.png 2400w, https://cdn.clever-cloud.com/uploads/2026/11/2026-11-17-clever-cloud-banniere-blog-scalabilite-en-300x133.png 300w, https://cdn.clever-cloud.com/uploads/2026/11/2026-11-17-clever-cloud-banniere-blog-scalabilite-en-1024x454.png 1024w, https://cdn.clever-cloud.com/uploads/2026/11/2026-11-17-clever-cloud-banniere-blog-scalabilite-en-768x341.png 768w, https://cdn.clever-cloud.com/uploads/2026/11/2026-11-17-clever-cloud-banniere-blog-scalabilite-en-1536x682.png 1536w, https://cdn.clever-cloud.com/uploads/2026/11/2026-11-17-clever-cloud-banniere-blog-scalabilite-en-2048x909.png 2048w, https://cdn.clever-cloud.com/uploads/2026/11/2026-11-17-clever-cloud-banniere-blog-scalabilite-en-1368x607.png 1368w" sizes="auto, (max-width: 2400px) 100vw, 2400px" /></p><!-- wp:paragraph -->
<p>That is precisely what scalability measures: the ability of an IT system to handle a growing load (more users, requests or data) when it is given extra resources, without its performance degrading in proportion. Scalability plays out on two levels: the infrastructure supplies the resources, and the application has to be able to use them. A platform that scales automatically does not, on its own, make an application scalable.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">What is scalability in computing?</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>The word comes from the verb <em>to scale</em>: to change size or proportion. In practice, a system is scalable when you can multiply its capacity by adding resources, and the gain stays close to the effort you put in.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Take an API that tops out at 500 requests per second on two servers. With four servers, it should get close to 1,000. If it stalls at 600, a bottleneck is hiding somewhere else: a database, a lock, a shared file. Scalability is therefore measured under load, and always against a specific resource.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The word is also part of business vocabulary, where a "scalable" model grows its revenue faster than its costs. The two meanings often meet, because an online service can only take on new customers if its infrastructure keeps up. And making the infrastructure keep up brings us back to the two fixes from the start.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Horizontal vs vertical scaling: two ways to add capacity</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>These two fixes have names: vertical scaling and horizontal scaling.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>Vertical scaling</strong> (<em>scaling up</em>) gives more resources to the same machine: more vCPUs, more memory. It asks nothing of the application, which keeps running as a single copy. Its limit is therefore physical: the largest instance size your provider offers sets the ceiling.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>Horizontal scaling</strong> (<em>scaling out</em>) instead adds identical instances of the application, spread behind a load balancer. The ceiling moves much further away, but the price is paid in the code: every instance must be able to handle any request, which means storing state (sessions, files, caches) outside the instance.</p>
<!-- /wp:paragraph -->

<!-- wp:spacer {"height":"25px"} -->
<div style="height:25px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:html -->
<style>
  .cc-table-wrap {
    width: 100%;
    overflow-x: auto;
  }

  .cc-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 17px;
    font-family: "Plus Jakarta Sans", "PlusJakartaSans", -apple-system,
      BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: #111827;
  }

  .cc-table th,
  .cc-table td {
    padding: 12px 16px;
    text-align: left;
    vertical-align: top;
    line-height: 1.6;
  }

  .cc-table thead th {
    font-weight: 700;
    text-align: center;
  }

  .cc-table tbody td:first-child {
    font-weight: 700;
  }

  .cc-table tbody tr + tr td,
  .cc-table tbody tr:first-child td {
    border-top: 1px solid #deddee;
  }

  .cc-table th + th,
  .cc-table td + td {
    border-left: 1px solid #deddee;
  }

  .cc-table th:nth-child(1),
  .cc-table td:nth-child(1) {
    width: 30%;
  }

  .cc-table th:nth-child(2),
  .cc-table td:nth-child(2) {
    width: 35.00%;
  }

  .cc-table th:nth-child(3),
  .cc-table td:nth-child(3) {
    width: 35.00%;
  }

  @media (max-width: 767px) {
    .cc-table {
      font-size: 15px;
    }

    .cc-table th,
    .cc-table td {
      padding: 10px 12px;
    }
  }
</style>

<div class="cc-table-wrap">
  <table class="cc-table">
    <thead>
      <tr>
        <th>Criterion</th>
        <th>Vertical scaling (scale up)</th>
        <th>Horizontal scaling (scale out)</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td>Mechanism</td>
        <td>A larger instance replaces the previous one</td>
        <td>Identical instances are added in parallel</td>
      </tr>

      <tr>
        <td>Ceiling</td>
        <td>The largest instance size available</td>
        <td>The maximum number of instances, and above all the capacity of the dependencies</td>
      </tr>

      <tr>
        <td>Requirement on the application</td>
        <td>None</td>
        <td>No local state: the application must be able to run as several copies</td>
      </tr>

      <tr>
        <td>Effect on the database</td>
        <td>Same number of connections, but more queries to handle, unless a cache absorbs them</td>
        <td>One more connection pool per instance</td>
      </tr>

      <tr>
        <td>Availability</td>
        <td>A single instance remains a single point of failure</td>
        <td>If one instance fails, the others keep responding</td>
      </tr>

      <tr>
        <td>Typical use case</td>
        <td>Software that handles redundancy poorly, monolithic application</td>
        <td>APIs, stateless web applications, workers</td>
      </tr>
    </tbody>
  </table>
</div>
<!-- /wp:html -->

<!-- wp:spacer {"height":"20px"} -->
<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">How to choose between horizontal and vertical scaling</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>The nature of the application decides, and two questions help you settle it.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>First, can your application run as several copies? Some software handles redundancy poorly, because it synchronises internal state or writes to a local disk. Such software scales vertically, by design. If your application works with multiple instances, horizontal scaling is usually the simplest lever: you add workers that run in parallel.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Second, will your dependencies keep up? Each extra instance opens its own connections to the database. Ten instances with a pool of twenty connections each add up to two hundred simultaneous connections for the database. If it is not sized for that, adding instances moves the bottleneck without removing it, and you are back to the API stuck at 600 requests per second.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Bigger or more numerous machines add capacity. That capacity should still not be confused with two related notions.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Scalability, elasticity and high availability: three different notions</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>These three terms come up together in architecture discussions and are often confused, because they all deal with resources.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>Scalability</strong> tells you whether the system can handle more load when it is given more resources.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>Elasticity</strong> adds movement: resources follow demand, up and down, without human intervention. Autoscaling is what produces that movement. An application can therefore be scalable without being elastic, if every change in resources goes through a person.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>High availability</strong> answers a different question: whether the service holds up when a component fails. It relies on redundancy. Two instances deployed for availability do not necessarily add useful capacity, and a single instance, however large, remains a single point of failure.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Autoscaling is how a platform delivers elasticity. It belongs to the first level, the infrastructure.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Autoscaling: how a platform decides to scale</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Autoscaling adjusts an application's resources without human intervention, based on observed metrics. To do this, an autoscaler needs to know what to watch and at which threshold to react. The ranges within which it acts are yours to set.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Why CPU and memory are not treated alike</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>An autoscaler can watch two kinds of signals. Some measure resources: available memory or disk, or CPU, whose load is, strictly speaking, a cost drawn from a resource. Others describe the application's performance or health, such as the number of requests or connections, or response time. Autoscalers differ in the signals they track and in how they react to them.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>At Clever Cloud, our autoscaler watches CPU and memory, and does not treat them the same way. When CPU activity stays high for a sustained period, over a window of around one to two minutes, it scales up. When free memory drops below a threshold, it reacts immediately, without waiting for the situation to be confirmed. The difference comes from how serious each situation is. A saturated CPU slows the application down or makes it refuse new connections: your users feel it, but the application recovers on its own once the load falls. Running out of memory, on the other hand, can kill the process, or even corrupt data, and is far more costly to recover from.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>To scale down, the autoscaler follows the opposite logic: it waits for CPU load to stay low over a longer window before removing resources. <a href="https://www.clever.cloud/product/kubernetes/">Kubernetes</a> applies the same principle to its Horizontal Pod Autoscaler: <a href="https://github.com/kubernetes/enhancements/blob/master/keps/sig-autoscaling/853-configurable-hpa-scale-velocity/README.md">by default, it scales up without delay and waits five minutes before reducing the number of replicas</a>. Scaling up fast and down slowly stops an application from oscillating between two sizes with every passing spike.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Ranges: two settings and a spending cap</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>You do not set these thresholds. You set the ranges within which the platform acts. Each instance, which we call a Scaler, is an independent virtual machine defined by its CPU and memory. For horizontal scaling, you choose a minimum and maximum number of Scalers, up to 40. For vertical scaling, a minimum and maximum size, from pico to 3XL (16 vCPUs and 32 GiB of memory). You configure this in the Console or <a href="https://www.clever.cloud/developers/doc/tools/cli/applications/configuration/#scale-and-dedicated-build">from the command line</a>:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>clever scale --min-instances 2 --max-instances 6
clever scale --min-flavor S --max-flavor XL</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>When both ranges are set, the platform favours vertical scaling: it first enlarges the running Scalers, then adds more once the maximum size is reached. With sizes from S to L and 2 to 4 Scalers, scaling up therefore follows the order <code>2-S =&gt; 2-M =&gt; 2-L =&gt; 3-L =&gt; 4-L</code>, in line with the rule described in <a href="https://www.clever.cloud/developers/doc/manage/scaling/">our documentation</a>.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>These ranges also act as a spending cap. <a href="https://www.clever.cloud/pricing/">Billing</a> is based on instance size and running time, per second: the maximum therefore sets the highest possible spend for the application. Finally, be careful with the smallest sizes: pico and nano run with a lower CPU priority on the host. If your application is sensitive to latency, choose a larger minimum size.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">What happens during scaling: no build, a boot, a switchover</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Once the decision is made, adding a Scaler does not rerun the build. We reuse the build cache and start a virtual machine of the required size, which takes a few seconds. On top of that comes your application's own start-up time: a JVM loading a large context takes longer than a Go binary.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Vertical scaling, for its part, replaces one instance with another and follows the same path as a redeployment. The new instance starts, and we check that it responds: on port 8080, then on the paths declared in <a href="https://www.clever.cloud/developers/doc/manage/healthcheck/"><code>CC_HEALTH_CHECK_PATH</code></a> if you have configured any. Only then does Sōzu, our load balancer written in Rust, send it new traffic. Connections still open on the old instance get a grace period to finish, then the old instance shuts down. During this overlap, two instances run, but only one receives new requests.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>This overlap is the default behaviour, controlled by the "Zero downtime deployment" option in the Console, <code>zero-downtime</code> on the command line. If you disable it (<code>clever config update --disable-zero-downtime</code>), the old instance stops before the new one starts, and scaling then causes an interruption. Cases that justify this setting are rare, apart from an application that genuinely cannot run as two copies, even briefly.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>For a rise in CPU load, expect a few minutes between the start of the spike and the new capacity taking traffic. All of this belongs to the first level, which the platform handles on its own. The second level, the application, is down to you.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">What stops an application from scaling</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Adding ten instances achieves nothing if the application keeps its state locally: at best, the new instances sit underused; at worst, they return inconsistent results. Before enabling autoscaling, four points are worth checking.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Sessions stored in local memory</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>A user logs in on instance A, their next request lands on instance B, which does not know them, and they are logged out. The fix is to store sessions in a shared service, typically <a href="https://www.clever.cloud/product/redis/">a key-value database</a>. If your application keeps its sessions in memory and you cannot change it right away, enable <em>sticky sessions</em> with <code>clever config update --enable-sticky-sessions</code>. The load balancer will then always send the same user to the same instance. This workaround lets an application that was not designed for it run as several copies, at the cost of a less even distribution of requests. If your application does not need them, leave them disabled.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Files written to the local disk</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Files raise the same problem as sessions. A file uploaded to one instance does not exist on the others, and disappears when the instance is replaced. Persistent files therefore belong in <a href="https://www.clever.cloud/product/cellar-object-storage/">object storage</a> or a <a href="https://www.clever.cloud/product/file-system-buckets/">shared file system</a>.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Database connections</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Instances do share the database, however, and each one adds its own connection pool: that is the two-hundred-connection calculation from earlier. Size the database accordingly, or put a connection manager in front of it, such as <a href="https://www.clever.cloud/developers/guides/databases/pgpool/">Pgpool-II</a> for <a href="https://www.clever.cloud/product/postgresql/">PostgreSQL</a> or <a href="https://www.clever.cloud/developers/guides/databases/proxysql/">ProxySQL</a> for <a href="https://www.clever.cloud/product/mysql/">MySQL</a>.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">The database itself</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>That leaves the database itself. Relational databases such as PostgreSQL or MySQL do not suit the kind of autoscaling that applications get: replacing a live database means keeping its data in exact sync with its replacement, and some engines keep memory allocated even when they no longer use it, which skews the reading of their load. On Clever Cloud, autoscaling therefore applies to applications, not to managed databases. Distributed stores follow a different logic: <a href="https://www.clever.cloud/materia/materia-kv/">Materia KV</a>, built on FoundationDB and replicated across three data centres, runs on a cluster sized for a whole region and designed to scale horizontally.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>These four points stem from the same principle, formalised by the <a href="https://www.clever.cloud/developers/doc/develop/12-factors/">Twelve-Factor</a> methodology: stateless processes that share nothing with each other, and capacity that grows by adding processes. An application that follows it is well suited to horizontal scaling. Even so, it cannot rely on autoscaling for everything, since autoscaling reacts to load rather than anticipating it.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">What autoscaling absorbs, and what it does not</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Autoscaling absorbs the variations that are part of your application's life cycle: the morning ramp-up on a business tool, the lunchtime peak on a food delivery service, the month-end close on an accounting application. These variations repeat and can be observed, and you can adjust the ranges as you test.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>It does not absorb shocks, however. An application that goes from a few hundred to hundreds of thousands of requests in a few seconds, because a TV news programme has just mentioned it, saturates before the detection window is over. Such events can be anticipated: if you know the date, raise the minimum number of instances before the event rather than waiting for the autoscaler to react, and put a cache in front of the application (Varnish for HTTP, Redis at application level) to take load off the application and its database. Clément Nivolle, co-founder of Clever Cloud, describes how we <a href="https://www.clever.cloud/blog/company/2022/01/20/managing-site-traffic-for-a-tv-show-but-in-24-hours/">got BioDemain's website ready in 24 hours for an appearance on the French TV channel M6</a>, with Redis for sessions, ProxySQL for MySQL connections and Varnish as an option.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Conversely, a maximum set too high can hide a problem. A memory leak will trigger successive scale-ups until the maximum is reached, and the bill will follow. On Clever Cloud, the Console shows how the number of instances changes, and each application has a <a href="https://www.clever.cloud/clever-cloud-paas/cloud-observability/">Grafana dashboard</a> that collects CPU, RAM and requests per second with no configuration, with threshold alerts. An autoscaler that regularly hits its maximum points either to a range set too low or to an application that consumes more than it should.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Either way, the safest approach is to know your application's limits before a spike reveals them.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Testing how your application scales before you need it</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>That is the purpose of load testing: it sends a controlled, increasing load to the application, then observes how it responds in terms of response times, error rate and scaling triggers. You find out at what load the application degrades, whether the autoscaler reacts at the right time and which component gives way first. That component is your next piece of work, and it is not always the application, as with the API stuck at 600 requests per second.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Run the <a href="https://www.clever.cloud/developers/doc/develop/load-testing/">load test</a> on an environment that mirrors production, scaling ranges included, and play out two scenarios. A gradual ramp-up checks how the autoscaler behaves. A sudden surge measures what the application can absorb before the new capacity arrives.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>These tests apply whatever scales your application, a managed platform or Kubernetes. The difference between the two lies elsewhere.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Autoscaling on a managed platform or on Kubernetes</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Kubernetes comes with its own tooling. The Horizontal Pod Autoscaler adjusts the number of replicas in a Deployment. The Vertical Pod Autoscaler adjusts the resources requested by pods. The Cluster Autoscaler adds nodes when pods no longer fit, and removes them when part of the cluster stays idle. You choose the metrics, write the policies, tune the stabilisation windows and make sure the three mechanisms stay consistent with each other: <a href="https://github.com/kubernetes/autoscaler/tree/master/vertical-pod-autoscaler#known-limitations">the Vertical Pod Autoscaler documentation</a>, for example, advises against combining it with the Horizontal Pod Autoscaler on the same CPU or memory metric.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>On a managed platform, by contrast, the platform makes those choices: you set ranges, it decides when to act and manages the capacity of the underlying machines. Scaling then sits within the same <a href="https://www.clever.cloud/automated-and-flexible-deployment/">automated deployment pipeline</a> as your releases to production.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The difference therefore lies in the operating model: the managed platform takes on the operation of scaling, Kubernetes gives you control over it. Both run demanding production workloads, and the choice depends on what your team wants to operate itself. If you are unsure, these <a href="https://www.clever.cloud/blog/features/2026/07/24/managed-kubernetes-benefits-limitations-and-selection-criteria/">criteria for choosing a managed Kubernetes service</a> can help you decide.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Is your application scalable?</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Back to the two fixes from the start: a bigger machine or more machines only help an application that can make use of them. An application is scalable when three conditions hold together: it runs as several copies without local state, its dependencies (the database first among them) keep up with rising load, and a load test has confirmed it. Autoscaling then automates capacity that already exists. It does not create it. If you do not know which of these three conditions gives way first in your case, start there, with a simple question: what load brings your application down today?</p>
<!-- /wp:paragraph -->

<!-- wp:spacer {"height":"50px"} -->
<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:heading {"style":{"typography":{"textAlign":"center"}}} -->
<h2 class="wp-block-heading has-text-align-center">Q&amp;A - Scalability</h2>
<!-- /wp:heading -->

<!-- wp:html -->
<div style="height: 1px; background-color: #DEDDEE; margin: 30px auto; width: 100%;"></div>
<!-- /wp:html -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">What does scalable mean?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>A system is scalable when it can change scale: serve ten times more users when it is given more resources, without being rewritten and without its performance collapsing.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">What is the difference between scale up and scale out?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Scaling up, or vertical scaling, enlarges an existing instance. Scaling out, or horizontal scaling, adds instances in parallel. The first asks nothing of the code but runs into the maximum size of a machine. The second pushes that ceiling back, provided the application keeps no local state.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">What are the disadvantages of horizontal scaling?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Horizontal scaling asks more of the application and of its dependencies. Every instance must be able to handle any request, so sessions, uploaded files and caches have to live outside the instance, in a shared service. Each extra instance also opens its own database connections: ten instances with a pool of twenty connections each mean two hundred simultaneous connections, which the database has to be sized for. If it is not, adding instances moves the bottleneck instead of removing it.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">What triggers autoscaling?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>An autoscaler reacts to observed metrics. On Clever Cloud, it watches CPU and memory: CPU activity that stays high for a sustained period, over a window of around one to two minutes, triggers a scale-up, and free memory dropping below a threshold triggers an immediate reaction. Scaling down waits for CPU load to stay low over a longer window. You do not set these thresholds. You set the ranges, in number and size of Scalers, within which the platform acts. Other autoscalers, such as the Kubernetes Horizontal Pod Autoscaler, can also react to application metrics, for example the number of requests.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Does autoscaling reduce costs?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>It saves you from paying for the peak all the time: resources follow the load, up and down. The saving depends on the gap between your average load and your peak load. An application with a constant load gains nothing, while an application with marked variations gains more. The maximum caps the spend.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Do databases scale automatically?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Not traditional relational databases such as PostgreSQL or MySQL. Replacing a live database means handing its exact state over to its replacement, and some engines keep memory allocated even when they no longer use it, which skews the reading of their load. They are sized manually and placed behind a connection manager. Distributed stores, designed as clusters, scale horizontally by design.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">What is a scalable product or business model?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>In business terms, a scalable model grows its revenue faster than its costs, like subscription software where each new customer costs little to serve. Technical scalability is one of its conditions: without infrastructure that can keep up, commercial growth runs into technical limits.</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "What does scalable mean?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "A system is scalable when it can change scale: serve ten times more users when it is given more resources, without being rewritten and without its performance collapsing."
      }
    },
    {
      "@type": "Question",
      "name": "What is the difference between scale up and scale out?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Scaling up, or vertical scaling, enlarges an existing instance. Scaling out, or horizontal scaling, adds instances in parallel. The first asks nothing of the code but runs into the maximum size of a machine. The second pushes that ceiling back, provided the application keeps no local state."
      }
    },
    {
      "@type": "Question",
      "name": "What are the disadvantages of horizontal scaling?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Horizontal scaling asks more of the application and of its dependencies. Every instance must be able to handle any request, so sessions, uploaded files and caches have to live outside the instance, in a shared service. Each extra instance also opens its own database connections: ten instances with a pool of twenty connections each mean two hundred simultaneous connections, which the database has to be sized for. If it is not, adding instances moves the bottleneck instead of removing it."
      }
    },
    {
      "@type": "Question",
      "name": "What triggers autoscaling?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "An autoscaler reacts to observed metrics. On Clever Cloud, it watches CPU and memory: CPU activity that stays high for a sustained period, over a window of around one to two minutes, triggers a scale-up, and free memory dropping below a threshold triggers an immediate reaction. Scaling down waits for CPU load to stay low over a longer window. You do not set these thresholds. You set the ranges, in number and size of Scalers, within which the platform acts. Other autoscalers, such as the Kubernetes Horizontal Pod Autoscaler, can also react to application metrics, for example the number of requests."
      }
    },
    {
      "@type": "Question",
      "name": "Does autoscaling reduce costs?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "It saves you from paying for the peak all the time: resources follow the load, up and down. The saving depends on the gap between your average load and your peak load. An application with a constant load gains nothing, while an application with marked variations gains more. The maximum caps the spend."
      }
    },
    {
      "@type": "Question",
      "name": "Do databases scale automatically?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Not traditional relational databases such as PostgreSQL or MySQL. Replacing a live database means handing its exact state over to its replacement, and some engines keep memory allocated even when they no longer use it, which skews the reading of their load. They are sized manually and placed behind a connection manager. Distributed stores, designed as clusters, scale horizontally by design."
      }
    },
    {
      "@type": "Question",
      "name": "What is a scalable product or business model?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "In business terms, a scalable model grows its revenue faster than its costs, like subscription software where each new customer costs little to serve. Technical scalability is one of its conditions: without infrastructure that can keep up, commercial growth runs into technical limits."
      }
    }
  ]
}
</script>
<!-- /wp:html -->]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>From the Console to Terraform: import your existing Clever Cloud infrastructure as code (IaC)</title>
		<link>https://www.clever.cloud/blog/engineering/2026/11/03/terraform-import-blocks-existing-infrastructure/</link>
		
		<dc:creator><![CDATA[Rémi Collignon-Ducret]]></dc:creator>
		<pubDate>Tue, 03 Nov 2026 13:59:05 +0000</pubDate>
				<category><![CDATA[Engineering]]></category>
		<category><![CDATA[terraform]]></category>
		<guid isPermaLink="false">https://www.clever.cloud/?p=25954</guid>

					<description><![CDATA[<p><img width="2400" height="1065" src="https://cdn.clever-cloud.com/uploads/2026/11/2026-11-03-clever-cloud-banniere-blog-import-terraform-en.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="2026.11.03 Clever Cloud Bannière Blog Import Terraform EN" decoding="async" loading="lazy" srcset="https://cdn.clever-cloud.com/uploads/2026/11/2026-11-03-clever-cloud-banniere-blog-import-terraform-en.png 2400w, https://cdn.clever-cloud.com/uploads/2026/11/2026-11-03-clever-cloud-banniere-blog-import-terraform-en-300x133.png 300w, https://cdn.clever-cloud.com/uploads/2026/11/2026-11-03-clever-cloud-banniere-blog-import-terraform-en-1024x454.png 1024w, https://cdn.clever-cloud.com/uploads/2026/11/2026-11-03-clever-cloud-banniere-blog-import-terraform-en-768x341.png 768w, https://cdn.clever-cloud.com/uploads/2026/11/2026-11-03-clever-cloud-banniere-blog-import-terraform-en-1536x682.png 1536w, https://cdn.clever-cloud.com/uploads/2026/11/2026-11-03-clever-cloud-banniere-blog-import-terraform-en-2048x909.png 2048w, https://cdn.clever-cloud.com/uploads/2026/11/2026-11-03-clever-cloud-banniere-blog-import-terraform-en-1368x607.png 1368w" sizes="auto, (max-width: 2400px) 100vw, 2400px" /></p><!-- wp:paragraph -->
<p>Until now, catching up was expensive: one <code>terraform import</code> command per resource, an HCL block written by hand for each one, attribute by attribute, and a plan that offers to destroy everything at the slightest missing line. Forty resources, a day gone. Clever Tools 5.3 and version 3.0 of <a href="https://www.clever.cloud/product/terraform/">our Terraform provider</a> bring the operation down to three commands: <code>clever features</code>, <code>clever terraform generate</code> and <code>terraform plan</code>. Here is how they fit together and, more importantly, what to check before you apply.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">What you need</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>You need three tools: Terraform 1.5 or later (or <a href="https://www.clever.cloud/blog/engineering/2026/03/25/opentofu-the-open-source-terraform-fork/">OpenTofu</a> 1.6 or later, the Terraform fork, which implements the same import blocks), Clever Tools 5.3 and version 3.0 of the Clever Cloud provider. The command we need is still in beta, so you have to enable it explicitly:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>npm install -g clever-tools@latest
clever login
clever features enable terraform</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:heading -->
<h2 class="wp-block-heading">A word about our provider</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Open source from day one and published on both the Terraform and OpenTofu registries, the provider now covers most of the platform: runtimes, managed databases and add-ons, <a href="https://www.clever.cloud/product/cellar-object-storage/">object storage</a> and FS Buckets, log drains, <a href="https://www.clever.cloud/product/network-groups/">Network Groups</a>, <a href="https://www.clever.cloud/clever-kubernetes-engine/">Kubernetes clusters</a> and even OAuth consumers. Beyond provisioning, it can deploy your code from a Git repository and pin a commit, link an application to its add-ons the way <code>clever service link-addon</code> does, read the load balancer address for your DNS records, or browse a database’s backups. Since version 3.0, it accepts an API token for CI integration, and with Terraform 1.14 and later, its actions restart an application, run a SQL query against PostgreSQL or upload files to an FS Bucket without leaving <code>terraform apply</code>. Forty-eight resource types, two data sources and three actions: enough to describe an entire organisation, not just import it.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Step 1: declare the Clever Cloud Terraform provider</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>In an empty directory, create a <code>provider.tf</code> file:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>terraform {
  required_providers {
    clevercloud = {
      source  = "CleverCloud/clevercloud"
      version = "~&gt; 3.0"
    }
  }
}

provider "clevercloud" {}</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>The provider block stays empty: after <code>clever login</code>, the provider reuses the credentials of the active Clever Tools profile. All it still needs is the organisation to target, passed through an environment variable (a <code>user_...</code> identifier also works for a personal space):</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>export CC_ORGANISATION="orga_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
terraform init</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Step 2: generate import blocks with <code>clever terraform generate</code></h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>This is where the new feature in Clever Tools 5.3 comes in. The <code>clever terraform generate</code> command goes through every application and add-on in an organisation and writes the import block Terraform expects for each one:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>clever terraform generate --org orga_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx &gt; imports.tf</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>The resulting file looks like this:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code># my-api
import {
  to = clevercloud_nodejs.my-api
  id = "app_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}

# my-db
import {
  to = clevercloud_postgresql.my-db
  id = "postgresql_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>Each application is mapped to the resource type for its runtime (<code>clevercloud_nodejs</code>, <code>clevercloud_php</code>, <code>clevercloud_docker</code>, <code>clevercloud_java_maven</code>...), and each add-on to its own (<code>clevercloud_postgresql</code>, <code>clevercloud_redis</code>, <code>clevercloud_cellar</code>...).</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The command also filters out what you should not import. A Keycloak, Matomo, Metabase or Otoroshi add-on provisions its own application and databases, and an Elasticsearch add-on comes with its own Kibana. These resources show up in your organisation like any other, but they belong to the add-on that manages them. Importing them would hand them over to Terraform, which would then start changing them alongside the add-on. <code>clever terraform generate</code> skips them and reports it on standard error, just as it reports the few runtimes that have no equivalent in the provider yet. Nothing is dropped silently.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The names in the Terraform addresses are derived from your application and add-on names: lowercased, stripped of special characters, and prefixed with <code>_</code> if they start with a digit. Two resources with the same type and name, two Node.js applications both called “demo”, for example, cannot coexist in one configuration. The second one gets a suffix taken from its identifier (<code>demo-11ced66e</code>), and standard error reports it (<code>Name collision on nodejs.demo: suffixing with 11ced66e</code>). These names are only labels in your code: rename them as you like in <code>imports.tf</code> before step 3, and Terraform will generate the configuration under the new name.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>To adopt Terraform gradually, you can restrict generation to a single application, or to resources with a given tag:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>clever terraform generate --app my-api &gt; imports.tf
clever terraform generate --tag env:staging &gt; imports.tf</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Step 3: generate the HCL configuration with <code>terraform plan</code></h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Since version 1.5, Terraform can write the configuration for the resources targeted by import blocks on its own:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>terraform plan -generate-config-out=generated.tf</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>Terraform reads each resource from the platform, writes its HCL block to <code>generated.tf</code> (the file must not already exist) and displays the corresponding plan, without writing anything to the state. The file contains the actual values: name, region, minimum and maximum instance counts, flavors, the add-on’s <code>plan</code> and dependencies.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>One point needs explaining. On an application, <code>min_instance_count</code>, <code>max_instance_count</code>, <code>smallest_flavor</code> and <code>biggest_flavor</code> are required, as is <code>plan</code> on an add-on, and they have no default: the provider will never fill them in on its own. These attributes determine what the resource costs, and we refuse to let a configuration stay silent about them and quietly adopt whatever the platform happens to be running. This is also the reason to prefer import blocks over the <code>terraform import</code> command, which writes directly to the state and requires you to write the full resource block yourself beforehand, or face a <code>Missing required argument</code> error on the next plan.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Secrets and environment variables: the Terraform import trap</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>This is the step where you need to slow down. Terraform never copies a value that the provider declares sensitive into a generated configuration, and the provider declares an application’s environment variables sensitive. For each application, the generated file therefore contains:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>resource "clevercloud_nodejs" "my-api" {
  name               = "my-api"
  region             = "par"
  min_instance_count = 1
  max_instance_count = 2
  smallest_flavor    = "XS"
  biggest_flavor     = "M"
  environment        = null # sensitive
}</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p><strong>Applying this file as is would delete all of the application’s environment variables.</strong> The provider offers an environment variable that works around this behaviour while you generate the configuration:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>BYPASS_SENSITIVE_IMPORTS=true terraform plan -generate-config-out=generated.tf</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>The provider then stops reporting these attributes as sensitive, so Terraform writes them out like any other, and <code>environment</code> contains all your variables in plain text. The file is not the only place: as long as the variable is set, the output of <code>terraform plan</code> also shows these values in plain text. Run this step from your own machine, never in a CI pipeline whose logs are kept. That is exactly what we wanted, and it is also why you need to be careful: API keys, external database passwords, third-party service tokens, everything you stored with <code>clever env set</code> ends up in a <code>.tf</code> file that you are about to commit.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Before the first commit, review these variables. Ordinary configuration values (<code>NODE_ENV</code>, a port, a public URL) can stay in the code. Secrets have to move out, to whatever tool your team already uses: HashiCorp Vault or OpenBao, your CI’s protected variables, a file encrypted with SOPS, or at the very least Terraform variables marked <code>sensitive</code> and supplied at run time:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>variable "stripe_api_key" {
  type      = string
  sensitive = true
}

resource "clevercloud_nodejs" "my-api" {
  # ...
  environment = {
    NODE_ENV       = "production"
    STRIPE_API_KEY = var.stripe_api_key
  }
}</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>This change shows up on the next plan, as an in-place update to <code>environment</code> even though the value has not changed: Terraform only records in the state that this value is now sensitive. The provider compares values, not their status, so identical values do not trigger an application restart.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Remove <code>BYPASS_SENSITIVE_IMPORTS</code> as soon as <code>generated.tf</code> is written. The configuration remains valid without it, and the provider displays the warning <code>Sensitive attributes are not redacted</code> on every command for as long as the variable is set. As for the Terraform state, it always contains these values, whatever you choose, so storing it deserves the same care as the secrets themselves.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Step 4: check the plan, then apply</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Once you have reviewed and cleaned up <code>generated.tf</code>, running <code>terraform plan</code> without the bypass variable should show one import per resource, and no change other than the <code>environment</code> attributes whose secrets you have just marked as sensitive:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>terraform plan
# Plan: 2 to import, 0 to add, 1 to change, 0 to destroy.
# ~ environment = (sensitive value) value unchanged, sensitive status recorded
terraform apply</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>Any other change means that an attribute in the configuration differs from what the platform is running: read it before confirming.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The apply then records the resources in the state, along with the sensitivity of the secrets passed as variables. It does not touch anything on the platform. When a final <code>terraform plan</code> reports <code>No changes.</code>, your infrastructure is described in code and you can remove the import blocks.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Code deployment stays your call</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>An import never fills in an application’s <code>deployment</code> block. The provider cannot guess whether you want Terraform to manage your deployments as well, and adding this block triggers a deployment on the first apply.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>You have three options. The first is to add nothing: Terraform manages the configuration, you keep deploying with <code>git push</code> or <code>clever deploy</code>, and a change to an environment variable restarts the application, just as it does today. The second is to set <code>commit = "github_hook"</code> in the <code>deployment</code> block if the application is linked to a GitHub repository: deployments remain driven by GitHub, and the provider never pushes code. The third is to hand deployment over to Terraform with <code>repository</code> and, if you wish, a specific <code>commit</code>. In that case, an API token (<code>clever tokens create</code>) is not enough, because it cannot push to Git, so the provider needs the OAuth credentials of the Clever Tools profile.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">After the import</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>The <code>generated.tf</code> file is a starting point, not a finished configuration. A few changes make it maintainable: split the file by service or by environment, replace the hard-coded identifiers in the <code>dependencies</code> attribute with references (<code>clevercloud_postgresql.my-db.id</code>), and move whatever differs between staging and production into variables. And since the command is in beta, your feedback is welcome on the <a href="https://github.com/CleverCloud/clever-tools/issues">Clever Tools GitHub repository</a>: that is how it will move out of beta.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That leaves the question of the state, which you currently keep in an S3 bucket or a third-party backend. We will not say more for now, except that it may soon no longer need to leave Clever Cloud.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">FAQ</h2>
<!-- /wp:heading -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Does the import modify my applications?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>No. Import blocks only write to the state. The only expected update is to <code>environment</code>, when you have replaced a secret with a <code>sensitive</code> variable: the value is identical and the provider does not restart the application. The only real risk is applying a configuration in which <code>environment</code> is <code>null</code>, which is the whole point of the section on secrets.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Can I import only part of my organisation?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Yes, with <code>--app</code> for a single application or <code>--tag</code> for resources with a given tag. Nothing forces you to migrate everything at once.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Why are some resources missing from the <code>imports.tf</code> file?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Either they are managed by an add-on (a Keycloak add-on’s application, an Elasticsearch add-on’s Kibana) and Terraform must not take them over, or their runtime does not have a resource in the provider yet. In both cases, the command says so on standard error.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Does it work with OpenTofu, the Terraform fork?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Yes. OpenTofu has supported import blocks and the <code>-generate-config-out</code> flag since version 1.6, and our provider is available on its registry.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Should I keep the import blocks?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>No. Once the resources are in the state, they no longer serve any purpose and can be deleted.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><em>Clever Tools 5.3 is open source on <a href="https://github.com/CleverCloud/clever-tools">GitHub</a>, available on <a href="https://www.npmjs.com/package/clever-tools">npm</a> and in our package repositories. The Clever Cloud provider is published on the <a href="https://registry.terraform.io/providers/CleverCloud/clevercloud/latest">Terraform Registry</a>, its code is on <a href="https://github.com/CleverCloud/terraform-provider-clevercloud">GitHub</a>, and the full documentation is available at <a href="https://www.clever.cloud/developers/doc/tools/terraform/">www.clever.cloud/developers</a>.</em></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That is exactly when infrastructure as code (IaC, the practice of defining your resources in versioned files that act as the source of truth) becomes the obvious next step, and when you discover that Terraform knows nothing about what already exists.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Until now, catching up was expensive: one <code>terraform import</code> command per resource, an HCL block written by hand for each one, attribute by attribute, and a plan that offers to destroy everything at the slightest missing line. Forty resources, a day gone. Clever Tools 5.3 and version 3.0 of <a href="https://www.clever.cloud/product/terraform/">our Terraform provider</a> bring the operation down to three commands: <code>clever features</code>, <code>clever terraform generate</code> and <code>terraform plan</code>. Here is how they fit together and, more importantly, what to check before you apply.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">What you need</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>You need three tools: Terraform 1.5 or later (or <a href="https://www.clever.cloud/blog/engineering/2026/03/25/opentofu-the-open-source-terraform-fork/">OpenTofu</a> 1.6 or later, the Terraform fork, which implements the same import blocks), Clever Tools 5.3 and version 3.0 of the Clever Cloud provider. The command we need is still in beta, so you have to enable it explicitly:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>npm install -g clever-tools@latest
clever login
clever features enable terraform</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:heading -->
<h2 class="wp-block-heading">A word about our provider</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Open source from day one and published on both the Terraform and OpenTofu registries, the provider now covers most of the platform: runtimes, managed databases and add-ons, <a href="https://www.clever.cloud/product/cellar-object-storage/">object storage</a> and FS Buckets, log drains, <a href="https://www.clever.cloud/product/network-groups/">Network Groups</a>, <a href="https://www.clever.cloud/clever-kubernetes-engine/">Kubernetes clusters</a> and even OAuth consumers. Beyond provisioning, it can deploy your code from a Git repository and pin a commit, link an application to its add-ons the way <code>clever service link-addon</code> does, read the load balancer address for your DNS records, or browse a database’s backups. Since version 3.0, it accepts an API token for CI integration, and with Terraform 1.14 and later, its actions restart an application, run a SQL query against PostgreSQL or upload files to an FS Bucket without leaving <code>terraform apply</code>. Forty-eight resource types, two data sources and three actions: enough to describe an entire organisation, not just import it.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Step 1: declare the Clever Cloud Terraform provider</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>In an empty directory, create a <code>provider.tf</code> file:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>terraform {
  required_providers {
    clevercloud = {
      source  = "CleverCloud/clevercloud"
      version = "~&gt; 3.0"
    }
  }
}

provider "clevercloud" {}</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>The provider block stays empty: after <code>clever login</code>, the provider reuses the credentials of the active Clever Tools profile. All it still needs is the organisation to target, passed through an environment variable (a <code>user_...</code> identifier also works for a personal space):</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>export CC_ORGANISATION="orga_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
terraform init</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Step 2: generate import blocks with <code>clever terraform generate</code></h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>This is where the new feature in Clever Tools 5.3 comes in. The <code>clever terraform generate</code> command goes through every application and add-on in an organisation and writes the import block Terraform expects for each one:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>clever terraform generate --org orga_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx &gt; imports.tf</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>The resulting file looks like this:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code># my-api
import {
  to = clevercloud_nodejs.my-api
  id = "app_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}

# my-db
import {
  to = clevercloud_postgresql.my-db
  id = "postgresql_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>Each application is mapped to the resource type for its runtime (<code>clevercloud_nodejs</code>, <code>clevercloud_php</code>, <code>clevercloud_docker</code>, <code>clevercloud_java_maven</code>...), and each add-on to its own (<code>clevercloud_postgresql</code>, <code>clevercloud_redis</code>, <code>clevercloud_cellar</code>...).</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The command also filters out what you should not import. A Keycloak, Matomo, Metabase or Otoroshi add-on provisions its own application and databases, and an Elasticsearch add-on comes with its own Kibana. These resources show up in your organisation like any other, but they belong to the add-on that manages them. Importing them would hand them over to Terraform, which would then start changing them alongside the add-on. <code>clever terraform generate</code> skips them and reports it on standard error, just as it reports the few runtimes that have no equivalent in the provider yet. Nothing is dropped silently.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The names in the Terraform addresses are derived from your application and add-on names: lowercased, stripped of special characters, and prefixed with <code>_</code> if they start with a digit. Two resources with the same type and name, two Node.js applications both called “demo”, for example, cannot coexist in one configuration. The second one gets a suffix taken from its identifier (<code>demo-11ced66e</code>), and standard error reports it (<code>Name collision on nodejs.demo: suffixing with 11ced66e</code>). These names are only labels in your code: rename them as you like in <code>imports.tf</code> before step 3, and Terraform will generate the configuration under the new name.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>To adopt Terraform gradually, you can restrict generation to a single application, or to resources with a given tag:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>clever terraform generate --app my-api &gt; imports.tf
clever terraform generate --tag env:staging &gt; imports.tf</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Step 3: generate the HCL configuration with <code>terraform plan</code></h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Since version 1.5, Terraform can write the configuration for the resources targeted by import blocks on its own:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>terraform plan -generate-config-out=generated.tf</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>Terraform reads each resource from the platform, writes its HCL block to <code>generated.tf</code> (the file must not already exist) and displays the corresponding plan, without writing anything to the state. The file contains the actual values: name, region, minimum and maximum instance counts, flavors, the add-on’s <code>plan</code> and dependencies.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>One point needs explaining. On an application, <code>min_instance_count</code>, <code>max_instance_count</code>, <code>smallest_flavor</code> and <code>biggest_flavor</code> are required, as is <code>plan</code> on an add-on, and they have no default: the provider will never fill them in on its own. These attributes determine what the resource costs, and we refuse to let a configuration stay silent about them and quietly adopt whatever the platform happens to be running. This is also the reason to prefer import blocks over the <code>terraform import</code> command, which writes directly to the state and requires you to write the full resource block yourself beforehand, or face a <code>Missing required argument</code> error on the next plan.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Secrets and environment variables: the Terraform import trap</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>This is the step where you need to slow down. Terraform never copies a value that the provider declares sensitive into a generated configuration, and the provider declares an application’s environment variables sensitive. For each application, the generated file therefore contains:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>resource "clevercloud_nodejs" "my-api" {
  name               = "my-api"
  region             = "par"
  min_instance_count = 1
  max_instance_count = 2
  smallest_flavor    = "XS"
  biggest_flavor     = "M"
  environment        = null # sensitive
}</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p><strong>Applying this file as is would delete all of the application’s environment variables.</strong> The provider offers an environment variable that works around this behaviour while you generate the configuration:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>BYPASS_SENSITIVE_IMPORTS=true terraform plan -generate-config-out=generated.tf</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>The provider then stops reporting these attributes as sensitive, so Terraform writes them out like any other, and <code>environment</code> contains all your variables in plain text. The file is not the only place: as long as the variable is set, the output of <code>terraform plan</code> also shows these values in plain text. Run this step from your own machine, never in a CI pipeline whose logs are kept. That is exactly what we wanted, and it is also why you need to be careful: API keys, external database passwords, third-party service tokens, everything you stored with <code>clever env set</code> ends up in a <code>.tf</code> file that you are about to commit.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Before the first commit, review these variables. Ordinary configuration values (<code>NODE_ENV</code>, a port, a public URL) can stay in the code. Secrets have to move out, to whatever tool your team already uses: HashiCorp Vault or OpenBao, your CI’s protected variables, a file encrypted with SOPS, or at the very least Terraform variables marked <code>sensitive</code> and supplied at run time:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>variable "stripe_api_key" {
  type      = string
  sensitive = true
}

resource "clevercloud_nodejs" "my-api" {
  # ...
  environment = {
    NODE_ENV       = "production"
    STRIPE_API_KEY = var.stripe_api_key
  }
}</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>This change shows up on the next plan, as an in-place update to <code>environment</code> even though the value has not changed: Terraform only records in the state that this value is now sensitive. The provider compares values, not their status, so identical values do not trigger an application restart.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Remove <code>BYPASS_SENSITIVE_IMPORTS</code> as soon as <code>generated.tf</code> is written. The configuration remains valid without it, and the provider displays the warning <code>Sensitive attributes are not redacted</code> on every command for as long as the variable is set. As for the Terraform state, it always contains these values, whatever you choose, so storing it deserves the same care as the secrets themselves.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Step 4: check the plan, then apply</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Once you have reviewed and cleaned up <code>generated.tf</code>, running <code>terraform plan</code> without the bypass variable should show one import per resource, and no change other than the <code>environment</code> attributes whose secrets you have just marked as sensitive:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>terraform plan
# Plan: 2 to import, 0 to add, 1 to change, 0 to destroy.
# ~ environment = (sensitive value) value unchanged, sensitive status recorded
terraform apply</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>Any other change means that an attribute in the configuration differs from what the platform is running: read it before confirming.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The apply then records the resources in the state, along with the sensitivity of the secrets passed as variables. It does not touch anything on the platform. When a final <code>terraform plan</code> reports <code>No changes.</code>, your infrastructure is described in code and you can remove the import blocks.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Code deployment stays your call</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>An import never fills in an application’s <code>deployment</code> block. The provider cannot guess whether you want Terraform to manage your deployments as well, and adding this block triggers a deployment on the first apply.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>You have three options. The first is to add nothing: Terraform manages the configuration, you keep deploying with <code>git push</code> or <code>clever deploy</code>, and a change to an environment variable restarts the application, just as it does today. The second is to set <code>commit = "github_hook"</code> in the <code>deployment</code> block if the application is linked to a GitHub repository: deployments remain driven by GitHub, and the provider never pushes code. The third is to hand deployment over to Terraform with <code>repository</code> and, if you wish, a specific <code>commit</code>. In that case, an API token (<code>clever tokens create</code>) is not enough, because it cannot push to Git, so the provider needs the OAuth credentials of the Clever Tools profile.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">After the import</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>The <code>generated.tf</code> file is a starting point, not a finished configuration. A few changes make it maintainable: split the file by service or by environment, replace the hard-coded identifiers in the <code>dependencies</code> attribute with references (<code>clevercloud_postgresql.my-db.id</code>), and move whatever differs between staging and production into variables. And since the command is in beta, your feedback is welcome on the <a href="https://github.com/CleverCloud/clever-tools/issues">Clever Tools GitHub repository</a>: that is how it will move out of beta.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That leaves the question of the state, which you currently keep in an S3 bucket or a third-party backend. We will not say more for now, except that it may soon no longer need to leave Clever Cloud.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">FAQ</h2>
<!-- /wp:heading -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Does the import modify my applications?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>No. Import blocks only write to the state. The only expected update is to <code>environment</code>, when you have replaced a secret with a <code>sensitive</code> variable: the value is identical and the provider does not restart the application. The only real risk is applying a configuration in which <code>environment</code> is <code>null</code>, which is the whole point of the section on secrets.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Can I import only part of my organisation?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Yes, with <code>--app</code> for a single application or <code>--tag</code> for resources with a given tag. Nothing forces you to migrate everything at once.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Why are some resources missing from the <code>imports.tf</code> file?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Either they are managed by an add-on (a Keycloak add-on’s application, an Elasticsearch add-on’s Kibana) and Terraform must not take them over, or their runtime does not have a resource in the provider yet. In both cases, the command says so on standard error.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Does it work with OpenTofu, the Terraform fork?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Yes. OpenTofu has supported import blocks and the <code>-generate-config-out</code> flag since version 1.6, and our provider is available on its registry.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Should I keep the import blocks?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>No. Once the resources are in the state, they no longer serve any purpose and can be deleted.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><em>Clever Tools 5.3 is open source on <a href="https://github.com/CleverCloud/clever-tools">GitHub</a>, available on <a href="https://www.npmjs.com/package/clever-tools">npm</a> and in our package repositories. The Clever Cloud provider is published on the <a href="https://registry.terraform.io/providers/CleverCloud/clevercloud/latest">Terraform Registry</a>, its code is on <a href="https://github.com/CleverCloud/terraform-provider-clevercloud">GitHub</a>, and the full documentation is available at <a href="https://www.clever.cloud/developers/doc/tools/terraform/">www.clever.cloud/developers</a>.</em></p>
<!-- /wp:paragraph -->]]></description>
										<content:encoded><![CDATA[<p><img width="2400" height="1065" src="https://cdn.clever-cloud.com/uploads/2026/11/2026-11-03-clever-cloud-banniere-blog-import-terraform-en.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="2026.11.03 Clever Cloud Bannière Blog Import Terraform EN" decoding="async" loading="lazy" srcset="https://cdn.clever-cloud.com/uploads/2026/11/2026-11-03-clever-cloud-banniere-blog-import-terraform-en.png 2400w, https://cdn.clever-cloud.com/uploads/2026/11/2026-11-03-clever-cloud-banniere-blog-import-terraform-en-300x133.png 300w, https://cdn.clever-cloud.com/uploads/2026/11/2026-11-03-clever-cloud-banniere-blog-import-terraform-en-1024x454.png 1024w, https://cdn.clever-cloud.com/uploads/2026/11/2026-11-03-clever-cloud-banniere-blog-import-terraform-en-768x341.png 768w, https://cdn.clever-cloud.com/uploads/2026/11/2026-11-03-clever-cloud-banniere-blog-import-terraform-en-1536x682.png 1536w, https://cdn.clever-cloud.com/uploads/2026/11/2026-11-03-clever-cloud-banniere-blog-import-terraform-en-2048x909.png 2048w, https://cdn.clever-cloud.com/uploads/2026/11/2026-11-03-clever-cloud-banniere-blog-import-terraform-en-1368x607.png 1368w" sizes="auto, (max-width: 2400px) 100vw, 2400px" /></p><!-- wp:paragraph -->
<p>Until now, catching up was expensive: one <code>terraform import</code> command per resource, an HCL block written by hand for each one, attribute by attribute, and a plan that offers to destroy everything at the slightest missing line. Forty resources, a day gone. Clever Tools 5.3 and version 3.0 of <a href="https://www.clever.cloud/product/terraform/">our Terraform provider</a> bring the operation down to three commands: <code>clever features</code>, <code>clever terraform generate</code> and <code>terraform plan</code>. Here is how they fit together and, more importantly, what to check before you apply.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">What you need</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>You need three tools: Terraform 1.5 or later (or <a href="https://www.clever.cloud/blog/engineering/2026/03/25/opentofu-the-open-source-terraform-fork/">OpenTofu</a> 1.6 or later, the Terraform fork, which implements the same import blocks), Clever Tools 5.3 and version 3.0 of the Clever Cloud provider. The command we need is still in beta, so you have to enable it explicitly:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>npm install -g clever-tools@latest
clever login
clever features enable terraform</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:heading -->
<h2 class="wp-block-heading">A word about our provider</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Open source from day one and published on both the Terraform and OpenTofu registries, the provider now covers most of the platform: runtimes, managed databases and add-ons, <a href="https://www.clever.cloud/product/cellar-object-storage/">object storage</a> and FS Buckets, log drains, <a href="https://www.clever.cloud/product/network-groups/">Network Groups</a>, <a href="https://www.clever.cloud/clever-kubernetes-engine/">Kubernetes clusters</a> and even OAuth consumers. Beyond provisioning, it can deploy your code from a Git repository and pin a commit, link an application to its add-ons the way <code>clever service link-addon</code> does, read the load balancer address for your DNS records, or browse a database’s backups. Since version 3.0, it accepts an API token for CI integration, and with Terraform 1.14 and later, its actions restart an application, run a SQL query against PostgreSQL or upload files to an FS Bucket without leaving <code>terraform apply</code>. Forty-eight resource types, two data sources and three actions: enough to describe an entire organisation, not just import it.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Step 1: declare the Clever Cloud Terraform provider</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>In an empty directory, create a <code>provider.tf</code> file:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>terraform {
  required_providers {
    clevercloud = {
      source  = "CleverCloud/clevercloud"
      version = "~&gt; 3.0"
    }
  }
}

provider "clevercloud" {}</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>The provider block stays empty: after <code>clever login</code>, the provider reuses the credentials of the active Clever Tools profile. All it still needs is the organisation to target, passed through an environment variable (a <code>user_...</code> identifier also works for a personal space):</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>export CC_ORGANISATION="orga_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
terraform init</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Step 2: generate import blocks with <code>clever terraform generate</code></h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>This is where the new feature in Clever Tools 5.3 comes in. The <code>clever terraform generate</code> command goes through every application and add-on in an organisation and writes the import block Terraform expects for each one:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>clever terraform generate --org orga_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx &gt; imports.tf</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>The resulting file looks like this:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code># my-api
import {
  to = clevercloud_nodejs.my-api
  id = "app_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}

# my-db
import {
  to = clevercloud_postgresql.my-db
  id = "postgresql_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>Each application is mapped to the resource type for its runtime (<code>clevercloud_nodejs</code>, <code>clevercloud_php</code>, <code>clevercloud_docker</code>, <code>clevercloud_java_maven</code>...), and each add-on to its own (<code>clevercloud_postgresql</code>, <code>clevercloud_redis</code>, <code>clevercloud_cellar</code>...).</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The command also filters out what you should not import. A Keycloak, Matomo, Metabase or Otoroshi add-on provisions its own application and databases, and an Elasticsearch add-on comes with its own Kibana. These resources show up in your organisation like any other, but they belong to the add-on that manages them. Importing them would hand them over to Terraform, which would then start changing them alongside the add-on. <code>clever terraform generate</code> skips them and reports it on standard error, just as it reports the few runtimes that have no equivalent in the provider yet. Nothing is dropped silently.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The names in the Terraform addresses are derived from your application and add-on names: lowercased, stripped of special characters, and prefixed with <code>_</code> if they start with a digit. Two resources with the same type and name, two Node.js applications both called “demo”, for example, cannot coexist in one configuration. The second one gets a suffix taken from its identifier (<code>demo-11ced66e</code>), and standard error reports it (<code>Name collision on nodejs.demo: suffixing with 11ced66e</code>). These names are only labels in your code: rename them as you like in <code>imports.tf</code> before step 3, and Terraform will generate the configuration under the new name.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>To adopt Terraform gradually, you can restrict generation to a single application, or to resources with a given tag:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>clever terraform generate --app my-api &gt; imports.tf
clever terraform generate --tag env:staging &gt; imports.tf</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Step 3: generate the HCL configuration with <code>terraform plan</code></h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Since version 1.5, Terraform can write the configuration for the resources targeted by import blocks on its own:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>terraform plan -generate-config-out=generated.tf</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>Terraform reads each resource from the platform, writes its HCL block to <code>generated.tf</code> (the file must not already exist) and displays the corresponding plan, without writing anything to the state. The file contains the actual values: name, region, minimum and maximum instance counts, flavors, the add-on’s <code>plan</code> and dependencies.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>One point needs explaining. On an application, <code>min_instance_count</code>, <code>max_instance_count</code>, <code>smallest_flavor</code> and <code>biggest_flavor</code> are required, as is <code>plan</code> on an add-on, and they have no default: the provider will never fill them in on its own. These attributes determine what the resource costs, and we refuse to let a configuration stay silent about them and quietly adopt whatever the platform happens to be running. This is also the reason to prefer import blocks over the <code>terraform import</code> command, which writes directly to the state and requires you to write the full resource block yourself beforehand, or face a <code>Missing required argument</code> error on the next plan.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Secrets and environment variables: the Terraform import trap</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>This is the step where you need to slow down. Terraform never copies a value that the provider declares sensitive into a generated configuration, and the provider declares an application’s environment variables sensitive. For each application, the generated file therefore contains:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>resource "clevercloud_nodejs" "my-api" {
  name               = "my-api"
  region             = "par"
  min_instance_count = 1
  max_instance_count = 2
  smallest_flavor    = "XS"
  biggest_flavor     = "M"
  environment        = null # sensitive
}</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p><strong>Applying this file as is would delete all of the application’s environment variables.</strong> The provider offers an environment variable that works around this behaviour while you generate the configuration:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>BYPASS_SENSITIVE_IMPORTS=true terraform plan -generate-config-out=generated.tf</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>The provider then stops reporting these attributes as sensitive, so Terraform writes them out like any other, and <code>environment</code> contains all your variables in plain text. The file is not the only place: as long as the variable is set, the output of <code>terraform plan</code> also shows these values in plain text. Run this step from your own machine, never in a CI pipeline whose logs are kept. That is exactly what we wanted, and it is also why you need to be careful: API keys, external database passwords, third-party service tokens, everything you stored with <code>clever env set</code> ends up in a <code>.tf</code> file that you are about to commit.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Before the first commit, review these variables. Ordinary configuration values (<code>NODE_ENV</code>, a port, a public URL) can stay in the code. Secrets have to move out, to whatever tool your team already uses: HashiCorp Vault or OpenBao, your CI’s protected variables, a file encrypted with SOPS, or at the very least Terraform variables marked <code>sensitive</code> and supplied at run time:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>variable "stripe_api_key" {
  type      = string
  sensitive = true
}

resource "clevercloud_nodejs" "my-api" {
  # ...
  environment = {
    NODE_ENV       = "production"
    STRIPE_API_KEY = var.stripe_api_key
  }
}</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>This change shows up on the next plan, as an in-place update to <code>environment</code> even though the value has not changed: Terraform only records in the state that this value is now sensitive. The provider compares values, not their status, so identical values do not trigger an application restart.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Remove <code>BYPASS_SENSITIVE_IMPORTS</code> as soon as <code>generated.tf</code> is written. The configuration remains valid without it, and the provider displays the warning <code>Sensitive attributes are not redacted</code> on every command for as long as the variable is set. As for the Terraform state, it always contains these values, whatever you choose, so storing it deserves the same care as the secrets themselves.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Step 4: check the plan, then apply</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Once you have reviewed and cleaned up <code>generated.tf</code>, running <code>terraform plan</code> without the bypass variable should show one import per resource, and no change other than the <code>environment</code> attributes whose secrets you have just marked as sensitive:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>terraform plan
# Plan: 2 to import, 0 to add, 1 to change, 0 to destroy.
# ~ environment = (sensitive value) value unchanged, sensitive status recorded
terraform apply</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>Any other change means that an attribute in the configuration differs from what the platform is running: read it before confirming.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The apply then records the resources in the state, along with the sensitivity of the secrets passed as variables. It does not touch anything on the platform. When a final <code>terraform plan</code> reports <code>No changes.</code>, your infrastructure is described in code and you can remove the import blocks.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Code deployment stays your call</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>An import never fills in an application’s <code>deployment</code> block. The provider cannot guess whether you want Terraform to manage your deployments as well, and adding this block triggers a deployment on the first apply.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>You have three options. The first is to add nothing: Terraform manages the configuration, you keep deploying with <code>git push</code> or <code>clever deploy</code>, and a change to an environment variable restarts the application, just as it does today. The second is to set <code>commit = "github_hook"</code> in the <code>deployment</code> block if the application is linked to a GitHub repository: deployments remain driven by GitHub, and the provider never pushes code. The third is to hand deployment over to Terraform with <code>repository</code> and, if you wish, a specific <code>commit</code>. In that case, an API token (<code>clever tokens create</code>) is not enough, because it cannot push to Git, so the provider needs the OAuth credentials of the Clever Tools profile.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">After the import</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>The <code>generated.tf</code> file is a starting point, not a finished configuration. A few changes make it maintainable: split the file by service or by environment, replace the hard-coded identifiers in the <code>dependencies</code> attribute with references (<code>clevercloud_postgresql.my-db.id</code>), and move whatever differs between staging and production into variables. And since the command is in beta, your feedback is welcome on the <a href="https://github.com/CleverCloud/clever-tools/issues">Clever Tools GitHub repository</a>: that is how it will move out of beta.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That leaves the question of the state, which you currently keep in an S3 bucket or a third-party backend. We will not say more for now, except that it may soon no longer need to leave Clever Cloud.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">FAQ</h2>
<!-- /wp:heading -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Does the import modify my applications?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>No. Import blocks only write to the state. The only expected update is to <code>environment</code>, when you have replaced a secret with a <code>sensitive</code> variable: the value is identical and the provider does not restart the application. The only real risk is applying a configuration in which <code>environment</code> is <code>null</code>, which is the whole point of the section on secrets.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Can I import only part of my organisation?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Yes, with <code>--app</code> for a single application or <code>--tag</code> for resources with a given tag. Nothing forces you to migrate everything at once.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Why are some resources missing from the <code>imports.tf</code> file?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Either they are managed by an add-on (a Keycloak add-on’s application, an Elasticsearch add-on’s Kibana) and Terraform must not take them over, or their runtime does not have a resource in the provider yet. In both cases, the command says so on standard error.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Does it work with OpenTofu, the Terraform fork?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Yes. OpenTofu has supported import blocks and the <code>-generate-config-out</code> flag since version 1.6, and our provider is available on its registry.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Should I keep the import blocks?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>No. Once the resources are in the state, they no longer serve any purpose and can be deleted.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><em>Clever Tools 5.3 is open source on <a href="https://github.com/CleverCloud/clever-tools">GitHub</a>, available on <a href="https://www.npmjs.com/package/clever-tools">npm</a> and in our package repositories. The Clever Cloud provider is published on the <a href="https://registry.terraform.io/providers/CleverCloud/clevercloud/latest">Terraform Registry</a>, its code is on <a href="https://github.com/CleverCloud/terraform-provider-clevercloud">GitHub</a>, and the full documentation is available at <a href="https://www.clever.cloud/developers/doc/tools/terraform/">www.clever.cloud/developers</a>.</em></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That is exactly when infrastructure as code (IaC, the practice of defining your resources in versioned files that act as the source of truth) becomes the obvious next step, and when you discover that Terraform knows nothing about what already exists.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Until now, catching up was expensive: one <code>terraform import</code> command per resource, an HCL block written by hand for each one, attribute by attribute, and a plan that offers to destroy everything at the slightest missing line. Forty resources, a day gone. Clever Tools 5.3 and version 3.0 of <a href="https://www.clever.cloud/product/terraform/">our Terraform provider</a> bring the operation down to three commands: <code>clever features</code>, <code>clever terraform generate</code> and <code>terraform plan</code>. Here is how they fit together and, more importantly, what to check before you apply.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">What you need</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>You need three tools: Terraform 1.5 or later (or <a href="https://www.clever.cloud/blog/engineering/2026/03/25/opentofu-the-open-source-terraform-fork/">OpenTofu</a> 1.6 or later, the Terraform fork, which implements the same import blocks), Clever Tools 5.3 and version 3.0 of the Clever Cloud provider. The command we need is still in beta, so you have to enable it explicitly:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>npm install -g clever-tools@latest
clever login
clever features enable terraform</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:heading -->
<h2 class="wp-block-heading">A word about our provider</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Open source from day one and published on both the Terraform and OpenTofu registries, the provider now covers most of the platform: runtimes, managed databases and add-ons, <a href="https://www.clever.cloud/product/cellar-object-storage/">object storage</a> and FS Buckets, log drains, <a href="https://www.clever.cloud/product/network-groups/">Network Groups</a>, <a href="https://www.clever.cloud/clever-kubernetes-engine/">Kubernetes clusters</a> and even OAuth consumers. Beyond provisioning, it can deploy your code from a Git repository and pin a commit, link an application to its add-ons the way <code>clever service link-addon</code> does, read the load balancer address for your DNS records, or browse a database’s backups. Since version 3.0, it accepts an API token for CI integration, and with Terraform 1.14 and later, its actions restart an application, run a SQL query against PostgreSQL or upload files to an FS Bucket without leaving <code>terraform apply</code>. Forty-eight resource types, two data sources and three actions: enough to describe an entire organisation, not just import it.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Step 1: declare the Clever Cloud Terraform provider</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>In an empty directory, create a <code>provider.tf</code> file:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>terraform {
  required_providers {
    clevercloud = {
      source  = "CleverCloud/clevercloud"
      version = "~&gt; 3.0"
    }
  }
}

provider "clevercloud" {}</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>The provider block stays empty: after <code>clever login</code>, the provider reuses the credentials of the active Clever Tools profile. All it still needs is the organisation to target, passed through an environment variable (a <code>user_...</code> identifier also works for a personal space):</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>export CC_ORGANISATION="orga_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
terraform init</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Step 2: generate import blocks with <code>clever terraform generate</code></h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>This is where the new feature in Clever Tools 5.3 comes in. The <code>clever terraform generate</code> command goes through every application and add-on in an organisation and writes the import block Terraform expects for each one:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>clever terraform generate --org orga_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx &gt; imports.tf</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>The resulting file looks like this:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code># my-api
import {
  to = clevercloud_nodejs.my-api
  id = "app_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}

# my-db
import {
  to = clevercloud_postgresql.my-db
  id = "postgresql_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>Each application is mapped to the resource type for its runtime (<code>clevercloud_nodejs</code>, <code>clevercloud_php</code>, <code>clevercloud_docker</code>, <code>clevercloud_java_maven</code>...), and each add-on to its own (<code>clevercloud_postgresql</code>, <code>clevercloud_redis</code>, <code>clevercloud_cellar</code>...).</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The command also filters out what you should not import. A Keycloak, Matomo, Metabase or Otoroshi add-on provisions its own application and databases, and an Elasticsearch add-on comes with its own Kibana. These resources show up in your organisation like any other, but they belong to the add-on that manages them. Importing them would hand them over to Terraform, which would then start changing them alongside the add-on. <code>clever terraform generate</code> skips them and reports it on standard error, just as it reports the few runtimes that have no equivalent in the provider yet. Nothing is dropped silently.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The names in the Terraform addresses are derived from your application and add-on names: lowercased, stripped of special characters, and prefixed with <code>_</code> if they start with a digit. Two resources with the same type and name, two Node.js applications both called “demo”, for example, cannot coexist in one configuration. The second one gets a suffix taken from its identifier (<code>demo-11ced66e</code>), and standard error reports it (<code>Name collision on nodejs.demo: suffixing with 11ced66e</code>). These names are only labels in your code: rename them as you like in <code>imports.tf</code> before step 3, and Terraform will generate the configuration under the new name.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>To adopt Terraform gradually, you can restrict generation to a single application, or to resources with a given tag:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>clever terraform generate --app my-api &gt; imports.tf
clever terraform generate --tag env:staging &gt; imports.tf</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Step 3: generate the HCL configuration with <code>terraform plan</code></h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Since version 1.5, Terraform can write the configuration for the resources targeted by import blocks on its own:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>terraform plan -generate-config-out=generated.tf</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>Terraform reads each resource from the platform, writes its HCL block to <code>generated.tf</code> (the file must not already exist) and displays the corresponding plan, without writing anything to the state. The file contains the actual values: name, region, minimum and maximum instance counts, flavors, the add-on’s <code>plan</code> and dependencies.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>One point needs explaining. On an application, <code>min_instance_count</code>, <code>max_instance_count</code>, <code>smallest_flavor</code> and <code>biggest_flavor</code> are required, as is <code>plan</code> on an add-on, and they have no default: the provider will never fill them in on its own. These attributes determine what the resource costs, and we refuse to let a configuration stay silent about them and quietly adopt whatever the platform happens to be running. This is also the reason to prefer import blocks over the <code>terraform import</code> command, which writes directly to the state and requires you to write the full resource block yourself beforehand, or face a <code>Missing required argument</code> error on the next plan.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Secrets and environment variables: the Terraform import trap</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>This is the step where you need to slow down. Terraform never copies a value that the provider declares sensitive into a generated configuration, and the provider declares an application’s environment variables sensitive. For each application, the generated file therefore contains:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>resource "clevercloud_nodejs" "my-api" {
  name               = "my-api"
  region             = "par"
  min_instance_count = 1
  max_instance_count = 2
  smallest_flavor    = "XS"
  biggest_flavor     = "M"
  environment        = null # sensitive
}</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p><strong>Applying this file as is would delete all of the application’s environment variables.</strong> The provider offers an environment variable that works around this behaviour while you generate the configuration:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>BYPASS_SENSITIVE_IMPORTS=true terraform plan -generate-config-out=generated.tf</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>The provider then stops reporting these attributes as sensitive, so Terraform writes them out like any other, and <code>environment</code> contains all your variables in plain text. The file is not the only place: as long as the variable is set, the output of <code>terraform plan</code> also shows these values in plain text. Run this step from your own machine, never in a CI pipeline whose logs are kept. That is exactly what we wanted, and it is also why you need to be careful: API keys, external database passwords, third-party service tokens, everything you stored with <code>clever env set</code> ends up in a <code>.tf</code> file that you are about to commit.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Before the first commit, review these variables. Ordinary configuration values (<code>NODE_ENV</code>, a port, a public URL) can stay in the code. Secrets have to move out, to whatever tool your team already uses: HashiCorp Vault or OpenBao, your CI’s protected variables, a file encrypted with SOPS, or at the very least Terraform variables marked <code>sensitive</code> and supplied at run time:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>variable "stripe_api_key" {
  type      = string
  sensitive = true
}

resource "clevercloud_nodejs" "my-api" {
  # ...
  environment = {
    NODE_ENV       = "production"
    STRIPE_API_KEY = var.stripe_api_key
  }
}</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>This change shows up on the next plan, as an in-place update to <code>environment</code> even though the value has not changed: Terraform only records in the state that this value is now sensitive. The provider compares values, not their status, so identical values do not trigger an application restart.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Remove <code>BYPASS_SENSITIVE_IMPORTS</code> as soon as <code>generated.tf</code> is written. The configuration remains valid without it, and the provider displays the warning <code>Sensitive attributes are not redacted</code> on every command for as long as the variable is set. As for the Terraform state, it always contains these values, whatever you choose, so storing it deserves the same care as the secrets themselves.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Step 4: check the plan, then apply</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Once you have reviewed and cleaned up <code>generated.tf</code>, running <code>terraform plan</code> without the bypass variable should show one import per resource, and no change other than the <code>environment</code> attributes whose secrets you have just marked as sensitive:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  ">
  <pre style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "><code>terraform plan
# Plan: 2 to import, 0 to add, 1 to change, 0 to destroy.
# ~ environment = (sensitive value) value unchanged, sensitive status recorded
terraform apply</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>Any other change means that an attribute in the configuration differs from what the platform is running: read it before confirming.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The apply then records the resources in the state, along with the sensitivity of the secrets passed as variables. It does not touch anything on the platform. When a final <code>terraform plan</code> reports <code>No changes.</code>, your infrastructure is described in code and you can remove the import blocks.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Code deployment stays your call</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>An import never fills in an application’s <code>deployment</code> block. The provider cannot guess whether you want Terraform to manage your deployments as well, and adding this block triggers a deployment on the first apply.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>You have three options. The first is to add nothing: Terraform manages the configuration, you keep deploying with <code>git push</code> or <code>clever deploy</code>, and a change to an environment variable restarts the application, just as it does today. The second is to set <code>commit = "github_hook"</code> in the <code>deployment</code> block if the application is linked to a GitHub repository: deployments remain driven by GitHub, and the provider never pushes code. The third is to hand deployment over to Terraform with <code>repository</code> and, if you wish, a specific <code>commit</code>. In that case, an API token (<code>clever tokens create</code>) is not enough, because it cannot push to Git, so the provider needs the OAuth credentials of the Clever Tools profile.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">After the import</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>The <code>generated.tf</code> file is a starting point, not a finished configuration. A few changes make it maintainable: split the file by service or by environment, replace the hard-coded identifiers in the <code>dependencies</code> attribute with references (<code>clevercloud_postgresql.my-db.id</code>), and move whatever differs between staging and production into variables. And since the command is in beta, your feedback is welcome on the <a href="https://github.com/CleverCloud/clever-tools/issues">Clever Tools GitHub repository</a>: that is how it will move out of beta.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That leaves the question of the state, which you currently keep in an S3 bucket or a third-party backend. We will not say more for now, except that it may soon no longer need to leave Clever Cloud.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">FAQ</h2>
<!-- /wp:heading -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Does the import modify my applications?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>No. Import blocks only write to the state. The only expected update is to <code>environment</code>, when you have replaced a secret with a <code>sensitive</code> variable: the value is identical and the provider does not restart the application. The only real risk is applying a configuration in which <code>environment</code> is <code>null</code>, which is the whole point of the section on secrets.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Can I import only part of my organisation?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Yes, with <code>--app</code> for a single application or <code>--tag</code> for resources with a given tag. Nothing forces you to migrate everything at once.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Why are some resources missing from the <code>imports.tf</code> file?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Either they are managed by an add-on (a Keycloak add-on’s application, an Elasticsearch add-on’s Kibana) and Terraform must not take them over, or their runtime does not have a resource in the provider yet. In both cases, the command says so on standard error.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Does it work with OpenTofu, the Terraform fork?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Yes. OpenTofu has supported import blocks and the <code>-generate-config-out</code> flag since version 1.6, and our provider is available on its registry.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Should I keep the import blocks?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>No. Once the resources are in the state, they no longer serve any purpose and can be deleted.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><em>Clever Tools 5.3 is open source on <a href="https://github.com/CleverCloud/clever-tools">GitHub</a>, available on <a href="https://www.npmjs.com/package/clever-tools">npm</a> and in our package repositories. The Clever Cloud provider is published on the <a href="https://registry.terraform.io/providers/CleverCloud/clevercloud/latest">Terraform Registry</a>, its code is on <a href="https://github.com/CleverCloud/terraform-provider-clevercloud">GitHub</a>, and the full documentation is available at <a href="https://www.clever.cloud/developers/doc/tools/terraform/">www.clever.cloud/developers</a>.</em></p>
<!-- /wp:paragraph -->]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Stop Prompting. Start Shipping. What 40 developers built at Devoxx Belgium</title>
		<link>https://www.clever.cloud/blog/devrel/2026/10/16/devoxx-belgium-48-apps-40-developers/</link>
		
		<dc:creator><![CDATA[Horacio Gonzalez]]></dc:creator>
		<pubDate>Fri, 16 Oct 2026 15:25:28 +0000</pubDate>
				<category><![CDATA[DevRel]]></category>
		<category><![CDATA[Event]]></category>
		<category><![CDATA[Engineering]]></category>
		<guid isPermaLink="false">https://www.clever.cloud/?p=25791</guid>

					<description><![CDATA[<p><img width="2500" height="1109" src="https://cdn.clever-cloud.com/uploads/2026/10/2026-10-16-clever-cloud-banniere-blog-stop-prompting--start-shipping--en-1.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="2026.10.16 Clever Cloud Bannière Blog Stop Prompting. Start Shipping. EN" decoding="async" loading="lazy" srcset="https://cdn.clever-cloud.com/uploads/2026/10/2026-10-16-clever-cloud-banniere-blog-stop-prompting--start-shipping--en-1.png 2500w, https://cdn.clever-cloud.com/uploads/2026/10/2026-10-16-clever-cloud-banniere-blog-stop-prompting--start-shipping--en-1-300x133.png 300w, https://cdn.clever-cloud.com/uploads/2026/10/2026-10-16-clever-cloud-banniere-blog-stop-prompting--start-shipping--en-1-1024x454.png 1024w, https://cdn.clever-cloud.com/uploads/2026/10/2026-10-16-clever-cloud-banniere-blog-stop-prompting--start-shipping--en-1-768x341.png 768w, https://cdn.clever-cloud.com/uploads/2026/10/2026-10-16-clever-cloud-banniere-blog-stop-prompting--start-shipping--en-1-1536x681.png 1536w, https://cdn.clever-cloud.com/uploads/2026/10/2026-10-16-clever-cloud-banniere-blog-stop-prompting--start-shipping--en-1-2048x908.png 2048w, https://cdn.clever-cloud.com/uploads/2026/10/2026-10-16-clever-cloud-banniere-blog-stop-prompting--start-shipping--en-1-1368x607.png 1368w" sizes="auto, (max-width: 2500px) 100vw, 2500px" /></p><!-- wp:paragraph -->
<p><em>We challenged developers at Devoxx Belgium to build and deploy a real application, with a real database, in roughly 15 minutes. We gave them a little help from AI, a Belgian twist, and some LEGO as motivation. Here's what happened.</em></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>I've been attending Devoxx Belgium for almost 20 years. It's one of those conferences that means a lot to me, both personally and professionally. It's where I got the inspiration to create what would eventually become FinistDevs, where I started imagining myself as a conference speaker, and where, a few years later, I discovered that Developer Relations could actually be a job.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>So when Clever Cloud decided to sponsor Devoxx Belgium this year, I was particularly happy.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>But there was one question I wanted to answer before arriving in Antwerp:&nbsp;<strong>what could we do at our booth that would be genuinely interesting for developers?</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Of course, we wanted people to discover Clever Cloud. That's why companies sponsor developer conferences in the first place.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>But I didn't want to spend three days telling people how easy it is to deploy an application on our platform.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>I wanted them to experience it.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>And that's how the&nbsp;<strong>15-minute Clever Cloud Challenge</strong>&nbsp;was born.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Stop Prompting. Start Shipping.</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>The idea was pretty simple.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Come to our booth. Open your laptop. Build a tiny application. Connect it to a real database. Deploy everything on Clever Cloud.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>And do it in roughly 15 minutes.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>There were only a few rules:</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul class="wp-block-list"><!-- wp:list-item -->
<li><strong>Any stack.</strong>&nbsp;JavaScript, Python, Java, Go, whatever you prefer.</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>Any AI.</strong>&nbsp;Claude, ChatGPT, Gemini, Copilot, or your favorite coding agent. We didn't care.</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>A little Belgian flavor.</strong>&nbsp;Fries, beer, comics, cycling, Magritte, Devoxx itself. Anything vaguely connected to Belgium.</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>A real database and a real deployment.</strong>&nbsp;Not a mockup, not a screenshot, not an application running only on your laptop. Something publicly accessible, with data that actually persists.</li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p>And because 15 minutes is a target, not a reason to punish someone for spending a little longer debugging, we weren't particularly strict about the stopwatch.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The important thing was to ship something.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>We prepared a&nbsp;<a href="https://lostinbrittany.dev/cc-devoxx-be-2026/">dedicated challenge page</a>&nbsp;with instructions, a starter prompt people could copy into their favorite AI assistant, and a coupon giving them €200 in Clever Cloud credits, valid for six months.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The prompt suggested three small application ideas, helped the participant choose one, and guided them through development, database creation, and deployment.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>We also added a little incentive: everyone who successfully completed the challenge could enter a daily LEGO draw. Because, well, LEGO.</p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":25792,"sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large"><img src="https://cdn.clever-cloud.com/uploads/2026/10/image-1024x430.png" alt="image" class="wp-image-25792"/><figcaption class="wp-element-caption">BB-8 on Tuesday. Tintin's Moon Rocket on Wednesday. Munchlax on Thursday.<br></figcaption></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>But there was no jury, no ranking, and no prize for the most sophisticated application. A tiny, functional app had exactly the same chance of winning as an ambitious one.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>We weren't organizing a hackathon, we were inviting developers to discover a platform by actually using it.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">40 developers. 48 deployed applications.</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>And it worked.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Over the three days,&nbsp;<strong>40 developers created and deployed an application with a real database on Clever Cloud.</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>I want to insist on that number for a moment.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Not 40 people who scanned a QR code, not 40  email addresses collected at a booth, not 40 coupons handed out.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>40 developers who actually built something, provisioned a database, deployed their application, and came back to show us what they had shipped.</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>For me, that's a much more interesting result than the number of people who walked past our booth.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>And the best part? What they built.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>We deliberately kept the challenge open-ended. We didn't provide a template application or a predefined tutorial that everybody had to follow.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>We gave people a goal, a few constraints, and the freedom to be creative.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The results were far more varied than I expected.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Some of my favorite applications</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>I couldn't possibly feature all 48 applications here, but I wanted to share a few that particularly caught my attention.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Not necessarily because they were the most technically sophisticated, but because they were fun, original, or made particularly good use of the challenge's constraints.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">It's Raining Devs: Magritte meets Devoxx</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p><a href="https://raining-devs.cleverapps.io/"><strong>Try It's Raining Devs</strong></a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>This one is probably among my favorites.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Take René Magritte's surrealist paintings, add a crowd of developers attending Devoxx, and turn the whole thing into an interactive, collaborative artwork.</p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":25794,"sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large"><img src="https://cdn.clever-cloud.com/uploads/2026/10/image-1-1024x557.png" alt="image" class="wp-image-25794"/></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>Participants can create their own floating developer, choose what hides their face, give themselves a name, and join the painting.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>And those developers aren't just temporary elements rendered in a browser. Each one is stored as a record in PostgreSQL on Clever Cloud.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>There are even little interactions, a roll call, and postcards you can save or share.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>I love this one because it combines something very Belgian, a genuinely playful idea, and a database that is an integral part of the experience.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>It also illustrates something I really appreciate about these coding challenges:&nbsp;<strong>a tiny application doesn't have to be a boring application.</strong></p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Roll for Waffle: let the dice decide your destiny</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p><a href="https://roll-for-waffle.cleverapps.io/"><strong>Roll your own Belgian waffle</strong></a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>What happens when you combine Belgian waffles with polyhedral dice, the kind you would normally use in a tabletop role-playing game?</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>You get&nbsp;<strong>Roll for Waffle</strong>, and I absolutely love it.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The concept is wonderfully simple: instead of choosing your waffle ingredients, you let the dice decide.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>First, roll for your waffle base. Then roll for your primary topping. And finally, roll for a secondary topping. Each roll comes with a lovely animated polyhedral die, and the result is added to your creation.<br></p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":25801,"sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large"><img src="https://cdn.clever-cloud.com/uploads/2026/10/image-5-1024x794.png" alt="image" class="wp-image-25801"/></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>Will you end up with a classic Liège waffle covered in speculoos spread and fresh strawberries? Or some completely improbable combination that no Belgian pastry chef would ever dare to serve?</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That's the beauty of it. You don't get to choose. The dice have spoken.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>And once your creation is complete, you can share your randomly generated masterpiece.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>As someone who has spent a ridiculous number of hours rolling polyhedral dice over the years, this one immediately made me smile.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>It's a perfect example of what I loved about the challenge:&nbsp;<strong>give developers a simple theme, a little freedom, and the opportunity to experiment, and they'll come up with ideas you would never have imagined yourself.</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Now, if you'll excuse me, I have a waffle to roll.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Devoxx Bingo: because every conference has its clichés</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p><a href="https://app-8b118b78-eda8-41cf-bae3-96fd714dc7a8.cleverapps.io/"><strong>Play Devoxx Bingo</strong></a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>If you've attended enough developer conferences, you know that some things are almost guaranteed to happen.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Certain expressions will be repeated. Certain technologies will be mentioned. Certain conference moments will feel strangely familiar.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Why not turn that into a bingo game?</p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":25795,"sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large"><img src="https://cdn.clever-cloud.com/uploads/2026/10/image-2-1024x916.png" alt="image" class="wp-image-25795"/></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>Devoxx Bingo gives you a card of conference clichés to spot during the event. Mark them as you encounter them, and try to complete a row.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>It's presented as an unofficial side quest, with absolutely no prizes and some very questionable bragging rights.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Exactly the kind of application that makes me smile.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>And honestly, I can imagine people actually using it during a conference.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Devoxx YouTube Search: rediscovering conference talks</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p><a href="https://devoxx-youtube-search.cleverapps.io/"><strong>Explore Devoxx YouTube Search</strong></a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Devoxx has an incredible collection of recorded conference talks on YouTube, accumulated over many years.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>And as someone who has been attending Devoxx for almost two decades, I love the idea of making that knowledge easier to explore.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That's the idea behind&nbsp;<strong>Devoxx YouTube Search</strong>, another application created during our challenge.<br></p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":25802,"sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large"><img src="https://cdn.clever-cloud.com/uploads/2026/10/image-6-1024x499.png" alt="image" class="wp-image-25802"/><figcaption class="wp-element-caption">image</figcaption></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>What I particularly appreciate is the choice of subject. While many participants went for something playful or distinctly Belgian, this developer chose to build something directly connected to the conference and its content.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>It's a lovely reminder that a challenge like ours doesn't have to produce just games and experiments. It can also inspire tools that address real needs within the developer community.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">BelgiQ: how Belgian are you, really?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p><a href="https://app-ffd5ff7b-b8c7-4a47-8c51-6a14f097f314.cleverapps.io/"><strong>Try BelgiQ</strong></a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>BelgiQ describes itself as&nbsp;<em>« Le quiz qui a la frite »</em>.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That's already a good start.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>It's a Belgian-themed quiz, available in French, Dutch, and English, with a leaderboard.</p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":25796,"sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large"><img src="https://cdn.clever-cloud.com/uploads/2026/10/image-3-1024x601.png" alt="image" class="wp-image-25796"/></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>But what makes this application particularly interesting is that its creator,&nbsp;<strong>Gwenaël Jakab, shared his experience on LinkedIn</strong>.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Gwenaël decided to build BelgiQ using Node.js, Express and PostgreSQL. He used ChatGPT to prepare his prompt, then handed implementation and deployment to ChatGPT Work.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>15 minutes later, he had a working application.</strong>&nbsp;After another 10 minutes of reviewing the result, making adjustments and requesting some refactoring, he had a V2 he was happy with.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>And he hadn't written the application code himself.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>What I particularly appreciated about&nbsp;<a href="https://lnkd.in/p/ebBTemUP">his post</a>&nbsp;was his perspective on the developer's role. Even when an AI agent handles implementation, someone still needs to make architectural decisions, define requirements, review the code and validate the result.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That's an important distinction, and one that sometimes gets lost in discussions about AI-assisted development.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>For me, his experience also illustrates exactly what we were hoping to achieve with the challenge:&nbsp;<strong>let developers focus on what they want to build, while discovering how straightforward it can be to deploy it on Clever Cloud.</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>And the best part? You can&nbsp;<a href="https://app-ffd5ff7b-b8c7-4a47-8c51-6a14f097f314.cleverapps.io/">try BelgiQ yourself</a>.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Friesdvisor: the important questions in life</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p><a href="https://friesdvisor.cleverapps.io/"><strong>Explore Friesdvisor</strong></a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Forget restaurant recommendations.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>We're in Belgium. We need to talk about fries.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Friesdvisor is a directory where you can search for a&nbsp;<em>friterie</em>&nbsp;or a town and add new places.</p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":25799,"sizeSlug":"full","linkDestination":"none"} -->
<figure class="wp-block-image size-full"><img src="https://cdn.clever-cloud.com/uploads/2026/10/image-4.png" alt="image" class="wp-image-25799"/></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>It's a wonderfully straightforward idea, and exactly the kind of Belgian connection we were hoping people would invent.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>I particularly like that it's not just a joke. It's a concept that could grow into a genuinely useful little community application.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>And, of course, it needs somewhere to store all those friteries.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">48 applications, and plenty more creativity to discover</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>These are just a few of my personal favorites.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>But one of the things I loved most about the challenge was the sheer variety of ideas. Give 40 developers the same starting point, the same constraints, and roughly 15 minutes, and you get 48 different interpretations of what a tiny application can be.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Some went for games. Others built practical tools. Some embraced Belgian culture, while others found inspiration in the conference itself.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>And I couldn't possibly do justice to all of them in a single blog post.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That's why we created the&nbsp;<strong>Built at Devoxx Belgium gallery</strong>, where you can explore the applications that participants chose to share publicly.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong><a href="https://devrel.clever.cloud/2026/devoxx-be/gallery/">👉 Explore the Clever Cloud Challenge Gallery</a></strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Have a look around. Try the applications. See what people came up with.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>And if one of them makes you smile, or gives you an idea for something you'd like to build yourself, then I think our little experiment has already achieved something pretty cool.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">What did we learn?</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>A few things stood out to me during those three days.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>First, developers are remarkably creative when you give them just enough constraints.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The Belgian theme was deliberately vague. We didn't want people spending ten minutes wondering whether their idea qualified.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>A Belgian dish? Great.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>A reference to a Belgian artist? Perfect.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>A joke about Devoxx? Absolutely.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That small creative constraint gave people somewhere to start without telling them exactly what to build.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Second, AI coding assistants make this kind of exercise much more accessible.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Not everybody arrived with a project idea, a favorite framework, or a clear understanding of how to provision and connect a database. But with a little guidance, they could go from an idea to something running online surprisingly quickly.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Gwenaël's experience with BelgiQ illustrates another important point:&nbsp;<strong>AI-assisted development doesn't remove the developer from the process. It changes what the developer spends their time doing.</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The developer still makes decisions, defines requirements, reviews the results, and takes responsibility for what gets shipped. Meanwhile, the coding agent can handle much of the implementation work, and the platform takes care of the infrastructure.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Of course, the AI didn't magically eliminate every problem. There were still deployment questions, configuration issues, and moments when someone needed a little help. That's why we were there.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>But the combination of AI-assisted development and a platform that takes care of the infrastructure made it possible to focus on the interesting part: building and shipping the application. And that's exactly what we wanted people to experience with Clever Cloud.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Finally, I was reminded of something fundamental about Developer Relations.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>Showing people how something works is useful. Helping them discover it for themselves is even better.</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>I could have spent fifteen minutes explaining how Clever Cloud handles deployments, databases, environment variables, and application hosting. Instead, developers spent those fifteen minutes doing it. And at the end, they had something of their own to show.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That's a very different conversation to have at a conference booth.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">What's next?</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>The challenge doesn't have to end at Devoxx.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Everyone who participated received €200 in Clever Cloud credits, valid for six months after activation. That gives them the opportunity to keep experimenting, improve their application, or start something completely different.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>We're also thinking about how to extend the experience with additional small challenges, encouraging participants to explore more of the platform.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>And I'd really like to repeat this experiment at other conferences.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The Belgian theme worked beautifully at Devoxx Belgium. Imagine what developers could come up with at conferences in other cities or countries.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>We already have a few ideas.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Your turn. Stop prompting. Start shipping!</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>I've attended a lot of developer conferences over the years, on both sides of the booth. I've distributed stickers, handed out T-shirts, given demonstrations, answered technical questions, and had countless conversations about cloud platforms. I still love all of that.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>But watching someone arrive at our booth with nothing more than an idea, then return a little later with a working application deployed on Clever Cloud? That was particularly satisfying.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>And seeing the creativity of those 40 developers made the whole experiment worthwhile.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>So, to everyone who participated in the challenge at Devoxx Belgium:&nbsp;<strong>thank you!</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Thank you for taking the time to try Clever Cloud, for embracing the slightly ridiculous Belgian theme, and especially for showing us what you built.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Want to give it a try?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Good news:&nbsp;<strong>you don't need to attend Devoxx to take the challenge!</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The&nbsp;<a href="https://lostinbrittany.dev/cc-devoxx-be-2026/">original Devoxx Belgium Challenge</a>&nbsp;is still online, and we've also created a&nbsp;<a href="https://devrel.clever.cloud/2026/stop-prompting-start-shipping/en/">generic version of Stop Prompting. Start Shipping.</a>&nbsp;that anyone can try, anywhere.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The special €200 Devoxx coupon is no longer available, but&nbsp;<strong>every new Clever Cloud account comes with €20 in free credits</strong>, which is more than enough to build and deploy a small application with a database.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Pick a theme. Open your favorite AI coding assistant. Give yourself 15 minutes.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Build something fun, connect a database, and deploy it.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>And if you do, I'd genuinely love to see what you come up with. Share your application with me!</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>Stop prompting. Start shipping.</strong></p>
<!-- /wp:paragraph -->]]></description>
										<content:encoded><![CDATA[<p><img width="2500" height="1109" src="https://cdn.clever-cloud.com/uploads/2026/10/2026-10-16-clever-cloud-banniere-blog-stop-prompting--start-shipping--en-1.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="2026.10.16 Clever Cloud Bannière Blog Stop Prompting. Start Shipping. EN" decoding="async" loading="lazy" srcset="https://cdn.clever-cloud.com/uploads/2026/10/2026-10-16-clever-cloud-banniere-blog-stop-prompting--start-shipping--en-1.png 2500w, https://cdn.clever-cloud.com/uploads/2026/10/2026-10-16-clever-cloud-banniere-blog-stop-prompting--start-shipping--en-1-300x133.png 300w, https://cdn.clever-cloud.com/uploads/2026/10/2026-10-16-clever-cloud-banniere-blog-stop-prompting--start-shipping--en-1-1024x454.png 1024w, https://cdn.clever-cloud.com/uploads/2026/10/2026-10-16-clever-cloud-banniere-blog-stop-prompting--start-shipping--en-1-768x341.png 768w, https://cdn.clever-cloud.com/uploads/2026/10/2026-10-16-clever-cloud-banniere-blog-stop-prompting--start-shipping--en-1-1536x681.png 1536w, https://cdn.clever-cloud.com/uploads/2026/10/2026-10-16-clever-cloud-banniere-blog-stop-prompting--start-shipping--en-1-2048x908.png 2048w, https://cdn.clever-cloud.com/uploads/2026/10/2026-10-16-clever-cloud-banniere-blog-stop-prompting--start-shipping--en-1-1368x607.png 1368w" sizes="auto, (max-width: 2500px) 100vw, 2500px" /></p><!-- wp:paragraph -->
<p><em>We challenged developers at Devoxx Belgium to build and deploy a real application, with a real database, in roughly 15 minutes. We gave them a little help from AI, a Belgian twist, and some LEGO as motivation. Here's what happened.</em></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>I've been attending Devoxx Belgium for almost 20 years. It's one of those conferences that means a lot to me, both personally and professionally. It's where I got the inspiration to create what would eventually become FinistDevs, where I started imagining myself as a conference speaker, and where, a few years later, I discovered that Developer Relations could actually be a job.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>So when Clever Cloud decided to sponsor Devoxx Belgium this year, I was particularly happy.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>But there was one question I wanted to answer before arriving in Antwerp:&nbsp;<strong>what could we do at our booth that would be genuinely interesting for developers?</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Of course, we wanted people to discover Clever Cloud. That's why companies sponsor developer conferences in the first place.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>But I didn't want to spend three days telling people how easy it is to deploy an application on our platform.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>I wanted them to experience it.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>And that's how the&nbsp;<strong>15-minute Clever Cloud Challenge</strong>&nbsp;was born.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Stop Prompting. Start Shipping.</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>The idea was pretty simple.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Come to our booth. Open your laptop. Build a tiny application. Connect it to a real database. Deploy everything on Clever Cloud.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>And do it in roughly 15 minutes.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>There were only a few rules:</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul class="wp-block-list"><!-- wp:list-item -->
<li><strong>Any stack.</strong>&nbsp;JavaScript, Python, Java, Go, whatever you prefer.</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>Any AI.</strong>&nbsp;Claude, ChatGPT, Gemini, Copilot, or your favorite coding agent. We didn't care.</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>A little Belgian flavor.</strong>&nbsp;Fries, beer, comics, cycling, Magritte, Devoxx itself. Anything vaguely connected to Belgium.</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>A real database and a real deployment.</strong>&nbsp;Not a mockup, not a screenshot, not an application running only on your laptop. Something publicly accessible, with data that actually persists.</li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p>And because 15 minutes is a target, not a reason to punish someone for spending a little longer debugging, we weren't particularly strict about the stopwatch.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The important thing was to ship something.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>We prepared a&nbsp;<a href="https://lostinbrittany.dev/cc-devoxx-be-2026/">dedicated challenge page</a>&nbsp;with instructions, a starter prompt people could copy into their favorite AI assistant, and a coupon giving them €200 in Clever Cloud credits, valid for six months.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The prompt suggested three small application ideas, helped the participant choose one, and guided them through development, database creation, and deployment.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>We also added a little incentive: everyone who successfully completed the challenge could enter a daily LEGO draw. Because, well, LEGO.</p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":25792,"sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large"><img src="https://cdn.clever-cloud.com/uploads/2026/10/image-1024x430.png" alt="image" class="wp-image-25792"/><figcaption class="wp-element-caption">BB-8 on Tuesday. Tintin's Moon Rocket on Wednesday. Munchlax on Thursday.<br></figcaption></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>But there was no jury, no ranking, and no prize for the most sophisticated application. A tiny, functional app had exactly the same chance of winning as an ambitious one.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>We weren't organizing a hackathon, we were inviting developers to discover a platform by actually using it.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">40 developers. 48 deployed applications.</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>And it worked.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Over the three days,&nbsp;<strong>40 developers created and deployed an application with a real database on Clever Cloud.</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>I want to insist on that number for a moment.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Not 40 people who scanned a QR code, not 40  email addresses collected at a booth, not 40 coupons handed out.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>40 developers who actually built something, provisioned a database, deployed their application, and came back to show us what they had shipped.</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>For me, that's a much more interesting result than the number of people who walked past our booth.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>And the best part? What they built.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>We deliberately kept the challenge open-ended. We didn't provide a template application or a predefined tutorial that everybody had to follow.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>We gave people a goal, a few constraints, and the freedom to be creative.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The results were far more varied than I expected.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Some of my favorite applications</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>I couldn't possibly feature all 48 applications here, but I wanted to share a few that particularly caught my attention.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Not necessarily because they were the most technically sophisticated, but because they were fun, original, or made particularly good use of the challenge's constraints.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">It's Raining Devs: Magritte meets Devoxx</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p><a href="https://raining-devs.cleverapps.io/"><strong>Try It's Raining Devs</strong></a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>This one is probably among my favorites.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Take René Magritte's surrealist paintings, add a crowd of developers attending Devoxx, and turn the whole thing into an interactive, collaborative artwork.</p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":25794,"sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large"><img src="https://cdn.clever-cloud.com/uploads/2026/10/image-1-1024x557.png" alt="image" class="wp-image-25794"/></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>Participants can create their own floating developer, choose what hides their face, give themselves a name, and join the painting.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>And those developers aren't just temporary elements rendered in a browser. Each one is stored as a record in PostgreSQL on Clever Cloud.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>There are even little interactions, a roll call, and postcards you can save or share.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>I love this one because it combines something very Belgian, a genuinely playful idea, and a database that is an integral part of the experience.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>It also illustrates something I really appreciate about these coding challenges:&nbsp;<strong>a tiny application doesn't have to be a boring application.</strong></p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Roll for Waffle: let the dice decide your destiny</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p><a href="https://roll-for-waffle.cleverapps.io/"><strong>Roll your own Belgian waffle</strong></a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>What happens when you combine Belgian waffles with polyhedral dice, the kind you would normally use in a tabletop role-playing game?</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>You get&nbsp;<strong>Roll for Waffle</strong>, and I absolutely love it.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The concept is wonderfully simple: instead of choosing your waffle ingredients, you let the dice decide.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>First, roll for your waffle base. Then roll for your primary topping. And finally, roll for a secondary topping. Each roll comes with a lovely animated polyhedral die, and the result is added to your creation.<br></p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":25801,"sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large"><img src="https://cdn.clever-cloud.com/uploads/2026/10/image-5-1024x794.png" alt="image" class="wp-image-25801"/></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>Will you end up with a classic Liège waffle covered in speculoos spread and fresh strawberries? Or some completely improbable combination that no Belgian pastry chef would ever dare to serve?</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That's the beauty of it. You don't get to choose. The dice have spoken.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>And once your creation is complete, you can share your randomly generated masterpiece.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>As someone who has spent a ridiculous number of hours rolling polyhedral dice over the years, this one immediately made me smile.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>It's a perfect example of what I loved about the challenge:&nbsp;<strong>give developers a simple theme, a little freedom, and the opportunity to experiment, and they'll come up with ideas you would never have imagined yourself.</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Now, if you'll excuse me, I have a waffle to roll.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Devoxx Bingo: because every conference has its clichés</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p><a href="https://app-8b118b78-eda8-41cf-bae3-96fd714dc7a8.cleverapps.io/"><strong>Play Devoxx Bingo</strong></a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>If you've attended enough developer conferences, you know that some things are almost guaranteed to happen.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Certain expressions will be repeated. Certain technologies will be mentioned. Certain conference moments will feel strangely familiar.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Why not turn that into a bingo game?</p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":25795,"sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large"><img src="https://cdn.clever-cloud.com/uploads/2026/10/image-2-1024x916.png" alt="image" class="wp-image-25795"/></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>Devoxx Bingo gives you a card of conference clichés to spot during the event. Mark them as you encounter them, and try to complete a row.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>It's presented as an unofficial side quest, with absolutely no prizes and some very questionable bragging rights.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Exactly the kind of application that makes me smile.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>And honestly, I can imagine people actually using it during a conference.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Devoxx YouTube Search: rediscovering conference talks</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p><a href="https://devoxx-youtube-search.cleverapps.io/"><strong>Explore Devoxx YouTube Search</strong></a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Devoxx has an incredible collection of recorded conference talks on YouTube, accumulated over many years.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>And as someone who has been attending Devoxx for almost two decades, I love the idea of making that knowledge easier to explore.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That's the idea behind&nbsp;<strong>Devoxx YouTube Search</strong>, another application created during our challenge.<br></p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":25802,"sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large"><img src="https://cdn.clever-cloud.com/uploads/2026/10/image-6-1024x499.png" alt="image" class="wp-image-25802"/><figcaption class="wp-element-caption">image</figcaption></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>What I particularly appreciate is the choice of subject. While many participants went for something playful or distinctly Belgian, this developer chose to build something directly connected to the conference and its content.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>It's a lovely reminder that a challenge like ours doesn't have to produce just games and experiments. It can also inspire tools that address real needs within the developer community.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">BelgiQ: how Belgian are you, really?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p><a href="https://app-ffd5ff7b-b8c7-4a47-8c51-6a14f097f314.cleverapps.io/"><strong>Try BelgiQ</strong></a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>BelgiQ describes itself as&nbsp;<em>« Le quiz qui a la frite »</em>.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That's already a good start.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>It's a Belgian-themed quiz, available in French, Dutch, and English, with a leaderboard.</p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":25796,"sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large"><img src="https://cdn.clever-cloud.com/uploads/2026/10/image-3-1024x601.png" alt="image" class="wp-image-25796"/></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>But what makes this application particularly interesting is that its creator,&nbsp;<strong>Gwenaël Jakab, shared his experience on LinkedIn</strong>.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Gwenaël decided to build BelgiQ using Node.js, Express and PostgreSQL. He used ChatGPT to prepare his prompt, then handed implementation and deployment to ChatGPT Work.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>15 minutes later, he had a working application.</strong>&nbsp;After another 10 minutes of reviewing the result, making adjustments and requesting some refactoring, he had a V2 he was happy with.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>And he hadn't written the application code himself.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>What I particularly appreciated about&nbsp;<a href="https://lnkd.in/p/ebBTemUP">his post</a>&nbsp;was his perspective on the developer's role. Even when an AI agent handles implementation, someone still needs to make architectural decisions, define requirements, review the code and validate the result.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That's an important distinction, and one that sometimes gets lost in discussions about AI-assisted development.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>For me, his experience also illustrates exactly what we were hoping to achieve with the challenge:&nbsp;<strong>let developers focus on what they want to build, while discovering how straightforward it can be to deploy it on Clever Cloud.</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>And the best part? You can&nbsp;<a href="https://app-ffd5ff7b-b8c7-4a47-8c51-6a14f097f314.cleverapps.io/">try BelgiQ yourself</a>.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Friesdvisor: the important questions in life</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p><a href="https://friesdvisor.cleverapps.io/"><strong>Explore Friesdvisor</strong></a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Forget restaurant recommendations.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>We're in Belgium. We need to talk about fries.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Friesdvisor is a directory where you can search for a&nbsp;<em>friterie</em>&nbsp;or a town and add new places.</p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":25799,"sizeSlug":"full","linkDestination":"none"} -->
<figure class="wp-block-image size-full"><img src="https://cdn.clever-cloud.com/uploads/2026/10/image-4.png" alt="image" class="wp-image-25799"/></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>It's a wonderfully straightforward idea, and exactly the kind of Belgian connection we were hoping people would invent.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>I particularly like that it's not just a joke. It's a concept that could grow into a genuinely useful little community application.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>And, of course, it needs somewhere to store all those friteries.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">48 applications, and plenty more creativity to discover</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>These are just a few of my personal favorites.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>But one of the things I loved most about the challenge was the sheer variety of ideas. Give 40 developers the same starting point, the same constraints, and roughly 15 minutes, and you get 48 different interpretations of what a tiny application can be.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Some went for games. Others built practical tools. Some embraced Belgian culture, while others found inspiration in the conference itself.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>And I couldn't possibly do justice to all of them in a single blog post.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That's why we created the&nbsp;<strong>Built at Devoxx Belgium gallery</strong>, where you can explore the applications that participants chose to share publicly.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong><a href="https://devrel.clever.cloud/2026/devoxx-be/gallery/">👉 Explore the Clever Cloud Challenge Gallery</a></strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Have a look around. Try the applications. See what people came up with.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>And if one of them makes you smile, or gives you an idea for something you'd like to build yourself, then I think our little experiment has already achieved something pretty cool.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">What did we learn?</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>A few things stood out to me during those three days.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>First, developers are remarkably creative when you give them just enough constraints.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The Belgian theme was deliberately vague. We didn't want people spending ten minutes wondering whether their idea qualified.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>A Belgian dish? Great.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>A reference to a Belgian artist? Perfect.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>A joke about Devoxx? Absolutely.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That small creative constraint gave people somewhere to start without telling them exactly what to build.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Second, AI coding assistants make this kind of exercise much more accessible.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Not everybody arrived with a project idea, a favorite framework, or a clear understanding of how to provision and connect a database. But with a little guidance, they could go from an idea to something running online surprisingly quickly.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Gwenaël's experience with BelgiQ illustrates another important point:&nbsp;<strong>AI-assisted development doesn't remove the developer from the process. It changes what the developer spends their time doing.</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The developer still makes decisions, defines requirements, reviews the results, and takes responsibility for what gets shipped. Meanwhile, the coding agent can handle much of the implementation work, and the platform takes care of the infrastructure.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Of course, the AI didn't magically eliminate every problem. There were still deployment questions, configuration issues, and moments when someone needed a little help. That's why we were there.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>But the combination of AI-assisted development and a platform that takes care of the infrastructure made it possible to focus on the interesting part: building and shipping the application. And that's exactly what we wanted people to experience with Clever Cloud.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Finally, I was reminded of something fundamental about Developer Relations.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>Showing people how something works is useful. Helping them discover it for themselves is even better.</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>I could have spent fifteen minutes explaining how Clever Cloud handles deployments, databases, environment variables, and application hosting. Instead, developers spent those fifteen minutes doing it. And at the end, they had something of their own to show.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That's a very different conversation to have at a conference booth.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">What's next?</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>The challenge doesn't have to end at Devoxx.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Everyone who participated received €200 in Clever Cloud credits, valid for six months after activation. That gives them the opportunity to keep experimenting, improve their application, or start something completely different.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>We're also thinking about how to extend the experience with additional small challenges, encouraging participants to explore more of the platform.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>And I'd really like to repeat this experiment at other conferences.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The Belgian theme worked beautifully at Devoxx Belgium. Imagine what developers could come up with at conferences in other cities or countries.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>We already have a few ideas.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Your turn. Stop prompting. Start shipping!</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>I've attended a lot of developer conferences over the years, on both sides of the booth. I've distributed stickers, handed out T-shirts, given demonstrations, answered technical questions, and had countless conversations about cloud platforms. I still love all of that.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>But watching someone arrive at our booth with nothing more than an idea, then return a little later with a working application deployed on Clever Cloud? That was particularly satisfying.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>And seeing the creativity of those 40 developers made the whole experiment worthwhile.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>So, to everyone who participated in the challenge at Devoxx Belgium:&nbsp;<strong>thank you!</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Thank you for taking the time to try Clever Cloud, for embracing the slightly ridiculous Belgian theme, and especially for showing us what you built.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Want to give it a try?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Good news:&nbsp;<strong>you don't need to attend Devoxx to take the challenge!</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The&nbsp;<a href="https://lostinbrittany.dev/cc-devoxx-be-2026/">original Devoxx Belgium Challenge</a>&nbsp;is still online, and we've also created a&nbsp;<a href="https://devrel.clever.cloud/2026/stop-prompting-start-shipping/en/">generic version of Stop Prompting. Start Shipping.</a>&nbsp;that anyone can try, anywhere.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The special €200 Devoxx coupon is no longer available, but&nbsp;<strong>every new Clever Cloud account comes with €20 in free credits</strong>, which is more than enough to build and deploy a small application with a database.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Pick a theme. Open your favorite AI coding assistant. Give yourself 15 minutes.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Build something fun, connect a database, and deploy it.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>And if you do, I'd genuinely love to see what you come up with. Share your application with me!</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>Stop prompting. Start shipping.</strong></p>
<!-- /wp:paragraph -->]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Compliance as code: moving our management system documentation into GitLab, from one month to 30 minutes</title>
		<link>https://www.clever.cloud/blog/engineering/2026/09/01/compliance-as-code-policy-documentation-gitlab/</link>
		
		<dc:creator><![CDATA[Darya Khendrik]]></dc:creator>
		<pubDate>Tue, 01 Sep 2026 10:21:03 +0000</pubDate>
				<category><![CDATA[Engineering]]></category>
		<guid isPermaLink="false">https://www.clever.cloud/?p=25344</guid>

					<description><![CDATA[<p><img width="2499" height="1109" src="https://cdn.clever-cloud.com/uploads/2026/08/2026-08-26-clever-cloud-banniere-blog-compliance-as-code-en.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="2026.08.26 Clever Cloud Bannière Blog Compliance as Code EN" decoding="async" loading="lazy" srcset="https://cdn.clever-cloud.com/uploads/2026/08/2026-08-26-clever-cloud-banniere-blog-compliance-as-code-en.png 2499w, https://cdn.clever-cloud.com/uploads/2026/08/2026-08-26-clever-cloud-banniere-blog-compliance-as-code-en-300x133.png 300w, https://cdn.clever-cloud.com/uploads/2026/08/2026-08-26-clever-cloud-banniere-blog-compliance-as-code-en-1024x454.png 1024w, https://cdn.clever-cloud.com/uploads/2026/08/2026-08-26-clever-cloud-banniere-blog-compliance-as-code-en-768x341.png 768w, https://cdn.clever-cloud.com/uploads/2026/08/2026-08-26-clever-cloud-banniere-blog-compliance-as-code-en-1536x682.png 1536w, https://cdn.clever-cloud.com/uploads/2026/08/2026-08-26-clever-cloud-banniere-blog-compliance-as-code-en-2048x909.png 2048w, https://cdn.clever-cloud.com/uploads/2026/08/2026-08-26-clever-cloud-banniere-blog-compliance-as-code-en-1368x607.png 1368w" sizes="auto, (max-width: 2499px) 100vw, 2499px" /></p><!-- wp:paragraph -->
<p>A compliance manager's field report.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>When I joined Clever Cloud four years ago, I walked into a deeply technical culture: no collaborative suite, no conventional project management tool. Everything lives in GitLab, GitHub and terminals.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Running an integrated management system (ISO 9001, <a href="https://www.clever.cloud/iso-27001-security-by-default-at-clever-cloud/">ISO 27001</a>, <a href="https://www.clever.cloud/health-data-hosting/">HDS</a>, <a href="https://www.clever.cloud/compliance/">regulatory compliance</a>) is formalisation work: policies, procedures, security rules.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>So we started out the conventional way, on a collaborative suite.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Some of the habits that came with it quickly turned into a time sink. Version numbers tracked by hand in a spreadsheet. PDFs sent to the steering committee for sign-off. Signatures. Folders labelled "approved" and "in progress". Links breaking every time a format changed.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Human checks everywhere, so mistakes waiting to happen. And above all: developers never go into those tools. Their documentation sits in GitLab.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>So we made a simple call. The entire documentation set in Markdown, version-controlled in GitLab, in the same place as the technical documentation.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>What that changes in practice:</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul class="wp-block-list"><!-- wp:list-item -->
<li>a complete, native history: commits, diffs, authors</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>every change goes through a merge request, with at least one approval from a third party. Segregation of duties no longer rests on a declared process, it is carried by the tool</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>the technical population reads the policies all year round, not only at the annual awareness session (the new challenge is the non-technical profiles, who now learn GitLab during onboarding, as I did four years ago)</li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p>Then we automated. A monthly script reads the platform changelogs, drafts the updates in the right places across the policies, and opens the merge requests. What is left for me is the review, then approval by whoever owns the subject. That is where the month becomes 30 minutes.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>And the real change is somewhere else. We no longer update documents for the audit, once a year. We update them at every actual change to the information system. In front of the auditor, the sources, the versions and the approvals are right there. Compliance becomes a measured state rather than a declared one.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That is how I picture compliance as code from an integrated management system governance standpoint. What it changes at a deeper level is the tempo: compliance now moves at the speed of the information system, not at the speed of the audit calendar.</p>
<!-- /wp:paragraph -->]]></description>
										<content:encoded><![CDATA[<p><img width="2499" height="1109" src="https://cdn.clever-cloud.com/uploads/2026/08/2026-08-26-clever-cloud-banniere-blog-compliance-as-code-en.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="2026.08.26 Clever Cloud Bannière Blog Compliance as Code EN" decoding="async" loading="lazy" srcset="https://cdn.clever-cloud.com/uploads/2026/08/2026-08-26-clever-cloud-banniere-blog-compliance-as-code-en.png 2499w, https://cdn.clever-cloud.com/uploads/2026/08/2026-08-26-clever-cloud-banniere-blog-compliance-as-code-en-300x133.png 300w, https://cdn.clever-cloud.com/uploads/2026/08/2026-08-26-clever-cloud-banniere-blog-compliance-as-code-en-1024x454.png 1024w, https://cdn.clever-cloud.com/uploads/2026/08/2026-08-26-clever-cloud-banniere-blog-compliance-as-code-en-768x341.png 768w, https://cdn.clever-cloud.com/uploads/2026/08/2026-08-26-clever-cloud-banniere-blog-compliance-as-code-en-1536x682.png 1536w, https://cdn.clever-cloud.com/uploads/2026/08/2026-08-26-clever-cloud-banniere-blog-compliance-as-code-en-2048x909.png 2048w, https://cdn.clever-cloud.com/uploads/2026/08/2026-08-26-clever-cloud-banniere-blog-compliance-as-code-en-1368x607.png 1368w" sizes="auto, (max-width: 2499px) 100vw, 2499px" /></p><!-- wp:paragraph -->
<p>A compliance manager's field report.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>When I joined Clever Cloud four years ago, I walked into a deeply technical culture: no collaborative suite, no conventional project management tool. Everything lives in GitLab, GitHub and terminals.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Running an integrated management system (ISO 9001, <a href="https://www.clever.cloud/iso-27001-security-by-default-at-clever-cloud/">ISO 27001</a>, <a href="https://www.clever.cloud/health-data-hosting/">HDS</a>, <a href="https://www.clever.cloud/compliance/">regulatory compliance</a>) is formalisation work: policies, procedures, security rules.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>So we started out the conventional way, on a collaborative suite.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Some of the habits that came with it quickly turned into a time sink. Version numbers tracked by hand in a spreadsheet. PDFs sent to the steering committee for sign-off. Signatures. Folders labelled "approved" and "in progress". Links breaking every time a format changed.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Human checks everywhere, so mistakes waiting to happen. And above all: developers never go into those tools. Their documentation sits in GitLab.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>So we made a simple call. The entire documentation set in Markdown, version-controlled in GitLab, in the same place as the technical documentation.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>What that changes in practice:</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul class="wp-block-list"><!-- wp:list-item -->
<li>a complete, native history: commits, diffs, authors</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>every change goes through a merge request, with at least one approval from a third party. Segregation of duties no longer rests on a declared process, it is carried by the tool</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>the technical population reads the policies all year round, not only at the annual awareness session (the new challenge is the non-technical profiles, who now learn GitLab during onboarding, as I did four years ago)</li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p>Then we automated. A monthly script reads the platform changelogs, drafts the updates in the right places across the policies, and opens the merge requests. What is left for me is the review, then approval by whoever owns the subject. That is where the month becomes 30 minutes.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>And the real change is somewhere else. We no longer update documents for the audit, once a year. We update them at every actual change to the information system. In front of the auditor, the sources, the versions and the approvals are right there. Compliance becomes a measured state rather than a declared one.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That is how I picture compliance as code from an integrated management system governance standpoint. What it changes at a deeper level is the tempo: compliance now moves at the speed of the information system, not at the speed of the audit calendar.</p>
<!-- /wp:paragraph -->]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Magnetar: a Rust Apache Pulsar client built for deterministic simulation</title>
		<link>https://www.clever.cloud/blog/engineering/2026/07/15/magnetar-rust-apache-pulsar-client-deterministic-simulation/</link>
		
		<dc:creator><![CDATA[Florentin Dubois]]></dc:creator>
		<pubDate>Wed, 15 Jul 2026 14:46:35 +0000</pubDate>
				<category><![CDATA[Engineering]]></category>
		<category><![CDATA[Pulsar]]></category>
		<category><![CDATA[Rust]]></category>
		<guid isPermaLink="false">https://www.clever.cloud/?p=24981</guid>

					<description><![CDATA[<p><img width="2400" height="1065" src="https://cdn.clever-cloud.com/uploads/2026/07/2026-07-15-clever-cloud-banniere-blog-magnetar-en.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="2026.07.15 Clever Cloud Bannière Blog Magnetar EN" decoding="async" loading="lazy" srcset="https://cdn.clever-cloud.com/uploads/2026/07/2026-07-15-clever-cloud-banniere-blog-magnetar-en.png 2400w, https://cdn.clever-cloud.com/uploads/2026/07/2026-07-15-clever-cloud-banniere-blog-magnetar-en-300x133.png 300w, https://cdn.clever-cloud.com/uploads/2026/07/2026-07-15-clever-cloud-banniere-blog-magnetar-en-1024x454.png 1024w, https://cdn.clever-cloud.com/uploads/2026/07/2026-07-15-clever-cloud-banniere-blog-magnetar-en-768x341.png 768w, https://cdn.clever-cloud.com/uploads/2026/07/2026-07-15-clever-cloud-banniere-blog-magnetar-en-1536x682.png 1536w, https://cdn.clever-cloud.com/uploads/2026/07/2026-07-15-clever-cloud-banniere-blog-magnetar-en-2048x909.png 2048w, https://cdn.clever-cloud.com/uploads/2026/07/2026-07-15-clever-cloud-banniere-blog-magnetar-en-1368x607.png 1368w" sizes="auto, (max-width: 2400px) 100vw, 2400px" /></p><!-- wp:paragraph -->
<p><a href="https://apple.github.io/foundationdb/testing.html">FoundationDB</a> made this idea famous. Instead of relying only on unit tests and real-cluster end-to-end tests, it runs distributed workloads inside a simulated world where time, network faults, process failures, and scheduling decisions can be explored and reproduced from a seed. <a href="https://github.com/tigerbeetle/tigerbeetle/blob/main/docs/TIGER_STYLE.md">TigerBeetle</a> pushed a complementary discipline: make invariants part of the code, assert the shape of the state continuously, and turn silent corruption into loud local failures.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>At Clever Cloud, we have been applying that direction to Rust infrastructure software. <a href="https://github.com/PierreZ/moonpool">Moonpool</a>, developed by Pierre Zemb, gives Rust systems a deterministic simulation environment where time, networking, tasks, randomness, and storage can be virtualized behind provider traits. <a href="https://github.com/CleverCloud/magnetar">Magnetar</a> is where we apply that approach to a client for <a href="https://pulsar.apache.org/">Apache Pulsar</a>. This is also the approach that we are taking in <a href="https://www.clever.cloud/blog/company/2026/07/01/sozu-2-1-0-udp-load-balancer-programmable-edge/">Sōzu</a>.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Magnetar is a from-scratch Apache Pulsar client driver in Rust. It is built around a sans-io protocol core, a production Tokio engine, and a Moonpool engine for deterministic simulation. This first public release is meant for engineers who want to try Magnetar, evaluate the architecture, compare behavior with existing Pulsar clients, and help shape a stronger Rust-native Pulsar ecosystem.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The goal is not only to expose a Rust API around Pulsar. The goal is to build a client whose difficult behavior can be inspected, replayed, and made to fail before production gets the chance.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">A Pulsar client is part of the distributed system</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>It is tempting to think about a client library as the easy side of a distributed system. The broker is where replication, storage, ownership, and coordination live. The client only connects, sends messages, receives messages, and acknowledges them.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That view does not survive contact with a real Apache Pulsar client.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>A serious Pulsar client has to manage producers, consumers, readers, partitioned topics, multi-topic consumers, pattern subscriptions, transactions, schemas, authentication, proxy routing, broker lookup, cluster failover, reconnect, backoff, batching, chunking, ack grouping, unacked-message tracking, negative acknowledgements, retry-letter and dead-letter flows, observability, and a long list of Pulsar Improvement Proposals.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Many of the hard bugs are not about one command being encoded incorrectly. They are about time and ordering. A broker drops while a publish is in flight. A reconnect happens while a consumer has pending acknowledgements. A token refresh races with a session reset. A proxy lookup points to a new broker while the old connection is still draining. A topic migrates and the client must rebuild enough state to continue without pretending the old session still exists.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That means a Pulsar client is not just a convenience wrapper around a socket. It is part of the distributed system. It owns state that has to remain coherent while the world around it changes.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>If that state is hidden inside runtime tasks, channel queues, implicit clocks, and timing accidents, then the client becomes hardest to reason about exactly when precision matters most. Magnetar starts from the opposite assumption: make the protocol state explicit, drive it through narrow boundaries, and keep the I/O outside.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">From the Rust Pulsar ecosystem to Magnetar</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Magnetar comes from experience with the Rust Pulsar ecosystem, including maintaining and using <a href="https://github.com/streamnative/pulsar-rs">pulsar-rs</a>. That work matters. It gave Rust users an Apache Pulsar client and created the practical context in which the next generation of driver work could be evaluated.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Magnetar is not an article-length criticism of what existed before it. It is a continuation of the same ecosystem from a different architectural starting point. After spending time with real Pulsar usage, the shape of the next step became clearer: a Rust Pulsar driver should make the protocol/runtime boundary sharper, make difficult behavior reproducible, track parity explicitly, and make testability a first-class design constraint.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That is why Magnetar does not begin with the public builder API. It begins with the protocol.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The user-facing API matters, and the first release already exposes a broad surface. But for a distributed client, the deeper question is what happens underneath that API when the broker moves, the connection drops, the clock advances, a timeout fires, a subscription is rebuilt, or the same trace is replayed under a different runtime.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">The sans-io core</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>The heart of Magnetar is <a href="https://github.com/CleverCloud/magnetar/tree/main/crates/magnetar-proto">magnetar-proto</a>. It is a synchronous protocol state machine. It has no sockets. It does not depend on Tokio. It does not spawn tasks. It does not use async. It does not read the host clock on the protocol hot path.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Its shape follows the same broad idea that made <a href="https://github.com/quinn-rs/quinn/tree/main/quinn-proto">quinn-proto</a> influential in the Rust networking world: feed bytes in, poll bytes out, poll semantic events, and ask the state machine when its next timer expires.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Conceptually, the interface looks like this:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div
  style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  "
>
  <pre
    style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "
  ><code>&gt; connection.handle_bytes(now, bytes);

connection.poll_transmit(&amp;mut out);
connection.poll_event();
connection.poll_timeout();</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>That small shape is a large architectural choice.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>handle_bytes lets an engine feed wire bytes into the state machine. poll_transmit drains outbound frames. poll_event yields semantic events that the runtime must react to, such as authentication challenges, lookup outcomes, checksum mismatches, reconnect signals, or protocol-level transitions. poll_timeout lets the runtime ask when to wake the state machine again.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The state machine does not decide where bytes come from. It does not know whether the network is a real TCP stream, a TLS stream, a byte pipe inside a simulator, or a scripted broker in a differential harness. It does not decide what "now" means. The engine passes time in.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The public traits in magnetar-proto follow the same rule. They are not runtime services hidden behind async callbacks. They are small protocol contracts at the points where the state machine needs a decision or a transformation: <a href="https://github.com/CleverCloud/magnetar/blob/main/crates/magnetar-proto/src/auth.rs">AuthProvider</a> produces authentication bytes, <a href="https://github.com/CleverCloud/magnetar/blob/main/crates/magnetar-proto/src/schema/mod.rs">Schema</a> defines encoding, decoding, schema data, and broker-resolved schema hooks, <a href="https://github.com/CleverCloud/magnetar/blob/main/crates/magnetar-proto/src/crypto.rs">MessageEncryptor and MessageDecryptor</a> describe payload crypto over bytes and message metadata, <a href="https://github.com/CleverCloud/magnetar/blob/main/crates/magnetar-proto/src/service_url.rs">ServiceUrlProvider</a> exposes the current service URL for failover, and <a href="https://github.com/CleverCloud/magnetar/blob/main/crates/magnetar-proto/src/health_probe.rs">HealthProbe</a> uses a poll-style contract instead of binding the protocol crate to an async runtime. The pattern is deliberate: the protocol core can ask for facts, bytes, or readiness, while the I/O, caching, refresh logic, network probes, and scheduler stay outside.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>This separation is not just a clean layering exercise. It is what makes the protocol testable without a broker, without a socket, and without an async runtime. A protocol bug can be reduced to a fixture: feed these bytes at this instant, poll these outputs, assert this event stream, and replay the same sequence again.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>For an Apache Pulsar client, that matters because the wire protocol is not only a happy path. It includes producer creation, consumer subscription, acks, nacks, transactions, broker errors, redirects, authentication challenges, topic migration, replicated-subscription markers, schema metadata, batching, chunking, and close paths. Each of these has state. Each state transition is easier to reason about when it is not mixed with socket reads, task scheduling, and runtime-specific wakeups.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">No channels as an architectural constraint</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Magnetar also makes an unusual Rust async choice: channel primitives are banned from the workspace.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The straightforward architecture for a network client is often producer future to channel, channel to driver task, driver task to channel, channel to consumer future. That can work, but it spreads state across queues and tasks. Backpressure becomes implicit. Close semantics become library-specific. Dropped futures can leave messages stranded in places that are hard to inspect. The debugging question becomes "where did this message go?"</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Magnetar uses a different pattern. State lives inside the protocol state machine and the runtime-owned shared connection. User-facing futures register wakers in slabs keyed by operation identifiers. The driver owns the I/O loop, feeds bytes into the state machine, drains outbound frames, and wakes the matching futures as outcomes arrive.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>This is not an aesthetic ban on channels. It is a way to keep ownership of state explicit. When the driver rebuilds producers after a reconnect, when a consumer waits for a message, when an ack outcome is delivered, or when a pending operation fails because a session is gone, the relevant state is in the state machine and can be inspected there.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That design has trade-offs. It puts more pressure on the correctness of the state machine. It requires careful lock ordering. It requires reviewers to understand waker registration and wakeup paths. But it also makes the behavior much easier to simulate, replay, and compare across runtimes.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Two engines, one state machine</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Magnetar ships two engines that drive the same protocol core.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The default engine is <a href="https://github.com/CleverCloud/magnetar/tree/main/crates/magnetar-runtime-tokio">magnetar-runtime-tokio</a>. It is the production execution path: TCP, TLS through tokio-rustls, driver tasks, real time, real sockets, and the public PulsarClient surface most users will reach first.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The second engine is <a href="https://github.com/CleverCloud/magnetar/tree/main/crates/magnetar-runtime-moonpool">magnetar-runtime-moonpool</a>. It drives the same magnetar-proto::Connection state machine through Moonpool providers. Instead of baking in the runtime, Moonpool exposes provider traits for networking, time, task spawning, randomness, and storage. Under a production-style provider bundle, the engine can run against real I/O. Under simulation providers, those same categories can be virtualized.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>This is where deterministic simulation becomes practical. The client can be driven in a world where time advances under control, network delivery can be reordered or interrupted, tasks run under a deterministic scheduler, randomness is seeded, and failures can be replayed from the same seed.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Moonpool is not a mock. A mock usually replaces a component with simplified behavior. That is useful for many unit tests, but it is not the same thing as exercising a real client through hard interleavings.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Moonpool is also not a normal end-to-end test. An e2e test runs the real system, which is essential, but it usually runs with real time, real networking, and failures that are difficult to reproduce once the timing has moved on.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Moonpool sits in a different space. It keeps the client code close to the real execution path while virtualizing the providers that make distributed behavior hard to reproduce. The point is not to avoid e2e tests. The point is to add a regime where failures are not anecdotes. They become seeds.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Magnetar's Moonpool engine uses the same protocol state machine as the Tokio engine. The TLS path is also driven in a way that preserves the simulation boundary: instead of relying on tokio-rustls, the Moonpool engine drives rustls::ClientConnection over the byte pipe directly. That keeps TLS handshakes under the same deterministic control as the rest of the simulated network.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Differential testing: making the engines agree</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Two engines are useful only if they do not silently become two different clients.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Magnetar therefore includes a differential harness. It runs a trace, such as connect, open producer, send, subscribe, receive, ack, seek, and close, against both the Tokio and Moonpool engines, then compares the user-visible event streams.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>This matters because the Moonpool engine is used to find bugs that are difficult to expose with real time and real sockets. For that to be meaningful, the simulated engine must remain observationally aligned with the production engine at the user boundary.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>If Tokio and Moonpool drift, the simulator becomes less trustworthy. If the differential harness keeps them aligned, then a seed failure in the simulated world is much more likely to point at a real property of the client, not a separate test-only implementation.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>This is also why Magnetar's validation policy is strict about cross-runtime coverage. Behavioral changes are expected to exercise the sans-io layer, the Tokio runtime, the Moonpool runtime, differential equivalence, and the e2e surface when applicable. That is more work than adding one unit test. It is also the cost of making deterministic simulation a real engineering tool rather than a side experiment.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Java parity as a credibility contract</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Simulation is not a substitute for feature breadth. It is what makes feature breadth less fragile.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Apache Pulsar has a mature <a href="https://pulsar.apache.org/docs/">Java client</a>, and for many users that client defines what "a Pulsar client" means. Basic produce and consume are not enough. A credible client must cover the behaviors applications rely on: batching, compression, transactions, schemas, partitioned topics, multi-topic and pattern consumers, retries, dead-letter flows, authentication providers, proxy support, failover, admin operations, and the PIPs that shape modern Pulsar usage.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Magnetar tracks Java-client parity as a public contract. The <a href="https://github.com/CleverCloud/magnetar/blob/main/README.md">README</a> carries the parity matrix and the engine-by-engine status. The article does not need to reproduce that matrix, but the matrix itself is important. It gives users a way to evaluate the project as a Pulsar client, not as a narrow experiment around one happy path.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>This is the reason Magnetar's first public release is broader than a minimal demo. It includes the protocol foundation, the public facade, runtime engines, admin support, authentication providers, message crypto, CLI work, observability hooks, and a growing list of PIP surfaces.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The exact reason for tracking parity is simple: users do not choose a client library only because its internal architecture is elegant. They choose it because it can represent the system they actually run. Architecture makes that surface maintainable. Parity makes it useful.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Beyond produce and consume</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>The phrase "Pulsar client" can hide a lot of surface area. From the outside, the first examples usually look small: build a client, create a producer, send a payload, subscribe with a consumer, receive a message, acknowledge it. Those examples are useful because they show the entry point. They are not enough to evaluate the client.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Real Pulsar applications depend on behaviors that only appear after the first demo works. A producer may need batching, compression, chunking, access modes, sequence ids, send timeouts, per-message properties, transactions, interceptors, and latency statistics. A consumer may need batch receive, cumulative acknowledgements, batch-index acknowledgements, nack backoff, ack timeout handling, retry topics, dead-letter topics, seek, pause/resume, subscription modes, and per-partition behavior. Applications with strict schemas need Avro, JSON, Protobuf, Protobuf-native, KeyValue, primitive schemas, and broker-side schema lookup semantics. Deployments with security requirements need token auth, mTLS, OAuth2, SASL, Kerberos/GSSAPI, Athenz, TLS provider choices, and a way to reason about crypto behavior without making every build drag every provider.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Those features are not independent checkboxes. They interact. Batching interacts with compression and send timeouts. Chunking interacts with sequence ids and redelivery. Transactions interact with acknowledgements. Reconnect interacts with producers, consumers, lookups, proxy routing, and failover. Observability has to describe the behavior without leaking secrets or flooding operators under churn.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That is why Magnetar's feature work and architecture work are tied together. The more complete the surface becomes, the more important it is that the protocol state is explicit and that the runtime boundary is narrow. A broad client built on accidental state becomes harder to maintain as it becomes more useful. A broad client built on replayable state gives maintainers a better chance to keep feature growth from turning into hidden behavior.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Validation as architecture</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Magnetar's test strategy is intentionally layered because each layer catches a different class of bug.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The sans-io layer lets protocol behavior be tested without sockets or async tasks. The <a href="https://github.com/CleverCloud/magnetar/blob/main/docs/testing.md">project testing documentation</a> currently records more than 270 unit tests in magnetar-proto. Those tests exercise the state machine directly: bytes in, events out, transmit buffers out, state transitions checked.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Runtime integration tests exercise the glue that pure protocol tests cannot cover. The Tokio engine and Moonpool engine each have their own integration surfaces, and the project enforces runtime parity so one engine does not quietly fall behind the other.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The deterministic chaos pack targets the failure schedules that motivated the architecture in the first place: reconnect, failover, virtual-clock timers, TLS handshake ordering, in-flight publishes, broker migration, and adversarial network behavior. The <a href="https://github.com/CleverCloud/magnetar/blob/main/docs/moonpool-engine.md">Moonpool engine documentation</a> describes a daily Moonpool seed sweep with 128 freshly rolled random seeds in parallel. The number is less important than what it represents: the client is being driven through schedules that a human would not write by hand.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Differential equivalence tests compare the two runtime worlds. They ask a direct question: if the same trace is run through Tokio and Moonpool, does the user see the same behavior?</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>End-to-end tests still matter. They keep Magnetar honest against a real Apache Pulsar broker. Simulation can make failures reproducible, but it does not replace compatibility with the system users actually deploy.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Taken together, these layers are not ceremony. They are part of the architecture. The point is not to collect large test numbers. The point is to put validation pressure exactly where distributed clients fail: protocol state, runtime boundaries, reconnect logic, timing, equivalence, and real broker behavior.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">What reproducibility changes in practice</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>The practical value of deterministic simulation is not that it makes tests more sophisticated. It changes the debugging loop.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>When a traditional end-to-end test fails because of timing, the first question is often whether the failure is reproducible at all. If it is not, engineers start adding sleeps, logs, larger timeouts, or retry loops. Some of those changes are useful. Many of them only move the failure somewhere else. The failure remains a story: "we saw it once in CI".</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>With a deterministic simulation, the failure should become an artifact. The artifact is a seed, a trace, and a state transition that can be replayed. The question changes from "can we make it happen again?" to "what invariant did this schedule violate?"</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That difference matters for a client library. Client bugs often sit at the boundary between user code and the broker. They are easy to misattribute. A publish can fail because the broker closed the connection, because the client lost an outcome, because the reconnect path rebuilt the producer too late, because an ack was delivered to the wrong waiter, because a timeout fired against stale session state, or because the runtime task died after the protocol had already transitioned.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>If all of that behavior is spread across tasks, channels, timers, and sockets, a failure report is hard to compress. If the protocol state machine is explicit, the runtime boundary is narrow, and the same sequence can be replayed under controlled providers, the report can become much smaller: this seed, this trace, this event order, this invariant.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That is why Magnetar treats reproducibility as part of the client design. The point is not only to catch more bugs. The point is to make the bugs that do appear cheaper to understand and safer to fix.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>It also changes code review. A reviewer can ask whether a behavior is covered at the right layer. Is this a pure protocol transition? Then the sans-io test should feed bytes and assert events. Is it runtime glue? Then Tokio and Moonpool need equivalent coverage. Is it an observable behavior shared by both engines? Then the differential harness should compare the event streams. Is it broker compatibility? Then an e2e test should touch a real Pulsar broker.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Those questions are more precise than "did we add tests?" They connect the test to the failure model.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">What to inspect first</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>For engineers reading Magnetar for the first time, the best entry point is not a single file. It is the relationship between the documents and the code.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The <a href="https://github.com/CleverCloud/magnetar/blob/main/README.md">README</a> gives the public surface: what the client exposes, which features are implemented, how the Java-client parity matrix is tracked, which PIPs are supported, and how the two engines are positioned. That is the user-facing contract.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The <a href="https://github.com/CleverCloud/magnetar/blob/main/ARCHITECTURE.md">architecture document</a> explains the shape underneath that contract. It shows the crate topology, the dependency direction, the sans-io boundary, the driver loop, the event model, the producer and consumer paths, the runtime engines, TLS sites, schemas, PIP coverage, and the validation strategy. That is the system map.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The <a href="https://github.com/CleverCloud/magnetar/tree/main/specs/adr">ADR series</a> explains why the system has this shape. <a href="https://github.com/CleverCloud/magnetar/blob/main/specs/adr/0004-sans-io-protocol-core.md">ADR-0004</a> records the sans-io split. <a href="https://github.com/CleverCloud/magnetar/blob/main/specs/adr/0003-no-channels-rule.md">ADR-0003</a> records the no-channels rule. <a href="https://github.com/CleverCloud/magnetar/blob/main/specs/adr/0011-clock-injection-sans-io.md">ADR-0011</a> records clock injection. <a href="https://github.com/CleverCloud/magnetar/blob/main/specs/adr/0010-v0-1-full-java-parity.md">ADR-0010</a> records the Java parity decision. <a href="https://github.com/CleverCloud/magnetar/blob/main/specs/adr/0019-engine-scope-and-moonpool-parity.md">ADR-0019</a> records how the production Tokio engine and the Moonpool engine relate to the parity goal. <a href="https://github.com/CleverCloud/magnetar/blob/main/specs/adr/0024-cross-runtime-test-and-coverage-policy.md">ADR-0024</a> records the cross-runtime testing policy.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>This matters because Magnetar is intentionally not only a code drop. It is a set of engineering decisions with a public audit trail. If you disagree with the design, the ADRs give you the right surface to discuss. If you want to contribute a feature, the parity matrix and validation policy tell you what "done" means. If you want to evaluate the simulation work, the <a href="https://github.com/CleverCloud/magnetar/blob/main/docs/moonpool-engine.md">Moonpool engine documentation</a> and the differential harness show how the same protocol core is driven in different worlds.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The first release should therefore be read in two ways. As a Pulsar user, look at the client surface and the parity matrix. As a Rust infrastructure engineer, look at the state-machine boundary and the simulation strategy. The interesting part of Magnetar is that both views are meant to reinforce each other.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">What the first public release gives you</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>This first public release is a technical entry point. It is for engineers who want to try Magnetar, read the architecture, inspect the ADRs, compare behavior with existing Pulsar clients, and help shape the Rust-native Pulsar ecosystem.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The high-level client API starts with the usual shape:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div
  style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  "
>
  <pre
    style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "
  ><code>let client = PulsarClient::builder()
    .service_url("pulsar://localhost:6650")
    .build()
    .await?;

let producer = client
    .producer("persistent://public/default/orders")
    .create()
    .await?;</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>That API is important because the client must be usable. But the release is also an invitation to inspect the lower layers. Read the <a href="https://github.com/CleverCloud/magnetar/blob/main/README.md">README</a> for the feature matrix. Read the <a href="https://github.com/CleverCloud/magnetar/blob/main/ARCHITECTURE.md">architecture document</a> for the sans-io design. Read the <a href="https://github.com/CleverCloud/magnetar/tree/main/specs/adr">ADRs</a> for the decisions behind no channels, swappable engines, clock injection, Java parity, Moonpool parity, TLS provider choices, and cross-runtime validation. Read the <a href="https://github.com/CleverCloud/magnetar/blob/main/docs/moonpool-engine.md">Moonpool engine documentation</a> if you are interested in how deterministic simulation can be applied to a real network client.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The important point for this article is the direction: Magnetar is public so engineers can evaluate both the client surface and the engineering model behind it.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The inaugural technical entry point is available via <a href="https://github.com/CleverCloud/magnetar/releases#release-v1.0.0">v1.0.0</a>, while the current state of the driver can be tracked in the <a href="https://github.com/CleverCloud/magnetar/releases#release-v1.2.0">v1.2.0</a> release.&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Why this matters beyond Magnetar</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Magnetar is an Apache Pulsar client. It is also a concrete example of how we want to build more Rust infrastructure software.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Distributed systems fail through state transitions. Some of those transitions are obvious and easy to test. Many are not. They happen when time advances in an unlucky place, when a retry overlaps with a close path, when a broker drops a connection after accepting part of the session, when a callback is registered just after a notification, or when a reconnect path rebuilds one handle but not another.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>You can try to chase those bugs after they happen. Sometimes that is unavoidable. But the architecture can make the chase easier or harder.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>A client with a pure protocol core, explicit events, injected time, replaceable I/O, deterministic seeds, and cross-runtime comparison gives engineers better tools. It lets them reduce a failure to a trace. It lets them replay that trace. It lets them ask whether a simulated failure corresponds to the production runtime. It lets them add an invariant where a silent state drift used to hide.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That is the direction Magnetar takes. Make the protocol explicit. Make the runtime replaceable. Make failures reproducible. Make correctness something the code has to demonstrate continuously.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Thank you to Pierre Zemb for Moonpool and for pushing this deterministic-simulation direction in Rust, and to the contributors and maintainers in the Rust Pulsar ecosystem whose work made the next step possible.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Magnetar is open source. The code, architecture notes, ADRs, and documentation live at <a href="https://github.com/CleverCloud/magnetar">github.com/CleverCloud/magnetar</a>.</p>
<!-- /wp:paragraph -->

<!-- wp:spacer {"height":"25px"} -->
<div style="height:25px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:html -->
<hr style="border: none; height: 1px; background-color: #ccc; margin: 32px 0;">
<!-- /wp:html -->

<!-- wp:spacer {"height":"25px"} -->
<div style="height:25px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:heading -->
<h2 class="wp-block-heading">References</h2>
<!-- /wp:heading -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Magnetar</h3>
<!-- /wp:heading -->

<!-- wp:list -->
<ul class="wp-block-list"><!-- wp:list-item -->
<li><strong>Magnetar repository</strong>. Public Rust Apache Pulsar client repository. <a href="https://github.com/CleverCloud/magnetar">https://github.com/CleverCloud/magnetar</a></li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>Magnetar README</strong>. Public feature surface, Java client parity matrix, supported PIPs, engine coverage, and status. <a href="https://github.com/CleverCloud/magnetar/blob/main/README.md">https://github.com/CleverCloud/magnetar/blob/main/README.md</a></li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>Magnetar architecture</strong>. Sans-io rationale, crate topology, driver loop, protocol state machine, and tests. <a href="https://github.com/CleverCloud/magnetar/blob/main/ARCHITECTURE.md">https://github.com/CleverCloud/magnetar/blob/main/ARCHITECTURE.md</a></li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>Magnetar documentation index</strong>. Moonpool engine, testing, CLI, observability, logging, PIP features. <a href="https://github.com/CleverCloud/magnetar/blob/main/docs/README.md">https://github.com/CleverCloud/magnetar/blob/main/docs/README.md</a></li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>Moonpool engine documentation</strong>. Deterministic-simulation engine, chaos pack, differential harness, provider model. <a href="https://github.com/CleverCloud/magnetar/blob/main/docs/moonpool-engine.md">https://github.com/CleverCloud/magnetar/blob/main/docs/moonpool-engine.md</a></li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>Testing documentation</strong>. Test categories and validation commands. <a href="https://github.com/CleverCloud/magnetar/blob/main/docs/testing.md">https://github.com/CleverCloud/magnetar/blob/main/docs/testing.md</a></li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>ADR-0004</strong>. Sans-io magnetar-proto and swappable I/O engines. <a href="https://github.com/CleverCloud/magnetar/blob/main/specs/adr/0004-sans-io-protocol-core.md">https://github.com/CleverCloud/magnetar/blob/main/specs/adr/0004-sans-io-protocol-core.md</a></li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>ADR-0010</strong>. Full Java-client parity scope. <a href="https://github.com/CleverCloud/magnetar/blob/main/specs/adr/0010-v0-1-full-java-parity.md">https://github.com/CleverCloud/magnetar/blob/main/specs/adr/0010-v0-1-full-java-parity.md</a></li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>ADR-0024</strong>. Cross-runtime test and coverage policy. <a href="https://github.com/CleverCloud/magnetar/blob/main/specs/adr/0024-cross-runtime-test-and-coverage-policy.md">https://github.com/CleverCloud/magnetar/blob/main/specs/adr/0024-cross-runtime-test-and-coverage-policy.md</a></li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Ecosystem</h3>
<!-- /wp:heading -->

<!-- wp:list -->
<ul class="wp-block-list"><!-- wp:list-item -->
<li><strong>pulsar-rs</strong>. Existing Rust Apache Pulsar client project. <a href="https://github.com/streamnative/pulsar-rs">https://github.com/streamnative/pulsar-rs</a></li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>Apache Pulsar</strong>. Distributed messaging and streaming platform. <a href="https://pulsar.apache.org/">https://pulsar.apache.org/</a></li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>Apache Pulsar Java client</strong>. Reference client surface for many Pulsar users. <a href="https://pulsar.apache.org/docs/">https://pulsar.apache.org/docs/</a></li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Deterministic simulation</h3>
<!-- /wp:heading -->

<!-- wp:list -->
<ul class="wp-block-list"><!-- wp:list-item -->
<li><strong>FoundationDB testing</strong>. Deterministic simulation and fault injection lineage. <a href="https://apple.github.io/foundationdb/testing.html">https://apple.github.io/foundationdb/testing.html</a></li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>TigerBeetle TigerStyle</strong>. Assertion-first engineering style. <a href="https://github.com/tigerbeetle/tigerbeetle/blob/main/docs/TIGER_STYLE.md">https://github.com/tigerbeetle/tigerbeetle/blob/main/docs/TIGER_STYLE.md</a></li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>TigerBeetle VOPR</strong>. Simulation testing approach. <a href="https://github.com/tigerbeetle/tigerbeetle/blob/main/docs/internals/vopr.md">https://github.com/tigerbeetle/tigerbeetle/blob/main/docs/internals/vopr.md</a></li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>Moonpool repository</strong>. Deterministic simulation for Rust systems, developed by Pierre Zemb. <a href="https://github.com/PierreZ/moonpool">https://github.com/PierreZ/moonpool</a></li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>moonpool-sim</strong>. Simulation engine crate for Moonpool. <a href="https://crates.io/crates/moonpool-sim">https://crates.io/crates/moonpool-sim</a></li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->]]></description>
										<content:encoded><![CDATA[<p><img width="2400" height="1065" src="https://cdn.clever-cloud.com/uploads/2026/07/2026-07-15-clever-cloud-banniere-blog-magnetar-en.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="2026.07.15 Clever Cloud Bannière Blog Magnetar EN" decoding="async" loading="lazy" srcset="https://cdn.clever-cloud.com/uploads/2026/07/2026-07-15-clever-cloud-banniere-blog-magnetar-en.png 2400w, https://cdn.clever-cloud.com/uploads/2026/07/2026-07-15-clever-cloud-banniere-blog-magnetar-en-300x133.png 300w, https://cdn.clever-cloud.com/uploads/2026/07/2026-07-15-clever-cloud-banniere-blog-magnetar-en-1024x454.png 1024w, https://cdn.clever-cloud.com/uploads/2026/07/2026-07-15-clever-cloud-banniere-blog-magnetar-en-768x341.png 768w, https://cdn.clever-cloud.com/uploads/2026/07/2026-07-15-clever-cloud-banniere-blog-magnetar-en-1536x682.png 1536w, https://cdn.clever-cloud.com/uploads/2026/07/2026-07-15-clever-cloud-banniere-blog-magnetar-en-2048x909.png 2048w, https://cdn.clever-cloud.com/uploads/2026/07/2026-07-15-clever-cloud-banniere-blog-magnetar-en-1368x607.png 1368w" sizes="auto, (max-width: 2400px) 100vw, 2400px" /></p><!-- wp:paragraph -->
<p><a href="https://apple.github.io/foundationdb/testing.html">FoundationDB</a> made this idea famous. Instead of relying only on unit tests and real-cluster end-to-end tests, it runs distributed workloads inside a simulated world where time, network faults, process failures, and scheduling decisions can be explored and reproduced from a seed. <a href="https://github.com/tigerbeetle/tigerbeetle/blob/main/docs/TIGER_STYLE.md">TigerBeetle</a> pushed a complementary discipline: make invariants part of the code, assert the shape of the state continuously, and turn silent corruption into loud local failures.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>At Clever Cloud, we have been applying that direction to Rust infrastructure software. <a href="https://github.com/PierreZ/moonpool">Moonpool</a>, developed by Pierre Zemb, gives Rust systems a deterministic simulation environment where time, networking, tasks, randomness, and storage can be virtualized behind provider traits. <a href="https://github.com/CleverCloud/magnetar">Magnetar</a> is where we apply that approach to a client for <a href="https://pulsar.apache.org/">Apache Pulsar</a>. This is also the approach that we are taking in <a href="https://www.clever.cloud/blog/company/2026/07/01/sozu-2-1-0-udp-load-balancer-programmable-edge/">Sōzu</a>.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Magnetar is a from-scratch Apache Pulsar client driver in Rust. It is built around a sans-io protocol core, a production Tokio engine, and a Moonpool engine for deterministic simulation. This first public release is meant for engineers who want to try Magnetar, evaluate the architecture, compare behavior with existing Pulsar clients, and help shape a stronger Rust-native Pulsar ecosystem.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The goal is not only to expose a Rust API around Pulsar. The goal is to build a client whose difficult behavior can be inspected, replayed, and made to fail before production gets the chance.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">A Pulsar client is part of the distributed system</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>It is tempting to think about a client library as the easy side of a distributed system. The broker is where replication, storage, ownership, and coordination live. The client only connects, sends messages, receives messages, and acknowledges them.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That view does not survive contact with a real Apache Pulsar client.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>A serious Pulsar client has to manage producers, consumers, readers, partitioned topics, multi-topic consumers, pattern subscriptions, transactions, schemas, authentication, proxy routing, broker lookup, cluster failover, reconnect, backoff, batching, chunking, ack grouping, unacked-message tracking, negative acknowledgements, retry-letter and dead-letter flows, observability, and a long list of Pulsar Improvement Proposals.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Many of the hard bugs are not about one command being encoded incorrectly. They are about time and ordering. A broker drops while a publish is in flight. A reconnect happens while a consumer has pending acknowledgements. A token refresh races with a session reset. A proxy lookup points to a new broker while the old connection is still draining. A topic migrates and the client must rebuild enough state to continue without pretending the old session still exists.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That means a Pulsar client is not just a convenience wrapper around a socket. It is part of the distributed system. It owns state that has to remain coherent while the world around it changes.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>If that state is hidden inside runtime tasks, channel queues, implicit clocks, and timing accidents, then the client becomes hardest to reason about exactly when precision matters most. Magnetar starts from the opposite assumption: make the protocol state explicit, drive it through narrow boundaries, and keep the I/O outside.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">From the Rust Pulsar ecosystem to Magnetar</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Magnetar comes from experience with the Rust Pulsar ecosystem, including maintaining and using <a href="https://github.com/streamnative/pulsar-rs">pulsar-rs</a>. That work matters. It gave Rust users an Apache Pulsar client and created the practical context in which the next generation of driver work could be evaluated.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Magnetar is not an article-length criticism of what existed before it. It is a continuation of the same ecosystem from a different architectural starting point. After spending time with real Pulsar usage, the shape of the next step became clearer: a Rust Pulsar driver should make the protocol/runtime boundary sharper, make difficult behavior reproducible, track parity explicitly, and make testability a first-class design constraint.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That is why Magnetar does not begin with the public builder API. It begins with the protocol.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The user-facing API matters, and the first release already exposes a broad surface. But for a distributed client, the deeper question is what happens underneath that API when the broker moves, the connection drops, the clock advances, a timeout fires, a subscription is rebuilt, or the same trace is replayed under a different runtime.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">The sans-io core</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>The heart of Magnetar is <a href="https://github.com/CleverCloud/magnetar/tree/main/crates/magnetar-proto">magnetar-proto</a>. It is a synchronous protocol state machine. It has no sockets. It does not depend on Tokio. It does not spawn tasks. It does not use async. It does not read the host clock on the protocol hot path.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Its shape follows the same broad idea that made <a href="https://github.com/quinn-rs/quinn/tree/main/quinn-proto">quinn-proto</a> influential in the Rust networking world: feed bytes in, poll bytes out, poll semantic events, and ask the state machine when its next timer expires.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Conceptually, the interface looks like this:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div
  style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  "
>
  <pre
    style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "
  ><code>&gt; connection.handle_bytes(now, bytes);

connection.poll_transmit(&amp;mut out);
connection.poll_event();
connection.poll_timeout();</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>That small shape is a large architectural choice.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>handle_bytes lets an engine feed wire bytes into the state machine. poll_transmit drains outbound frames. poll_event yields semantic events that the runtime must react to, such as authentication challenges, lookup outcomes, checksum mismatches, reconnect signals, or protocol-level transitions. poll_timeout lets the runtime ask when to wake the state machine again.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The state machine does not decide where bytes come from. It does not know whether the network is a real TCP stream, a TLS stream, a byte pipe inside a simulator, or a scripted broker in a differential harness. It does not decide what "now" means. The engine passes time in.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The public traits in magnetar-proto follow the same rule. They are not runtime services hidden behind async callbacks. They are small protocol contracts at the points where the state machine needs a decision or a transformation: <a href="https://github.com/CleverCloud/magnetar/blob/main/crates/magnetar-proto/src/auth.rs">AuthProvider</a> produces authentication bytes, <a href="https://github.com/CleverCloud/magnetar/blob/main/crates/magnetar-proto/src/schema/mod.rs">Schema</a> defines encoding, decoding, schema data, and broker-resolved schema hooks, <a href="https://github.com/CleverCloud/magnetar/blob/main/crates/magnetar-proto/src/crypto.rs">MessageEncryptor and MessageDecryptor</a> describe payload crypto over bytes and message metadata, <a href="https://github.com/CleverCloud/magnetar/blob/main/crates/magnetar-proto/src/service_url.rs">ServiceUrlProvider</a> exposes the current service URL for failover, and <a href="https://github.com/CleverCloud/magnetar/blob/main/crates/magnetar-proto/src/health_probe.rs">HealthProbe</a> uses a poll-style contract instead of binding the protocol crate to an async runtime. The pattern is deliberate: the protocol core can ask for facts, bytes, or readiness, while the I/O, caching, refresh logic, network probes, and scheduler stay outside.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>This separation is not just a clean layering exercise. It is what makes the protocol testable without a broker, without a socket, and without an async runtime. A protocol bug can be reduced to a fixture: feed these bytes at this instant, poll these outputs, assert this event stream, and replay the same sequence again.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>For an Apache Pulsar client, that matters because the wire protocol is not only a happy path. It includes producer creation, consumer subscription, acks, nacks, transactions, broker errors, redirects, authentication challenges, topic migration, replicated-subscription markers, schema metadata, batching, chunking, and close paths. Each of these has state. Each state transition is easier to reason about when it is not mixed with socket reads, task scheduling, and runtime-specific wakeups.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">No channels as an architectural constraint</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Magnetar also makes an unusual Rust async choice: channel primitives are banned from the workspace.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The straightforward architecture for a network client is often producer future to channel, channel to driver task, driver task to channel, channel to consumer future. That can work, but it spreads state across queues and tasks. Backpressure becomes implicit. Close semantics become library-specific. Dropped futures can leave messages stranded in places that are hard to inspect. The debugging question becomes "where did this message go?"</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Magnetar uses a different pattern. State lives inside the protocol state machine and the runtime-owned shared connection. User-facing futures register wakers in slabs keyed by operation identifiers. The driver owns the I/O loop, feeds bytes into the state machine, drains outbound frames, and wakes the matching futures as outcomes arrive.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>This is not an aesthetic ban on channels. It is a way to keep ownership of state explicit. When the driver rebuilds producers after a reconnect, when a consumer waits for a message, when an ack outcome is delivered, or when a pending operation fails because a session is gone, the relevant state is in the state machine and can be inspected there.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That design has trade-offs. It puts more pressure on the correctness of the state machine. It requires careful lock ordering. It requires reviewers to understand waker registration and wakeup paths. But it also makes the behavior much easier to simulate, replay, and compare across runtimes.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Two engines, one state machine</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Magnetar ships two engines that drive the same protocol core.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The default engine is <a href="https://github.com/CleverCloud/magnetar/tree/main/crates/magnetar-runtime-tokio">magnetar-runtime-tokio</a>. It is the production execution path: TCP, TLS through tokio-rustls, driver tasks, real time, real sockets, and the public PulsarClient surface most users will reach first.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The second engine is <a href="https://github.com/CleverCloud/magnetar/tree/main/crates/magnetar-runtime-moonpool">magnetar-runtime-moonpool</a>. It drives the same magnetar-proto::Connection state machine through Moonpool providers. Instead of baking in the runtime, Moonpool exposes provider traits for networking, time, task spawning, randomness, and storage. Under a production-style provider bundle, the engine can run against real I/O. Under simulation providers, those same categories can be virtualized.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>This is where deterministic simulation becomes practical. The client can be driven in a world where time advances under control, network delivery can be reordered or interrupted, tasks run under a deterministic scheduler, randomness is seeded, and failures can be replayed from the same seed.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Moonpool is not a mock. A mock usually replaces a component with simplified behavior. That is useful for many unit tests, but it is not the same thing as exercising a real client through hard interleavings.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Moonpool is also not a normal end-to-end test. An e2e test runs the real system, which is essential, but it usually runs with real time, real networking, and failures that are difficult to reproduce once the timing has moved on.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Moonpool sits in a different space. It keeps the client code close to the real execution path while virtualizing the providers that make distributed behavior hard to reproduce. The point is not to avoid e2e tests. The point is to add a regime where failures are not anecdotes. They become seeds.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Magnetar's Moonpool engine uses the same protocol state machine as the Tokio engine. The TLS path is also driven in a way that preserves the simulation boundary: instead of relying on tokio-rustls, the Moonpool engine drives rustls::ClientConnection over the byte pipe directly. That keeps TLS handshakes under the same deterministic control as the rest of the simulated network.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Differential testing: making the engines agree</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Two engines are useful only if they do not silently become two different clients.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Magnetar therefore includes a differential harness. It runs a trace, such as connect, open producer, send, subscribe, receive, ack, seek, and close, against both the Tokio and Moonpool engines, then compares the user-visible event streams.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>This matters because the Moonpool engine is used to find bugs that are difficult to expose with real time and real sockets. For that to be meaningful, the simulated engine must remain observationally aligned with the production engine at the user boundary.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>If Tokio and Moonpool drift, the simulator becomes less trustworthy. If the differential harness keeps them aligned, then a seed failure in the simulated world is much more likely to point at a real property of the client, not a separate test-only implementation.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>This is also why Magnetar's validation policy is strict about cross-runtime coverage. Behavioral changes are expected to exercise the sans-io layer, the Tokio runtime, the Moonpool runtime, differential equivalence, and the e2e surface when applicable. That is more work than adding one unit test. It is also the cost of making deterministic simulation a real engineering tool rather than a side experiment.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Java parity as a credibility contract</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Simulation is not a substitute for feature breadth. It is what makes feature breadth less fragile.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Apache Pulsar has a mature <a href="https://pulsar.apache.org/docs/">Java client</a>, and for many users that client defines what "a Pulsar client" means. Basic produce and consume are not enough. A credible client must cover the behaviors applications rely on: batching, compression, transactions, schemas, partitioned topics, multi-topic and pattern consumers, retries, dead-letter flows, authentication providers, proxy support, failover, admin operations, and the PIPs that shape modern Pulsar usage.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Magnetar tracks Java-client parity as a public contract. The <a href="https://github.com/CleverCloud/magnetar/blob/main/README.md">README</a> carries the parity matrix and the engine-by-engine status. The article does not need to reproduce that matrix, but the matrix itself is important. It gives users a way to evaluate the project as a Pulsar client, not as a narrow experiment around one happy path.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>This is the reason Magnetar's first public release is broader than a minimal demo. It includes the protocol foundation, the public facade, runtime engines, admin support, authentication providers, message crypto, CLI work, observability hooks, and a growing list of PIP surfaces.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The exact reason for tracking parity is simple: users do not choose a client library only because its internal architecture is elegant. They choose it because it can represent the system they actually run. Architecture makes that surface maintainable. Parity makes it useful.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Beyond produce and consume</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>The phrase "Pulsar client" can hide a lot of surface area. From the outside, the first examples usually look small: build a client, create a producer, send a payload, subscribe with a consumer, receive a message, acknowledge it. Those examples are useful because they show the entry point. They are not enough to evaluate the client.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Real Pulsar applications depend on behaviors that only appear after the first demo works. A producer may need batching, compression, chunking, access modes, sequence ids, send timeouts, per-message properties, transactions, interceptors, and latency statistics. A consumer may need batch receive, cumulative acknowledgements, batch-index acknowledgements, nack backoff, ack timeout handling, retry topics, dead-letter topics, seek, pause/resume, subscription modes, and per-partition behavior. Applications with strict schemas need Avro, JSON, Protobuf, Protobuf-native, KeyValue, primitive schemas, and broker-side schema lookup semantics. Deployments with security requirements need token auth, mTLS, OAuth2, SASL, Kerberos/GSSAPI, Athenz, TLS provider choices, and a way to reason about crypto behavior without making every build drag every provider.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Those features are not independent checkboxes. They interact. Batching interacts with compression and send timeouts. Chunking interacts with sequence ids and redelivery. Transactions interact with acknowledgements. Reconnect interacts with producers, consumers, lookups, proxy routing, and failover. Observability has to describe the behavior without leaking secrets or flooding operators under churn.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That is why Magnetar's feature work and architecture work are tied together. The more complete the surface becomes, the more important it is that the protocol state is explicit and that the runtime boundary is narrow. A broad client built on accidental state becomes harder to maintain as it becomes more useful. A broad client built on replayable state gives maintainers a better chance to keep feature growth from turning into hidden behavior.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Validation as architecture</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Magnetar's test strategy is intentionally layered because each layer catches a different class of bug.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The sans-io layer lets protocol behavior be tested without sockets or async tasks. The <a href="https://github.com/CleverCloud/magnetar/blob/main/docs/testing.md">project testing documentation</a> currently records more than 270 unit tests in magnetar-proto. Those tests exercise the state machine directly: bytes in, events out, transmit buffers out, state transitions checked.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Runtime integration tests exercise the glue that pure protocol tests cannot cover. The Tokio engine and Moonpool engine each have their own integration surfaces, and the project enforces runtime parity so one engine does not quietly fall behind the other.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The deterministic chaos pack targets the failure schedules that motivated the architecture in the first place: reconnect, failover, virtual-clock timers, TLS handshake ordering, in-flight publishes, broker migration, and adversarial network behavior. The <a href="https://github.com/CleverCloud/magnetar/blob/main/docs/moonpool-engine.md">Moonpool engine documentation</a> describes a daily Moonpool seed sweep with 128 freshly rolled random seeds in parallel. The number is less important than what it represents: the client is being driven through schedules that a human would not write by hand.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Differential equivalence tests compare the two runtime worlds. They ask a direct question: if the same trace is run through Tokio and Moonpool, does the user see the same behavior?</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>End-to-end tests still matter. They keep Magnetar honest against a real Apache Pulsar broker. Simulation can make failures reproducible, but it does not replace compatibility with the system users actually deploy.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Taken together, these layers are not ceremony. They are part of the architecture. The point is not to collect large test numbers. The point is to put validation pressure exactly where distributed clients fail: protocol state, runtime boundaries, reconnect logic, timing, equivalence, and real broker behavior.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">What reproducibility changes in practice</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>The practical value of deterministic simulation is not that it makes tests more sophisticated. It changes the debugging loop.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>When a traditional end-to-end test fails because of timing, the first question is often whether the failure is reproducible at all. If it is not, engineers start adding sleeps, logs, larger timeouts, or retry loops. Some of those changes are useful. Many of them only move the failure somewhere else. The failure remains a story: "we saw it once in CI".</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>With a deterministic simulation, the failure should become an artifact. The artifact is a seed, a trace, and a state transition that can be replayed. The question changes from "can we make it happen again?" to "what invariant did this schedule violate?"</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That difference matters for a client library. Client bugs often sit at the boundary between user code and the broker. They are easy to misattribute. A publish can fail because the broker closed the connection, because the client lost an outcome, because the reconnect path rebuilt the producer too late, because an ack was delivered to the wrong waiter, because a timeout fired against stale session state, or because the runtime task died after the protocol had already transitioned.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>If all of that behavior is spread across tasks, channels, timers, and sockets, a failure report is hard to compress. If the protocol state machine is explicit, the runtime boundary is narrow, and the same sequence can be replayed under controlled providers, the report can become much smaller: this seed, this trace, this event order, this invariant.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That is why Magnetar treats reproducibility as part of the client design. The point is not only to catch more bugs. The point is to make the bugs that do appear cheaper to understand and safer to fix.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>It also changes code review. A reviewer can ask whether a behavior is covered at the right layer. Is this a pure protocol transition? Then the sans-io test should feed bytes and assert events. Is it runtime glue? Then Tokio and Moonpool need equivalent coverage. Is it an observable behavior shared by both engines? Then the differential harness should compare the event streams. Is it broker compatibility? Then an e2e test should touch a real Pulsar broker.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Those questions are more precise than "did we add tests?" They connect the test to the failure model.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">What to inspect first</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>For engineers reading Magnetar for the first time, the best entry point is not a single file. It is the relationship between the documents and the code.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The <a href="https://github.com/CleverCloud/magnetar/blob/main/README.md">README</a> gives the public surface: what the client exposes, which features are implemented, how the Java-client parity matrix is tracked, which PIPs are supported, and how the two engines are positioned. That is the user-facing contract.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The <a href="https://github.com/CleverCloud/magnetar/blob/main/ARCHITECTURE.md">architecture document</a> explains the shape underneath that contract. It shows the crate topology, the dependency direction, the sans-io boundary, the driver loop, the event model, the producer and consumer paths, the runtime engines, TLS sites, schemas, PIP coverage, and the validation strategy. That is the system map.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The <a href="https://github.com/CleverCloud/magnetar/tree/main/specs/adr">ADR series</a> explains why the system has this shape. <a href="https://github.com/CleverCloud/magnetar/blob/main/specs/adr/0004-sans-io-protocol-core.md">ADR-0004</a> records the sans-io split. <a href="https://github.com/CleverCloud/magnetar/blob/main/specs/adr/0003-no-channels-rule.md">ADR-0003</a> records the no-channels rule. <a href="https://github.com/CleverCloud/magnetar/blob/main/specs/adr/0011-clock-injection-sans-io.md">ADR-0011</a> records clock injection. <a href="https://github.com/CleverCloud/magnetar/blob/main/specs/adr/0010-v0-1-full-java-parity.md">ADR-0010</a> records the Java parity decision. <a href="https://github.com/CleverCloud/magnetar/blob/main/specs/adr/0019-engine-scope-and-moonpool-parity.md">ADR-0019</a> records how the production Tokio engine and the Moonpool engine relate to the parity goal. <a href="https://github.com/CleverCloud/magnetar/blob/main/specs/adr/0024-cross-runtime-test-and-coverage-policy.md">ADR-0024</a> records the cross-runtime testing policy.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>This matters because Magnetar is intentionally not only a code drop. It is a set of engineering decisions with a public audit trail. If you disagree with the design, the ADRs give you the right surface to discuss. If you want to contribute a feature, the parity matrix and validation policy tell you what "done" means. If you want to evaluate the simulation work, the <a href="https://github.com/CleverCloud/magnetar/blob/main/docs/moonpool-engine.md">Moonpool engine documentation</a> and the differential harness show how the same protocol core is driven in different worlds.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The first release should therefore be read in two ways. As a Pulsar user, look at the client surface and the parity matrix. As a Rust infrastructure engineer, look at the state-machine boundary and the simulation strategy. The interesting part of Magnetar is that both views are meant to reinforce each other.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">What the first public release gives you</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>This first public release is a technical entry point. It is for engineers who want to try Magnetar, read the architecture, inspect the ADRs, compare behavior with existing Pulsar clients, and help shape the Rust-native Pulsar ecosystem.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The high-level client API starts with the usual shape:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div
  style="
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 16px 20px;
    background: #0f172a;
    color: #e5eefc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
  "
>
  <pre
    style="
      margin: 0;
      overflow-x: auto;
      white-space: pre-wrap;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;
    "
  ><code>let client = PulsarClient::builder()
    .service_url("pulsar://localhost:6650")
    .build()
    .await?;

let producer = client
    .producer("persistent://public/default/orders")
    .create()
    .await?;</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>That API is important because the client must be usable. But the release is also an invitation to inspect the lower layers. Read the <a href="https://github.com/CleverCloud/magnetar/blob/main/README.md">README</a> for the feature matrix. Read the <a href="https://github.com/CleverCloud/magnetar/blob/main/ARCHITECTURE.md">architecture document</a> for the sans-io design. Read the <a href="https://github.com/CleverCloud/magnetar/tree/main/specs/adr">ADRs</a> for the decisions behind no channels, swappable engines, clock injection, Java parity, Moonpool parity, TLS provider choices, and cross-runtime validation. Read the <a href="https://github.com/CleverCloud/magnetar/blob/main/docs/moonpool-engine.md">Moonpool engine documentation</a> if you are interested in how deterministic simulation can be applied to a real network client.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The important point for this article is the direction: Magnetar is public so engineers can evaluate both the client surface and the engineering model behind it.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The inaugural technical entry point is available via <a href="https://github.com/CleverCloud/magnetar/releases#release-v1.0.0">v1.0.0</a>, while the current state of the driver can be tracked in the <a href="https://github.com/CleverCloud/magnetar/releases#release-v1.2.0">v1.2.0</a> release.&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Why this matters beyond Magnetar</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Magnetar is an Apache Pulsar client. It is also a concrete example of how we want to build more Rust infrastructure software.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Distributed systems fail through state transitions. Some of those transitions are obvious and easy to test. Many are not. They happen when time advances in an unlucky place, when a retry overlaps with a close path, when a broker drops a connection after accepting part of the session, when a callback is registered just after a notification, or when a reconnect path rebuilds one handle but not another.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>You can try to chase those bugs after they happen. Sometimes that is unavoidable. But the architecture can make the chase easier or harder.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>A client with a pure protocol core, explicit events, injected time, replaceable I/O, deterministic seeds, and cross-runtime comparison gives engineers better tools. It lets them reduce a failure to a trace. It lets them replay that trace. It lets them ask whether a simulated failure corresponds to the production runtime. It lets them add an invariant where a silent state drift used to hide.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>That is the direction Magnetar takes. Make the protocol explicit. Make the runtime replaceable. Make failures reproducible. Make correctness something the code has to demonstrate continuously.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Thank you to Pierre Zemb for Moonpool and for pushing this deterministic-simulation direction in Rust, and to the contributors and maintainers in the Rust Pulsar ecosystem whose work made the next step possible.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Magnetar is open source. The code, architecture notes, ADRs, and documentation live at <a href="https://github.com/CleverCloud/magnetar">github.com/CleverCloud/magnetar</a>.</p>
<!-- /wp:paragraph -->

<!-- wp:spacer {"height":"25px"} -->
<div style="height:25px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:html -->
<hr style="border: none; height: 1px; background-color: #ccc; margin: 32px 0;">
<!-- /wp:html -->

<!-- wp:spacer {"height":"25px"} -->
<div style="height:25px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:heading -->
<h2 class="wp-block-heading">References</h2>
<!-- /wp:heading -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Magnetar</h3>
<!-- /wp:heading -->

<!-- wp:list -->
<ul class="wp-block-list"><!-- wp:list-item -->
<li><strong>Magnetar repository</strong>. Public Rust Apache Pulsar client repository. <a href="https://github.com/CleverCloud/magnetar">https://github.com/CleverCloud/magnetar</a></li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>Magnetar README</strong>. Public feature surface, Java client parity matrix, supported PIPs, engine coverage, and status. <a href="https://github.com/CleverCloud/magnetar/blob/main/README.md">https://github.com/CleverCloud/magnetar/blob/main/README.md</a></li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>Magnetar architecture</strong>. Sans-io rationale, crate topology, driver loop, protocol state machine, and tests. <a href="https://github.com/CleverCloud/magnetar/blob/main/ARCHITECTURE.md">https://github.com/CleverCloud/magnetar/blob/main/ARCHITECTURE.md</a></li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>Magnetar documentation index</strong>. Moonpool engine, testing, CLI, observability, logging, PIP features. <a href="https://github.com/CleverCloud/magnetar/blob/main/docs/README.md">https://github.com/CleverCloud/magnetar/blob/main/docs/README.md</a></li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>Moonpool engine documentation</strong>. Deterministic-simulation engine, chaos pack, differential harness, provider model. <a href="https://github.com/CleverCloud/magnetar/blob/main/docs/moonpool-engine.md">https://github.com/CleverCloud/magnetar/blob/main/docs/moonpool-engine.md</a></li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>Testing documentation</strong>. Test categories and validation commands. <a href="https://github.com/CleverCloud/magnetar/blob/main/docs/testing.md">https://github.com/CleverCloud/magnetar/blob/main/docs/testing.md</a></li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>ADR-0004</strong>. Sans-io magnetar-proto and swappable I/O engines. <a href="https://github.com/CleverCloud/magnetar/blob/main/specs/adr/0004-sans-io-protocol-core.md">https://github.com/CleverCloud/magnetar/blob/main/specs/adr/0004-sans-io-protocol-core.md</a></li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>ADR-0010</strong>. Full Java-client parity scope. <a href="https://github.com/CleverCloud/magnetar/blob/main/specs/adr/0010-v0-1-full-java-parity.md">https://github.com/CleverCloud/magnetar/blob/main/specs/adr/0010-v0-1-full-java-parity.md</a></li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>ADR-0024</strong>. Cross-runtime test and coverage policy. <a href="https://github.com/CleverCloud/magnetar/blob/main/specs/adr/0024-cross-runtime-test-and-coverage-policy.md">https://github.com/CleverCloud/magnetar/blob/main/specs/adr/0024-cross-runtime-test-and-coverage-policy.md</a></li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Ecosystem</h3>
<!-- /wp:heading -->

<!-- wp:list -->
<ul class="wp-block-list"><!-- wp:list-item -->
<li><strong>pulsar-rs</strong>. Existing Rust Apache Pulsar client project. <a href="https://github.com/streamnative/pulsar-rs">https://github.com/streamnative/pulsar-rs</a></li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>Apache Pulsar</strong>. Distributed messaging and streaming platform. <a href="https://pulsar.apache.org/">https://pulsar.apache.org/</a></li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>Apache Pulsar Java client</strong>. Reference client surface for many Pulsar users. <a href="https://pulsar.apache.org/docs/">https://pulsar.apache.org/docs/</a></li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Deterministic simulation</h3>
<!-- /wp:heading -->

<!-- wp:list -->
<ul class="wp-block-list"><!-- wp:list-item -->
<li><strong>FoundationDB testing</strong>. Deterministic simulation and fault injection lineage. <a href="https://apple.github.io/foundationdb/testing.html">https://apple.github.io/foundationdb/testing.html</a></li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>TigerBeetle TigerStyle</strong>. Assertion-first engineering style. <a href="https://github.com/tigerbeetle/tigerbeetle/blob/main/docs/TIGER_STYLE.md">https://github.com/tigerbeetle/tigerbeetle/blob/main/docs/TIGER_STYLE.md</a></li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>TigerBeetle VOPR</strong>. Simulation testing approach. <a href="https://github.com/tigerbeetle/tigerbeetle/blob/main/docs/internals/vopr.md">https://github.com/tigerbeetle/tigerbeetle/blob/main/docs/internals/vopr.md</a></li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>Moonpool repository</strong>. Deterministic simulation for Rust systems, developed by Pierre Zemb. <a href="https://github.com/PierreZ/moonpool">https://github.com/PierreZ/moonpool</a></li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>moonpool-sim</strong>. Simulation engine crate for Moonpool. <a href="https://crates.io/crates/moonpool-sim">https://crates.io/crates/moonpool-sim</a></li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Kubernetes orchestration: what is container orchestration for?</title>
		<link>https://www.clever.cloud/blog/engineering/2026/07/03/kubernetes-orchestration-containers-what-is-it-for/</link>
		
		<dc:creator><![CDATA[Leo Le Levé Dandé]]></dc:creator>
		<pubDate>Fri, 03 Jul 2026 09:40:46 +0000</pubDate>
				<category><![CDATA[Engineering]]></category>
		<category><![CDATA[Kubernetes]]></category>
		<guid isPermaLink="false">https://www.clever.cloud/?p=24866</guid>

					<description><![CDATA[<p><img width="2500" height="1109" src="https://cdn.clever-cloud.com/uploads/2026/07/2026-07-02-clever-cloud-banniere-blog-kubernetes-orchestration-en.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="2026.07.02 Clever Cloud Bannière Blog Kubernetes Orchestration EN" decoding="async" loading="lazy" srcset="https://cdn.clever-cloud.com/uploads/2026/07/2026-07-02-clever-cloud-banniere-blog-kubernetes-orchestration-en.png 2500w, https://cdn.clever-cloud.com/uploads/2026/07/2026-07-02-clever-cloud-banniere-blog-kubernetes-orchestration-en-300x133.png 300w, https://cdn.clever-cloud.com/uploads/2026/07/2026-07-02-clever-cloud-banniere-blog-kubernetes-orchestration-en-1024x454.png 1024w, https://cdn.clever-cloud.com/uploads/2026/07/2026-07-02-clever-cloud-banniere-blog-kubernetes-orchestration-en-768x341.png 768w, https://cdn.clever-cloud.com/uploads/2026/07/2026-07-02-clever-cloud-banniere-blog-kubernetes-orchestration-en-1536x681.png 1536w, https://cdn.clever-cloud.com/uploads/2026/07/2026-07-02-clever-cloud-banniere-blog-kubernetes-orchestration-en-2048x908.png 2048w, https://cdn.clever-cloud.com/uploads/2026/07/2026-07-02-clever-cloud-banniere-blog-kubernetes-orchestration-en-1368x607.png 1368w" sizes="auto, (max-width: 2500px) 100vw, 2500px" /></p><!-- wp:html -->
<style>
  .cc-table-wrap { overflow-x: auto; }
  .cc-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 17px;
    font-family: "Plus Jakarta Sans","PlusJakartaSans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
    color: #111827;
  }
  .cc-table th,
  .cc-table td {
    text-align: left;
    padding: 12px 16px;
    vertical-align: top;
    line-height: 1.6;
  }
  .cc-table tbody tr + tr td,
  .cc-table tbody tr:first-child td {
    border-top: 1px solid #deddee;
  }
  .cc-table th + th,
  .cc-table td + td {
    border-left: 1px solid #deddee;
  }
  .cc-table thead th {
    font-weight: 700;
    text-align: center;
  }
  .cc-table th:nth-child(1),
  .cc-table td:nth-child(1) { width: 28%; }
  .cc-table th:nth-child(2),
  .cc-table td:nth-child(2) { width: 36%; }
  .cc-table th:nth-child(3),
  .cc-table td:nth-child(3) { width: 36%; }
</style>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>It is a function distinct from containerization itself, which packages an application and its dependencies into a standard format. The <a href="https://www.clever.cloud/blog/features/2026/05/22/kubernetes-vs-docker-differences-and-when-to-use-them/">differences between Docker and Kubernetes</a> rest precisely on that distinction: Docker builds and runs containers, Kubernetes orchestrates them. Today, Kubernetes is the de facto standard for container orchestration, but orchestration as a concept exists independently of the tool that implements it.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Why orchestration exists</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Running three containers on a single server does not call for orchestration. You start them, monitor them manually, and restart one yourself if it crashes. The nature of the problem changes the moment an application becomes a distributed system: several services, several machines, variable traffic, frequent deployments. The operational questions that appear then are concrete. Which machine should this new container run on? What happens if a node goes down in the middle of the night? How do you move from version 1.4 to 1.5 with no visible interruption? How does one internal service find another when IP addresses change on every restart?</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Each of these questions has a possible manual answer, one you can even script. Orchestration is about automating them coherently, under a single model.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">The five core functions of orchestration</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p><a href="https://www.clever.cloud/product/kubernetes/">Kubernetes</a> handles these questions through a <a href="https://www.clever.cloud/blog/engineering/2026/05/19/k8s-kubernetes-definition-standard/">declarative model built on reconciliation loops</a>: you describe the desired state of the system, and the orchestrator constantly compares that desired state to the actual state to bring them together. The five functions that follow are instances of this general mechanism.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Scheduling: placing containers on the right machines</h3>
<!-- /wp:heading -->

<!-- wp:image {"id":25312,"sizeSlug":"large","linkDestination":"none","align":"wide"} -->
<figure class="wp-block-image alignwide size-large"><img src="https://cdn.clever-cloud.com/uploads/2026/07/kubernetes-orchestration-scheduling-diagram-1024x411.webp" alt="Kubernetes scheduling diagram: kube-scheduler filters and scores nodes, then binds pod A to the selected node through the API server." class="wp-image-25312"/><figcaption class="wp-element-caption">kubernetes orchestration scheduling diagram</figcaption></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>Scheduling answers one question: when a new container needs to start, which machine in the cluster should run it? On a cluster of a few nodes with identical profiles, the decision is trivial. On a real cluster, it is not: some machines have GPUs and others do not, some are already loaded, some applications must be isolated while others must instead be co-located for latency reasons.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The kube-scheduler component makes this choice in two steps: filtering, which rules out the nodes that cannot host the pod (insufficient capacity, affinity constraints, taints and tolerations), and scoring, which ranks the remaining nodes against several criteria. The pod is then assigned to the chosen node through a binding operation with the API server. The quality of the decision depends on the information given to the scheduler. It is the resource requests declared on the pods that drive placement: the scheduler looks for a node whose available capacity covers those requests. The limits, on the other hand, play no part in placement; they cap a container’s consumption once it is running.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Scaling: matching capacity to real traffic</h3>
<!-- /wp:heading -->

<!-- wp:image {"id":25314,"sizeSlug":"large","linkDestination":"none","align":"wide"} -->
<figure class="wp-block-image alignwide size-large"><img src="https://cdn.clever-cloud.com/uploads/2026/07/kubernetes-orchestration-scaling-diagram-1024x385.webp" alt="Kubernetes scaling diagram: Horizontal Pod Autoscaler, Vertical Pod Autoscaler and Cluster Autoscaler adjusting pod count, pod size and nodes." class="wp-image-25314"/></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>Scaling automates a decision that is simple to state: how many copies of a service should run at a given moment? Too many copies cost money. Too few cause incidents at the first spike.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Scaling is a function common to every orchestrator; the mechanisms vary by implementation. In Kubernetes, it rests on three distinct building blocks. The Horizontal Pod Autoscaler (HPA), part of core Kubernetes, adjusts the number of pods in a deployment based on a metric. To do so it relies on the Metrics Server, a component you install separately, because metric collection is not provided by default. The Vertical Pod Autoscaler (VPA), also shipped as a separate project, adjusts the resources allocated to each pod. The Cluster Autoscaler, finally, adds or removes whole nodes according to aggregate needs. These mechanisms assume reliable metrics: an HPA driven by CPU, when the service is actually constrained by disk I/O, will not produce the expected result.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Self-healing: replacing what fails</h3>
<!-- /wp:heading -->

<!-- wp:image {"id":25315,"sizeSlug":"large","linkDestination":"none","align":"wide"} -->
<figure class="wp-block-image alignwide size-large"><img src="https://cdn.clever-cloud.com/uploads/2026/07/kubernetes-orchestration-self-healing-diagram-1024x371.webp" alt="Kubernetes self-healing diagram: the controller reconciliation loop replaces a failed pod to restore the desired state of three replicas." class="wp-image-25315"/></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>Past a certain number of machines, failures stop being exceptional events and become background noise. A disk fails, a kernel panic happens, a container leaks memory and ends up OOM-killed. Without orchestration, every failure triggers human intervention, more or less urgent. With orchestration, these events are absorbed without intervention.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Within Kubernetes, the mechanism rests on two elements. First, probes (liveness, readiness, startup) that let it know whether a container is actually working, and not merely whether it has started. Second, the principle that any object managed by a controller (Deployment, StatefulSet, DaemonSet) is constantly compared against the desired state: if a pod disappears, the controller requests a new one. The effectiveness of self-healing depends on how well the probes are configured: probes that are too strict cause unnecessary restarts, while probes that are too lenient allow unhealthy containers to remain running.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Service discovery and internal load balancing</h3>
<!-- /wp:heading -->

<!-- wp:image {"id":25316,"sizeSlug":"large","linkDestination":"none","align":"wide"} -->
<figure class="wp-block-image alignwide size-large"><img src="https://cdn.clever-cloud.com/uploads/2026/07/kubernetes-orchestration-service-discovery-diagram-1024x303.webp" alt="Kubernetes service discovery diagram: CoreDNS resolves a Service name to a virtual IP and kube-proxy sends traffic to ready pods only." class="wp-image-25316"/></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>In a dynamic container environment, where each Pod has an ephemeral IP address, two services that need to communicate cannot rely on static IP configurations. Service discovery solves this through a layer of indirection. In Kubernetes, a Service object groups a set of pods (selected by labels) under a stable DNS name and a virtual IP. CoreDNS, the cluster’s internal DNS server, resolves these names. Traffic sent to the Service IP is distributed across the ready pods via kube-proxy. This principle is not specific to Kubernetes: other orchestrators meet the same need differently. On Clever Cloud, for instance, services find each other through configuration injection between applications and through Network Groups, an encrypted private network with internal DNS resolution.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Several types of Services exist (ClusterIP for internal traffic, NodePort and LoadBalancer for external traffic), alongside the notion of Ingress for application-level HTTP routing. Although it may appear simple, this network layer accounts for much of Kubernetes’ operational complexity, including CNI plugin selection, network policies and east-west traffic observability.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Rolling updates and rollbacks</h3>
<!-- /wp:heading -->

<!-- wp:image {"id":25317,"sizeSlug":"large","linkDestination":"none","align":"wide"} -->
<figure class="wp-block-image alignwide size-large"><img src="https://cdn.clever-cloud.com/uploads/2026/07/kubernetes-orchestration-rolling-update-diagram-1024x426.webp" alt="Kubernetes rolling update diagram: pods replaced one by one from v1.4 to v1.5 with no downtime; on failure the rollout stops and kubectl rollout undo reverts it." class="wp-image-25317"/></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>Shipping a new version to production without interrupting the service is a risky operation when done by hand. Kubernetes treats it as a state transition: you change the Deployment manifest to point to the new image version, and the controller applies the configured rollout strategy.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The RollingUpdate strategy (the default) progressively replaces old pods with new ones, guaranteeing that a minimum number stays available at all times. The Recreate strategy stops everything and then restarts, useful for incompatible schema migrations. In case of failure, the rollout does not revert on its own to the previous state: it stops, the new pods that fail their probes do not replace the old ones, and it is an operator who triggers the return to the previous version with kubectl rollout undo. For this to work, the versions must be compatible with each other during the transition, which implies discipline on API contracts and database migrations.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Beyond the five core functions</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Kubernetes orchestration does not stop at these five functions. In practice, a production Kubernetes cluster also manages application configuration (ConfigMaps), secrets (with or without encryption at rest), persistent storage through PersistentVolumeClaims, authorization (RBAC), network isolation (NetworkPolicies), observability (logs, metrics, traces), and certificate lifecycle management. Each of these introduces an additional operational responsibility beyond the core orchestration functions.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Without an orchestrator vs with Kubernetes: a function-by-function comparison</h2>
<!-- /wp:heading -->

<!-- wp:spacer {"height":"25px"} -->
<div style="height:25px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:html -->
<div class="cc-table-wrap">
  <table class="cc-table">
    <thead>
      <tr>
        <th>Function</th>
        <th>Without an orchestrator</th>
        <th>With Kubernetes</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>Scheduling</td>
        <td>Manual placement or custom allocation scripts</td>
        <td>kube-scheduler with declarative constraints</td>
      </tr>
      <tr>
        <td>Scaling</td>
        <td>Manual provisioning or external rules</td>
        <td>HPA, VPA, Cluster Autoscaler</td>
      </tr>
      <tr>
        <td>Self-healing</td>
        <td>External monitoring and restart scripts</td>
        <td>Built-in probes and controllers</td>
      </tr>
      <tr>
        <td>Service discovery</td>
        <td>Config files, Consul, standalone etcd</td>
        <td>Native Services and internal DNS</td>
      </tr>
      <tr>
        <td>Rolling updates</td>
        <td>Custom deployment scripts and manual load balancer switchover</td>
        <td>Deployment controller and declarative strategies</td>
      </tr>
    </tbody>
  </table>
</div>
<!-- /wp:html -->

<!-- wp:spacer {"height":"25px"} -->
<div style="height:25px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:paragraph -->
<p>The table does not rank the two columns. It shows that Kubernetes provides a unified model for these five functions, where an approach without an orchestrator handles them separately with different tools. For a system that does not need this unification, the left-hand column remains perfectly valid.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Common practices worth knowing</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p><strong>Choose the tool based on the need, not by default.</strong> Not every application needs scheduling, automatic scaling or service discovery at the level Kubernetes offers. A PaaS, a VM-based deployment or an application managed by systemd can meet many needs through a different operational model.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>Think about observability from the start.</strong> A Kubernetes cluster without centralized logs, aggregated metrics and traces quickly becomes hard to operate beyond a handful of services. Observability is an integral part of orchestration, not an optional add-on.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>Define requests and limits before enabling autoscaling.</strong> The HPA and the Cluster Autoscaler rely on the pods’ declared resources to decide on scaling. Without declarations, their decisions rest on partial information.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>Get probe configuration right.</strong> Poorly configured liveness and readiness probes can undermine both self-healing and traffic routing.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">When Kubernetes orchestration becomes relevant</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>No single one of the five functions, taken in isolation, justifies bringing Kubernetes into a system. A deployment script, a properly configured load balancer or a monitoring tool with automatic restart capabilities can each cover one of these functions individually. What justifies adopting an orchestrator is the point where the five functions all become necessary at once, on an infrastructure distributed enough to make ad hoc solutions expensive to maintain.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Concretely, that corresponds to architectures with a dozen services or more, deployed across several machines, with frequent deployment cycles, significant load variations and resilience requirements that no longer tolerate manual intervention. For contexts more constrained in resources (edge, IoT, development machines, small clusters), a <a href="https://www.clever.cloud/blog/features/2026/05/28/k3s-vs-k8s-what-are-the-differences-and-which-one-should-you-choose-in-2026/">lightweight Kubernetes distribution such as K3s can be a good fit</a>. <a href="https://www.clever.cloud/blog/engineering/2025/03/05/what-is-a-paas/">A PaaS also meets these needs</a>, as it does many other application profiles (industrialized deployment, automatic scaling, resilience, updates), with an operational model distinct from Kubernetes.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>When Kubernetes does become relevant, the next question rarely concerns installation and more often day-to-day operations: control plane updates, etcd management, certificate rotation, observability, backups. That observation is what explains the growing adoption of managed Kubernetes services. At Clever Cloud, <a href="https://www.clever.cloud/clever-kubernetes-engine/">Clever Kubernetes Engine</a> addresses this need with Materia etcd, a serverless implementation of the etcd API built on FoundationDB that takes over from standard etcd, a known bottleneck at scale, on sovereign infrastructure spread across our three Paris datacenters.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Container orchestration in summary</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Container orchestration automates several categories of operational decisions, chief among them five main classes: where to place a container, when to start more of them, what to do when one of them fails, how they find one another, and how to move from one version to the next without interruption. Kubernetes brings these functions together under a unified model, making it the de facto standard for distributed systems that require all of them. The useful question, faced with a project, is not whether you should do orchestration, but which of these functions are actually needed, and at what level of automation.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">FAQ - Kubernetes orchestration</h2>
<!-- /wp:heading -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading"><strong>What is the difference between containerization and orchestration?</strong></h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Containerization packages an application and its dependencies into a standardized format that runs identically on any compatible host. Orchestration automates the management of a fleet of containers in production: placement, scaling, self-healing, service discovery, updates. Docker is the reference tool for the former, Kubernetes for the latter.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Do you necessarily need Kubernetes to orchestrate containers?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>No. Kubernetes is the most widely adopted orchestrator, but others exist: HashiCorp’s Nomad, which orchestrates containers, VMs and binaries in a single cluster, or Docker Swarm, still maintained but with declining adoption. Apache Mesos, long cited as an alternative, was retired to the Apache Attic in October 2025 and is no longer in active development. Beyond that, a PaaS like Clever Cloud covers the full set of these orchestration functions (placement, automatic scaling, self-healing, rolling updates, service discovery) with its own control plane, independent of Kubernetes. It is that control plane that orchestrates both the applications running in VMs and the containers of the platform’s Docker runtime.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Is container orchestration necessary for CI/CD?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>No, but the two are often used together. Modern CI/CD pipelines produce container images as their final artifact, and the orchestrator (Kubernetes or another) takes over to deploy and operate those images. CI/CD and orchestration are two complementary stages of the application lifecycle.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Does K3s allow orchestration in constrained environments?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Yes. K3s is a CNCF-certified Kubernetes distribution designed for resource-limited environments (edge, IoT, development machines, small clusters). It keeps the standard Kubernetes APIs while reducing the resource footprint and deployment complexity.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Does managed Kubernetes change the orchestration functions available?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>No. Managed Kubernetes provides the same set of orchestration functions as a self-hosted cluster, since it is the same Kubernetes. The difference lies in how operational responsibilities are split: the provider takes on control plane management, updates, and the underlying monitoring. Users then focus on their application workloads.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Which orchestration function is the hardest to master?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Networking is frequently cited as the most complex. Service discovery, internal load balancing, NetworkPolicies, Ingress, CNI plugin, east-west traffic observability: the Kubernetes network layer concentrates a significant share of advanced operational topics and remains a frequent source of production incidents.</p>
<!-- /wp:paragraph -->]]></description>
										<content:encoded><![CDATA[<p><img width="2500" height="1109" src="https://cdn.clever-cloud.com/uploads/2026/07/2026-07-02-clever-cloud-banniere-blog-kubernetes-orchestration-en.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="2026.07.02 Clever Cloud Bannière Blog Kubernetes Orchestration EN" decoding="async" loading="lazy" srcset="https://cdn.clever-cloud.com/uploads/2026/07/2026-07-02-clever-cloud-banniere-blog-kubernetes-orchestration-en.png 2500w, https://cdn.clever-cloud.com/uploads/2026/07/2026-07-02-clever-cloud-banniere-blog-kubernetes-orchestration-en-300x133.png 300w, https://cdn.clever-cloud.com/uploads/2026/07/2026-07-02-clever-cloud-banniere-blog-kubernetes-orchestration-en-1024x454.png 1024w, https://cdn.clever-cloud.com/uploads/2026/07/2026-07-02-clever-cloud-banniere-blog-kubernetes-orchestration-en-768x341.png 768w, https://cdn.clever-cloud.com/uploads/2026/07/2026-07-02-clever-cloud-banniere-blog-kubernetes-orchestration-en-1536x681.png 1536w, https://cdn.clever-cloud.com/uploads/2026/07/2026-07-02-clever-cloud-banniere-blog-kubernetes-orchestration-en-2048x908.png 2048w, https://cdn.clever-cloud.com/uploads/2026/07/2026-07-02-clever-cloud-banniere-blog-kubernetes-orchestration-en-1368x607.png 1368w" sizes="auto, (max-width: 2500px) 100vw, 2500px" /></p><!-- wp:html -->
<style>
  .cc-table-wrap { overflow-x: auto; }
  .cc-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 17px;
    font-family: "Plus Jakarta Sans","PlusJakartaSans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
    color: #111827;
  }
  .cc-table th,
  .cc-table td {
    text-align: left;
    padding: 12px 16px;
    vertical-align: top;
    line-height: 1.6;
  }
  .cc-table tbody tr + tr td,
  .cc-table tbody tr:first-child td {
    border-top: 1px solid #deddee;
  }
  .cc-table th + th,
  .cc-table td + td {
    border-left: 1px solid #deddee;
  }
  .cc-table thead th {
    font-weight: 700;
    text-align: center;
  }
  .cc-table th:nth-child(1),
  .cc-table td:nth-child(1) { width: 28%; }
  .cc-table th:nth-child(2),
  .cc-table td:nth-child(2) { width: 36%; }
  .cc-table th:nth-child(3),
  .cc-table td:nth-child(3) { width: 36%; }
</style>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>It is a function distinct from containerization itself, which packages an application and its dependencies into a standard format. The <a href="https://www.clever.cloud/blog/features/2026/05/22/kubernetes-vs-docker-differences-and-when-to-use-them/">differences between Docker and Kubernetes</a> rest precisely on that distinction: Docker builds and runs containers, Kubernetes orchestrates them. Today, Kubernetes is the de facto standard for container orchestration, but orchestration as a concept exists independently of the tool that implements it.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Why orchestration exists</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Running three containers on a single server does not call for orchestration. You start them, monitor them manually, and restart one yourself if it crashes. The nature of the problem changes the moment an application becomes a distributed system: several services, several machines, variable traffic, frequent deployments. The operational questions that appear then are concrete. Which machine should this new container run on? What happens if a node goes down in the middle of the night? How do you move from version 1.4 to 1.5 with no visible interruption? How does one internal service find another when IP addresses change on every restart?</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Each of these questions has a possible manual answer, one you can even script. Orchestration is about automating them coherently, under a single model.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">The five core functions of orchestration</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p><a href="https://www.clever.cloud/product/kubernetes/">Kubernetes</a> handles these questions through a <a href="https://www.clever.cloud/blog/engineering/2026/05/19/k8s-kubernetes-definition-standard/">declarative model built on reconciliation loops</a>: you describe the desired state of the system, and the orchestrator constantly compares that desired state to the actual state to bring them together. The five functions that follow are instances of this general mechanism.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Scheduling: placing containers on the right machines</h3>
<!-- /wp:heading -->

<!-- wp:image {"id":25312,"sizeSlug":"large","linkDestination":"none","align":"wide"} -->
<figure class="wp-block-image alignwide size-large"><img src="https://cdn.clever-cloud.com/uploads/2026/07/kubernetes-orchestration-scheduling-diagram-1024x411.webp" alt="Kubernetes scheduling diagram: kube-scheduler filters and scores nodes, then binds pod A to the selected node through the API server." class="wp-image-25312"/><figcaption class="wp-element-caption">kubernetes orchestration scheduling diagram</figcaption></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>Scheduling answers one question: when a new container needs to start, which machine in the cluster should run it? On a cluster of a few nodes with identical profiles, the decision is trivial. On a real cluster, it is not: some machines have GPUs and others do not, some are already loaded, some applications must be isolated while others must instead be co-located for latency reasons.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The kube-scheduler component makes this choice in two steps: filtering, which rules out the nodes that cannot host the pod (insufficient capacity, affinity constraints, taints and tolerations), and scoring, which ranks the remaining nodes against several criteria. The pod is then assigned to the chosen node through a binding operation with the API server. The quality of the decision depends on the information given to the scheduler. It is the resource requests declared on the pods that drive placement: the scheduler looks for a node whose available capacity covers those requests. The limits, on the other hand, play no part in placement; they cap a container’s consumption once it is running.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Scaling: matching capacity to real traffic</h3>
<!-- /wp:heading -->

<!-- wp:image {"id":25314,"sizeSlug":"large","linkDestination":"none","align":"wide"} -->
<figure class="wp-block-image alignwide size-large"><img src="https://cdn.clever-cloud.com/uploads/2026/07/kubernetes-orchestration-scaling-diagram-1024x385.webp" alt="Kubernetes scaling diagram: Horizontal Pod Autoscaler, Vertical Pod Autoscaler and Cluster Autoscaler adjusting pod count, pod size and nodes." class="wp-image-25314"/></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>Scaling automates a decision that is simple to state: how many copies of a service should run at a given moment? Too many copies cost money. Too few cause incidents at the first spike.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Scaling is a function common to every orchestrator; the mechanisms vary by implementation. In Kubernetes, it rests on three distinct building blocks. The Horizontal Pod Autoscaler (HPA), part of core Kubernetes, adjusts the number of pods in a deployment based on a metric. To do so it relies on the Metrics Server, a component you install separately, because metric collection is not provided by default. The Vertical Pod Autoscaler (VPA), also shipped as a separate project, adjusts the resources allocated to each pod. The Cluster Autoscaler, finally, adds or removes whole nodes according to aggregate needs. These mechanisms assume reliable metrics: an HPA driven by CPU, when the service is actually constrained by disk I/O, will not produce the expected result.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Self-healing: replacing what fails</h3>
<!-- /wp:heading -->

<!-- wp:image {"id":25315,"sizeSlug":"large","linkDestination":"none","align":"wide"} -->
<figure class="wp-block-image alignwide size-large"><img src="https://cdn.clever-cloud.com/uploads/2026/07/kubernetes-orchestration-self-healing-diagram-1024x371.webp" alt="Kubernetes self-healing diagram: the controller reconciliation loop replaces a failed pod to restore the desired state of three replicas." class="wp-image-25315"/></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>Past a certain number of machines, failures stop being exceptional events and become background noise. A disk fails, a kernel panic happens, a container leaks memory and ends up OOM-killed. Without orchestration, every failure triggers human intervention, more or less urgent. With orchestration, these events are absorbed without intervention.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Within Kubernetes, the mechanism rests on two elements. First, probes (liveness, readiness, startup) that let it know whether a container is actually working, and not merely whether it has started. Second, the principle that any object managed by a controller (Deployment, StatefulSet, DaemonSet) is constantly compared against the desired state: if a pod disappears, the controller requests a new one. The effectiveness of self-healing depends on how well the probes are configured: probes that are too strict cause unnecessary restarts, while probes that are too lenient allow unhealthy containers to remain running.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Service discovery and internal load balancing</h3>
<!-- /wp:heading -->

<!-- wp:image {"id":25316,"sizeSlug":"large","linkDestination":"none","align":"wide"} -->
<figure class="wp-block-image alignwide size-large"><img src="https://cdn.clever-cloud.com/uploads/2026/07/kubernetes-orchestration-service-discovery-diagram-1024x303.webp" alt="Kubernetes service discovery diagram: CoreDNS resolves a Service name to a virtual IP and kube-proxy sends traffic to ready pods only." class="wp-image-25316"/></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>In a dynamic container environment, where each Pod has an ephemeral IP address, two services that need to communicate cannot rely on static IP configurations. Service discovery solves this through a layer of indirection. In Kubernetes, a Service object groups a set of pods (selected by labels) under a stable DNS name and a virtual IP. CoreDNS, the cluster’s internal DNS server, resolves these names. Traffic sent to the Service IP is distributed across the ready pods via kube-proxy. This principle is not specific to Kubernetes: other orchestrators meet the same need differently. On Clever Cloud, for instance, services find each other through configuration injection between applications and through Network Groups, an encrypted private network with internal DNS resolution.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Several types of Services exist (ClusterIP for internal traffic, NodePort and LoadBalancer for external traffic), alongside the notion of Ingress for application-level HTTP routing. Although it may appear simple, this network layer accounts for much of Kubernetes’ operational complexity, including CNI plugin selection, network policies and east-west traffic observability.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Rolling updates and rollbacks</h3>
<!-- /wp:heading -->

<!-- wp:image {"id":25317,"sizeSlug":"large","linkDestination":"none","align":"wide"} -->
<figure class="wp-block-image alignwide size-large"><img src="https://cdn.clever-cloud.com/uploads/2026/07/kubernetes-orchestration-rolling-update-diagram-1024x426.webp" alt="Kubernetes rolling update diagram: pods replaced one by one from v1.4 to v1.5 with no downtime; on failure the rollout stops and kubectl rollout undo reverts it." class="wp-image-25317"/></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>Shipping a new version to production without interrupting the service is a risky operation when done by hand. Kubernetes treats it as a state transition: you change the Deployment manifest to point to the new image version, and the controller applies the configured rollout strategy.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The RollingUpdate strategy (the default) progressively replaces old pods with new ones, guaranteeing that a minimum number stays available at all times. The Recreate strategy stops everything and then restarts, useful for incompatible schema migrations. In case of failure, the rollout does not revert on its own to the previous state: it stops, the new pods that fail their probes do not replace the old ones, and it is an operator who triggers the return to the previous version with kubectl rollout undo. For this to work, the versions must be compatible with each other during the transition, which implies discipline on API contracts and database migrations.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Beyond the five core functions</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Kubernetes orchestration does not stop at these five functions. In practice, a production Kubernetes cluster also manages application configuration (ConfigMaps), secrets (with or without encryption at rest), persistent storage through PersistentVolumeClaims, authorization (RBAC), network isolation (NetworkPolicies), observability (logs, metrics, traces), and certificate lifecycle management. Each of these introduces an additional operational responsibility beyond the core orchestration functions.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Without an orchestrator vs with Kubernetes: a function-by-function comparison</h2>
<!-- /wp:heading -->

<!-- wp:spacer {"height":"25px"} -->
<div style="height:25px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:html -->
<div class="cc-table-wrap">
  <table class="cc-table">
    <thead>
      <tr>
        <th>Function</th>
        <th>Without an orchestrator</th>
        <th>With Kubernetes</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>Scheduling</td>
        <td>Manual placement or custom allocation scripts</td>
        <td>kube-scheduler with declarative constraints</td>
      </tr>
      <tr>
        <td>Scaling</td>
        <td>Manual provisioning or external rules</td>
        <td>HPA, VPA, Cluster Autoscaler</td>
      </tr>
      <tr>
        <td>Self-healing</td>
        <td>External monitoring and restart scripts</td>
        <td>Built-in probes and controllers</td>
      </tr>
      <tr>
        <td>Service discovery</td>
        <td>Config files, Consul, standalone etcd</td>
        <td>Native Services and internal DNS</td>
      </tr>
      <tr>
        <td>Rolling updates</td>
        <td>Custom deployment scripts and manual load balancer switchover</td>
        <td>Deployment controller and declarative strategies</td>
      </tr>
    </tbody>
  </table>
</div>
<!-- /wp:html -->

<!-- wp:spacer {"height":"25px"} -->
<div style="height:25px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:paragraph -->
<p>The table does not rank the two columns. It shows that Kubernetes provides a unified model for these five functions, where an approach without an orchestrator handles them separately with different tools. For a system that does not need this unification, the left-hand column remains perfectly valid.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Common practices worth knowing</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p><strong>Choose the tool based on the need, not by default.</strong> Not every application needs scheduling, automatic scaling or service discovery at the level Kubernetes offers. A PaaS, a VM-based deployment or an application managed by systemd can meet many needs through a different operational model.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>Think about observability from the start.</strong> A Kubernetes cluster without centralized logs, aggregated metrics and traces quickly becomes hard to operate beyond a handful of services. Observability is an integral part of orchestration, not an optional add-on.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>Define requests and limits before enabling autoscaling.</strong> The HPA and the Cluster Autoscaler rely on the pods’ declared resources to decide on scaling. Without declarations, their decisions rest on partial information.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>Get probe configuration right.</strong> Poorly configured liveness and readiness probes can undermine both self-healing and traffic routing.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">When Kubernetes orchestration becomes relevant</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>No single one of the five functions, taken in isolation, justifies bringing Kubernetes into a system. A deployment script, a properly configured load balancer or a monitoring tool with automatic restart capabilities can each cover one of these functions individually. What justifies adopting an orchestrator is the point where the five functions all become necessary at once, on an infrastructure distributed enough to make ad hoc solutions expensive to maintain.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Concretely, that corresponds to architectures with a dozen services or more, deployed across several machines, with frequent deployment cycles, significant load variations and resilience requirements that no longer tolerate manual intervention. For contexts more constrained in resources (edge, IoT, development machines, small clusters), a <a href="https://www.clever.cloud/blog/features/2026/05/28/k3s-vs-k8s-what-are-the-differences-and-which-one-should-you-choose-in-2026/">lightweight Kubernetes distribution such as K3s can be a good fit</a>. <a href="https://www.clever.cloud/blog/engineering/2025/03/05/what-is-a-paas/">A PaaS also meets these needs</a>, as it does many other application profiles (industrialized deployment, automatic scaling, resilience, updates), with an operational model distinct from Kubernetes.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>When Kubernetes does become relevant, the next question rarely concerns installation and more often day-to-day operations: control plane updates, etcd management, certificate rotation, observability, backups. That observation is what explains the growing adoption of managed Kubernetes services. At Clever Cloud, <a href="https://www.clever.cloud/clever-kubernetes-engine/">Clever Kubernetes Engine</a> addresses this need with Materia etcd, a serverless implementation of the etcd API built on FoundationDB that takes over from standard etcd, a known bottleneck at scale, on sovereign infrastructure spread across our three Paris datacenters.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Container orchestration in summary</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Container orchestration automates several categories of operational decisions, chief among them five main classes: where to place a container, when to start more of them, what to do when one of them fails, how they find one another, and how to move from one version to the next without interruption. Kubernetes brings these functions together under a unified model, making it the de facto standard for distributed systems that require all of them. The useful question, faced with a project, is not whether you should do orchestration, but which of these functions are actually needed, and at what level of automation.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">FAQ - Kubernetes orchestration</h2>
<!-- /wp:heading -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading"><strong>What is the difference between containerization and orchestration?</strong></h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Containerization packages an application and its dependencies into a standardized format that runs identically on any compatible host. Orchestration automates the management of a fleet of containers in production: placement, scaling, self-healing, service discovery, updates. Docker is the reference tool for the former, Kubernetes for the latter.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Do you necessarily need Kubernetes to orchestrate containers?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>No. Kubernetes is the most widely adopted orchestrator, but others exist: HashiCorp’s Nomad, which orchestrates containers, VMs and binaries in a single cluster, or Docker Swarm, still maintained but with declining adoption. Apache Mesos, long cited as an alternative, was retired to the Apache Attic in October 2025 and is no longer in active development. Beyond that, a PaaS like Clever Cloud covers the full set of these orchestration functions (placement, automatic scaling, self-healing, rolling updates, service discovery) with its own control plane, independent of Kubernetes. It is that control plane that orchestrates both the applications running in VMs and the containers of the platform’s Docker runtime.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Is container orchestration necessary for CI/CD?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>No, but the two are often used together. Modern CI/CD pipelines produce container images as their final artifact, and the orchestrator (Kubernetes or another) takes over to deploy and operate those images. CI/CD and orchestration are two complementary stages of the application lifecycle.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Does K3s allow orchestration in constrained environments?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Yes. K3s is a CNCF-certified Kubernetes distribution designed for resource-limited environments (edge, IoT, development machines, small clusters). It keeps the standard Kubernetes APIs while reducing the resource footprint and deployment complexity.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Does managed Kubernetes change the orchestration functions available?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>No. Managed Kubernetes provides the same set of orchestration functions as a self-hosted cluster, since it is the same Kubernetes. The difference lies in how operational responsibilities are split: the provider takes on control plane management, updates, and the underlying monitoring. Users then focus on their application workloads.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Which orchestration function is the hardest to master?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Networking is frequently cited as the most complex. Service discovery, internal load balancing, NetworkPolicies, Ingress, CNI plugin, east-west traffic observability: the Kubernetes network layer concentrates a significant share of advanced operational topics and remains a frequent source of production incidents.</p>
<!-- /wp:paragraph -->]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Clever Cloud Takes Control of Its IP Prefix Announcements</title>
		<link>https://www.clever.cloud/blog/engineering/2026/05/04/clever-cloud-takes-control-of-its-ip-prefix-announcements/</link>
		
		<dc:creator><![CDATA[Arnaud Lefebvre]]></dc:creator>
		<pubDate>Mon, 04 May 2026 15:00:35 +0000</pubDate>
				<category><![CDATA[Engineering]]></category>
		<guid isPermaLink="false">https://www.clever.cloud/?p=23853</guid>

					<description><![CDATA[<p><img width="2499" height="1109" src="https://cdn.clever-cloud.com/uploads/2026/03/2026-03-17-clever-cloud-banniere-blog-clever-cloud-controle-lannonce-de-ses-prefixes-ip-en.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="2026 03 17 clever cloud banniere blog clever cloud controle lannonce de ses prefixes ip en" decoding="async" loading="lazy" srcset="https://cdn.clever-cloud.com/uploads/2026/03/2026-03-17-clever-cloud-banniere-blog-clever-cloud-controle-lannonce-de-ses-prefixes-ip-en.png 2499w, https://cdn.clever-cloud.com/uploads/2026/03/2026-03-17-clever-cloud-banniere-blog-clever-cloud-controle-lannonce-de-ses-prefixes-ip-en-300x133.png 300w, https://cdn.clever-cloud.com/uploads/2026/03/2026-03-17-clever-cloud-banniere-blog-clever-cloud-controle-lannonce-de-ses-prefixes-ip-en-1024x454.png 1024w, https://cdn.clever-cloud.com/uploads/2026/03/2026-03-17-clever-cloud-banniere-blog-clever-cloud-controle-lannonce-de-ses-prefixes-ip-en-768x341.png 768w, https://cdn.clever-cloud.com/uploads/2026/03/2026-03-17-clever-cloud-banniere-blog-clever-cloud-controle-lannonce-de-ses-prefixes-ip-en-1536x682.png 1536w, https://cdn.clever-cloud.com/uploads/2026/03/2026-03-17-clever-cloud-banniere-blog-clever-cloud-controle-lannonce-de-ses-prefixes-ip-en-2048x909.png 2048w, https://cdn.clever-cloud.com/uploads/2026/03/2026-03-17-clever-cloud-banniere-blog-clever-cloud-controle-lannonce-de-ses-prefixes-ip-en-1368x607.png 1368w" sizes="auto, (max-width: 2499px) 100vw, 2499px" /></p><!-- wp:paragraph -->
<p>This represents a major milestone that culminates three years of preparation and is part of our broader strategy to maintain complete control over our Paris region's network infrastructure.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Why We Made This Change</h2>
<!-- /wp:heading -->

<!-- wp:html -->
<div style="max-width:780px;margin:1.5rem auto;background:#0f172a;color:#e5eefc;border-radius:12px;padding:16px 20px;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;font-size:15px;line-height:1.7;box-shadow:0 1px 2px rgba(0,0,0,0.08);border:1px solid rgba(255,255,255,0.08);">
  <strong style="color:#e5eefc;">Note:</strong> Clever Cloud operates multiple regions worldwide. Paris is our main region — the largest, where we control the full stack: our own hardware, our own network, and now our own IP announcements. Other regions (hosted on OVH, Scaleway, Cloud Temple, Ionos, Oracle) rely on the underlying provider's infrastructure, including their network. The changes described in this article specifically concern our Paris region.
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>In Clever Cloud's early years, we delegated network responsibility to partners. This approach made sense: it allowed us to accelerate development, focus on cloud services, and avoid investing in expertise we hadn't yet mastered. But as our infrastructure grew, the limitations of this dependency became clear. We had no control over strategic decisions — how traffic was routed across the Internet, which paths our packets took, or how quickly we could respond to failures. Every modification, every incident required the involvement of a third party.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>We decided to take this responsibility back. In doing so, we gained several concrete advantages. We optimize costs through direct management of our transit and peering relationships. We define our own routing policy instead of following an intermediary's constraints. We resolve incidents ourselves, without waiting for external providers. And we achieve complete control of our network stack — the same way we progressively took control of our servers and datacenters over the past few years.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>But this transition isn't just about our operational independence. It brings immediate, tangible benefits for you. The most critical is resilience. Previously, all traffic was routed through a single provider. Any incident on their side impacted every service we offered. We now maintain four upstream providers across three datacenters in the Paris area. When one link fails — and it has happened over the past year — traffic automatically shifts to available alternatives without customer-impacting interruption. We can even withstand the simultaneous loss of multiple transit links.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Beyond redundancy, we gain control over routing itself. We now decide how your traffic reaches its destination. This allows us to optimize paths for lower latency and better performance, and to adjust those decisions based on your specific needs and our network topology. We respond to congestion, to changing conditions, and to your requirements in real time.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Finally, there is the question of operational responsibility. Network issues no longer require us to wait for an external provider to acknowledge and resolve them. Public network failures fall directly under our responsibility — we detect them, analyze them, and fix them ourselves. This directly reduces the time between problem and resolution, which means less downtime and better reliability for our customers.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Operating Your Own Network on the Internet</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>To operate as an independent network on the Internet, organizations must work with a Regional Internet Registry (RIR). RIRs are responsible for allocating and managing IP addresses and AS numbers within specific geographical regions.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>There are five RIRs worldwide:</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul class="wp-block-list"><!-- wp:list-item -->
<li><strong>RIPE NCC</strong> — Europe, Central Asia, and the Middle East</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>ARIN</strong> — North America (United States, Canada, and the Caribbean)</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>LACNIC</strong> — Latin America and the Caribbean</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>APNIC</strong> — Asia-Pacific region</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>AFRINIC</strong> — Africa</li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p>For Clever Cloud, since our infrastructure is primarily in Europe, we work with RIPE NCC (Réseaux Internet Publics Européens).</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Allocated Address Space</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>As a member of a RIR, organizations receive allocations of both IPv4 and IPv6 address space. For RIPE NCC members, this typically includes a /24 block of IPv4 addresses (<a href="https://www.ripe.net/manage-ips-and-asns/ipv4/ipv4-waiting-list/">depending on the availability</a> of such a block) and a /29 block of IPv6 addresses. These allocations are managed under your membership and can be used to operate your network globally.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Creating Our Autonomous System</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>The groundwork for this transition began several years ago. In 2019, we created our RIPE NCC account to become a LIR (Local Internet Registry). This gave us access to a /24 IPv4 block (91.208.207.0/24) and a /29 IPv6 block (2a0f:d0c0::/29).</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Then, in 2022, we registered our Autonomous System Number (ASN) with the Regional Internet Registry for our region. Our AS number is<a href="https://apps.db.ripe.net/db-web-ui/lookup?source=ripe&amp;key=AS213394&amp;type=aut-num"> AS213394</a>. Here is the aut-num object:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="display:flex;justify-content:center;">
<pre style="background:#0f172a;color:#e5eefc;border-radius:12px;padding:16px 20px;overflow-x:auto;white-space:pre;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,'Liberation Mono','Courier New',monospace;font-size:14px;line-height:1.6;margin:1.5rem 0;box-shadow:0 1px 2px rgba(0,0,0,0.08);max-width:900px;width:100%;"><code style="background:transparent;color:inherit;padding:0;font-size:inherit;font-family:inherit;">&gt; whois AS213394

aut-num:        AS213394
as-name:        CleverCloud
org:            ORG-CCS42-RIPE
import:         from AS29075 accept ANY
import:         from AS3257 accept ANY
import:         from AS3356 accept ANY
import:         from AS43424 accept ANY
export:         to AS29075 announce AS213394:AS-CLVRCLD
export:         to AS3257 announce AS213394:AS-CLVRCLD
export:         to AS3356 announce AS213394:AS-CLVRCLD
export:         to AS43424 announce AS213394:AS-CLVRCLD
admin-c:        QA171-RIPE
tech-c:         QA171-RIPE
status:         ASSIGNED
mnt-by:         RIPE-NCC-END-MNT
mnt-by:         mnt-fr-clvrcldnet-1
created:        2022-11-28T08:24:23Z
last-modified:  2025-02-25T16:36:15Z
source:         RIPE</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>An Autonomous System Number (ASN) is a unique identifier for networks on the Internet. It's required to announce routes via BGP — the protocol that makes inter-network routing possible. Creating an AS early on allowed us to plan for this eventual transition and prepare the necessary infrastructure in advance.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Now that we have an ASN, we can start announcing our prefixes to other networks on the Internet using the BGP protocol.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">The Role of the RIPE Database</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>The RIPE NCC maintains a public database of routing objects (like the aut-num object above). Among these objects are route objects, which specify which AS is authorized to announce a particular IP prefix. In practice, these entries are primarily used by network operators and transit providers to build routing policy and filters (IRR-based filtering) to accept or deny announcements from their peers. This is one way to try to prevent BGP hijacks. By applying those filters to the routes you receive from your peers, you can limit the propagation of a prefix that originates from the wrong ASN.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Let's say that Org A owns 192.0.2.0/24 and announces it to Transit X. Transit X applies a filter on routes learned from Org A to only accept the IP prefixes that Org A has in its RIR database. This way, if Org A starts announcing a prefix it doesn't own (let's say our public prefix, 91.208.207.0/24), then Transit X is supposed to reject that route. This helps prevent the bad route from being propagated and traffic from being forwarded to the wrong entity.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>However, not all networks implement IRR filtering. Better mechanisms like ROA (Route Origin Authorization) exist to address this gap.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">The BGP Protocol: How the Internet Routes Traffic</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>To understand how we announce our prefixes on the Internet, it's essential to understand BGP — the Border Gateway Protocol. BGP is the de facto standard routing protocol of the Internet. It allows networks (Autonomous Systems) to exchange information about which IP prefixes they own and how to reach them.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>BGP works in both directions. When we announce to our peers and transit providers "we own 91.208.207.0/24", this announcement travels through the Internet from network to network. Each network that forwards our announcement prepends its own AS number to the AS_PATH — a list showing the sequence of networks a packet traverses to reach us. For example, OVHcloud (AS16276) sees the path [AS29075, AS213394]: traffic goes through one of our transit providers (AS29075), then reaches us (AS213394). Each network that forwards the announcement updates it this way, building a complete path. Here's an example using the<a href="https://lg.ovh.net/prefix_detail/lil1/ipv4?q=91.208.207.0/24"> OVHcloud Looking Glass service</a>:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="display:flex;justify-content:center;">
<pre style="background:#0f172a;color:#e5eefc;border-radius:12px;padding:16px 20px;overflow-x:auto;white-space:pre;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,'Liberation Mono','Courier New',monospace;font-size:14px;line-height:1.6;margin:1.5rem 0;box-shadow:0 1px 2px rgba(0,0,0,0.08);max-width:900px;width:100%;"><code style="background:transparent;color:inherit;padding:0;font-size:inherit;font-family:inherit;">&gt; show route for 91.208.207.0/24 all

91.208.207.0/24    via 172.18.16.0 on eno1 [lil1_rbx1_bagg1_8k 2025-12-25] * (100/0) [AS213394i]
    Type: BGP unicast univ
    BGP.origin: IGP
    BGP.as_path: 29075 213394
    BGP.next_hop: 172.18.16.0
    BGP.med: 161
    BGP.local_pref: 40
    BGP.community: (0,0) (29075,18000) (65535,65281)
    BGP.23 [t]: 00 00 b8 6e
                   via 172.18.16.64 on eno1 [lil1_rbx8_bagg1_8k 2025-12-25] (100/0) [AS213394i]</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>At the same time, we receive announcements from other networks about their prefixes and the paths to reach them. This builds the opposite view: when we need to send traffic outbound, we know which path to take to reach any given destination. Here's an example with one of OVHcloud prefixes:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="display:flex;justify-content:center;">
<pre style="background:#0f172a;color:#e5eefc;border-radius:12px;padding:16px 20px;overflow-x:auto;white-space:pre;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,'Liberation Mono','Courier New',monospace;font-size:14px;line-height:1.6;margin:1.5rem 0;box-shadow:0 1px 2px rgba(0,0,0,0.08);max-width:900px;width:100%;"><code style="background:transparent;color:inherit;padding:0;font-size:inherit;font-family:inherit;">&gt; /routing/route/print detail where dst-address=5.39.0.0/17 and active

Ab   afi=ip4 contribution=active dst-address=5.39.0.0/17 routing-table=main pref-src=185.133.116.2 gateway=213.242.111.201 immediate-gw=213.242.111.201%sfp28-6 distance=20 scope=40 target-scope=10 belongs-to="bgp-IP-213.242.111.201"

      bgp.as-path="3356,16276" bgp.communities=3356:2,3356:2066,3356:22,16276:40001,3356:100,65002:7018,3356:123,3356:901,65002:701,65000:64990,65000:64995,65000:64996,3356:502 .med=0 .atomic-aggregate=no .origin=igp</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>Here the network path OVHcloud uses to reach us is different from the one we use to reach them.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">The Migration Process</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Our IP prefixes were entirely managed by our historical provider. While we legally owned the addresses, we delegated the technical responsibility of announcing them to the Internet to this single provider. This meant:</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul class="wp-block-list"><!-- wp:list-item -->
<li>Our provider's AS (AS43424) was listed as the origin of our prefixes in the Internet routing tables</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>All traffic destined for our services or outgoing to the Internet had to flow through their infrastructure</li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->

<!-- wp:html -->
<div style="display:flex;justify-content:center;">
<pre style="background:#0f172a;color:#e5eefc;border-radius:12px;padding:16px 20px;overflow-x:auto;white-space:pre;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,'Liberation Mono','Courier New',monospace;font-size:14px;line-height:1.6;margin:1.5rem 0;box-shadow:0 1px 2px rgba(0,0,0,0.08);border-left:4px solid #3b82f6;max-width:900px;width:100%;">Clever Cloud Services
   |
   | all inbound/outbound traffic
   v
Historical Provider (AS43424)
   |
   | originates: 91.208.207.0/24 (origin AS43424)
   v
Internet</pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>We now want our ASN to be the origin of the announcements. To migrate safely, we planned a three-step migration. The requirements were simple: we could not accept any customer-impacting interruption.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Migrating a prefix between ASNs</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>To migrate a prefix from one AS to another, we needed to modify its route object in the RIPE database. The procedure was straightforward but required careful timing.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>First, we created a second route object in the RIPE database for our 91.208.207.0/24 prefix. Now both ASNs were registered as authorized to announce the same prefix — both our historical provider's AS and our own AS (213394).</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>These routing objects are publicly queryable via the whois command or through the RIPE web interface. For example, running whois -h whois.ripe.net -T route 91.208.207.0/24 returns both registered objects:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="display:flex;justify-content:center;">
<pre style="background:#0f172a;color:#e5eefc;border-radius:12px;padding:16px 20px;overflow-x:auto;white-space:pre;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,'Liberation Mono','Courier New',monospace;font-size:14px;line-height:1.6;margin:1.5rem 0;box-shadow:0 1px 2px rgba(0,0,0,0.08);max-width:900px;width:100%;"><code style="background:transparent;color:inherit;padding:0;font-size:inherit;font-family:inherit;">❯ whois -h whois.ripe.net -T route 91.208.207.0/24
% Information related to '91.208.207.0/24AS213394'

route:          91.208.207.0/24
mnt-by:         mnt-fr-clvrcldnet-1
descr:          CleverCloud subnet
origin:         AS213394
created:        2025-01-15T10:29:14Z
last-modified:  2025-01-15T10:29:14Z
source:         RIPE

% Information related to '91.208.207.0/24AS43424'

route:          91.208.207.0/24
mnt-by:         mnt-fr-clvrcldnet-1
mnt-by:         MAGICRETAIL-MNT
descr:          CleverCloud subnet
origin:         AS43424
created:        2020-02-13T09:06:33Z
last-modified:  2020-02-13T09:06:48Z
source:         RIPE</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>Once this second route object was registered and propagated across the Internet (i.e., network operators pulled an up-to-date version of the RIPE database to build their routing filters), our new transit providers could see that our ASN was authorized to announce this prefix. At that point, we could begin announcing the prefix through our own infrastructure.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>If we didn't create that route object, our route announcement might have been rejected and we could have been flagged as BGP hijackers.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Announcing Through Our Historical Provider</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Once the second route object was propagated, we performed the first step during the night of January 16, 2025: we began announcing the prefix ourselves via BGP to our historical provider. This was still using the same transit path, but now with Clever Cloud AS213394 originating the announcements instead of our historical provider. Our historical provider continued to relay the prefix, but now received it from us rather than announcing it directly.</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="display:flex;justify-content:center;">
<pre style="background:#0f172a;color:#e5eefc;border-radius:12px;padding:16px 20px;overflow-x:auto;white-space:pre;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,'Liberation Mono','Courier New',monospace;font-size:14px;line-height:1.6;margin:1.5rem 0;box-shadow:0 1px 2px rgba(0,0,0,0.08);border-left:4px solid #3b82f6;max-width:900px;width:100%;">Clever Cloud Services (AS213394)
   |
   | originates: 91.208.207.0/24 (origin AS213394)
   v
Historical Provider (AS43424)
   |
   | re-announces: 91.208.207.0/24 (origin AS213394)
   v
Internet</pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>This first phase served as validation — if any issues arose, we could quickly revert without impacting other transit paths.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Announcing Through Our Own Transits</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>A few days later, during the night of January 21, 2025, we took the final step: we began announcing the prefix through our own dedicated transit connections.</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="display:flex;justify-content:center;">
<pre style="background:#0f172a;color:#e5eefc;border-radius:12px;padding:16px 20px;overflow-x:auto;white-space:pre;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,'Liberation Mono','Courier New',monospace;font-size:14px;line-height:1.6;margin:1.5rem 0;box-shadow:0 1px 2px rgba(0,0,0,0.08);border-left:4px solid #3b82f6;max-width:900px;width:100%;">Clever Cloud Services (AS213394)
   |
   | originates: 91.208.207.0/24 (origin AS213394)
   |
   +---+---+---+
   |   |   |   |
   v   v   v   v
  T1  T2  T3  HP
(Transit providers + historical provider)
   |   |   |   |
   +---+---+---+
   |
   v
Internet</pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>We now announce our prefixes directly to four upstream providers (three transit providers, T1/T2/T3, plus our historical provider HP). Traffic flows across all paths, and we have full control over routing decisions and redundancy.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Throughout both phases, we observed no customer-impacting interruption. The BGP protocol's built-in redundancy and the gradual nature of the transition ensured that traffic flowed smoothly regardless of which path was preferred at any given moment.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Complete Internet Routing Visibility</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>As part of Phase 2, our three primary transit providers began sending us a "full view" of the Internet's routing table. This is the complete set of all publicly announced IPv4 and IPv6 prefixes — roughly ~1 million IPv4 routes and ~220,000 IPv6 routes.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>A full view gives us unprecedented visibility into how the Internet is structured and allows us to make sophisticated routing decisions. Rather than relying on a single provider's perspective, we now see all available paths to reach any destination on the Internet.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>With this information, we are able to:</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul class="wp-block-list"><!-- wp:list-item -->
<li><strong>Choose optimal paths</strong> for our outbound traffic based on our network topology and preferences</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>Implement traffic engineering</strong> to direct flows through specific transit providers</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>Respond dynamically</strong> to network conditions and congestion</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>Balance load</strong> across our four transit connections based on real-time routing data</li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p>This fine-grained control over our routing policy is a direct result of operating our own AS and managing our own announcements — exactly the kind of operational independence we sought when we began this transition.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">One Year Later</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Nearly a year into operating our own network announcements, the transition has proven successful. We have experienced no major incidents, and our infrastructure has proven resilient. When minor issues have occurred — such as packet loss through a specific transit provider or the temporary loss of a transit link — traffic has automatically rebalanced across our remaining connections. We have been able to detect and respond to these issues directly, without waiting for a third-party provider to take action. Our customers experienced no customer-impacting interruption. This ability to own our problems and resolve them quickly is perhaps the greatest benefit we've gained.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">What's Next</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>This transition is far from finished. We have several roadmap items ahead of us:</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul class="wp-block-list"><!-- wp:list-item -->
<li><strong>Increased network capacity</strong> to handle growing traffic demands</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>BGP peering</strong> with other networks to optimize traffic locally without paying for transit</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>ROA (Route Origin Authorization)</strong> deployment to cryptographically sign our route announcements and prevent unauthorized parties from hijacking our prefixes</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>RPKI (Resource Public Key Infrastructure) validation</strong> to ensure the legitimacy of announcements we receive from other networks and protect against prefix hijacking attacks</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>IPv6 expansion</strong>, both inbound (accepting IPv6 traffic) and outbound (sending IPv6 traffic) — a transition we will roll out in phases</li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Conclusion</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>In early 2025, Clever Cloud completed its transition to fully independent network operations. We now announce our own IP prefixes through four upstream providers, giving us full authority over how traffic flows in and out of our infrastructure.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>For our customers, this translates to better reliability and faster problem resolution in our Paris region. When network issues occur, we handle them directly — and our multi-provider redundancy ensures traffic keeps flowing even when incidents occur.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>This milestone is just the beginning. We're already working on BGP peering to optimize local traffic, ROA signing and RPKI validation to strengthen routing security, and IPv6 expansion to fully embrace dual-stack connectivity. We're building a network as robust and self-sufficient as the rest of our infrastructure — and we're excited about what comes next.</p>
<!-- /wp:paragraph -->]]></description>
										<content:encoded><![CDATA[<p><img width="2499" height="1109" src="https://cdn.clever-cloud.com/uploads/2026/03/2026-03-17-clever-cloud-banniere-blog-clever-cloud-controle-lannonce-de-ses-prefixes-ip-en.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="2026 03 17 clever cloud banniere blog clever cloud controle lannonce de ses prefixes ip en" decoding="async" loading="lazy" srcset="https://cdn.clever-cloud.com/uploads/2026/03/2026-03-17-clever-cloud-banniere-blog-clever-cloud-controle-lannonce-de-ses-prefixes-ip-en.png 2499w, https://cdn.clever-cloud.com/uploads/2026/03/2026-03-17-clever-cloud-banniere-blog-clever-cloud-controle-lannonce-de-ses-prefixes-ip-en-300x133.png 300w, https://cdn.clever-cloud.com/uploads/2026/03/2026-03-17-clever-cloud-banniere-blog-clever-cloud-controle-lannonce-de-ses-prefixes-ip-en-1024x454.png 1024w, https://cdn.clever-cloud.com/uploads/2026/03/2026-03-17-clever-cloud-banniere-blog-clever-cloud-controle-lannonce-de-ses-prefixes-ip-en-768x341.png 768w, https://cdn.clever-cloud.com/uploads/2026/03/2026-03-17-clever-cloud-banniere-blog-clever-cloud-controle-lannonce-de-ses-prefixes-ip-en-1536x682.png 1536w, https://cdn.clever-cloud.com/uploads/2026/03/2026-03-17-clever-cloud-banniere-blog-clever-cloud-controle-lannonce-de-ses-prefixes-ip-en-2048x909.png 2048w, https://cdn.clever-cloud.com/uploads/2026/03/2026-03-17-clever-cloud-banniere-blog-clever-cloud-controle-lannonce-de-ses-prefixes-ip-en-1368x607.png 1368w" sizes="auto, (max-width: 2499px) 100vw, 2499px" /></p><!-- wp:paragraph -->
<p>This represents a major milestone that culminates three years of preparation and is part of our broader strategy to maintain complete control over our Paris region's network infrastructure.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Why We Made This Change</h2>
<!-- /wp:heading -->

<!-- wp:html -->
<div style="max-width:780px;margin:1.5rem auto;background:#0f172a;color:#e5eefc;border-radius:12px;padding:16px 20px;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;font-size:15px;line-height:1.7;box-shadow:0 1px 2px rgba(0,0,0,0.08);border:1px solid rgba(255,255,255,0.08);">
  <strong style="color:#e5eefc;">Note:</strong> Clever Cloud operates multiple regions worldwide. Paris is our main region — the largest, where we control the full stack: our own hardware, our own network, and now our own IP announcements. Other regions (hosted on OVH, Scaleway, Cloud Temple, Ionos, Oracle) rely on the underlying provider's infrastructure, including their network. The changes described in this article specifically concern our Paris region.
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>In Clever Cloud's early years, we delegated network responsibility to partners. This approach made sense: it allowed us to accelerate development, focus on cloud services, and avoid investing in expertise we hadn't yet mastered. But as our infrastructure grew, the limitations of this dependency became clear. We had no control over strategic decisions — how traffic was routed across the Internet, which paths our packets took, or how quickly we could respond to failures. Every modification, every incident required the involvement of a third party.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>We decided to take this responsibility back. In doing so, we gained several concrete advantages. We optimize costs through direct management of our transit and peering relationships. We define our own routing policy instead of following an intermediary's constraints. We resolve incidents ourselves, without waiting for external providers. And we achieve complete control of our network stack — the same way we progressively took control of our servers and datacenters over the past few years.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>But this transition isn't just about our operational independence. It brings immediate, tangible benefits for you. The most critical is resilience. Previously, all traffic was routed through a single provider. Any incident on their side impacted every service we offered. We now maintain four upstream providers across three datacenters in the Paris area. When one link fails — and it has happened over the past year — traffic automatically shifts to available alternatives without customer-impacting interruption. We can even withstand the simultaneous loss of multiple transit links.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Beyond redundancy, we gain control over routing itself. We now decide how your traffic reaches its destination. This allows us to optimize paths for lower latency and better performance, and to adjust those decisions based on your specific needs and our network topology. We respond to congestion, to changing conditions, and to your requirements in real time.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Finally, there is the question of operational responsibility. Network issues no longer require us to wait for an external provider to acknowledge and resolve them. Public network failures fall directly under our responsibility — we detect them, analyze them, and fix them ourselves. This directly reduces the time between problem and resolution, which means less downtime and better reliability for our customers.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Operating Your Own Network on the Internet</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>To operate as an independent network on the Internet, organizations must work with a Regional Internet Registry (RIR). RIRs are responsible for allocating and managing IP addresses and AS numbers within specific geographical regions.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>There are five RIRs worldwide:</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul class="wp-block-list"><!-- wp:list-item -->
<li><strong>RIPE NCC</strong> — Europe, Central Asia, and the Middle East</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>ARIN</strong> — North America (United States, Canada, and the Caribbean)</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>LACNIC</strong> — Latin America and the Caribbean</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>APNIC</strong> — Asia-Pacific region</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>AFRINIC</strong> — Africa</li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p>For Clever Cloud, since our infrastructure is primarily in Europe, we work with RIPE NCC (Réseaux Internet Publics Européens).</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Allocated Address Space</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>As a member of a RIR, organizations receive allocations of both IPv4 and IPv6 address space. For RIPE NCC members, this typically includes a /24 block of IPv4 addresses (<a href="https://www.ripe.net/manage-ips-and-asns/ipv4/ipv4-waiting-list/">depending on the availability</a> of such a block) and a /29 block of IPv6 addresses. These allocations are managed under your membership and can be used to operate your network globally.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Creating Our Autonomous System</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>The groundwork for this transition began several years ago. In 2019, we created our RIPE NCC account to become a LIR (Local Internet Registry). This gave us access to a /24 IPv4 block (91.208.207.0/24) and a /29 IPv6 block (2a0f:d0c0::/29).</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Then, in 2022, we registered our Autonomous System Number (ASN) with the Regional Internet Registry for our region. Our AS number is<a href="https://apps.db.ripe.net/db-web-ui/lookup?source=ripe&amp;key=AS213394&amp;type=aut-num"> AS213394</a>. Here is the aut-num object:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="display:flex;justify-content:center;">
<pre style="background:#0f172a;color:#e5eefc;border-radius:12px;padding:16px 20px;overflow-x:auto;white-space:pre;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,'Liberation Mono','Courier New',monospace;font-size:14px;line-height:1.6;margin:1.5rem 0;box-shadow:0 1px 2px rgba(0,0,0,0.08);max-width:900px;width:100%;"><code style="background:transparent;color:inherit;padding:0;font-size:inherit;font-family:inherit;">&gt; whois AS213394

aut-num:        AS213394
as-name:        CleverCloud
org:            ORG-CCS42-RIPE
import:         from AS29075 accept ANY
import:         from AS3257 accept ANY
import:         from AS3356 accept ANY
import:         from AS43424 accept ANY
export:         to AS29075 announce AS213394:AS-CLVRCLD
export:         to AS3257 announce AS213394:AS-CLVRCLD
export:         to AS3356 announce AS213394:AS-CLVRCLD
export:         to AS43424 announce AS213394:AS-CLVRCLD
admin-c:        QA171-RIPE
tech-c:         QA171-RIPE
status:         ASSIGNED
mnt-by:         RIPE-NCC-END-MNT
mnt-by:         mnt-fr-clvrcldnet-1
created:        2022-11-28T08:24:23Z
last-modified:  2025-02-25T16:36:15Z
source:         RIPE</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>An Autonomous System Number (ASN) is a unique identifier for networks on the Internet. It's required to announce routes via BGP — the protocol that makes inter-network routing possible. Creating an AS early on allowed us to plan for this eventual transition and prepare the necessary infrastructure in advance.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Now that we have an ASN, we can start announcing our prefixes to other networks on the Internet using the BGP protocol.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">The Role of the RIPE Database</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>The RIPE NCC maintains a public database of routing objects (like the aut-num object above). Among these objects are route objects, which specify which AS is authorized to announce a particular IP prefix. In practice, these entries are primarily used by network operators and transit providers to build routing policy and filters (IRR-based filtering) to accept or deny announcements from their peers. This is one way to try to prevent BGP hijacks. By applying those filters to the routes you receive from your peers, you can limit the propagation of a prefix that originates from the wrong ASN.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Let's say that Org A owns 192.0.2.0/24 and announces it to Transit X. Transit X applies a filter on routes learned from Org A to only accept the IP prefixes that Org A has in its RIR database. This way, if Org A starts announcing a prefix it doesn't own (let's say our public prefix, 91.208.207.0/24), then Transit X is supposed to reject that route. This helps prevent the bad route from being propagated and traffic from being forwarded to the wrong entity.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>However, not all networks implement IRR filtering. Better mechanisms like ROA (Route Origin Authorization) exist to address this gap.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">The BGP Protocol: How the Internet Routes Traffic</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>To understand how we announce our prefixes on the Internet, it's essential to understand BGP — the Border Gateway Protocol. BGP is the de facto standard routing protocol of the Internet. It allows networks (Autonomous Systems) to exchange information about which IP prefixes they own and how to reach them.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>BGP works in both directions. When we announce to our peers and transit providers "we own 91.208.207.0/24", this announcement travels through the Internet from network to network. Each network that forwards our announcement prepends its own AS number to the AS_PATH — a list showing the sequence of networks a packet traverses to reach us. For example, OVHcloud (AS16276) sees the path [AS29075, AS213394]: traffic goes through one of our transit providers (AS29075), then reaches us (AS213394). Each network that forwards the announcement updates it this way, building a complete path. Here's an example using the<a href="https://lg.ovh.net/prefix_detail/lil1/ipv4?q=91.208.207.0/24"> OVHcloud Looking Glass service</a>:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="display:flex;justify-content:center;">
<pre style="background:#0f172a;color:#e5eefc;border-radius:12px;padding:16px 20px;overflow-x:auto;white-space:pre;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,'Liberation Mono','Courier New',monospace;font-size:14px;line-height:1.6;margin:1.5rem 0;box-shadow:0 1px 2px rgba(0,0,0,0.08);max-width:900px;width:100%;"><code style="background:transparent;color:inherit;padding:0;font-size:inherit;font-family:inherit;">&gt; show route for 91.208.207.0/24 all

91.208.207.0/24    via 172.18.16.0 on eno1 [lil1_rbx1_bagg1_8k 2025-12-25] * (100/0) [AS213394i]
    Type: BGP unicast univ
    BGP.origin: IGP
    BGP.as_path: 29075 213394
    BGP.next_hop: 172.18.16.0
    BGP.med: 161
    BGP.local_pref: 40
    BGP.community: (0,0) (29075,18000) (65535,65281)
    BGP.23 [t]: 00 00 b8 6e
                   via 172.18.16.64 on eno1 [lil1_rbx8_bagg1_8k 2025-12-25] (100/0) [AS213394i]</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>At the same time, we receive announcements from other networks about their prefixes and the paths to reach them. This builds the opposite view: when we need to send traffic outbound, we know which path to take to reach any given destination. Here's an example with one of OVHcloud prefixes:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="display:flex;justify-content:center;">
<pre style="background:#0f172a;color:#e5eefc;border-radius:12px;padding:16px 20px;overflow-x:auto;white-space:pre;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,'Liberation Mono','Courier New',monospace;font-size:14px;line-height:1.6;margin:1.5rem 0;box-shadow:0 1px 2px rgba(0,0,0,0.08);max-width:900px;width:100%;"><code style="background:transparent;color:inherit;padding:0;font-size:inherit;font-family:inherit;">&gt; /routing/route/print detail where dst-address=5.39.0.0/17 and active

Ab   afi=ip4 contribution=active dst-address=5.39.0.0/17 routing-table=main pref-src=185.133.116.2 gateway=213.242.111.201 immediate-gw=213.242.111.201%sfp28-6 distance=20 scope=40 target-scope=10 belongs-to="bgp-IP-213.242.111.201"

      bgp.as-path="3356,16276" bgp.communities=3356:2,3356:2066,3356:22,16276:40001,3356:100,65002:7018,3356:123,3356:901,65002:701,65000:64990,65000:64995,65000:64996,3356:502 .med=0 .atomic-aggregate=no .origin=igp</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>Here the network path OVHcloud uses to reach us is different from the one we use to reach them.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">The Migration Process</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Our IP prefixes were entirely managed by our historical provider. While we legally owned the addresses, we delegated the technical responsibility of announcing them to the Internet to this single provider. This meant:</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul class="wp-block-list"><!-- wp:list-item -->
<li>Our provider's AS (AS43424) was listed as the origin of our prefixes in the Internet routing tables</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>All traffic destined for our services or outgoing to the Internet had to flow through their infrastructure</li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->

<!-- wp:html -->
<div style="display:flex;justify-content:center;">
<pre style="background:#0f172a;color:#e5eefc;border-radius:12px;padding:16px 20px;overflow-x:auto;white-space:pre;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,'Liberation Mono','Courier New',monospace;font-size:14px;line-height:1.6;margin:1.5rem 0;box-shadow:0 1px 2px rgba(0,0,0,0.08);border-left:4px solid #3b82f6;max-width:900px;width:100%;">Clever Cloud Services
   |
   | all inbound/outbound traffic
   v
Historical Provider (AS43424)
   |
   | originates: 91.208.207.0/24 (origin AS43424)
   v
Internet</pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>We now want our ASN to be the origin of the announcements. To migrate safely, we planned a three-step migration. The requirements were simple: we could not accept any customer-impacting interruption.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Migrating a prefix between ASNs</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>To migrate a prefix from one AS to another, we needed to modify its route object in the RIPE database. The procedure was straightforward but required careful timing.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>First, we created a second route object in the RIPE database for our 91.208.207.0/24 prefix. Now both ASNs were registered as authorized to announce the same prefix — both our historical provider's AS and our own AS (213394).</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>These routing objects are publicly queryable via the whois command or through the RIPE web interface. For example, running whois -h whois.ripe.net -T route 91.208.207.0/24 returns both registered objects:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="display:flex;justify-content:center;">
<pre style="background:#0f172a;color:#e5eefc;border-radius:12px;padding:16px 20px;overflow-x:auto;white-space:pre;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,'Liberation Mono','Courier New',monospace;font-size:14px;line-height:1.6;margin:1.5rem 0;box-shadow:0 1px 2px rgba(0,0,0,0.08);max-width:900px;width:100%;"><code style="background:transparent;color:inherit;padding:0;font-size:inherit;font-family:inherit;">❯ whois -h whois.ripe.net -T route 91.208.207.0/24
% Information related to '91.208.207.0/24AS213394'

route:          91.208.207.0/24
mnt-by:         mnt-fr-clvrcldnet-1
descr:          CleverCloud subnet
origin:         AS213394
created:        2025-01-15T10:29:14Z
last-modified:  2025-01-15T10:29:14Z
source:         RIPE

% Information related to '91.208.207.0/24AS43424'

route:          91.208.207.0/24
mnt-by:         mnt-fr-clvrcldnet-1
mnt-by:         MAGICRETAIL-MNT
descr:          CleverCloud subnet
origin:         AS43424
created:        2020-02-13T09:06:33Z
last-modified:  2020-02-13T09:06:48Z
source:         RIPE</code></pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>Once this second route object was registered and propagated across the Internet (i.e., network operators pulled an up-to-date version of the RIPE database to build their routing filters), our new transit providers could see that our ASN was authorized to announce this prefix. At that point, we could begin announcing the prefix through our own infrastructure.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>If we didn't create that route object, our route announcement might have been rejected and we could have been flagged as BGP hijackers.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Announcing Through Our Historical Provider</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Once the second route object was propagated, we performed the first step during the night of January 16, 2025: we began announcing the prefix ourselves via BGP to our historical provider. This was still using the same transit path, but now with Clever Cloud AS213394 originating the announcements instead of our historical provider. Our historical provider continued to relay the prefix, but now received it from us rather than announcing it directly.</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="display:flex;justify-content:center;">
<pre style="background:#0f172a;color:#e5eefc;border-radius:12px;padding:16px 20px;overflow-x:auto;white-space:pre;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,'Liberation Mono','Courier New',monospace;font-size:14px;line-height:1.6;margin:1.5rem 0;box-shadow:0 1px 2px rgba(0,0,0,0.08);border-left:4px solid #3b82f6;max-width:900px;width:100%;">Clever Cloud Services (AS213394)
   |
   | originates: 91.208.207.0/24 (origin AS213394)
   v
Historical Provider (AS43424)
   |
   | re-announces: 91.208.207.0/24 (origin AS213394)
   v
Internet</pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>This first phase served as validation — if any issues arose, we could quickly revert without impacting other transit paths.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Announcing Through Our Own Transits</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>A few days later, during the night of January 21, 2025, we took the final step: we began announcing the prefix through our own dedicated transit connections.</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<div style="display:flex;justify-content:center;">
<pre style="background:#0f172a;color:#e5eefc;border-radius:12px;padding:16px 20px;overflow-x:auto;white-space:pre;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,'Liberation Mono','Courier New',monospace;font-size:14px;line-height:1.6;margin:1.5rem 0;box-shadow:0 1px 2px rgba(0,0,0,0.08);border-left:4px solid #3b82f6;max-width:900px;width:100%;">Clever Cloud Services (AS213394)
   |
   | originates: 91.208.207.0/24 (origin AS213394)
   |
   +---+---+---+
   |   |   |   |
   v   v   v   v
  T1  T2  T3  HP
(Transit providers + historical provider)
   |   |   |   |
   +---+---+---+
   |
   v
Internet</pre>
</div>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>We now announce our prefixes directly to four upstream providers (three transit providers, T1/T2/T3, plus our historical provider HP). Traffic flows across all paths, and we have full control over routing decisions and redundancy.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Throughout both phases, we observed no customer-impacting interruption. The BGP protocol's built-in redundancy and the gradual nature of the transition ensured that traffic flowed smoothly regardless of which path was preferred at any given moment.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Complete Internet Routing Visibility</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>As part of Phase 2, our three primary transit providers began sending us a "full view" of the Internet's routing table. This is the complete set of all publicly announced IPv4 and IPv6 prefixes — roughly ~1 million IPv4 routes and ~220,000 IPv6 routes.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>A full view gives us unprecedented visibility into how the Internet is structured and allows us to make sophisticated routing decisions. Rather than relying on a single provider's perspective, we now see all available paths to reach any destination on the Internet.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>With this information, we are able to:</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul class="wp-block-list"><!-- wp:list-item -->
<li><strong>Choose optimal paths</strong> for our outbound traffic based on our network topology and preferences</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>Implement traffic engineering</strong> to direct flows through specific transit providers</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>Respond dynamically</strong> to network conditions and congestion</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>Balance load</strong> across our four transit connections based on real-time routing data</li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p>This fine-grained control over our routing policy is a direct result of operating our own AS and managing our own announcements — exactly the kind of operational independence we sought when we began this transition.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">One Year Later</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Nearly a year into operating our own network announcements, the transition has proven successful. We have experienced no major incidents, and our infrastructure has proven resilient. When minor issues have occurred — such as packet loss through a specific transit provider or the temporary loss of a transit link — traffic has automatically rebalanced across our remaining connections. We have been able to detect and respond to these issues directly, without waiting for a third-party provider to take action. Our customers experienced no customer-impacting interruption. This ability to own our problems and resolve them quickly is perhaps the greatest benefit we've gained.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">What's Next</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>This transition is far from finished. We have several roadmap items ahead of us:</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul class="wp-block-list"><!-- wp:list-item -->
<li><strong>Increased network capacity</strong> to handle growing traffic demands</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>BGP peering</strong> with other networks to optimize traffic locally without paying for transit</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>ROA (Route Origin Authorization)</strong> deployment to cryptographically sign our route announcements and prevent unauthorized parties from hijacking our prefixes</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>RPKI (Resource Public Key Infrastructure) validation</strong> to ensure the legitimacy of announcements we receive from other networks and protect against prefix hijacking attacks</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>IPv6 expansion</strong>, both inbound (accepting IPv6 traffic) and outbound (sending IPv6 traffic) — a transition we will roll out in phases</li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Conclusion</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>In early 2025, Clever Cloud completed its transition to fully independent network operations. We now announce our own IP prefixes through four upstream providers, giving us full authority over how traffic flows in and out of our infrastructure.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>For our customers, this translates to better reliability and faster problem resolution in our Paris region. When network issues occur, we handle them directly — and our multi-provider redundancy ensures traffic keeps flowing even when incidents occur.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>This milestone is just the beginning. We're already working on BGP peering to optimize local traffic, ROA signing and RPKI validation to strengthen routing security, and IPv6 expansion to fully embrace dual-stack connectivity. We're building a network as robust and self-sufficient as the rest of our infrastructure — and we're excited about what comes next.</p>
<!-- /wp:paragraph -->]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>New IAM feature: what our Managed Keycloak offers today</title>
		<link>https://www.clever.cloud/blog/engineering/2026/02/20/new-features-iam-managed-keycloak/</link>
		
		<dc:creator><![CDATA[Carine Guillemet]]></dc:creator>
		<pubDate>Fri, 20 Feb 2026 09:53:10 +0000</pubDate>
				<category><![CDATA[Engineering]]></category>
		<category><![CDATA[Features]]></category>
		<category><![CDATA[fonctionnalité]]></category>
		<guid isPermaLink="false">https://www.clever.cloud/?p=23458</guid>

					<description><![CDATA[<p><img width="1600" height="710" src="https://cdn.clever-cloud.com/uploads/2026/02/2026-02-16-clever-cloud-banniere-blog-keycloak-manage-fr-2.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="2026 02 16 clever cloud banniere blog keycloak manage fr 2" decoding="async" loading="lazy" srcset="https://cdn.clever-cloud.com/uploads/2026/02/2026-02-16-clever-cloud-banniere-blog-keycloak-manage-fr-2.png 1600w, https://cdn.clever-cloud.com/uploads/2026/02/2026-02-16-clever-cloud-banniere-blog-keycloak-manage-fr-2-300x133.png 300w, https://cdn.clever-cloud.com/uploads/2026/02/2026-02-16-clever-cloud-banniere-blog-keycloak-manage-fr-2-1024x454.png 1024w, https://cdn.clever-cloud.com/uploads/2026/02/2026-02-16-clever-cloud-banniere-blog-keycloak-manage-fr-2-768x341.png 768w, https://cdn.clever-cloud.com/uploads/2026/02/2026-02-16-clever-cloud-banniere-blog-keycloak-manage-fr-2-1536x682.png 1536w, https://cdn.clever-cloud.com/uploads/2026/02/2026-02-16-clever-cloud-banniere-blog-keycloak-manage-fr-2-1368x607.png 1368w" sizes="auto, (max-width: 1600px) 100vw, 1600px" /></p><!-- wp:paragraph -->
<p>Identity and Access Management (IAM) has become a central component of any modern architecture. Authentication, user management, access control, regulatory compliance: these building blocks are critical, yet their implementation and long-term operation often remain complex.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>To address these challenges, Clever Cloud launched IAM <a href="https://www.clever.cloud/product/managed-keycloak-as-a-service/" type="link" id="https://www.clever.cloud/product/managed-keycloak-as-a-service/">Keycloak as a Service </a>in spring 2025, in <strong>partnership with <a href="https://please-open.it" type="link" id="https://please-open.it">Please Open It</a></strong>, a company specialized in Keycloak integration and expertise. This collaboration made it possible to design a managed service aligned both with open source best practices and with the real-world constraints of production environments.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Since its launch, Keycloak as a Service has evolved significantly to meet the concrete needs of businesses and the requirements of operating IAM at scale.</p>
<!-- /wp:paragraph -->

<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} -->
<div class="wp-block-buttons"><!-- wp:button -->
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="https://console.clever-cloud.com">Try Keycloak</a></div>
<!-- /wp:button -->

<!-- wp:button {"className":"is-style-outline"} -->
<div class="wp-block-button is-style-outline"><a class="wp-block-button__link wp-element-button" href="https://www.clever.cloud/contact/">Contact sales</a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">A Managed Keycloak, Built for Production</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Keycloak as a Service is based on a simple approach: delivering the full functional richness of Keycloak without requiring teams to handle infrastructure, maintenance, or monitoring.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The service is natively integrated into the Clever Cloud Console. It therefore becomes a fully-fledged component of the platform, managed from a single control point, just like our other <a href="https://www.clever.cloud/blog/company/2025/03/19/managed-services/">managed services</a>.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":4} -->
<h4 class="wp-block-heading"><strong>Secured Multi Instances: High Availability and Scalability</strong></h4>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>One of the major evolutions is Secured Multi Instances. It enables Keycloak to be deployed in a clustered setup with multiple nodes, ensuring load distribution and high availability for a critical component such as IAM.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>This architecture strengthens service continuity and the ability to handle increased traffic, while meeting the standards expected in production environments. Configuration and management of this architecture are directly accessible from the Clever Cloud Console.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":4} -->
<h4 class="wp-block-heading"><strong>A Dedicated Dashboard in the Console</strong></h4>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>A <strong>Keycloak dashboard</strong> is now available in the Clever Cloud Console. It centralizes the service’s essential information along with common administrative actions, making day-to-day management simpler and avoiding the need to juggle multiple tools.</p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":23459,"sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large"><img src="https://cdn.clever-cloud.com/uploads/2026/02/keycloak-dashboard-1024x630.webp" alt="" class="wp-image-23459"/></figure>
<!-- /wp:image -->

<!-- wp:heading {"level":4} -->
<h4 class="wp-block-heading"><strong>Built-in Monitoring, Included</strong></h4>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p><strong>Monitoring is natively integrated</strong> into the service. Operational visibility is immediately available, with no additional configuration or external tools required.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>This integrated approach simplifies operations while maintaining a high level of control over how your IAM runs.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":4} -->
<h4 class="wp-block-heading"><strong>Continuous Maintenance and Updates</strong></h4>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Managed Keycloak is <strong>kept up to date</strong>. Recent Keycloak versions are made available as the product evolves, with no operational burden on the customer side.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>This ensures access to security patches and functional improvements without heavy or risky upgrade projects.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":4} -->
<h4 class="wp-block-heading"><strong>Simplified addition to your applications</strong></h4>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>A more structural development concerns&nbsp;<a href="https://www.clever.cloud/developers/doc/develop/request-flow/" type="link" id="https://www.clever.cloud/developers/doc/develop/request-flow/"><strong>Request Flow</strong>,</a> a technical foundation that makes it easier to use tools to secure access to your applications, including&nbsp;<strong>OAuth2-Proxy</strong>.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The latter is compatible with&nbsp;<strong>Keycloak</strong>, and its configuration is simplified on&nbsp;<strong>Clever Cloud</strong>. This allows you to implement authentication upstream of the application without modifying the application code. It is particularly well-suited for securing existing applications, back-offices, internal tools, or exposed services.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":4} -->
<h4 class="wp-block-heading">To Go Further</h4>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>To present these evolutions in detail, share the technical choices behind them, and answer questions, a <strong>live session on <a href="https://www.twitch.tv/clevercloud?lang=fr">Twitch</a> and <a href="https://youtube.com/live/Jo-Njxsxq-8">YouTube</a> is scheduled for February 26 at 1:00 PM</strong>. It will be hosted by <strong>Horacio Gonzalez </strong>(Clever Cloud), joined by <strong>Mathieu Passenaud</strong> (Please Open It).</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>It will be an opportunity to take a concrete look at how our managed Keycloak works and to discuss real-world IAM use cases in production environments.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->]]></description>
										<content:encoded><![CDATA[<p><img width="1600" height="710" src="https://cdn.clever-cloud.com/uploads/2026/02/2026-02-16-clever-cloud-banniere-blog-keycloak-manage-fr-2.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="2026 02 16 clever cloud banniere blog keycloak manage fr 2" decoding="async" loading="lazy" srcset="https://cdn.clever-cloud.com/uploads/2026/02/2026-02-16-clever-cloud-banniere-blog-keycloak-manage-fr-2.png 1600w, https://cdn.clever-cloud.com/uploads/2026/02/2026-02-16-clever-cloud-banniere-blog-keycloak-manage-fr-2-300x133.png 300w, https://cdn.clever-cloud.com/uploads/2026/02/2026-02-16-clever-cloud-banniere-blog-keycloak-manage-fr-2-1024x454.png 1024w, https://cdn.clever-cloud.com/uploads/2026/02/2026-02-16-clever-cloud-banniere-blog-keycloak-manage-fr-2-768x341.png 768w, https://cdn.clever-cloud.com/uploads/2026/02/2026-02-16-clever-cloud-banniere-blog-keycloak-manage-fr-2-1536x682.png 1536w, https://cdn.clever-cloud.com/uploads/2026/02/2026-02-16-clever-cloud-banniere-blog-keycloak-manage-fr-2-1368x607.png 1368w" sizes="auto, (max-width: 1600px) 100vw, 1600px" /></p><!-- wp:paragraph -->
<p>Identity and Access Management (IAM) has become a central component of any modern architecture. Authentication, user management, access control, regulatory compliance: these building blocks are critical, yet their implementation and long-term operation often remain complex.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>To address these challenges, Clever Cloud launched IAM <a href="https://www.clever.cloud/product/managed-keycloak-as-a-service/" type="link" id="https://www.clever.cloud/product/managed-keycloak-as-a-service/">Keycloak as a Service </a>in spring 2025, in <strong>partnership with <a href="https://please-open.it" type="link" id="https://please-open.it">Please Open It</a></strong>, a company specialized in Keycloak integration and expertise. This collaboration made it possible to design a managed service aligned both with open source best practices and with the real-world constraints of production environments.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Since its launch, Keycloak as a Service has evolved significantly to meet the concrete needs of businesses and the requirements of operating IAM at scale.</p>
<!-- /wp:paragraph -->

<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} -->
<div class="wp-block-buttons"><!-- wp:button -->
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="https://console.clever-cloud.com">Try Keycloak</a></div>
<!-- /wp:button -->

<!-- wp:button {"className":"is-style-outline"} -->
<div class="wp-block-button is-style-outline"><a class="wp-block-button__link wp-element-button" href="https://www.clever.cloud/contact/">Contact sales</a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">A Managed Keycloak, Built for Production</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Keycloak as a Service is based on a simple approach: delivering the full functional richness of Keycloak without requiring teams to handle infrastructure, maintenance, or monitoring.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The service is natively integrated into the Clever Cloud Console. It therefore becomes a fully-fledged component of the platform, managed from a single control point, just like our other <a href="https://www.clever.cloud/blog/company/2025/03/19/managed-services/">managed services</a>.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":4} -->
<h4 class="wp-block-heading"><strong>Secured Multi Instances: High Availability and Scalability</strong></h4>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>One of the major evolutions is Secured Multi Instances. It enables Keycloak to be deployed in a clustered setup with multiple nodes, ensuring load distribution and high availability for a critical component such as IAM.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>This architecture strengthens service continuity and the ability to handle increased traffic, while meeting the standards expected in production environments. Configuration and management of this architecture are directly accessible from the Clever Cloud Console.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":4} -->
<h4 class="wp-block-heading"><strong>A Dedicated Dashboard in the Console</strong></h4>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>A <strong>Keycloak dashboard</strong> is now available in the Clever Cloud Console. It centralizes the service’s essential information along with common administrative actions, making day-to-day management simpler and avoiding the need to juggle multiple tools.</p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":23459,"sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large"><img src="https://cdn.clever-cloud.com/uploads/2026/02/keycloak-dashboard-1024x630.webp" alt="" class="wp-image-23459"/></figure>
<!-- /wp:image -->

<!-- wp:heading {"level":4} -->
<h4 class="wp-block-heading"><strong>Built-in Monitoring, Included</strong></h4>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p><strong>Monitoring is natively integrated</strong> into the service. Operational visibility is immediately available, with no additional configuration or external tools required.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>This integrated approach simplifies operations while maintaining a high level of control over how your IAM runs.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":4} -->
<h4 class="wp-block-heading"><strong>Continuous Maintenance and Updates</strong></h4>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Managed Keycloak is <strong>kept up to date</strong>. Recent Keycloak versions are made available as the product evolves, with no operational burden on the customer side.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>This ensures access to security patches and functional improvements without heavy or risky upgrade projects.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":4} -->
<h4 class="wp-block-heading"><strong>Simplified addition to your applications</strong></h4>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>A more structural development concerns&nbsp;<a href="https://www.clever.cloud/developers/doc/develop/request-flow/" type="link" id="https://www.clever.cloud/developers/doc/develop/request-flow/"><strong>Request Flow</strong>,</a> a technical foundation that makes it easier to use tools to secure access to your applications, including&nbsp;<strong>OAuth2-Proxy</strong>.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The latter is compatible with&nbsp;<strong>Keycloak</strong>, and its configuration is simplified on&nbsp;<strong>Clever Cloud</strong>. This allows you to implement authentication upstream of the application without modifying the application code. It is particularly well-suited for securing existing applications, back-offices, internal tools, or exposed services.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":4} -->
<h4 class="wp-block-heading">To Go Further</h4>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>To present these evolutions in detail, share the technical choices behind them, and answer questions, a <strong>live session on <a href="https://www.twitch.tv/clevercloud?lang=fr">Twitch</a> and <a href="https://youtube.com/live/Jo-Njxsxq-8">YouTube</a> is scheduled for February 26 at 1:00 PM</strong>. It will be hosted by <strong>Horacio Gonzalez </strong>(Clever Cloud), joined by <strong>Mathieu Passenaud</strong> (Please Open It).</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>It will be an opportunity to take a concrete look at how our managed Keycloak works and to discuss real-world IAM use cases in production environments.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
