Home
%3CLINGO-SUB%20id%3D%22lingo-sub-924874%22%20slang%3D%22en-US%22%3EAn%20end-to-end%20process%20for%20lifting%20and%20shifting%20your%20applications%20to%20Azure%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-924874%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20blog%20describes%20how%20to%20streamline%20the%20migration%20journey%20for%20Microsoft%20Azure%20web%20workloads%20across%20your%20application%20and%20relevant%20databases.%20By%20taking%20advantage%20of%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fmigrate%2Fmigrate-overview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Migrate%3C%2FA%3E%2C%20the%20%3CA%20href%3D%22https%3A%2F%2Fappmigration.microsoft.com%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20App%20Service%20Migration%20Assistant%3C%2FA%3E%2C%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fsql%2Fdma%2Fdma-overview%3Fview%3Dsql-server-2017%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EData%20Migration%20Assistant%3C%2FA%3E%2C%20and%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fdms%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Database%20Migration%20Service%3C%2FA%3E%2C%20we%20simplify%20the%20migration%20of%20your%20web%20apps%20and%20databases%20to%20Azure%20with%20minimal%20or%20no%20code%20changes.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1846959349%22%20id%3D%22toc-hId-1846959349%22%3EOverview%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--901711117%22%20id%3D%22toc-hId--901711117%22%3EApplication%20overview%3C%2FH3%3E%0A%3CP%3EParts%20Unlimited%20is%20a%20sample%20eCommerce%20website%20site%20built%20on%20.Net%20Core%202.0.%20The%20site%20includes%20a%20front-end%20ordering%20page%2C%20a%20mobile%20experience%2C%20an%20order%20database%2C%20and%20a%20variety%20of%20other%20common%20eCommerce%20features.%20The%20application%20features%20a%20modern%20HTML5%20responsive%20layout%20using%20bootstrap%20for%20mobile%2C%20tablet%2C%20and%20PC.%20It%20supports%20multiple%20authentication%20options%20including%20Azure%20Active%20Directory%2C%20Google%2C%20and%20Facebook.%20At%20the%20same%20time%2C%20it%20leverages%20a%20variety%20of%20Azure%20App%20Service%20features%20including%20testing%20in%20production%2C%20staging%20slots%2C%20and%20environment%20variables%20for%20feature%20flags%20(to%20turn%20on%2Foff%20recommendations).%20The%20site%20works%20with%20Visual%20Studio%202017%20and%20includes%20a%20docker%20file%20and%20sample%20publishing%20profile%20to%20deploy%20as%20a%20docker%20container.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20application%20that%20will%20be%20migrated%20is%20hosted%20on%20a%20Windows%20server%202012%20running%20Internet%20Information%20Services%20(IIS)%2C%20while%20the%20database%20is%20hosted%20on%20a%20computer%20running%20SQL%20Server%26nbsp%3B2017.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20find%20a%20repo%20with%20the%20site%20code%20here%3A%20%3CA%20href%3D%22http%3A%2F%2Faka.ms%2Fpulabs%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Faka.ms%2Fpulabs%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-841099218%22%20id%3D%22toc-hId-841099218%22%3EPhases%20in%20the%20migration%20journey%3C%2FH3%3E%0A%3CP%3EMigrating%20to%20the%20cloud%20involves%20moving%20your%20web%20apps%20and%20databases%2C%20and%20there%20are%20different%20tools%20and%20techniques%20for%20each.%20However%2C%20the%20typical%20migration%20journey%20consists%20of%20four%20phases%3A%20%3CSTRONG%3Epre%20migration%3C%2FSTRONG%3E%2C%20%3CSTRONG%3Emigration%3C%2FSTRONG%3E%2C%20%3CSTRONG%3Epost%20migration%3C%2FSTRONG%3E%2C%20and%20%3CSTRONG%3Eoptimization%3C%2FSTRONG%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDuring%20%3CSTRONG%3Epre-migration%3C%2FSTRONG%3E%2C%20you%3A%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EDiscover%20the%20server%2C%20application%2C%20and%20database%20assets.%3C%2FLI%3E%0A%3CLI%3EDetermine%20application%20dependencies.%3C%2FLI%3E%0A%3CLI%3EIdentify%20artifacts%20that%20need%20to%20be%20migrated%20together.%3C%2FLI%3E%0A%3CLI%3EAssess%20Azure%20target%20readiness.%3C%2FLI%3E%0A%3CLI%3EDetermine%20the%20optimal%20target%20SKU.%3C%2FLI%3E%0A%3CLI%3EDetect%20database%20objects%20or%20ad%20hoc%20queries%20from%20the%20application%20layer%20that%20may%20break%20when%20migrating%20to%20Azure%20because%20of%20legacy%20syntax.%3C%2FLI%3E%0A%3CLI%3EPrepare%20the%20necessary%20fixes%20to%20apply%20during%20the%20post%20migration%20phase.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDuring%20%3CSTRONG%3Emigration%3C%2FSTRONG%3E%2C%20you%20migrate%20the%20application%20and%20your%20schema%20and%20data%2C%20as%20well%20as%20any%20other%20server%20objects%20(such%20as%20logins%2C%20SQL%20Server%20Agent%20jobs%2C%20and%20SSIS%20packages)%20upon%20which%20your%20application%20depends.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDuring%20%3CSTRONG%3Epost-migration%3C%2FSTRONG%3E%2C%20you%3A%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EMake%20the%20necessary%20fixes%20to%20breaking%20changes%20reported%20in%20assessment.%3C%2FLI%3E%0A%3CLI%3EPerform%20a%20few%20functional%20tests.%3C%2FLI%3E%0A%3CLI%3EAddress%20any%20performance%20issues%20that%20you%20may%20encounter%20during%20the%20testing.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFinally%2C%20during%20%3CSTRONG%3Eoptimization%3C%2FSTRONG%3E%2C%20you%20perform%20continuous%20evaluation%20and%20refinement.%20The%20goals%20of%20optimization%20are%20to%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EGather%20operational%20insights.%3C%2FLI%3E%0A%3CLI%3EFine-tune%20performance.%3C%2FLI%3E%0A%3CLI%3EReduce%20TCO.%3C%2FLI%3E%0A%3CLI%3EBegin%20leveraging%20cloud%20native%20services%20for%20better%20business%20insights.%3C%2FLI%3E%0A%3CLI%3EImprove%20security%20to%20meet%20compliance%20goals.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWith%20this%20high-level%20road%20map%20of%20the%20migration%20journey%20in%20place%2C%20let%E2%80%99s%20take%20a%20look%20the%20details%20associated%20with%20the%20process%20associated%20with%20migrating%20applications%20and%20the%20databases%20supporting%20them.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1514544238%22%20id%3D%22toc-hId--1514544238%22%3EDiscovery%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20first%20step%20in%20the%20migration%20journey%20is%20to%20%E2%80%9Cdiscover%E2%80%9D%20the%20servers%20hosting%20the%20application%20and%20databases%20to%20determine%20if%20there%20are%20the%20dependencies%20that%20would%20require%20migrating%20these%20entities%20to%20Azure%20together.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20use%20Azure%20Migrate%20to%20assesses%20on-premises%20workloads%20for%20migration%20to%20Azure.%20The%20service%20discovers%20and%20assesses%20the%20migration%20suitability%20of%20on-premises%20virtual%20servers%20and%20servers%20running%20SQL%20Servers.%20Azure%20Migrate%20sizes%20things%20based%20on%20performance%20and%20provides%20cost%20estimations%20for%20running%20on-premises%20computers%20in%20Azure.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20also%20use%20the%20%3CA%20href%3D%22https%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fdownload%2Fdetails.aspx%3Fid%3D7826%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EMicrosoft%20Assessment%20and%20Planning%20Toolkit%3C%2FA%3E%20(the%20%22MAP%20Toolkit%22)%20to%20assess%20your%20current%20IT%20infrastructure%20for%20a%20variety%20of%20technology%20migration%20projects.%20This%20Solution%20Accelerator%20provides%20a%20powerful%20inventory%2C%20assessment%2C%20and%20reporting%20tool%20to%20simplify%20the%20migration%20planning%20process.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20the%20Parts%20Unlimited%20application%2C%20we%20already%20know%20the%20application%20and%20database%20servers%20and%20their%20respective%20dependencies%2C%20so%20we%20skip%20the%20discovery%20process%20for%20purposes%20of%20this%20blog%20post.%20Both%20the%20application%20and%20SQL%20Server%20database%20are%20hosted%20on%20a%20server%20named%20%E2%80%9CSQL2017.redmond.corp.microsoft.com%E2%80%9D.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-228266097%22%20id%3D%22toc-hId-228266097%22%3EApplication%20migration%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAzure%20App%20Service%20is%20an%20HTTP-based%20service%20for%20hosting%20web%20applications%2C%20REST%20APIs%2C%20and%20mobile%20back%20ends.%20Migrating%20applications%20to%20App%20Service%20is%20a%20relatively%20simple%20process%20that%20involves%3A%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EAssessing%20your%20app%20to%20get%20a%20detailed%20report%20of%20all%20the%20technologies%20used%20and%20whether%20they%20can%20be%20hosted%20on%20App%20Service.%3C%2FLI%3E%0A%3CLI%3EDownloading%20the%20Migration%20Assistant%2C%20which%20currently%20works%20with%20IIS%20version%207.0%20and%20later.%3C%2FLI%3E%0A%3CLI%3EUsing%20the%20Migration%20Assistant%20to%3A%3COL%3E%0A%3CLI%3ERun%20readiness%20checks%20and%20general%20assessment%20of%20your%20application%E2%80%99s%20configuration%20settings%3C%2FLI%3E%0A%3CLI%3EMigrate%20your%20application%20to%20App%20Service.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-1774562927%22%20id%3D%22toc-hId-1774562927%22%3EAssess%20your%20application%3C%2FH3%3E%0A%3CP%3ETo%20begin%20the%20assessment%2C%20navigate%20to%20the%20%3CA%20href%3D%22https%3A%2F%2Fappmigration.microsoft.com%2Fassessment%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAssess%20your%20site%3C%2FA%3E%20page%2C%20type%20in%20the%20public%20facing%20URL%2C%20and%20then%20select%20%3CSTRONG%3EAssess%3C%2FSTRONG%3E%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F139085i755603EB6CF658E6%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22clipboard_image_11.png%22%20title%3D%22clipboard_image_11.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EApp%20Service%20doesn%E2%80%99t%20rely%20on%20a%20static%20(and%20potentially%20outdated)%20list%20of%20supported%20technologies.%20Instead%2C%20App%20Service%20compares%20a%20dynamically%20generated%20list%20of%20technologies%20used%20by%20the%20site%20being%20scanned%20to%20similar%20lists%20for%20sites%20that%20are%20already%20hosted%20on%20App%20Service%20to%20generate%20a%20uniquely%20accurate%20assessment%20report.%20A%20positive%20assessment%20for%20a%20given%20technology%20guarantees%20that%20at%20least%20one%20customer%20on%20the%20platform%20is%20already%20using%20that%20technology.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EConsider%20the%20following%20example.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F139086i0206815216342024%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22clipboard_image_12.png%22%20title%3D%22clipboard_image_12.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ENote%3C%2FSTRONG%3E%3A%20Use%20the%20%3CSTRONG%3EShow%20more%20technologies%20detected%20for%20the%20site%3C%2FSTRONG%3E%20toggle%20to%20see%20additional%20detail%20about%20the%20technologies%20in%20use%20on%20the%20site.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--777594034%22%20id%3D%22toc-hId--777594034%22%3EDownload%20the%20Migration%20Assistant%3C%2FH3%3E%0A%3CP%3EAfter%20you%20successfully%20assess%20your%20site%2C%20on%20the%20%3CSTRONG%3EAssess%20your%20site%3C%2FSTRONG%3E%20page%2C%20select%20%3CSTRONG%3EStart%20Migrating%20Now!%3C%2FSTRONG%3E%20or%20navigate%20to%20%3CA%20href%3D%22https%3A%2F%2Fappmigration.microsoft.com%2Freadiness%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ethe%20Download%20the%20Migration%20Assistant%20for%20your%20.NET%20and%20PHP%20Apps%3C%2FA%3E%20page%2C%20and%20then%20select%20%3CSTRONG%3EDownload%3C%2FSTRONG%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F139088iF707DCA8B19CC7F6%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22clipboard_image_13.png%22%20title%3D%22clipboard_image_13.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-965216301%22%20id%3D%22toc-hId-965216301%22%3ERun%20the%20Migration%20Assistant%3C%2FH3%3E%0A%3CP%3EWhen%20the%20download%20and%20installation%20is%20complete%2C%20start%20the%20App%20Service%20Migration%20Assistant.%3C%2FP%3E%0A%3CP%3EThe%20Migration%20Assistant%20is%20a%20local%20agent%20that%20performs%20a%20detailed%20assessment%20and%20then%20walks%20you%20through%20the%20migration%20process.%20The%20tool%20performs%20%3CA%20href%3D%22https%3A%2F%2Fappmigration.microsoft.com%2Freadinesschecks%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ereadiness%20checks%3C%2FA%3E%2C%20as%20well%20as%20a%20general%20assessment%20of%20a%20web%20application%E2%80%99s%20configuration%20settings.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F139089i07471DFF042B2CAA%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22clipboard_image_14.png%22%20title%3D%22clipboard_image_14.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAfter%20the%20readiness%20checks%20are%20complete%2C%20review%20the%20Assessment%20Report%2C%20considering%20any%20warnings%20and%20resolving%20any%20errors%20that%20may%20have%20been%20identified.%20When%20and%20the%20Assessment%20Report%20for%20the%20application%20shows%20no%20%3CSTRONG%3EErrors%3C%2FSTRONG%3E%2C%20the%20Migration%20Assistant%20walks%20you%20through%20the%20process%20of%20authenticating%20with%20your%20Azure%20subscription%20and%20then%20prompts%20you%20to%20provide%20details%20of%20the%20target%20account%2C%20together%20with%20other%20configuration%20details%20for%20the%20newly%20migrated%20site.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F139090iF8D8A339F81BFA62%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22clipboard_image_15.png%22%20title%3D%22clipboard_image_15.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhen%20you%20have%20entered%20the%20appropriate%20detail%2C%20select%20%3CSTRONG%3EMigrate%3C%2FSTRONG%3E%2C%20and%20the%20Migration%20Assistant%20then%20moves%20your%20site%20to%20the%20target%20application%20in%20App%20Service.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--1586940660%22%20id%3D%22toc-hId--1586940660%22%3ESupported%20configurations%3C%2FH3%3E%0A%3CP%3EThe%20Migration%20Assistant%20is%20designed%20to%20migrate%20most%20modern%20ASP.Net%20and%20PHP%20applications%2C%20but%20it%20does%20not%20support%20all%20configurations.%20For%20more%20details%20about%20what%20the%20tool%20supports%2C%20together%20with%20workarounds%20for%20some%20unsupported%20sites%2C%20see%20the%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2FApp-Service-Migration-Assistant%2Fwiki%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EApp-Service-Migration-Assistant%20wiki%3C%2FA%3E%20in%20GitHub.%20You%20can%20also%20find%20more%20details%20about%20App%20Service%20migrations%20on%20the%20%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fblog%2Fmigration-checklist-when-moving-to-azure-app-service%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EApp%20Service%20Migration%20checklist%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-352383180%22%20id%3D%22toc-hId-352383180%22%3EDatabase%20migration%3C%2FH2%3E%0A%3CP%3EWhile%20the%20Migration%20Assistant%20is%20designed%20to%20migrate%20web%20applications%20and%20their%20associated%20configurations%2C%20it%20will%20not%20migrate%20databases.%20For%20migrating%20databases%20to%20Azure%2C%20use%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdms%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Database%20Migration%20Service%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ENote%3C%2FSTRONG%3E%3A%20To%20continue%20running%20databases%20on-premises%20rather%20than%20in%20the%20cloud%2C%20specify%20that%20the%20Migration%20Assistant%20set%20up%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fapp-service%2Fapp-service-hybrid-connections%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehybrid%20connections%3C%2FA%3E%20during%20the%20app%20migration%20process.%20Then%2C%20use%20the%20hybrid%20connections%20to%20connect%20cloud-based%20applications%20with%20on-premises%20databases.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-1183518721%22%20id%3D%22toc-hId-1183518721%22%3EAssess%20target%20readiness%3C%2FH3%3E%0A%3CP%3EBefore%20you%20begin%20database%20migration%2C%20use%20the%20Data%20Migration%20Assistant%20to%20assess%20your%20on-premises%20SQL%26nbsp%3BServer%20database%2C%20%3CSTRONG%3EPartsUnlimitedDB%3C%2FSTRONG%3E%2C%20and%20then%20upload%20the%20results%20to%20the%20Azure%20Migrate%20Hub%20for%20a%20report%20on%20the%20readiness%20for%20migrating%20to%20SQL%20Database.%20Step-by-step%20guidance%20is%20available%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsql%2Fdma%2Fdma-assess-sql-data-estate-to-sqldb%3Fview%3Dsql-server-2017%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20Azure%20Migrate%20assessment%20shown%20below%20recommends%20the%20preferred%20target%2C%20a%20SQL%20Database%20managed%20instance%2C%20for%20the%20%3CSTRONG%3EPartsUnlimitedDB%3C%2FSTRONG%3E%20database%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F139091iAACA5AA00CA6E3BB%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22clipboard_image_16.png%22%20title%3D%22clipboard_image_16.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhen%20you%20perform%20database%20assessment%20using%20Data%20Migration%20Assistant%2C%20make%20sure%20to%20select%20the%20databases%20in%20Data%20Migration%20Assistant%20for%20schema%20migration%20and%20extended%20event%20traces%20for%20assessing%20any%20ad%20hoc%20or%20dynamic%20queries%20or%20any%20DML%20statements%20initiated%20through%20the%20application%20data%20layer.%20Step-by-step%20guidance%20provided%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsql%2Fdma%2Fdma-assesssqlonprem%3Fview%3Dsql-server-2017%23add-databases-and-extended-events-trace-to-assess%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20plan%20to%20migrate%20any%20SQL%20Server%20Integration%20Services%20(SSIS)%20packages%2C%20be%20sure%20to%20assess%20the%20SSIS%20packages%20at%20first%20to%20understand%20if%20any%20mitigation%20steps%20required.%20Step-by-step%20guidance%20is%20provided%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsql%2Fdma%2Fdma-assess-ssis%3Fview%3Dsql-server-2017%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--1368638240%22%20id%3D%22toc-hId--1368638240%22%3EGet%20target%20tier%20and%20SKU%20recommendations%3C%2FH3%3E%0A%3CP%3EIt%20is%20critical%20to%20identify%20both%20the%20minimum%20recommended%20target%20SKU%20of%20SQL%20Database%20single%20database%20or%20managed%20instance%20based%20on%20performance%20counters%20that%20are%20collected%20from%20the%20computer(s)%20hosting%20your%20databases.%20This%20information%20helps%20to%20ensure%20that%20you%20have%20an%20optimal%20post%20migration%20experience.%20The%20Azure%20Database%20Migration%20Service%20SKU%20recommendations%20feature%20provides%20recommendations%20related%20to%20pricing%20tier%2C%20compute%20level%2C%20and%20max%20data%20size%2C%20as%20well%20as%20an%20estimated%20cost%20per%20month.%20The%20feature%20also%20provides%20the%20ability%20to%20bulk%20provision%20single%20databases%20and%20managed%20instances%20in%20Azure%20for%20all%20recommended%20databases.%20Step-by-step%20guidance%20is%20provided%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsql%2Fdma%2Fdma-sku-recommend-sql-db%3Fview%3Dsql-server-2017%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBelow%20is%20the%20html%20report%20generated%20for%20SQL%20Server%20hosting%20the%20%3CSTRONG%3EPartsUnlimitedDB%3C%2FSTRONG%3E%20database%20for%20the%20workload%20data%20collected%20during%20the%20peak-time%20activity%20for%20migrating%20to%20a%20SQL%20Database%20managed%20instance.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F152348i7A3CE67ED067ADAB%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22SKU.PNG%22%20title%3D%22SKU.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20Data%20Migration%20Assistant%20target%20SKU%20assessment%20recommends%20using%20at%20least%20a%208%20vCore%2C%20General%20Purpose%20Gen%205%20SKU%2C%20which%20has%20an%20estimated%20monthly%20cost%20of%20~%241K%20with%20Azure%20Hybrid%20Benefit%20(HBU).%3C%2FP%3E%0A%3CP%3ENext%2C%20select%20%3CSTRONG%3EGenerate%20Provisioning%20Script%3C%2FSTRONG%3E%20to%20create%20the%20PowerShell%20script%20that%20will%20help%20you%20provision%20the%20target%20SQL%20Database%20managed%20instance.%20Alternately%2C%20you%20can%20create%20a%20SQL%20Database%20managed%20instance%20by%20using%20the%20step-by-step%20guidance%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fsql-database%2Fsql-database-managed-instance-get-started%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-374172095%22%20id%3D%22toc-hId-374172095%22%3EMigrate%20databases%20using%20Azure%20Database%20Migration%20Service%3C%2FH3%3E%0A%3CP%3EAzure%20Database%20Migration%20Service%20is%20a%20fully%20managed%20service%20designed%20to%20enable%20seamless%20migrations%20from%20multiple%20database%20sources%20to%20Azure%20Data%20platforms%20with%20minimal%20downtime%20(online%20migrations).%20You%20can%20migrate%20the%20%3CSTRONG%3EPartsUnlimitedDB%3C%2FSTRONG%3E%20database%20to%20a%20SQL%20Database%20managed%20instance%20with%20minimal%20downtime%20using%20a%20few%20simple%20steps%3A%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3ECreate%20an%20instance%20of%20Azure%20Database%20Migration%20Service.%3C%2FLI%3E%0A%3CLI%3ECreate%20a%20migration%20project%20by%20providing%20the%20source%20and%20target%20server%20connection%20strings%20and%20associated%20credentials.%3C%2FLI%3E%0A%3CLI%3EProvide%20the%20local%20on-premises%20SMB%20network%20share%20containing%20the%20FULL%20and%20LOG%20backups%20that%20Azure%20Database%20Migration%20Service%20can%20use%20to%20restore%20on%20the%20target%20database.%3C%2FLI%3E%0A%3CLI%3EPerform%20the%20final%20migration%20cutover%20when%20you%20ready%20and%20have%20ensured%20that%20the%20target%20has%20caught%20up%20with%20all%20the%20log%20backups.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3EStep-by-step%20guidance%20is%20provided%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdms%2Ftutorial-sql-server-managed-instance-online%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ENote%3C%2FSTRONG%3E%3A%20Be%20sure%20to%20monitor%20the%20migration%20status%20and%20wait%20until%20the%20database%20cutover%20completes.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F139092i7B3472DDBE2235EB%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22clipboard_image_18.png%22%20title%3D%22clipboard_image_18.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-2116982430%22%20id%3D%22toc-hId-2116982430%22%3EMigrate%20SQL%20Server%20objects%20using%20Azure%20Database%20Migration%20Service%3C%2FH3%3E%0A%3CP%3EIn%20addition%20to%20migrating%20the%20databases%2C%20you%20also%20need%20to%20migrate%20any%20artifacts%20(server%20objects)%20outside%20of%20the%20databases%20(such%20as%20database%20logins%2C%20ETL%20jobs%2C%20etc.)%20on%20which%20your%20applications%20depends.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EMigrate%20logins%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EParts%20Unlimited%20users%20access%20the%20database%20layer%20by%20using%20both%20SQL%20Server%20logins%20and%20Windows%20logins.%20You%20must%20migrate%20the%20SQL%20Server%20logins%20as%20is%20and%20map%20the%20Windows%20logins%20to%20Azure%20AD%20logins%20along%20with%20securables%2C%20privileges%2C%20and%20group%20memberships.%20You%20can%20use%20Azure%20Database%20Migration%20Service%20to%20migrate%20both%20SQL%20Server%20and%20Windows%20logins.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20logins%20migration%20feature%20is%20enabled%20in%20the%20SQL%20Database%20managed%20instance%20offline%20(one%20time)%20migration%20workflow.%20Step-by-step%20guidance%20is%20provided%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fdms%2Ftutorial-sql-server-to-managed-instance%23select-logins%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ENote%3C%2FSTRONG%3E%3A%20When%20migrating%20the%20Windows%20logins%2C%20be%20sure%20to%20enable%20the%20Windows%20logins%20migration%20setting%20in%20the%20%3CSTRONG%3ESettings%5CConfiguration%3C%2FSTRONG%3E%20page%2C%20as%20shown%20below.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F139093iA1EBB0D0DD204636%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22clipboard_image_19.png%22%20title%3D%22clipboard_image_19.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EMigrate%20SQL%20Server%20Agent%20jobs%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EUse%20Azure%20Database%20Migration%20Service%20PowerShell%20commandlet%20options%20to%20migrate%20SQL%20Server%20Agent%20jobs%20from%20on-premises%20SQL%20Server%20to%20a%20SQL%20Database%20managed%20instance.%20See%20the%20command-line%20options%20provided%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdms%2Fhowto-sql-server-to-azure-sql-mi-powershell%23create-a-migration-project%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E%2C%20in%20the%20topic%20%E2%80%9CSelect%20agent%20jobs%E2%80%9D%20for%20guidance.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EMigrate%20SQL%20Server%20SSIS%20packages%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3ETo%20migrate%20any%20SQL%20Server%20Integration%20Service%20(SSIS)%20packages%2C%20follow%20the%20steps%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdms%2Fhow-to-migrate-ssis-packages-managed-instance%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%20First%20assess%20source%20SSIS%20projects%20and%20packages%2C%20and%20then%20migrate%20these%20packages%20and%20projects%20as%20they%20qualify%20the%20migration.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EChange%20the%20connection%20string%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3ELogin%20into%20Azure%20portal%2C%20and%20then%20open%20the%20app%20migrated%20to%20Azure.%20On%20the%20TOC%20blade%2C%20enter%20%3CSTRONG%3Eedit%3C%2FSTRONG%3E%20as%20shown%20below%2C%20and%20then%20select%20%3CSTRONG%3EApp%20Service%20Editor%20(preview)%3C%2FSTRONG%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F139095i6B936B01BFBE68B6%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22clipboard_image_20.png%22%20title%3D%22clipboard_image_20.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EChange%20the%20connection%20string%20in%20Web.config%20file%20as%20below.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F139096i3FE10F86DC2D4C88%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22clipboard_image_21.png%22%20title%3D%22clipboard_image_21.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThen%20launch%20the%20PartsUnlimited%20application%20to%20ensure%20that%20it%20properly%20connects%20to%20newly%20migrated%20database%20in%20SQL%20Database%20managed%20instance.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1361776828%22%20id%3D%22toc-hId-1361776828%22%3EPost%20migration%20verification%3C%2FH2%3E%0A%3CP%3EAfter%20you%20have%20successfully%20migrated%20your%20application%20and%20any%20databases%2C%20you%20need%20to%20go%20through%20a%20series%20of%20post-migration%20tasks%20to%20ensure%20that%20everything%20is%20functioning%20as%20smoothly%20and%20efficiently%20as%20possible.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20the%20databases%20specifically%2C%20after%20the%20data%20is%20migrated%20to%20the%20target%20environment%2C%20remediate%20the%20objects%20with%20the%20fixes%20proposed%20by%20the%20Data%20Migration%20Assistant%20for%20the%20objects%20reported%20in%20the%20%3CSTRONG%3EBreaking%20changes%3C%2FSTRONG%3E%20section.%20Also%20be%20sure%20to%20perform%20functional%20and%20performance%20tests.%20Optimize%20the%20target%20SQL%20Database%20managed%20instance%20as%20needed%20to%20meet%20the%20expected%20response%20times.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20assistance%20with%20fine%20tuning%20SQL%20Database%20managed%20instance%2C%20refer%20to%20the%20following%20resources%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fmedium.com%2Fazure-sqldb-managed-instance%2Fwhat-to-do-when-azure-sql-managed-instance-is-slower-than-sql-server-dd39942aaadd%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3EHow%20to%20identify%20why%20workload%20performance%20on%20Azure%20SQL%20Managed%20Instance%20are%20different%20than%20SQL%20Server%3F%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fblog%2Fkey-causes-of-performance-differences-between-sql-managed-instance-and-sql-server%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EKey%20causes%20of%20performance%20differences%20between%20SQL%20managed%20instance%20and%20SQL%20Server%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FDataCAT%2FStorage-performance-best-practices-and-considerations-for-Azure%2Fba-p%2F305525%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3EStorage%20performance%20best%20practices%20and%20considerations%20for%20Azure%20SQL%20DB%20Managed%20Instance%20(General%20Purpose)%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fblogs.msdn.microsoft.com%2Fsqlcat%2F2018%2F09%2F26%2Freal-time-performance-monitoring-for-azure-sql-database-managed-instance%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EReal-time%20performance%20monitoring%20for%20Azure%20SQL%20Database%20Managed%20Instance%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1190380133%22%20id%3D%22toc-hId--1190380133%22%3EOptimization%3C%2FH2%3E%0A%3CP%3EAfter%20you%20complete%20your%20post%20migration%20verification%2C%20it%20is%20important%20to%20use%20an%20iterative%20optimization%20process%20to%20ensure%20the%20best%20performance%20and%20functionality%20of%20your%20solution%20in%20the%20target%20environment.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20additional%20information%2C%20refer%20to%20the%20following%20resources.%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EManage%20your%20cloud%20spend%20with%20transparency%20and%20accuracy%20using%20%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fservices%2Fcost-management%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Cost%20Management%3C%2FA%3E.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3ESave%20with%20Azure%20Offers%3C%2FSTRONG%3E%3A%20Take%20advantage%20of%20offers%20from%20Azure%2C%20such%20as%20%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fpricing%2Fhybrid-benefit%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Hybrid%20Benefit%3C%2FA%3E%20and%20%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fpricing%2Freserved-vm-instances%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Reserved%20Virtual%20Machine%20Instances%3C%2FA%3E%2C%20and%20continue%20right-sizing%20your%20migrated%20virtual%20machines%20to%20your%20workloads%20for%20improved%20value.%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fmigration%2Fmigration-journey%2F%23secure-manage%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSTRONG%3ESecure%20and%20manage%3C%2FSTRONG%3E%3A%20%3C%2FA%3EHelp%20protect%20and%20manage%20your%20virtual%20machines%2C%20applications%2C%20and%20data%20using%20Azure%20services.%3C%2FLI%3E%0A%3C%2FUL%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-924874%22%20slang%3D%22en-US%22%3E%3CP%20style%3D%22margin-bottom%3A%206.0pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%20line-height%3A%20107%25%3B%20font-family%3A%20'Segoe%20UI'%2Csans-serif%3B%22%3EThis%20blog%20describes%20how%20to%20streamline%20the%20migration%20journey%20for%20Microsoft%20Azure%20web%20workloads%20across%20your%20application%20and%20relevant%20databases.%20By%20taking%20advantage%20of%20%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fmigrate%2Fmigrate-overview%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%20line-height%3A%20107%25%3B%20font-family%3A%20'Segoe%20UI'%2Csans-serif%3B%22%3EAzure%20Migrate%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%20line-height%3A%20107%25%3B%20font-family%3A%20'Segoe%20UI'%2Csans-serif%3B%22%3E%2C%20the%20%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fappmigration.microsoft.com%2F%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%20line-height%3A%20107%25%3B%20font-family%3A%20'Segoe%20UI'%2Csans-serif%3B%22%3EAzure%20App%20Service%20Migration%20Assistant%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%20line-height%3A%20107%25%3B%20font-family%3A%20'Segoe%20UI'%2Csans-serif%3B%22%3E%2C%20the%20%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fsql%2Fdma%2Fdma-overview%3Fview%3Dsql-server-2017%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%20line-height%3A%20107%25%3B%20font-family%3A%20'Segoe%20UI'%2Csans-serif%3B%22%3EData%20Migration%20Assistant%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%20line-height%3A%20107%25%3B%20font-family%3A%20'Segoe%20UI'%2Csans-serif%3B%22%3E%2C%20and%20%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fdms%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%20line-height%3A%20107%25%3B%20font-family%3A%20'Segoe%20UI'%2Csans-serif%3B%22%3EAzure%20Database%20Migration%20Service%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20style%3D%22font-size%3A%2010.0pt%3B%20line-height%3A%20107%25%3B%20font-family%3A%20'Segoe%20UI'%2Csans-serif%3B%22%3E%2C%20we%20simplify%20the%20migration%20of%20your%20web%20apps%20and%20databases%20to%20Azure%20with%20minimal%20or%20no%20code%20changes.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-924874%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDMA%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDMS%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E

