Presentation is loading. Please wait.

Presentation is loading. Please wait.

Create IaaS SQL Server Test Premise Environment in Azure Cloud

Similar presentations


Presentation on theme: "Create IaaS SQL Server Test Premise Environment in Azure Cloud"— Presentation transcript:

1 Create IaaS SQL Server Test Premise Environment in Azure Cloud
Michael Wharton web site: ‘ Blog: ‘

2 Thanks to our Sponsors!

3 About: Michael Wharton (PMO Consultant)
30+ EPM Deployments EPM Migrations Trained Project Manager PMO Automations and Monitoring Fundamentals of Scheduling Microsoft MVP | MCT | MCTS | MCP+44 Technical Reviewer Missing Manual: Project 2010 and Project 2013 Project Management using MS Project 2013 Forecast Scheduling 2013 Forecast Progams Writing Book: Monitoring and Controlling the PMO My passion real passion is automating and monitoring Project Server My second passion is maintaining good Field Notes!! Using PowerShell Field Notes Windows SQL Server SharePoint Project Server Consistency with Deployments. Comic Books Hardware Hacking Robots Walking Wharton Computer Consulting since 1997 PowerShell Field Notes MyProjectExpert.com © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4 Sci-Fi, CyberPunk, Comics

5 Playing with Computers

6 Survey Who are You? Who are You? Currently using PowerShell
SQL DBA or admins SQL developers Software Developers IT Professional (network) SharePoint Administrators Currently using PowerShell Currently using Azure Who are You? SQL DBA or admins SQL developers Software Developers IT Professional (network) SharePoint Administrators Currently using PowerShell Currently using Azure

7 Learning Objective Portal (Wizard) or PowerShell Azure Concepts
Difference between Premise, IaaS, PaaS, SaaS Build SQL Server Azure as IaaS Portal (Wizard) or PowerShell Azure Concepts 101 Building SQL on Azure Cloud (IaaS) Resource Group Storage Account Virtual Network (VNET) AD Server VM SQL Server VM SharePoint Server VM (for testing) Portal (Wizard) or PowerShell Azure Concepts Building on Azure Virtual Network (VNET) Storage Account AD Server VM SQL Server VM SharePoint Server VM

8 Free Azure Account or MSDN

9 Where to put Test SQL Server?

10 So Many places for Test SQL Server
Test SQL Server on premise Test SQL Server developer desktop Azure Test SQL Server (IaaS, PaaS) Azure Test SQL Server developer desktop (VM) Hybrid solutions = cloud + premise

11 Cloud Computing Services (IaaS, PaaS, SaaS)
Office 365 Project Online Azure SQL Server SQL Server SSMS WEB API to query SQL JavaScript REST/Odata PowerShell SilverLight Your Hardware Cloud Hardware Cloud Hardware Cloud Hardware Virtual machines Virtual network Virtual AD Virtual Storage

12 Build Test SQL Server on Azure IaaS

13 Azure (IaaS) SQL VM Advantages
2/4/2019 6:34 PM Azure (IaaS) SQL VM Advantages Azure SQL (Paas) is not always support by vendor Save Money by using as needed ** TEST/DEV Physical Servers and Housing not required More Options available (Hybrid) Redundancy and DR Scaling Adding and Removing Servers Scaling CPU & Memory Up and Down Management of Resource Load Improve Security and Monitoring Fun, Learning and Personal growth © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

14 Database Options in Azure (PaaS)

15 Windows server with SQL Database Options in Azure (IaaS)

16 Free Trial Options in Azure (IaaS)

17 DC-SQL-APP and Win 10 VMs Azure IaaS Solution
AD/ DNS Server SQL Server APP Server Windows 10 Local IP Local IP Local IP Local IP VNET

18 General Azure Concepts
Azure Portal Management Current Azure Portal Azure Resource Management -> ARM Login-AzureRMAccount Azure Class Portal (Classic Mode) – ITS GONE Azure Service Manager –> ASM Login-AzureAccount Resource Groups Storage Accounts VNET -> Virtual Networks VM -> Virtual Machines

19 Two Ways to Manage Azure
Azure Management Portal (Wizard) Menu driven (Manual, Wizards, Templates) Manual process Weird file names and object names Azure PowerShell Writing and building scripts Automation Naming Standards

20 FYI - Azure Classic Portal (ASM) GONE

21 Azure Resource Management Portal (ARM)

22 Azure PowerShell

23 VNET with Multiple VMs

24 DC-SQL-APP and Win 10 VMs Azure (IaaS) Solution
AD/ DNS Server SQL Server APP Server Windows 10 Local IP Local IP Local IP Local IP VNET

25 VNET with SP-SQL-DC

