Cloud migration:same design, new platform.
Moving to the cloud shouldn't mean rewriting everything.
Three things move. Most plans count one.
A cloud migration of a data warehouse moves more than the data. The target moves: SQL Server becomes Azure SQL Database, Azure Synapse, Snowflake or Databricks, and each has its own table syntax, data types and way of loading. The orchestration moves: SQL Agent jobs and SSIS packages give way to Azure Data Factory pipelines. And the transformation moves: row-by-row SSIS data flows usually become set-based SQL that runs inside the target, the pattern called ELT or pushdown.
Teams take one of three routes. Lift and shift keeps the SSIS packages and runs them in Azure on the Azure-SSIS integration runtime. Re-platform moves the loads to Data Factory, with stored procedures in Azure SQL Database, Azure Synapse or Snowflake. Re-architect builds a lakehouse, with Data Factory calling Databricks to do the work. In BimlFlex each route is an integration template, and the table below shows what each one runs on.
- The target: tables, types and loading
- The orchestration: what runs the loads, in what order
- The transformation: where the SQL runs
By hand, you build it twice.
The valuable part of a warehouse is its design: which sources feed it, which business keys identify a customer or a product, how the vault and the marts are shaped and how everything is named. Built by hand, that design exists only inside platform code. Every package holds it in SSIS terms, every table script in one SQL dialect.
So a migration rewrites all of it. Each package becomes a pipeline, a copy step and a stored procedure. Each table is translated into the new dialect. Hash keys, data types and naming are worked out again, and the logging and restart logic is rebuilt from nothing. Months later you have the same warehouse on a new platform, and two codebases to keep in step until the old one is switched off.
- Every load rewritten in a new tool
- Every table translated into a new dialect
- Logging and restart rebuilt
linkedService/BFX_STG.json · dataset/MSSQL_BFX_STG.json COPY_ErpSrc_Product → erp.land_Product EXEC [erp].[flex_erp_Product] [adf].[LogExecutionStart] … [adf].[LogExecutionEnd] WITH (CLUSTERED COLUMNSTORE INDEX, DISTRIBUTION = HASH([Product_SK])) The design stays. The template changes.
In BimlFlex the design is metadata: the imported sources, the business keys, the vault and mart model, the naming conventions and the settings. None of it is written for one platform. What turns the metadata into code is the project's Integration Template: Integration Services (SSIS), Data Factory (ADF) or Databricks (ADF).
Change the template and the project form shows what the new route needs. Data Factory needs nothing more on this vault project; an extract project adds a landing connection. Databricks adds Pushdown Processing, Pushdown Extraction and a Compute Connection. The project's objects, its source and its target stay as they were. One solution can hold several projects, each with its own template, so SSIS projects for today's estate and Data Factory or Databricks projects for the next one can live in one solution, side by side.
- One project setting picks the route
- Objects, keys and naming untouched
- A template per project
Point the connections at the cloud.
Data Factory reaches every database through a linked service, so each connection needs its cloud details before the rebuild. In the connection editor, turn on Cloud and an ADF Linked Service section opens under the connection: the integration runtime to connect through, then the server and database for Azure SQL, or the account, warehouse, database and role for Snowflake, with a password or a key pair.
Secrets stay out of the generated code. A password, token or Snowflake private key can come from Azure Key Vault instead, and the linked service BimlFlex writes then carries a Key Vault secret reference, not the secret.
- Cloud details on the connection, not in the code
- An integration runtime per linked service
- Passwords as Key Vault references
Rebuild. The pipelines are there.
Save the project and the Build page's preview refreshes on its own. When the vault project moves from SSIS to Data Factory, its packages leave the Packages count and the same loads appear under Data Factories: the batch pipelines first, then a process pipeline for every raw vault, point-in-time and bridge load.
The build writes native output into your own folders: the Data Factory JSON for every pipeline, linked service and dataset, PowerShell scripts that deploy the factory and the databases, and a SQL Server database project for the tables and stored procedures. Every pipeline logs its start, its row counts, its errors and its end to the BimlCatalog, the run database on your own SQL Server.
- Pipelines, linked services and datasets as JSON
- Deploy scripts for the factory and the databases
- Every run logged to your BimlCatalog
Land it first. Transform it where it lands.
The Data Factory Copy activity moves data, but it cannot transform it. So for ELT, BimlFlex copies each source table into a landing area, a database or files the target can read. Stored procedures in staging then pick up the landed rows and do the set-based work inside the target platform.
Each generated load clears its landing table, copies only the rows changed since the last load, then calls the staging procedure and the vault procedure in turn. For Snowflake, the data lands in the Snowflake stage and Snowflake's COPY command loads it from there.
- Copy into a landing area
- Set-based SQL inside the target
- Only changed rows, every load
ERP_SRC · ProductCOPY_ErpSrc_Product
WHERE [ModifiedDate] > LastLoadDateTRUNCATE TABLE [erp].[land_Product]EXEC [erp].[flex_erp_Product]
EXEC [dv].[flex_erp_Product]Staging, then the Data VaultData Factory calls. Databricks does the work.
With the Databricks (ADF) template, Data Factory orchestrates and Databricks transforms. BimlFlex generates the Data Factory pipelines and the Databricks assets, all native to both, with no proprietary runtime in between. The Databricks connection is a linked service like any other: the workspace URL, an access token or a Key Vault secret, and the cluster to run on.
Turn on Pushdown Processing and the staging, Data Vault and data mart transformations run inside Databricks jobs, called by the Data Factory Databricks Job activity, with restart built in. Pushdown clusters get the SQL Server ODBC driver from an init script the build writes. Teams that think in SQL can generate the same patterns as plain SQL scripts, and Unity Catalog and liquid clustering are settings, not rewrites.
- Pipelines and Databricks assets, all native
- Pushdown into Databricks jobs, with restart
- Plain SQL scripts, if you prefer
Pick how much of the move you generate.
All three run on Biml, the XML language for data warehouse assets, with BimlScript to loop over metadata. The difference is how much of the migration they carry for you.
For moving the whole warehouse. One model builds staging, persistent staging, the vault and the marts as Data Factory pipelines or Databricks jobs, into Azure SQL Database, Azure Synapse, Snowflake or Databricks, with SQL Server and SSIS still there for the projects that stay. BimlStudio is included.
output/DataFactories/BimlFlex/multipleJsonFiles/ pipeline/58 fileslinkedService/ 8 filesdataset/7 filesfactory/1 fileDeploy/adf-deploy.BimlFlex.ps1 adf-deploy.BimlFlex.linkedTemplates.ps1 ssdt-deploy.BFX_MSSQL.ps1 SSDT/BFX_MSSQL/ BFX_MSSQL.sqlproj tables and proceduresFor teams staying on SSIS for now, on their own servers or lifted to the Azure-SSIS integration runtime. One BimlScript template generates a package per table inside Visual Studio 2012 to 2019, so the load pattern is already code when the move comes. BimlExpress generates SSIS, not Data Factory.
For teams that write their own patterns. BimlStudio adds typed Data Factory tags to Biml, so one BimlScript loop can write the linked services, datasets and copy pipelines for every table, beside your SSIS packages. It also imports the SSIS packages you have into Biml, so you can read the estate before you plan the move.
Keep learning
Move the model, not the code.
BimlFlex pricing is online. Buy there, or talk to sales for quotes, resellers and large teams.