This blog describes how to streamline the migration journey for Microsoft Azure web workloads across your application and relevant databases. By taking advantage of Azure Migrate, the Azure App Service Migration Assistant, the Data Migration Assistant, and Azure Database Migration Service, we simplify the migration of your web apps and databases to Azure with minimal or no code changes.

 

Overview

 

Application overview

Parts Unlimited is a sample eCommerce website site built on .Net Core 2.0. The site includes a front-end ordering page, a mobile experience, an order database, and a variety of other common eCommerce features. The application features a modern HTML5 responsive layout using bootstrap for mobile, tablet, and PC. It supports multiple authentication options including Azure Active Directory, Google, and Facebook. At the same time, it leverages a variety of Azure App Service features including testing in production, staging slots, and environment variables for feature flags (to turn on/off recommendations). The site works with Visual Studio 2017 and includes a docker file and sample publishing profile to deploy as a docker container.

 

The application that will be migrated is hosted on a Windows server 2012 running Internet Information Services (IIS), while the database is hosted on a computer running SQL Server 2017.

 

You can find a repo with the site code here: http://aka.ms/pulabs

 

Phases in the migration journey

Migrating to the cloud involves moving your web apps and databases, and there are different tools and techniques for each. However, the typical migration journey consists of four phases: pre migration, migration, post migration, and optimization.

 

