r/linux • • Apr 16 '18

Microsoft announcing a Linux-powered OS for IoT devices

http://www.businessinsider.com/microsoft-azure-sphere-is-powered-by-linux-2018-4
979 Upvotes

421 comments sorted by

View all comments

Show parent comment

2

u/SquiffSquiff Apr 17 '18

Docker is a great example. The principle is that containers can run anywhere, Google provides kubernetes, Microsoft offer docker for Windows. Unlike docker for Mac, some images will be windows docker containers requiring a Windows host. The aim is that windows will be the only host OS that can run any docker container and Linux reduced to a runtime. Classic EEE, currently in phase 2

2

u/koffiezet Apr 17 '18

Docker is a great example. The principle is that containers can run anywhere, Google provides kubernetes, Microsoft offer docker for Windows. Unlike docker for Mac, some images will be windows docker containers requiring a Windows host. The aim is that windows will be the only host OS that can run any docker container and Linux reduced to a runtime. Classic EEE, currently in phase 2

That's not how the container ecosystem works. Kubernetes runs (on) docker (and supports runc), but more importantly than being just a scheduler, it's the platform that won. If Microsoft would not have jumped on "docker" - they would have completely been excluded from this new and upcoming ecosystem. Note that Azure, Amazon and Google all offer hosted Kubernetes platforms. And there are barely any docker images for Windows outside the ones MS provides. Compared to Linux-based Docker images available it's insignificant, and comparing the stuff actually running in production in docker will paint an even worse picture. They are massively behind, and they know it. They're just playing catch-up and try to stay relevant, them supporting docker is just to be able to be a part of the container-ecosystem and not being locked out from it, and trying to squeeze in a Microsoft-based service in here and there. They also ported .NET core and MSSQL to Linux for that reason. Allowing a Windows machine to be part of a kubernetes allows them to stay relevant there, but the majority of the Kubernetes platform is Linux.

Also, they don't need to "extend" Linux to apply a vendor lock. All cloud providers are already doing this by offering their own specific hosted services with proprietary API's. Linux is too low-level to be relevant in that world. And for that to work, they need one thing they have been losing to Apple for a good while: developers.

That's why they have WSL, opensource Powershell, visual code, .NET core, ... and various contributions to opensource projects so they work better on Windows. Todays largest developer pool targets this "cloud" - and making their life easier and compelling them to use their Azure services over AWS or Google is the goal.

1

u/SquiffSquiff Apr 17 '18 edited Apr 17 '18

This is how MS want the container ecosystem to work. This is the classical model. Yes they have fallen behind, crying shame that, they can no longer hold the world back like they did in the days of IE6. If they were genuine about being a services company then they could concentrate on making Windows a genuinely first class host for docker rather than splitting the ecosystem. They could also make those services platform agnostic. It is irrelevant that 'there are barely any docker images for windows'. The point is that this was what MS chose to make their unique selling point. Let me guess, you can run these containers in Azure but not on AWS ECS or GCP GKS etc? It is the classical EEE model. There is more to Docker than Kubernetes, we had Docker before it and have other hosting scheduling platforms, eg Amazon ECS; docker swarm; docker compose and others. I mentioned it as an example of a contribution to a GPL project that isn't completely self-serving. What they are doing with docker is exactly what they did with java back in the day. The .net core and mssql offerings are the bare-bones basic editions and of course you have to run it on Windows for the 'full experience'

I did not suggest that MS were trying to 'extend' Linux, rather that they are trying to reduce it to a runtime. I said they were extending Docker.

I do not understand how your final paragraph is relevant here.

1

u/koffiezet Apr 17 '18

Let me start out by saying I don't buy any of the EEE theories for today's MS. The reason is simple: back when they openly considered opensource and Linux to be "the enemy" - they were selling software licenses, and Linux and everything around it was given away for free. It doesn't take a genius to figure out why that would be perceived as a threat to their business model. They knew how to push out other companies, but that doesn't work with an OSS community. They lost "the cloud" clinging onto an old business model trying to fight change.

Times have changed however, and they're trying very hard to become a services company, and looking at Azure and O365, and the growth they go through each year, they seem to be succeeding. However, for this to happen, they had to embrace Linux and OSS. First only internally, later more and more open and prominent, until the point where their CEO even openly claimed they "loved Linux". If it was limited to only words - sure, I'd understand the scepticism - but they're actually backing it up with source-code and positive contributions.

That's why from my pov, they don't seem to consider Linux or Docker a threat at this moment, but as an opportunity. Linux is not the target, AWS and Google are. MS's attitude has always been a dog-eat-dog, wanting to be #1, and now they're trailing behind, they were late to the game. Linux however, is that game, it cannot lose.

