Skip to main content

Azure AD and AWS Managed Microsoft AD side-by-side


In my previous post, I’ve made a subjective comparison between AWS Cognito and Azure AD. I took into consideration only the features that I was directly interested in. 
In this post, I want to summarise what are the main differences between Azure AD and AWS Managed Microsoft AD. Why? Because on AWS, the documentation related to what are features of AD available inside AWS Managed Microsoft AD is limited, and you cannot find a clear statement. Some of the cases I had to spin-up a service instance and check manually if a feature is available or not.

First of all remember that the Azure AD is the last version of AD that Microsoft has, full-featured. In comparison, AWS is offering a ‘legacy’ instance, with features that are available inside the on-premises AD deployments. Because of this, the features available inside AWS Managed Microsoft AD is just a subset of the ones available inside Azure AD.
The question that we need to answer is WHICH ARE THE ONES

The below tables covers the most important features of AD and some differences between them. You might notice that in some cases Azure AD does not support the full features. This happens because some legacy part of on-premises AD versions were removed or are not suitable for an IAM solution hosted inside the cloud.
Item
Azure AD
AWS Managed Microsoft AD
Price model
No. of DO (Directory Objects)
No. of DC (Domain Controllers)
Custom DNS
Yes
Yes
Snapshots
No, because it is a SaaS
Yes
No of managed forests
1 for each Azure AD tenant
10 for each account
Trusts
No
Limited
Schema extensions
No
Limited
Log access to DC
No (because it is a SaaS)
Yes
Max no. of DC
SaaS – not relevant
20 for each directory
Connection with on-premises
VNET only
Direct Connect or VPN
LDAPS support
Yes
Yes
Kerberos support
Yes
Yes
LDAPS
Read-only, Write available only for managed domain
Read and Write (~not easy)
LDAP CS
All (AES 128 & 265, RC4, 3DES)
All (AES 128 & 265, RC4, 3DES)
Kerberos Encryption
All (AES 128 & 265, RC4, 3DES)
All (AES 128 & 265, RC4, 3DES)
LDAP Protocol
TLS 1.0, TLS 1.2 (SSLv3 not supported anymore)
SSLv3, TLS 1.0, TLS 1.2
Smart Card
No, because of SaaS and limitation of integration with on-premises solutions
RADIUS only
Directory Synchronization
Yes
No
Password policies
Yes
Yes
NTLM
Yes, NTLM v1 and v2
Yes, NTLM v1 and v2
Kerberos Delegation
Resource-based
Resource and Account-based
Managed Service
Yes
No
Secure deployments
Yes
Partial
Domain administrator privileges
No
Partial
Domain join
No
Yes
Schema extensions
Not directly
Yes
Group policy
Yes
Yes
Graph API
Yes
No

What is important to remember is that when you use Azure AD, you are using managed services, full-featured. In comparison when using the AWS Managed Microsoft AD you receive a service that has behind a scene EC2s with Windows Server AD configured on them. The services is managed as a set of VMs, not as a fully managed service. Based on the documentation that I was able to find, it seems that AWS is deploying the service using Microsoft Windows Server 2016.

AWS Managed Microsoft AD is a good option when your solution is running inside AWS, and you don’t have in plans to migrate to Office365 or to use Azure. Even so, once you start to use the AWS Managed Microsoft AD, you can migrate to Azure AD or do a federation with it.

Comments

Popular posts from this blog

Windows Docker Containers can make WIN32 API calls, use COM and ASP.NET WebForms

After the last post , I received two interesting questions related to Docker and Windows. People were interested if we do Win32 API calls from a Docker container and if there is support for COM. WIN32 Support To test calls to WIN32 API, let’s try to populate SYSTEM_INFO class. [StructLayout(LayoutKind.Sequential)] public struct SYSTEM_INFO { public uint dwOemId; public uint dwPageSize; public uint lpMinimumApplicationAddress; public uint lpMaximumApplicationAddress; public uint dwActiveProcessorMask; public uint dwNumberOfProcessors; public uint dwProcessorType; public uint dwAllocationGranularity; public uint dwProcessorLevel; public uint dwProcessorRevision; } ... [DllImport("kernel32")] static extern void GetSystemInfo(ref SYSTEM_INFO pSI); ... SYSTEM_INFO pSI = new SYSTEM_INFO(

Azure AD and AWS Cognito side-by-side

In the last few weeks, I was involved in multiple opportunities on Microsoft Azure and Amazon, where we had to analyse AWS Cognito, Azure AD and other solutions that are available on the market. I decided to consolidate in one post all features and differences that I identified for both of them that we should need to take into account. Take into account that Azure AD is an identity and access management services well integrated with Microsoft stack. In comparison, AWS Cognito is just a user sign-up, sign-in and access control and nothing more. The focus is not on the main features, is more on small things that can make a difference when you want to decide where we want to store and manage our users.  This information might be useful in the future when we need to decide where we want to keep and manage our users.  Feature Azure AD (B2C, B2C) AWS Cognito Access token lifetime Default 1h – the value is configurable 1h – cannot be modified

What to do when you hit the throughput limits of Azure Storage (Blobs)

In this post we will talk about how we can detect when we hit a throughput limit of Azure Storage and what we can do in that moment. Context If we take a look on Scalability Targets of Azure Storage ( https://azure.microsoft.com/en-us/documentation/articles/storage-scalability-targets/ ) we will observe that the limits are prety high. But, based on our business logic we can end up at this limits. If you create a system that is hitted by a high number of device, you can hit easily the total number of requests rate that can be done on a Storage Account. This limits on Azure is 20.000 IOPS (entities or messages per second) where (and this is very important) the size of the request is 1KB. Normally, if you make a load tests where 20.000 clients will hit different blobs storages from the same Azure Storage Account, this limits can be reached. How we can detect this problem? From client, we can detect that this limits was reached based on the HTTP error code that is returned by HTTP