Live data from Hacker News

Linux is Most Used OS in Microsoft Azure – over 50 percent of VM cores

build5nines.com

341–348 of 348 posts

Re: Linux is Most Used OS in Microsoft Azure – over 50 percent of VM cores

#341

Earlier quoted context omitted.

How hard was it to maintain that nginx only Windows server compared to doing the same on Linux?

Not much. Standard nginx commands work in cmd (like "nginx -t"), and most of the work I did was kicking out one of the production servers when new deployment was in order and letting it back in to serve requests after it finished. On the bad side, I just couldn't be bothered to create a script that would do that automatically, which resulted in one or two downtimes when I accidentally just tested the changes instead…

One thing I wonder though, is that whether Windows has monitoring tools like Monit, so that incidents are automatically detected and reported.

Re: Linux is Most Used OS in Microsoft Azure – over 50 percent of VM cores

#342

I'm interested to know what the majority of the Windows machines are used for. I can't think it'd be anything other than 'big enterprise' applications, where there seems to be a lot of bespoke stuff built specifically for Windows Server (e.g. finance software, healthcare systems, marriage registration, taxi licensing, nursing home management, etc). Unfortunately this sort of stuff is fairly rare to be available in th…

Identity management with Active Directory is probably the biggest plus of a Windows environment; there's a saying that goes something like "in the end, every identity system ends up trying to be AD". Sure, you can run OpenLDAP on Linux and effectively get a domain controller, but the ready-to-go nature of AD on Windows Server is very compelling, especially for larger businesses.

Don't use openldap, use FreeIPA (aka RedHat Identity Management). It covers most of AD's functions except GPOs, such as kerberos, HBAC, PKI, 2FA, HA, joining a client to a domain and so on. Nice GUI, decent CLI, installer takes care of everything on the client.

Re: Linux is Most Used OS in Microsoft Azure – over 50 percent of VM cores

#343

I found it funny when in Azure you create a resource and you can pick between Windows and Linux for the host and Windows is the default option... like bro, I’m not gonna run my shit on Windows walled and heavily licensed garden. What if tomorrow I have to migrate my stuff somewhere else. Are you crazy? P.S: I know there are legitimate reasons for running something on Windows but for any generic project that shouldn’t…

I've been working with Linux and BSD for so long, I don't even know of any Microsoft-only cloud applications. I'm completely *nix bubbled. I cannot imagine cloud programming on windows, probably because I only write user-space native apps. Is there a Puppet or Ansible for windows? I'd be completely lost.

Yes, there are things like Puppet and Ansible for Windows. Two good examples are Puppet and Ansible.

https://puppet.com/use-cases/windows-infrastructure-automati...

https://www.ansible.com/integrations/infrastructure/windows

There's also Desired State Configuration

https://docs.microsoft.com/en-us/powershell/scripting/dsc/ov...

There's also Group Policy.

https://en.wikipedia.org/wiki/Group_Policy

There's probably a thousand different ways to automatically deploy and manage Windows servers. Its been a thing since at least NT.

Re: Linux is Most Used OS in Microsoft Azure – over 50 percent of VM cores

#344

Earlier quoted context omitted.

So it exists, but is the usability and functionality nearly equivalent? And the thing is that it also involves third-party software tools.

Nearly equivalent to what? It can do everything that the GUI can, if that's what you mean. Some things are obviously going to be less convenient, but that's just the nature of CLI. And what third party tools does that involve?

What I mean is that oftentimes on Windows, I use non-OS tools or applications which are not made with the expectation that you will want to script them or configure them via text interface.

Re: Linux is Most Used OS in Microsoft Azure – over 50 percent of VM cores

#345

Earlier quoted context omitted.

I'm one "visual studio Dev" I have also build in Go, nodejs, Php, RoR. But VS is truelly the best IDE experience I have witnessed. Database changes are automatically migrated and deployed using entity framework fyi. The big deployment button changes the connection string per deployment, deploys with feature flags directly and automatically migrates the db to the latest version

It's kind of funny to see the disdain for VS based deployment here, while all the current rage right now is declarative deployment systems. Something VS based development, build and deployment based workflows have been doing for over a decade through the largely Web. .config files and .csproj files.

Indeed, it's really powerfull.

https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy...

Re: Linux is Most Used OS in Microsoft Azure – over 50 percent of VM cores

#346

Earlier quoted context omitted.

Not if you stick with Suse (OpenSUSE) or RedHat (centOS).

Gee, I need to change a setting on $APP. Wait, is that a config file in /etc/$app/? Or did they put that in /var/lib/$app/? Huh, can't find the setting I'm looking for there, guess I better check /etc/sysconfig/$app... Usually, developers are sane and put things in /etc. However, there are a number of very common applications which have configurations strewn all over the place. Bonus points for apps which have even a…

Rpm will tell you where installed files are:

rpm -ql

Re: Linux is Most Used OS in Microsoft Azure – over 50 percent of VM cores

#347

Earlier quoted context omitted.

Yes. I know Windows inside and out. I can easily navigate the UI. It does the job I need it to. I don’t want to spend my time inefficiently by toiling around in a Linux console due to some strange affinity towards Linux. I have a job to do and Windows is an effective tool I know and can use to execute the job.

Until an update trashes your computer that is. Or you end up spending your time inefficiently by toiling around google results for some weird issue that popped up after a forced update.

Linux updates also cause issues.

Re: Linux is Most Used OS in Microsoft Azure – over 50 percent of VM cores

#348
post #94

Earlier quoted context omitted.

Most Microsoft technology is completely free for non professionals. PC came with a Windows CD or the OS was per-installed already. You could install IIS (ASP server, l.limited to 5 users) from the Windows CD. I used the classic notepad.exe to code. It was kinda standard to buy the Office package, which came with a file based database. There where plenty of free tutorials on the web, and IIS also had some examples. An…

Windows license is still $199 for us Mac users ;) And even if you're buys a laptop, then you must pay extra for the "pro" version of Windows to actually install IIS. (Last time I tried installing IIS on Win7Home - it just told me that my OS wasn't supported)

I have IIS on my Windows 10 Home Surface 6. I have encountered no problems at all; I did not buy it with this in mind, but now it's doing all my dev work. Biggest problem is that Teams uses 600 MB to sit idle so I never have any memory to do anything interesting.
Post reply on HN