During pre-migration, you:

  1. Discover the server, application, and database assets.
  2. Determine application dependencies.
  3. Identify artifacts that need to be migrated together.
  4. Assess Azure target readiness.
  5. Determine the optimal target SKU.
  6. Detect database objects or ad hoc queries from the application layer that may break when migrating to Azure because of legacy syntax.
  7. Prepare the necessary fixes to apply during the post migration phase.

 

During migration, you migrate the application and your schema and data, as well as any other server objects (such as logins, SQL Server Agent jobs, and SSIS packages) upon which your application depends.

 

During post-migration, you:

  1. Make the necessary fixes to breaking changes reported in assessment.
  2. Perform a few functional tests.
  3. Address any performance issues that you may encounter during the testing.

 

Finally, during optimization, you perform continuous evaluation and refinement. The goals of optimization are to:

  • Gather operational insights.
  • Fine-tune performance.
  • Reduce TCO.
  • Begin leveraging cloud native services for better business insights.
  • Improve security to meet compliance goals.

 

With this high-level road map of the migration journey in place, let’s take a look the details associated with the process associated with migrating applications and the databases supporting them.

 

Discovery

 

The first step in the migration journey is to “discover” the servers hosting the application and databases to determine if there are the dependencies that would require migrating these entities to Azure together.

 