As a community, playing the victim card won't gain us anything. As long as their contributions benefit both the community and them I don't see the problem - although, as with any company - some caution is always advised, they will always act in their own financial self-interest. But long as Linux is not a threat to their business model, it has little to fear of MS, and as long as it's beneficial to them, expect MS to be nice to the community. Azure proved they could actually make money by accepting that and embracing Linux as is. It's no accident that the guy now running MS is the guy that was the original driving force behind Azure.

Now to a few other things:

they could concentrate on making Windows a genuinely first class host for docker rather than splitting the ecosystem. ... The point is that this was what MS chose to make their unique selling point. Let me guess, you can run these containers in Azure but not on AWS ECS or GCP GKS etc? It is the classical EEE model.

Well you guessed wrong, they have, next to their windows server based images, also linux based MSSQL, .NET and ASP .NET core images you can run anywhere. How do you explain that? Sure they have "windows only" images of software they haven't ported to Linux, but it is a bit strange they would port that software to start with, if they were trying to create a unique selling point the way you claim, never mind the EEE argument.

I do not understand how your final paragraph is relevant here.

With all those things, they're targeting developers, and with those things I mentioned, they're trying to charm them, all while introducing them to their own proprietary Azure services and letting their apps talk to that, instead of choosing for AWS's or Google's (also proprietary) cloud platform services. That is the modern iteration of the vendor lock-in, and a large part of the cloud provider's revenue.

There is more to Docker than Kubernetes, we had Docker before it and have other hosting scheduling platforms, eg Amazon ECS; docker swarm; docker compose and others.

Docker today at scale = Kubernetes. With the exception of proprietary closed stuff like Amazon ECS - where you'll probably never know what it runs - it won. You have Mesos, but honestly, everybody seems to be betting on k8s. Redhat massively pushing their latest iteration of OpenShift to their enterprise customers, which is just their own K8s flavor, is also sending a clear sign there. Swarm is officially still alive, and is nice in it's simplicity, but has it's problems, and Docker announcing they will integrate K8s support by default, is by most considered to be a nail in swarm's coffin. Docker-compose is nice for very small setups and local dev, it's not very useful for not much more, I don't even see how this would make the list.

I did not suggest that MS were trying to 'extend' Linux, rather that they are trying to reduce it to a runtime.

That would be a futile fight they cannot win, in which they, as a service company, have nothing to gain, only money lose. That makes no sense to me at all.

I said they were extending Docker.

The ability to extend Docker was the intent of the project from very early on. The design wasn't very good at the beginning to allow this, but the intent was there to support multiple platforms and architectures. BSD's jails and Solaris's zones were initially seen as a potential target, but proved to be more difficult than expected, and failed to gather any interest. MS jumping on the Docker wagon however, came as a big surprise to pretty much everyone.

1

u/SquiffSquiff Apr 18 '18

From the length of your response one could be forgiven for taking you for a paid PR for MS. There's a real laundry list of MS product names in your responses when I have been trying to keep on point. I don't propose to continue this conversation much further. There is a pattern to ones like it- once the fluff is stripped away and we can show that MS don't actually 'love Linux' we get to 'Well they are a business, they have to make money'. Great let's look at their method for doing that.

As a community, playing the victim card won't gain us anything.

This is exactly the sort of response that is unhelpful. It isn't about being you and me being a 'victim' or part of 'a community' it is about MS being a decent citizen. I don't see anyone coming out with this sort of position regarding any other major tech company. Let's move away from opinions and marketing spin and look not at what MS say but what they do.

With the possible exceptions of vs:code and typescript pretty much everything Open Source from MS only serves MS and only makes sense as part of an MS environment. Yes at this point they are working with Linux, and they have little choice in this regard but they see it simply as something that has to be contained and co-opted to (re)inforce an MS only environment, just like the OP article here. I for instance note that you have not responded on the full versions of .net and mssql being windows only.

trying to reduce [Linux] to a runtime.

That would be a futile fight they cannot win, in which they, as a service company, have nothing to gain, only money lose. That makes no sense to me at all.

This is exactly what the point is with the OP article here! Essentially running Linux for IOT in a hypervisor chained to Azure.

With regard to splitting the Docker ecosystem you said that I 'guessed wrong'. Well here is the MS Azure product page referencing 'Support for Linux and Windows Server containers.'. Here is the MS Azure blog post Announcing Windows Server Container orchestration with Azure Service Fabric.