Skip to content

git-pranayshah/synapse-demo

Repository files navigation

Synapse Demo Environment with Adventureworks Sample Data

Synapse comes with the multiple flavour including ETL, Storage & Analytics. Current solution will help you to prepare synapse analytics to transfer data from SQL Server to Synapse dedicated SQL pool with the Azure Data factory pipeline. Infrastructure architects/developers will have better understanding of configuring Synapse to connect SQL Server with the Azure KeyVault & will help Data Engineers to use Azure Data factory pipeline with Copy Table component to move Sales data from the Adventure Works Sales data to the Synapse Dedicated pool.

Demo Environment Template

Template should help you to kick start working with the Synapse environment with the preloaded sales data. ARM template will deploy following components in the environment.

  1. Microsoft SQL Server with Sales Adventureworks Database
  2. Azure Key Vault with Connection Strings for the SQL Server
  3. Storage Account
  4. Synapse Analytics workspace
    • Dedicated SQLServer Pool
    • Create Table Script
    • Select Table Script
    • Azure Data Factory pipeline to move data from SQL Server to Synapse Storage
    • Linked Service with its connection configurations
  5. Security Firewall
    • Synapse Workspace will have its access only from the client ip given at the time of deployment
    • Add more ip whitelisting in network firewall to allow other to use the synapse workspace

Target audience

  • Infrastructure Engineer
  • Data Engineer
  • Cloud Solution Architect
  • Data Architect

Landing Zone Architecture

The Deployment.json Azure Resource Manager template will help you automatically deploy the diagram below architecture

alt image

Deployment.json can be modified to match your current infrastructure needs.

Pre-requisite to deploy the Template

To use this solution, you will need access to an Azure subscription. Also have to look for correct public ip. You can find your public ipv4 ip from the website https://whatsmyip.com/

One Click Deploying Template

Deploy to Azure

Deploying an ARM Template using the Azure portal

Using the search bar on top type Templates

alt image

  • Create a new template

alt image

  • Give a name and a description to the template

alt image

alt image

  • Select the newly added template and click deploy

alt image

  • Fill out the blanks with your details and click purchase

alt image

  • Allow 30 minutes for the deployment to complete
  • Once deployment is completed please proceed with the Post deployment tasks

Post Deployment tasks

Post deployment its required to configure correct Azure KeyVault which has required credentials to connect to the Microsoft SQL Server having sample Sales data. ARM template will comission, ARM template will deploy required infrastructure with Synapse. Also, it will deploy following items in synapse to kickstart with the demo

  1. Under Data 1 Database
    • dedicatedsqlpool(SQL)
  2. Under Develop 2 Scripts,
    • 01 Customer_Table
    • 02 Select_Customer_Data
  3. Under Integrate 1 Pipeline
    • Copy Customer Data Demo

1. Validate Deployed Services

Validate deployed services which will have similar to below screenshot except the suffix "pagi6to7auim2". This suffix is unique for each resource group name.

alt image

2. Open Synapse Workspace

alt image

3. Update Linked Service & Confirm SQL Connectivity

alt image

4. Create Table Schema in Synapse SQL Dedicated Pool

alt image

5. Execute Data Pipeline & Validate Data load

alt image

Related references

License & Contribute

You are responsible for the performance, the necessary testing, and if needed any regulatory clearance for any of the models produced by this toolbox. Please refer LICENSE & Contribute for more details

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published