You can use Azure Migrate to assesses on-premises workloads for migration to Azure. The service discovers and assesses the migration suitability of on-premises virtual servers and servers running SQL Servers. Azure Migrate sizes things based on performance and provides cost estimations for running on-premises computers in Azure.

 

You can also use the Microsoft Assessment and Planning Toolkit (the "MAP Toolkit") to assess your current IT infrastructure for a variety of technology migration projects. This Solution Accelerator provides a powerful inventory, assessment, and reporting tool to simplify the migration planning process.

 

For the Parts Unlimited application, we already know the application and database servers and their respective dependencies, so we skip the discovery process for purposes of this blog post. Both the application and SQL Server database are hosted on a server named “SQL2017.redmond.corp.microsoft.com”.

 

Application migration

 

Azure App Service is an HTTP-based service for hosting web applications, REST APIs, and mobile back ends. Migrating applications to App Service is a relatively simple process that involves:

  1. Assessing your app to get a detailed report of all the technologies used and whether they can be hosted on App Service.
  2. Downloading the Migration Assistant, which currently works with IIS version 7.0 and later.
  3. Using the Migration Assistant to:
    1. Run readiness checks and general assessment of your application’s configuration settings
    2. Migrate your application to App Service.

 

Assess your application

To begin the assessment, navigate to the Assess your site page, type in the public facing URL, and then select Assess:

 

