Do Azure Kubernetes nodes share clock / NTP server? - azure

Do machines in Azure's Kubernetes service share the same NTP server(s) and, therefore, keep the same time? I'm looking for accuracy to the second or better (ms, etc.)
This is regarding AKS, but I know they have other Kubernetes offerings too.

For your issue, I read documents and find one that I think it's interesting and particular to you. Azure VM is based on Hyper-V and they synchronize time from the host where they are. You can get the details from this document: Accurate Time for Windows Server 2016.

Related

Azure WebService - MySQL - Redis configuration

I am creating a WebService with C# Core 3.0 that is using MySQL and Redis, but I am not so familiar with Azure so I need advice about configuring everything.
I had MySQL hosted on AWS, but I am transferring it to Azure because I think that performance (speed) will be better on Azure because they will be on same data center. Right?
But, on my MySQL page Host is like '*.mysql.database.azure.com'. That means that every connection will go out of Azure, and than come back? I don't have some local IP for connection? Same question for Redis.
Do I need to configure some local network on Azure and will that impact speed on the app? And, is MySQL a good choice for Azure or should I try with another one?
I am just reading about Azure Virtual Networks. But as I understand it, VN's sole purpose is to isolate elements from the outside network?
You will get better performance if your my-sql instance and your app service are in the same region (basically the same data centre).
The connection string is mysql.database.azure.com, but remember the connection will be a TCP/IP connection, so the DNS lookup will realise that this address mysql.database.azure.com is in the same region (same data center). Then the TCP/IP connection will go to an internal IP.
You could use tcpping in your app service's kudo console to try this and see the result.
The basic rule is that you should group your app and database in the same region for better performance and cheaper cost (as Microsoft doesn't charge traffic within the same region).
Azure Virtual network is for a different purpose. For example, if you have some on premise database servers and you want to call these servers from azure, then VM could be helpful. But for the scenario you described, it is not really needed.
The company I work for has Microsoft azure support included, and if you or your company have support contract with them, you can raise questions directly to them and get really quick responses.

Most cost effective way to host mutiple websites on Azure

I'm new to azure and I have a trial account, but the credits are only available for 30 days. I think their previous offer with monthly credits was much better, it gives you more chance to get up and running efficiently and see what works best.
Anyway I have 4 websites, three of which require SQL Server dB. I'm trying to figure out if I can use Azure in a cheap and cost effective way.
All require custom domain and SSL, which means the B1 App Service plan is a minimum requirement, costing about £40-£50 per site. This is already completely unaffordable for me, for small, basic sites. I think it's ridiculous that a website with custom domain and SSL is so expensive on Azure. Maybe Azure is not for me.
I read about using Clouflare on the Shared App Service plan, but I'm not too keen on this solution. I've tried Clouflare in the past and had some issues with performance. Also the free version SSL only encrypts users to Cloudflare. So I'm looking for a solution without Clouflare.
I'm thinking to use an Azure VM but need some suggestions.
Which VM would be a good option for 4 websites ranging from a couple hundred to a couple thousand visits per month?
Can a B1S VM handle a website with dB?
Do I have SQL Server installed on the VM or do I connect to a managed SQL database?
Do I require a SSL certificate for each site or only one certificate for the VM?
Do I require any paid service link CI or anything to deploy my asp.net core sites to the VM?
Is it worth the effort managing the VM?
Any advice appreciated. Thanks
Firstly, you are charged with Azure App Service Plan, which is a platform for hosting your apps. You can deploy many web apps in one App Service Plan, for example: B1. But, be careful with the workloads. If your application is a big one, the B1 plan would be exhausted to host 4.
Secondly, you can try to use VM. Since the visit amount is small, I think the B series VM can handle the requests. And if there is not many db operations, you can install SQl server in the VM.
Thirdly, if all your website are under one domain. For example: web1.domain.com , web2.domain.com, web3.domain.com, web4.domain.com. Then you need to apply for a wildcard certificate *.domain.com. Or you can apply for 4 separate certificate.
Another solution for certificate is to deploy your web apps under a domain: www.domain.com/web1....Then you just need one certificate.
Finally, you can change the VM size if the performance is not good.

Azure - I keep losing RDP connectivity to my VMs every now and then

I've been evaluating Azure for a couple months. I'm using it via my MSDN subscription. The intention is to determine if my development team should migrate from VMWare to Azure machines.
I managed to setup multiple VMs and work on them successfully. I tend to shut down all VMs as often as I can in order to not use up my monthly resource allowance.
Very often I lose RDP connectivity to all my VMs. Sometimes it helps to resize the VM but not always. I've tried all steps included on the link below, for instance.
What I am missing?
https://azure.microsoft.com/pl-pl/documentation/articles/virtual-machines-troubleshoot-remote-desktop-connections/
Thx guys (and sorry). It was indeed due to network issues (DNS fails on my home internet provider from time to time).

VM migration on Azure

I wish to run a web server on Azure. My concern is whether Azure migrates virtual instances (VMs) between physical servers for performance optimization purposes and if so does it provide some kind of guarantees on the performance hit that migration incurs?
For VM performance and availability, you can use Availability Sets to be covered by the 99.95% SLA. This guarantee works due to the use of Fault Domains and Upgrade/Update Domains across physical machines spread across server racks.
More info here: https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-manage-availability/
If you just want to run a web app without having to worry about the VM, you can also use Azure's PaaS offering (just endpoint access) instead of IaaS (full VM access).
More info here: http://azure.microsoft.com/services/app-service/web/
Hope that helps!

How can I make Azure WebRole as NTP Server?

Do you know the way how to set azure webrole as NTP Server ?
I'd like to synchronize my computer's time with my azure webrole's time exactly instead of 'time.windows.com' or other ntp servers.
Because I need to synchronize my computer's time as accurate as possible with my webrole's time, and I'm thinking of the only way is setting my azure webrole as my local computer's NTP Server.
I tried to command (like 'w32/tm ...~~~' and etc..) on my azure webrole to make it as NTP Server, and it didn't work, although it worked on my different computer which is in my office.
How can I do ?
Windows Azure roles (Web, Worker etc.) do not support hosting of UDP endpoints currently so I'm not sure what you are attempting to do is feasible. Windows Azure Virtual Machines (Preview) can host UDP Endpoints so this might be one workaround (albeit expensive).
Check out this great blog post for a detailed explanation of Azure VM's and NTP Server details.
How frequently is the clock on my Windows Azure VM synchronized? : http://blog.codingoutloud.com/2011/08/25/azure-faq-how-frequently-is-the-clock-on-my-windows-azure-vm-synchronized/
It would be good to know why you want to synchronize with the web/worker roles directly instead of with time.windows.com. The web/worker role VMs are synchronized with time.windows.com by default anyway. Also, Windows Azure does support UDP protocol with their latest June 2012 update.

Resources