Giter Club home page Giter Club logo

blog's Introduction

blog's People

Contributors

markallisongit avatar

Watchers

 avatar

blog's Issues

Article on Private Endpoints for SQL MI

Maybe write an article on SQLMI endpoints

https://learn.microsoft.com/en-us/azure/azure-sql/managed-instance/private-endpoint-overview?view=azuresql&tabs=separate-vnets

Questions

  • What happens when we deploy a SQLMI from Azure Portal with regards to networking? Do we still need network policy?

ManagedInstance subnet still gets created when deploying from the portal without specifying a network and asking Azure to create one

  • Do we still need the ManagedInstance subnet?

Yes

  • What requirements are there for Private Endpoint Connection
  • Outline differences between private endpoint connection and private endpoint

Notes

After bicep deploy

  • PowerShell: Grant ADF Managed Identity Key Vault Secrets User Role on Key Vault

  • Add Key Vault as linked Service in ADF

  • Create Integration Runtime with Managed Vnet

  • Create managed private endpoint in ADF, or Private Endpoint Connection in SQLMI first?

    • SQLMI Private Endopint Connection cannot be created in the ManagedInstance subnet
  • Create a managed private endpoint in ADF to connect to the SQLMI

  • Private Endpoint connection appears in the SQLMI resource and needs approval

    • Create Connection to SQLMI using secret in Key Vault. Works fine
  • ADLS restrict to Virtual Network

  • New Linked Service needs a Private Managed endpoint to be created for ADLS, must be approved

  • Install Integration Runtime on the VM

CREATE TABLE STAGING.price_paid (
    transactionuuid uniqueidentifier not null,
    pricenumeric bigint,
    transfer_datedate DATE,
    postcodetext nvarchar(10),
    property_typechar CHAR(1),
    newly_builtboolean CHAR(1),
    durationchar CHAR(1),
    paontext nvarchar(200),
    saontext nvarchar(200),
    streettext nvarchar(200),
    localitytext nvarchar(100),
    citytext nvarchar(100),
    districttext nvarchar(100),
    countytext nvarchar(140),
    ppd_category_typechar NVARCHAR(5),
    record_statuschar nvarCHAR(2)
);

Tests

Private Endpoint

  1. 15:16
  2. 15:06
  3. 17:44

Self-Hosted RunTime
1.

Data

https://www.gov.uk/government/statistical-data-sets/price-paid-data-downloads

http://prod.publicdata.landregistry.gov.uk.s3-website-eu-west-1.amazonaws.com/pp-complete.csv

Troubleshoot blue screen Azure VM

Research and prep

  • Recovery Services Vault
  • A Virtual machine that backs up to the vault
  • Create PowerShell code to -- not sure if this is too much work or not.
  • Take a snapshot of the VM OS Disk
  • Create a Managed Disk from the Snapshot
  • Restore the VM from the vault into a new Test VM
  • Imagine the machine is blue-screening here.
  • Swap the OS Disk in the restored VM for the Managed Disk taken from the snapshot
  • Machine will shut down, when complete, start the machine up again.

Video

  • Create a short YouTube video

Script

Intro

  • We perform quarterly DR testing
  • Recently one of our VMs blue screened a restore
  • Re-tested, same issue
  • Tested an older backup from before patching, didn't blue screen
  • Taking a snapshot of the production VM and attaching the OS disk to the restored VM worked

Demo

  • Recreate RSV and a VM with a job
  • Show how to swap the OS disk
  • Clean up

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.