clipboard_image_11.png

 

App Service doesn’t rely on a static (and potentially outdated) list of supported technologies. Instead, App Service compares a dynamically generated list of technologies used by the site being scanned to similar lists for sites that are already hosted on App Service to generate a uniquely accurate assessment report. A positive assessment for a given technology guarantees that at least one customer on the platform is already using that technology.

 

Consider the following example.

 

clipboard_image_12.png

 

Note: Use the Show more technologies detected for the site toggle to see additional detail about the technologies in use on the site.

 

Download the Migration Assistant

After you successfully assess your site, on the Assess your site page, select Start Migrating Now! or navigate to the Download the Migration Assistant for your .NET and PHP Apps page, and then select Download.

 

clipboard_image_13.png

 

Run the Migration Assistant

When the download and installation is complete, start the App Service Migration Assistant.

The Migration Assistant is a local agent that performs a detailed assessment and then walks you through the migration process. The tool performs readiness checks, as well as a general assessment of a web application’s configuration settings.

 

clipboard_image_14.png

 

After the readiness checks are complete, review the Assessment Report, considering any warnings and resolving any errors that may have been identified. When and the Assessment Report for the application shows no Errors, the Migration Assistant walks you through the process of authenticating with your Azure subscription and then prompts you to provide details of the target account, together with other configuration details for the newly migrated site.

 

