Understanding Windows Azure’s Active
Directory (AD) and PowerShell Tools
If deploying an application requires a developer’s involvement, it’s not IaaS
Broad & deep array of solutions enables customers to use cloud in their own way, at their own pace
Microsoft approach: hyb...
SharePoint PaaS Roles
File Servers Local AD SQL VMs
openSUSE 12.3
CentOS 6.3
Ubuntu 12.04
Ubuntu 12.10
SUSE Linux Enterprise Server
SP2
and more!
Windows Server 2012
Datacent...
VM Size
CPU
Cores
RAM Bandwidth
# Data
Disks
Price Per Hour
(GA Price Starting Jun 1st)
Price Per Hour
(Promotional Price ...
DC DNS
Active
Directory
Persistent VM Role
DC DNS
Active
Directory
Persistent VM
Role
Persistent
VM Role
SQL
SharePoint
•
•
•
•
•
•
•
Overview of the Portal
When you first login to
Windows Azure you
have a blank slate to
work from. For today’s
lab we will ...
First we need to register a DNS Server that our lab will utilize. Register the internal IP address that our
domain control...
Provide a name for the DNS server and for this exercise we will use the I.P. address of 10.0.0.4. Be
sure that the proper ...
Now we will create a virtual network. This virtual network will serve as a subnet that all of
our virtual machines will co...
Provide a name for the
virtual network, and
also the affinity group
unless you have
already created one in
previous labs.
...
Select the DNS Server
registered in the
previous steps.
Click on the check to
proceed.
Building the Virtual Network
We need to select a
proper subnet scheme,
for this lab we will be
choosing 4096
possible addresses.
The CIDR equivalent is...
Notice that during any action sequences in the Azure Portal the operations will show up at the bottom
of the screen explai...
Building the Storage Account
Now we need to create a storage account so that all of our new VMs will share the same contai...
Notice there are three
sub sections to the
Virtual Machines area
of the portal.
Instances, Images, and
Disks. We will sele...
Select Virtual Machine, and use the “From Gallery” option. Consider the “From Gallery” option as the more
advanced or cust...
Select Windows Server 2012
Datacenter
Building the AD Virtual Machine
Click on the Arrow to proceed.
The Version Release Date is a
great feature in that you can
deploy Windows Server 2012
based on update rollups. So
the Apr...
Provide a DNS name, this name
will be checked to see if it already
exists in the DNS database for
cloudapp.net. In the eve...
We will not be creating an
Availability Set in this session so as
to keep costs down. Availability
Sets are in place to in...
Scroll down on the Status screen for the newly created VM. Check to make sure the IP address is 10.0.0.4(this
was automati...
We need to add a disk to the
VMs now, so we will start with
the AD controller.
Why? Because Azure OS disks
have write cach...
Rename the virtual disk by
appending data01 in place of
the random characters which
are normally auto-generated.
Make the ...
Connecting to the AD server via RDP
Now we need to connect to
the AD server via RDP to
complete the disk addition
and kick...
Connecting to the AD server via RDP
A RDP file will display at
the bottom of the screen.
This RDP connection
comes preconf...
Connecting to the AD server via RDP
Select the checkbox to disable this
warning if desired. Click “Connect”: Enter the adm...
Creating the Data Volume on the AD server
Once inside Server
Manager, go to Tools
then select Computer
Management.
Inside ...
Creating the Data Volume on the AD server
Right click Disk 2 and
select “New Simple
Volume…”
Click Next:
Creating the Data Volume on the AD server
The drive letter should be
preconfigured to “F”, click Next:
Click Next: Change ...
Installing Active Directory on the AD Server
Jump back into the RDP
Session for the AD Server,
click on Manage then
select...
Installing Active Directory on the AD Server
Notice that the only server displayed is the local
server. Later on we will a...
Installing Active Directory on the AD Server
Since no other features are required for this
server we will select “Next” to...
Installing Active Directory on the AD Server
Server Manager will reboot the server automatically
if desired selected the c...
Installing Active Directory on the AD Server
Server Manager will notify you that there are tasks left to be completed or i...
Installing Active Directory on the AD Server
Select “Add a New Forest”, enter in a Domain
name, for this exercise I use “c...
Installing Active Directory on the AD Server
Ignore the DNS error message and click Next:
Verify the NETBIOS name and clic...
Installing Active Directory on the AD Server
Change the drive path to the F drive for all 3
entries leaving the subfolders...
Installing Active Directory on the AD Server
The prerequisites check will display any issues that might need to be address...
Select Create a Virtual Machine to proceed:
Building the Web Virtual Machine
Select Virtual Machine, and use the “From Gallery” option. Consider the “From Gallery” option as the more
advanced or cust...
Select Windows Server 2012
Datacenter
Building the Web Virtual Machine
Click on the Arrow to proceed.
The Version Release Date is a
great feature in that you can
deploy Windows Server 2012
based on update rollups. So
the Apr...
Provide a DNS name, this name
will be checked to see if it already
exists in the DNS database for
cloudapp.net. In the eve...
We will not be creating an
Availability Set in this session so as
to keep costs down. Availability
Sets are in place to in...
We need to add a disk to the
VMs now, so we will continue
with the Web controller.
Why? Because Azure OS disks
have write ...
Rename the virtual disk by
appending data01 in place of
the random characters which
are normally auto-generated.
Make the ...
Notice there are three
sub sections to the
Virtual Machines area
of the portal.
Instances, Images, and
Disks. We will sele...
Select Virtual Machine, and use the “From Gallery” option. Consider the “From Gallery” option as the more
advanced or cust...
Select Windows Server 2012
Datacenter
Building the File Server Virtual Machine
Click on the Arrow to proceed.
The Version Release Date is a
great feature in that you can
deploy Windows Server 2012
based on update rollups. So
The Mar...
Provide a DNS name, this name
will be checked to see if it already
exists in the DNS database for
cloudapp.net. In the eve...
We need to add a disk to the
VMs now, so we will finish
with the File controller.
Why? Because Azure OS disks
have write c...
Rename the virtual disk by
appending data01 in place of
the random characters which
are normally auto-generated.
Make the ...
PowerShell for Windows Azure
Allows IT Pros to leverage PowerShell in Windows
Azure VMs in the same manner PowerShell is u...
SharePoint PaaS Roles
File Servers Local AD SQL VMs
Leverage the same PowerShell ISE
Import YOUR VMs right into Azure
Understanding Windows Azure’s Active Directory (AD) and PowerShell Tools
Understanding Windows Azure’s Active Directory (AD) and PowerShell Tools
Understanding Windows Azure’s Active Directory (AD) and PowerShell Tools
Upcoming SlideShare
Loading in...5
×

Understanding Windows Azure’s Active Directory (AD) and PowerShell Tools

429

Published on

Understanding Windows Azure’s Active Directory (AD) and PowerShell Tools

Web: www.epcgroup.net | E-mail: contact@epcgroup.net | Phone: (888) 381-9725 | Twitter: @epcgroup
* SharePoint Server 2013, Office 365, Windows Azure, Amazon Web Services (AWS), SharePoint Server 2010 & SharePoint 2007: Review, Architecture Development, Planning, Configuration & Implementations, Upgrades, Global Initiatives, Training, and Post Go-live Support with Extensive Knowledge Transfer | Custom Branding and Responsive Web Design (RWD)
* Health Check & Assessments (Roadmap Preparation to Upgrade to 2013 or 2010) - Including Custom Code & Solution Review
* Enterprise Content Management Systems based on Microsoft SharePoint 2013, Office 365 Hybrid Cloud (Both On-premises and cloud)
* Enterprise Metadata Design, Taxonomy | Retention Schedule Dev | Disposition Workflow, and Records Management | eDiscovery | Microsoft Exchange 2013 Migration \ Integration | Roadmap, Requirements Gathering, Planning, Designing & Performing the Actual Implementation
* Best Practices Consulting on SharePoint 2013, Office 365, SharePoint 2010, 2007 | EPC Group has completed over 900+ initiatives
* Intranet, Knowledge Management, Internet & Extranet-Facing as Well as Mobility (BYOD Roadmap), Cloud, Hybrid, and Cross-Browser | Cross-Platform Solutions for SharePoint 2013 with Proven Past-performance
*Upgrades or Migrations of Existing Deployments or Other LOB Systems (Documentum, LiveLink, FileNet, SAP, etc.)
* Custom Apps, Custom Application Development, Custom Feature, Master Pages, Web Parts, Security Model, Usability (UI) & Workflow Development (Visual Studio 2012, Visual Studio 2013)
* Migration Initiatives to SharePoint 2013 \ Office 365 and those organizations with both on-premises and cloud assets for a SharePoint Hybrid Architecture and Deployment
* Key Performance Indicators, Dashboard & Business Intelligence Reporting Solutions (PerformancePoint 2013, SQL Server 2012 R2, SQL Server 2014, BI, KPIs, PowerPivot, Scorecards, Big Data) and Power BI
* Experts in Global \ Enterprise Infrastructure, Security, Hardware Configuration & Disaster Recovery (Global performance considerations)
* Tailored SharePoint "in the trenches" Training on SharePoint 2013, 2010, 2007 + Office 365
* Support Contracts (Ongoing Support your Organization's 2013, 2010, or 2007 Implementations)
* .NET Development, Custom applications, BizTalk Server experts
* Project Server 2013, 2010, and 2007 Implementations
* SharePoint Roadmap & Governance Development: 6, 12, 18, 24 and 36 months (Steering Committee & Code Review Board Development)
* EPC Group's HybridCloudAdvisor.com - Navigating the Ever Changing World of the Hybrid Cloud to include SLA development & consulting services | advisory | best practices around PaaS, IaaS, SaaS, VDI, Windows Azure, AWS as well as security, compliance & and regulatory

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
429
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
0
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Understanding Windows Azure’s Active Directory (AD) and PowerShell Tools

  1. 1. Understanding Windows Azure’s Active Directory (AD) and PowerShell Tools
  2. 2. If deploying an application requires a developer’s involvement, it’s not IaaS
  3. 3. Broad & deep array of solutions enables customers to use cloud in their own way, at their own pace Microsoft approach: hybrid cloud
  4. 4. SharePoint PaaS Roles File Servers Local AD SQL VMs
  5. 5. openSUSE 12.3 CentOS 6.3 Ubuntu 12.04 Ubuntu 12.10 SUSE Linux Enterprise Server SP2 and more! Windows Server 2012 Datacenter Windows Server 2008 R2 SP1 SQL Server 2012 SP1 (Std or DC) SharePoint Server 2013 Trial BizTalk Server 2013 and more!
  6. 6. VM Size CPU Cores RAM Bandwidth # Data Disks Price Per Hour (GA Price Starting Jun 1st) Price Per Hour (Promotional Price Until May 31st) Extra Small (A0) Shared 768 MB 1 $0.02 (~$15/month) $0.0133 (~$10/month) Small (A1) 1 1.75 GB 100 2 $0.09 (~$67/month) $0.08 (~$60/month) Medium (A2) 2 3.5 GB 200 4 $0.18 (~$134/month) $0.16 (~$119/month) Large (A3) 4 7 GB 400 8 $0.36 (~$268/month) $0.32 (~$238/month) Extra Large (A4) 8 14 GB 800 16 $0.72 (~$536/month) $0.64 (~$476/month) A6 4 28 GB 1,000 8 $1.02 (~$759/month) N/A A7 8 56 GB 2,000 16 $2.04 (~$1,518/month) N/A Virtual Machine Sizes
  7. 7. DC DNS Active Directory Persistent VM Role DC DNS Active Directory Persistent VM Role Persistent VM Role SQL SharePoint
  8. 8. • • • • • • •
  9. 9. Overview of the Portal When you first login to Windows Azure you have a blank slate to work from. For today’s lab we will be utilizing the Virtual Machines and Network sections of Azure.
  10. 10. First we need to register a DNS Server that our lab will utilize. Register the internal IP address that our domain controller VM will be using for Active Directory-integrated Dynamic DNS services. Registering the DNS Server
  11. 11. Provide a name for the DNS server and for this exercise we will use the I.P. address of 10.0.0.4. Be sure that the proper subscription is selected, then click Register DNS Server. Registering the DNS Server
  12. 12. Now we will create a virtual network. This virtual network will serve as a subnet that all of our virtual machines will connect to. Building the Virtual Network
  13. 13. Provide a name for the virtual network, and also the affinity group unless you have already created one in previous labs. Be sure to select the appropriate region as this impacts where your workloads will run geographically. Click on the arrow to proceed. Building the Virtual Network
  14. 14. Select the DNS Server registered in the previous steps. Click on the check to proceed. Building the Virtual Network
  15. 15. We need to select a proper subnet scheme, for this lab we will be choosing 4096 possible addresses. The CIDR equivalent is 20. Click on the arrow to proceed. Building the Virtual Network
  16. 16. Notice that during any action sequences in the Azure Portal the operations will show up at the bottom of the screen explaining the progress. When each process is complete you can clear the operation by clicking on the OK checkmark. Minimize this panel and it can be recalled at any time by clicking on the icon at the bottom of the screen. Operations Status
  17. 17. Building the Storage Account Now we need to create a storage account so that all of our new VMs will share the same container. This makes matters much easier for moving, deprovisioning, and such. Click on Storage, then select New. Click on Quick Create, provide a name for your storage. Geo-Replication has the ability to mirror data to other regions of the U.S. However this costs additional money so for this lab we will uncheck the box, click on the checkmark to finish:
  18. 18. Notice there are three sub sections to the Virtual Machines area of the portal. Instances, Images, and Disks. We will select Create a Virtual Machine to proceed Building the First Virtual Machine
  19. 19. Select Virtual Machine, and use the “From Gallery” option. Consider the “From Gallery” option as the more advanced or custom option for deploying VMs. Building the First Virtual Machine Click on the Create A Virtual Machine checkmark to proceed.
  20. 20. Select Windows Server 2012 Datacenter Building the AD Virtual Machine Click on the Arrow to proceed.
  21. 21. The Version Release Date is a great feature in that you can deploy Windows Server 2012 based on update rollups. So the April 24th selection would include all updates to that point. Choose the most recent version. Provide a machine name, set the Size of the VM to Small, add an admin user account, and password. Note the password must have 8 characters and is utilizing a more secure password(special characters, upper and lower case, numeric) is suggested. Click on the arrow to proceed. Building the AD Virtual Machine
  22. 22. Provide a DNS name, this name will be checked to see if it already exists in the DNS database for cloudapp.net. In the event the name of the VM is already in user append a character or modify the DNS name. Select the previously created Storage Account. Select the Virtual Network we previously set up. Check that the subnet looks accurate. Click on the arrow to proceed. Building the AD Virtual Machine
  23. 23. We will not be creating an Availability Set in this session so as to keep costs down. Availability Sets are in place to insure that VMs are available in other regions geographically in the event of an outage. Ensure the “ENABLE POWERSHELL REMOTING box is checked. Click on the Check to complete the creation of the VM. Building the AD Virtual Machine
  24. 24. Scroll down on the Status screen for the newly created VM. Check to make sure the IP address is 10.0.0.4(this was automatically assigned to the VM.) Notice that the Size is set to Small granting us 1.75 GB of Memory. Building the AD Virtual Machine
  25. 25. We need to add a disk to the VMs now, so we will start with the AD controller. Why? Because Azure OS disks have write cache enabled, so in the event of an outage some data might get lost. By adding a new empty data disk, these disks are safe from data loss as the data is written directly to the virtual disk. From the summary page, click on Attach and then select “Attach Empty Disk” Adding a Virtual Disk to the AD Machine
  26. 26. Rename the virtual disk by appending data01 in place of the random characters which are normally auto-generated. Make the disk 10GB in size. Select “None” for the Host Cache Preference Click the Check to complete the disk addition. Adding a Virtual Disk to the AD Machine
  27. 27. Connecting to the AD server via RDP Now we need to connect to the AD server via RDP to complete the disk addition and kick off the Active Directory role installation. Click on the virtual machine and then click on “Connect”
  28. 28. Connecting to the AD server via RDP A RDP file will display at the bottom of the screen. This RDP connection comes preconfigured with the randomized TCPIP port which is now required for security purposes. Click on Open
  29. 29. Connecting to the AD server via RDP Select the checkbox to disable this warning if desired. Click “Connect”: Enter the admin credentials which were supplied during the VM creation process and then click OK: Disable the warning if so desired and click “Yes”:
  30. 30. Creating the Data Volume on the AD server Once inside Server Manager, go to Tools then select Computer Management. Inside Computer Management select Disk Management. An “Initialize Disk” window will pop up, make sure the new disk is selected and click OK.
  31. 31. Creating the Data Volume on the AD server Right click Disk 2 and select “New Simple Volume…” Click Next:
  32. 32. Creating the Data Volume on the AD server The drive letter should be preconfigured to “F”, click Next: Click Next: Change the Volume Label to DATA and click Next: Click Finish:
  33. 33. Installing Active Directory on the AD Server Jump back into the RDP Session for the AD Server, click on Manage then select “Add Roles and Features”: Click Next: Click Next:
  34. 34. Installing Active Directory on the AD Server Notice that the only server displayed is the local server. Later on we will add other servers to manage in this same Server Manager console. Make sure the server is selected and click Next. Select Active Directory Domain Services, the subsequent pop-up window tells us that the management tools will also be installed, click “Add Features” then click “Next”:
  35. 35. Installing Active Directory on the AD Server Since no other features are required for this server we will select “Next” to continue: Now we click on “Next” to continue through the Active Directory Domain Services configuration:
  36. 36. Installing Active Directory on the AD Server Server Manager will reboot the server automatically if desired selected the checkbox, and click on Yes to the pop-up window. Next click on Install: Be sure that the installation completes then click on Close:
  37. 37. Installing Active Directory on the AD Server Server Manager will notify you that there are tasks left to be completed or if errors have occurred via the Flag at the top of the screen. Click on the flag then notice it is prompting us to promote the server to a domain controller. Since DCPromo has been deprecated in Server 2012 we will use this option to move forward:
  38. 38. Installing Active Directory on the AD Server Select “Add a New Forest”, enter in a Domain name, for this exercise I use “contoso.com”. Click Next: Enter a Password and then click Next:
  39. 39. Installing Active Directory on the AD Server Ignore the DNS error message and click Next: Verify the NETBIOS name and click Next:
  40. 40. Installing Active Directory on the AD Server Change the drive path to the F drive for all 3 entries leaving the subfolders path intact. Click Next: Notice that you can view the PowerShell script for this installation by clicking “View script”, otherwise click Next:
  41. 41. Installing Active Directory on the AD Server The prerequisites check will display any issues that might need to be addressed. The messages you will see can be ignored during this installation. DNS will be installed automatically. Click Install: The server will automatically reboot when the operation is completed.
  42. 42. Select Create a Virtual Machine to proceed: Building the Web Virtual Machine
  43. 43. Select Virtual Machine, and use the “From Gallery” option. Consider the “From Gallery” option as the more advanced or custom option for deploying VMs. Building the Web Virtual Machine Click on the Create A Virtual Machine checkmark to proceed.
  44. 44. Select Windows Server 2012 Datacenter Building the Web Virtual Machine Click on the Arrow to proceed.
  45. 45. The Version Release Date is a great feature in that you can deploy Windows Server 2012 based on update rollups. So the April 24th selection would include all updates to that point. Choose the most recent version. Provide a machine name (xxxxlabweb01), set the Size to Small, choose an admin user account, and password. Note the password must have 8 characters and is utilizing a more secure password(special characters, upper and lower case, numeric) is suggested. Click on the arrow to proceed. Building the Web Virtual Machine
  46. 46. Provide a DNS name, this name will be checked to see if it already exists in the DNS database for cloudapp.net. In the event the name of the VM is already in user append a character or modify the DNS name. Select the previously created Storage Account. Select the Virtual Network we previously set up. Check that the subnet looks accurate. Click on the arrow to proceed. Building the Web Virtual Machine
  47. 47. We will not be creating an Availability Set in this session so as to keep costs down. Availability Sets are in place to insure that VMs are available in other regions geographically in the event of an outage. Ensure the “ENABLE POWERSHELL REMOTING box is checked. Click on the Check to complete the creation of the VM. Building the Web Virtual Machine
  48. 48. We need to add a disk to the VMs now, so we will continue with the Web controller. Why? Because Azure OS disks have write cache enabled, so in the event of an outage some data might get lost. By adding a new empty data disk, these disks are safe from data loss as the data is written directly to the virtual disk. From the summary page, click on Attach and then select “Attach Empty Disk” Adding a Virtual Disk to the Web Machine
  49. 49. Rename the virtual disk by appending data01 in place of the random characters which are normally auto-generated. Make the disk 10GB in size. Select “None” for the Host Cache Preference Click the Check to complete the disk addition. Adding a Virtual Disk to the Web Machine
  50. 50. Notice there are three sub sections to the Virtual Machines area of the portal. Instances, Images, and Disks. We will select Create a Virtual Machine to proceed Building the File Server Virtual Machine
  51. 51. Select Virtual Machine, and use the “From Gallery” option. Consider the “From Gallery” option as the more advanced or custom option for deploying VMs. Building the File Server Virtual Machine Click on the Create A Virtual Machine checkmark to proceed.
  52. 52. Select Windows Server 2012 Datacenter Building the File Server Virtual Machine Click on the Arrow to proceed.
  53. 53. The Version Release Date is a great feature in that you can deploy Windows Server 2012 based on update rollups. So The March 26th selection would include all updates to that point. Choose the most recent version. Provide a machine name (xxxxxlabfile01), user account, and password. Note the password must have 8 characters and is utilizing a more secure password(special characters, upper and lower case, numeric) is suggested. Set the size to Small. Click on the arrow to proceed. Building the File Server Virtual Machine
  54. 54. Provide a DNS name, this name will be checked to see if it already exists in the DNS database for cloudapp.net. In the event the name of the VM is already in user append a character or modify the DNS name. Select the previously created Storage Account. Select the Virtual Network we previously set up. Check that the subnet looks accurate. Click on the arrow to proceed. Building the File Server Virtual Machine
  55. 55. We need to add a disk to the VMs now, so we will finish with the File controller. Why? Because Azure OS disks have write cache enabled, so in the event of an outage some data might get lost. By adding a new empty data disk, these disks are safe from data loss as the data is written directly to the virtual disk. From the summary page, click on Attach and then select “Attach Empty Disk” Adding a Virtual Disk to the File Machine
  56. 56. Rename the virtual disk by appending data01 in place of the random characters which are normally auto-generated. Make the disk 10GB in size. Select “None” for the Host Cache Preference Click the Check to complete the disk addition. Adding a Virtual Disk to the File Machine
  57. 57. PowerShell for Windows Azure Allows IT Pros to leverage PowerShell in Windows Azure VMs in the same manner PowerShell is used locally Requires installation of the Windows Azure PowerShell Module and configuration with your Pay-as-you-Go account Allows scripted administration of Windows Azure VMs and many other features of Windows Server and Windows Azure
  58. 58. SharePoint PaaS Roles File Servers Local AD SQL VMs
  59. 59. Leverage the same PowerShell ISE
  60. 60. Import YOUR VMs right into Azure

×