I recently changed this blog to rossinthecloud.com from rossmc.co.uk/rossmc.net to have achieve more consistency across my blog and other social media platforms. After this change I wanted to redirect any traffic to the root of my old domains to this one.
There are a number of Azure services which can help us here, for example the fantastic Azure Front Door. But I wanted to look at not necessarily the “best” approach to this but one which is “good enough” and the cheapest option!
In this post I look at using Azure Functions to create a simple redirect without even writing a line of code!
A look into Azure Management Groups as I recently reorganised my own personal subscriptions into a new management group and wanted to share a quick example here.
If you or your organisation have multiple Azure subscriptions and aren’t using management groups, I would recommend a look into this.
If you have a scenario where you have some database or virtual machine files in Azure Storage which you no longer require in your live environment but need to retain in archive, you will probably find that you are unable to place these files into the archive tier in Azure.
This is because these files are typically held in page blobs. Page blobs are optimised for random IO (databases, VM’s) whereas block blobs are optimised for sequential IO (text files, images, videos, logs etc).
Most of the cost saving options like archive tier, blob level tiering etc are only available for block blobs and not for page blobs.
To work around this I started exploring whether it was possible to convert from page blob to block blob. None of the common tools such as AZCopy or Azure Storage Explorer appear to offer this functionality but we can accomplish this by using the hidden gem from Microsoft that is Blobporter.
In this post we will look at using Blobporter to convert page blob data to block blob and placing this data in the Azure Storage archive tier.
Using the ‘next generation’ OneDrive client and Windows 10, it is possible to automatically sync SharePoint team site libraries. This can be configured either via group policy or Intune depending on which platform you are using to manage your policies.
There are a number of use cases where you may want to use this functionality, for example with document templates. If you have a central set of document templates in SharePoint these can then be automatically synced to Windows 10 devices.
In the example policy we will look at configuring a library to sync automatically using OneDrive group policies.
I am rebuilding my home lab (for the millionith time - but that’s the point right!)
Quick post around deploying a new Active Directory forest/domain and domain controller using Server Core… This is not new but I still speak with a lot of people who have never deployed or used Server Core!
1.. Deploy your VM using your chosen Windows Server OS image - I am deploying Windows Server, version 20H2 which only comes as Core.
2.. Once you have installed you will be prompted on first boot to set a local administrator password. Set your local admin password.
3.. Run sconfig at the command prompt.
4.. Using sconfig, configure your static IP address and network settings that you will need for your domain controller. Also set your chosen name for the server and reboot.
5.. Once you’ve rebooted, login and run powershell at the command prompt.
6.. First install Active Directory Domain services
7.. New configure a brand new Active Directory forest -
Install-ADDSForest -DomainName NAMEOFYOURCHOSENDOMAIN
8.. When prompted, enter the safe mode administrator password - this is also known as the Directory Services Restore Mode (DSRM) password.
9.. Once the install process completes, you’ll be prompted for a restart, and after restarting you’ll have the first Domain Controller for a new forest.
To manage your domain controller you can use a Windows 10 desktop with the RSAT tools.