clipboard_image_15.png

 

When you have entered the appropriate detail, select Migrate, and the Migration Assistant then moves your site to the target application in App Service.

 

Supported configurations

The Migration Assistant is designed to migrate most modern ASP.Net and PHP applications, but it does not support all configurations. For more details about what the tool supports, together with workarounds for some unsupported sites, see the App-Service-Migration-Assistant wiki in GitHub. You can also find more details about App Service migrations on the App Service Migration checklist.

 

Database migration

While the Migration Assistant is designed to migrate web applications and their associated configurations, it will not migrate databases. For migrating databases to Azure, use Azure Database Migration Service.

 

Note: To continue running databases on-premises rather than in the cloud, specify that the Migration Assistant set up hybrid connections during the app migration process. Then, use the hybrid connections to connect cloud-based applications with on-premises databases.

 

Assess target readiness

Before you begin database migration, use the Data Migration Assistant to assess your on-premises SQL Server database, PartsUnlimitedDB, and then upload the results to the Azure Migrate Hub for a report on the readiness for migrating to SQL Database. Step-by-step guidance is available here.

 

The Azure Migrate assessment shown below recommends the preferred target, a SQL Database managed instance, for the PartsUnlimitedDB database:

 

clipboard_image_16.png

 

When you perform database assessment using Data Migration Assistant, make sure to select the databases in Data Migration Assistant for schema migration and extended event traces for assessing any ad hoc or dynamic queries or any DML statements initiated through the application data layer. Step-by-step guidance provided here.

 