26 Managing VNET - Virtual Network
VNET – Define network, subnet, DNS VNET (ARM) Create Azure Portal Create Azure PowerShell Creating VM automatically create VNET No Export/Import VNET (ASM) – classic – its gone must be created in Azure Portal (ASM) PowerShell - Export to VNET XML PowerShell - Import VNET XML

27 Managing Virtual Network -VNET

28 Managing Virtual Network -VNET

29 VNET – Sample XML

30 Storage Accounts - Managing Cloud Storage

31 Storage Accounts - Managing Cloud Storage

32 Storage Accounts - Managing Cloud Storage

33 Demo to Create the following
Create Resource Group Create Storage Accounts Create VNET - Virtual Networks Create VM - Virtual Machines Windows Server 2016 AD/DNS (done) SQL Server 2016 (demo) SharePoint Server 2016 (optional)

34 Define common used PowerShell variables

35 Create Resource Group and Storage Account

36 Create VNET using PowerShell

37 Building Azure AD Server VM
Install Trial Image SharePoint Server No license required and use AD/DNS Update VNET to use internal DNS Server Portal – Set IP address as Static Set DNS as this server Install AD and DNS services Promote AD Reboot AD server Add Accounts and Services Accounts ServiceSQL, ServiceSP, etc. SQLAdmin, FarmAdmin Update Domain Admins groups

38 Building Azure AD Server VM with PowerShell using ASM

39 Building Azure AD Server VM with PowerShell using ARM

40 Set Static IP of AD server

41 Install DNS and AD service

42 Promote AD Server Login as AZURECLOUD\admin Login as WCC2DEMO\admin
Root Domain Name: WCC2DEMO.LOCAL NetBIO domain name: WCC2DEMO Reboot Server Login as WCC2DEMO\admin Add Accounts and Services Accounts ServiceSQL, ServiceSP, etc. SQLAdmin, FarmAdmin Update Domain Admins groups

43 Build SQL Server VM Use SQL Server Image or Install SQL Server
Join to SQL server to Domain Add Admin and Service accounts SqlAdmin /FarmAdmin ServiceSQL /ServiceSP Open port 1433 for domain Update SQLservices (optional) domain\ServiceSQL Reboot # demowcc2sql Get-AzureRemoteDesktopFile -ServiceName $CloudSvc -Name $vmSQL -Launch # # 1. Login azurecloud\mawharton # a. Join 2013DEMO Domain # b. Start SQL Managment Studio and add '2013demo\domain admins' as SQL SysAdmins # or FarmAdmin and mawharton as SQL SysAdmins # c. Open port 1433 or (Disable Fire or create Ports 1433 or EndPoint 1433) # d. Reboot # 2. Optional Login 2013DEMO\mawharton # a. Windows server - disable security, enable updates, enable remoting, set time zone # b. Enable SA account (ALTER LOGIN SA ENABLE and Reset passord) # c. Update SQL services with ServiceSQL (not required)

44 Build SQL Server VM with PowerShell using ARM
New Stuff

45 At this point Done Login VPN and use SQL Server

46 Build SharePoint Server VM
Install Trial or Image SharePoint Server Join server to Domain Create local admin accounts as required Reboot Login as domain\adminuser Run SharePoint Configuration Wizard # demowcc2sp Get-AzureRemoteDesktopFile -ServiceName $CloudSvc -Name $vmSP -Launch # # 1. Login azurecloud\mawharton # a. Join 2013DEMO Domain # b. Windows server - disable security, enable updates, enable remoting, set time zone (trial version done) # c. Note: Already done when join domain but if not then # Add '2013demo\domain admins' as local administrators group (required for SharePoint and demo) # or 2013demo\FarmAdmin and 2013demo\mawharton # d. Reboot # 2. Login 2013DEMO\mawharton # a. Run SharePoint COnfiguration Wizard (connection to SQL server is evidence that setup is valid) # b. Open port 8080 for SharePoint Central (optional of accessing SharePoint Central from other servers)

47 Build SharePoint Server VM using PowerShell using ARM

48 Demo of PowerShell Builds of Each Server
AD Server VM SQL Server VM SharePoint Server VM

49 PowerShell Field Notes
2/4/2019 6:34 PM Questions and Answers Michael Wharton 30+ EPM Deployments 10+ EPM Migrations 1000+ Trained Project Manager PMO Automations and Monitoring Fundamentals of Scheduling Microsoft MVP | MCT | MCTS | MCP+44 Technical Reviewer Missing Manual: Project 2010 and Project 2013 Project Management using MS Project 2013 Forecast Scheduling 2013 (in process) Writing Book: Monitoring and Controlling the PMO My passion real passion is automating and monitoring Comic Books Hardware Hacking Robots Walking Wharton Computer Consulting since 1997 PowerShell Field Notes MyProjectExpert.com © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

50 Michael Wharton, MVP


Download ppt "Create IaaS SQL Server Test Premise Environment in Azure Cloud"

Similar presentations


Ads by Google