> ## Documentation Index
> Fetch the complete documentation index at: https://launchdarkly.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Migration flags

<View title="Developer" />

<View title="Federal docs">
  <Danger>
    **Migration flags are not available in federal environments**

    To learn more, read <a href="/docs/home/infrastructure/federal">LaunchDarkly in federal environments</a>.
  </Danger>
</View>

<View title="EU docs">
  <Danger>
    **Migration flags are not available in LaunchDarkly's European Union (EU) instance**

    To learn more, read <a href="/docs/home/infrastructure/eu">LaunchDarkly in the European Union (EU)</a>.
  </Danger>
</View>

This topic explains how you can use migration flags to take the complexity and risk out of migrations when you need to change or modernize your database infrastructure. Migration flags require a server-side SDK.

## Supported SDKs

Migration flags are available for the following server-side SDKs:

* [.NET (server-side)](/docs/sdk/server-side/dotnet)
* [Go](/docs/sdk/server-side/go)
* [Java](/docs/sdk/server-side/java)
* [Node.js (server-side)](/docs/sdk/server-side/node-js)
* [PHP](/docs/sdk/server-side/php)
* [Python](/docs/sdk/server-side/python)
* [Ruby](/docs/sdk/server-side/ruby)
* [Rust](/docs/sdk/server-side/rust)

Migration flags are also available for the following edge SDKs:

* [Akamai](/docs/sdk/edge/akamai)
* [Cloudflare](/docs/sdk/edge/cloudflare)
* [Vercel](/docs/sdk/edge/vercel)

## About migration feature flags

A migration feature flag is a temporary flag you can use to migrate data or systems while keeping your application available and disruption free. Migration flags break the transition from an old to a new implementation into a series of two to six stages. Movement between stages occurs in discrete steps. Migration flags also let you split traffic across two or more cohorts. Cohorts can also move between stages independently from each other and in incremental steps.

Migration flags help you understand more about how your migrations progress, their health, and how to mitigate risks if unintended behavior occurs. To learn more about when to use different types of migrations, read [Performing multi-stage migrations with migration flags](/docs/guides/flags/migrations).

## How migration flags affect migration stages

A migration flag's variations are associated with the migration's stages. To learn more, read [Targeting variations and stages](/docs/home/flags/target-migration#targeting-variations-and-stages).

## About cohorts

Migration flag cohorts are analogous to a standard feature flag's rules. The default cohort is analogous to a feature flag's default rule. Cohorts always serve a rollout release type. To learn more, read [Targeting cohorts](/docs/home/flags/target-migration#targeting-cohorts) and [Percentage rollouts](/docs/home/releases/percentage-rollouts).