If you plan to migrate any SQL Server Integration Services (SSIS) packages, be sure to assess the SSIS packages at first to understand if any mitigation steps required. Step-by-step guidance is provided here.

 

Get target tier and SKU recommendations

It is critical to identify both the minimum recommended target SKU of SQL Database single database or managed instance based on performance counters that are collected from the computer(s) hosting your databases. This information helps to ensure that you have an optimal post migration experience. The Azure Database Migration Service SKU recommendations feature provides recommendations related to pricing tier, compute level, and max data size, as well as an estimated cost per month. The feature also provides the ability to bulk provision single databases and managed instances in Azure for all recommended databases. Step-by-step guidance is provided here.

 

Below is the html report generated for SQL Server hosting the PartsUnlimitedDB database for the workload data collected during the peak-time activity for migrating to a SQL Database managed instance.

 

SKU.PNG

 

The Data Migration Assistant target SKU assessment recommends using at least a 8 vCore, General Purpose Gen 5 SKU, which has an estimated monthly cost of ~$1K with Azure Hybrid Benefit (HBU).

Next, select Generate Provisioning Script to create the PowerShell script that will help you provision the target SQL Database managed instance. Alternately, you can create a SQL Database managed instance by using the step-by-step guidance here.

 

Migrate databases using Azure Database Migration Service

