Skip to content

Latest commit

 

History

History
55 lines (35 loc) · 4.46 KB

Challenge00.md

File metadata and controls

55 lines (35 loc) · 4.46 KB

Challenge 0 - Setup

Home - Next Challenge >

Pre-requisites

An Azure subscription is required that can deploy Azure SQL resources (Azure SQL Database and Azure SQL Managed Instance), Virtual Machines.

Introduction

The objective of the setup is to ensure you have access to a subscription where resources may be deployed. You also need an environment to host the tools required and to host the databases -- for the purposes of this hack, we'll refer to this as the customer's on-premises environment, even if it is located the cloud.

Description

The scenarios presented simulate on-premises environments; teams have flexibility to choose how to configure these environments based on preferences and environmental considerations. For example, a team with limited bandwidth or networking constraints (such as difficulty in forwarding ports to connect to SQL Server from the cloud) may choose to set up the simulated "on-premises" environments in an Azure VM with SQL Server. Another team may install the databases on a local machine or configure them in docker. Choose what works best for the team and hints will be provided along the way.

In this hack, some prerequisites will be challenge-specific: for example, a challenge might say, "This challenge requires the AdventureWorks database..." along with any necessary configuration. As such, this setup is designed to provide general requirements while each challenge will list specific needs for that challenge only, as not all databases and tools are required for all challenges.

Every company needs a name! You and your team are part of a new SI start-up that is developing a practice on migrating and modernizing data solutions. Then, decide on a hosting environment for your on-premises simulation: you have a lot of flexibility here! Your team may choose to deploy everything into Azure to mimic an on-premises environment, or you may choose to host on a desktop, Docker container, etc.!

The databases required include:

  • AdventureWorks2017 or AdventureWorksLT2017
    • AdventureWorksLT2017 is a bit easier and faster, better for teams with no prior experience or extremely limited bandwidth.
    • AdventureWorks2017 is the preferred database as it presents a few challenges but may require a bit of experience and higher bandwidth to migrate, if migrating for a local machine.
  • WideWorldImporters (OLTP)
  • WideWorldImporters (DW)

Success Criteria

  • Pick a cool team name!
  • Verify on-premises environment has been deployed with the required databases.
  • Install Azure Data Studio and, optionally, SQL Management Studio.

Tips

  • Quickstart: Run SQL Server container with Docker
  • When considering the environment to host the "on premises" databases, consider connectivity constraints. Most corporate environments will limit your ability to connect to a database from outside of the network. Home environments may work well if you are comfortable in configuring NAT / port forwarding.

Advanced Challenges (Optional)

Too comfortable? Eager to do more? Try these additional challenges!

  • Install and get familiar with this tool to generate workload against SQL Server and reuse it against your migrated databases in the upcoming challenges.
  • Create a Jupyter Notebook with your most used DMVs to run against your databases before and after migration.

Learning Resources