Azure Database Migration Service is a fully managed service designed to enable seamless migrations from multiple database sources to Azure Data platforms with minimal downtime (online migrations). You can migrate the PartsUnlimitedDB database to a SQL Database managed instance with minimal downtime using a few simple steps:

  1. Create an instance of Azure Database Migration Service.
  2. Create a migration project by providing the source and target server connection strings and associated credentials.
  3. Provide the local on-premises SMB network share containing the FULL and LOG backups that Azure Database Migration Service can use to restore on the target database.
  4. Perform the final migration cutover when you ready and have ensured that the target has caught up with all the log backups.

Step-by-step guidance is provided here.

 

Note: Be sure to monitor the migration status and wait until the database cutover completes.

 

clipboard_image_18.png

 

Migrate SQL Server objects using Azure Database Migration Service

In addition to migrating the databases, you also need to migrate any artifacts (server objects) outside of the databases (such as database logins, ETL jobs, etc.) on which your applications depends.

 

Migrate logins

Parts Unlimited users access the database layer by using both SQL Server logins and Windows logins. You must migrate the SQL Server logins as is and map the Windows logins to Azure AD logins along with securables, privileges, and group memberships. You can use Azure Database Migration Service to migrate both SQL Server and Windows logins.

 

The logins migration feature is enabled in the SQL Database managed instance offline (one time) migration workflow. Step-by-step guidance is provided here.

 

Note: When migrating the Windows logins, be sure to enable the Windows logins migration setting in the Settings\Configuration page, as shown below.

 

clipboard_image_19.png

 

Migrate SQL Server Agent jobs

Use Azure Database Migration Service PowerShell commandlet options to migrate SQL Server Agent jobs from on-premises SQL Server to a SQL Database managed instance. See the command-line options provided here, in the topic “Select agent jobs” for guidance.

 

Migrate SQL Server SSIS packages

To migrate any SQL Server Integration Service (SSIS) packages, follow the steps here. First assess source SSIS projects and packages, and then migrate these packages and projects as they qualify the migration.

 

Change the connection string

Login into Azure portal, and then open the app migrated to Azure. On the TOC blade, enter edit as shown below, and then select App Service Editor (preview).

 

clipboard_image_20.png

 

Change the connection string in Web.config file as below.

 

clipboard_image_21.png

 

Then launch the PartsUnlimited application to ensure that it properly connects to newly migrated database in SQL Database managed instance.

 

Post migration verification

After you have successfully migrated your application and any databases, you need to go through a series of post-migration tasks to ensure that everything is functioning as smoothly and efficiently as possible.

 

For the databases specifically, after the data is migrated to the target environment, remediate the objects with the fixes proposed by the Data Migration Assistant for the objects reported in the Breaking changes section. Also be sure to perform functional and performance tests. Optimize the target SQL Database managed instance as needed to meet the expected response times.

 

For assistance with fine tuning SQL Database managed instance, refer to the following resources:

 

Optimization

After you complete your post migration verification, it is important to use an iterative optimization process to ensure the best performance and functionality of your solution in the target environment.

 

For additional information, refer to the following resources.