Set up SSL on Azure VM (Linux) - linux

I currently have an Azure VM (linux) configuration with a custom domain name. Can someone please provide a tutorial (or explain) how I can go about setting up a SSL certificate?
Tried searching but no luck - appreciate all the help!

As Bruno has mentioned in the comment, certificate needs to be configured on OS level.
Here is a good article about how to create a certificate on Apache.
Azure VM is IaaS. It can not configure the settings on OS directly. That's the reason why we need the Azure VM Agents.

Related

Azure Policy Guest Configuration - Find a VM with deactivated Windows Firewall

i have a short Question about the Azure Policy Guest Configuration with a Windows VM at Azure.
I would like to write a Policy to find VMs with deactivated Windows Firewall.
Can someone help me?
At Azure Policy Templates i only have found a Policy with detailed Rules for the Windows Firewall.
Many thanks.
Best Regards,
Phil
I don't know the answer for Guest Policies. But have you considered using Azure DSC to enforce it? You can also monitor the compliance then within the automation account.
https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/dsc-overview
E.g. using this module https://github.com/dsccommunity/NetworkingDsc/blob/main/source/Examples/Resources/FirewallProfile/1-FirewallProfile_ConfigurePrivateFirewallProfile_Config.ps1

Azure migrate from VMware host not found

I am trying to migrate a VM from VMWare to Azure portal. the VM appliance is configured . But the hosts are not recognized . What is the solution for this.
When you mention 'Hosts are not recognized', are you unable to discover them via the Portal? or do you receive any specific error message? Are you using agentless or agent-based migration? Please do more details on your scenario:
Couple of things you could try to isolate the issue:
Review the "Status" in the Azure Portal.
If this doesn't work and you're discovering VMware servers:
Verify that the vCenter account you specified has permissions set
correctly, with access to at least one VM.
Azure Migrate can't discovered VMware VMs if the vCenter account has
access granted at vCenter VM folder level. Learn more about scoping
discovery. Kindly review the requirement and common app discovery errors to tackle any errors you may be receiving.

Azure VM with VPN

This is more one for curiosity and learning.
I currently have an Azure VM (Windows 2016 and SQL 2017) which I just use for R&D. The RDP port is enabled - no big deal as there is nothing top secret.
But just to learn more about Azure I wanted to create a VPN so I can connect via that. Googling, has left me a tad confused as how to go about this gateways, gateway subnet etc etc. I'm not sure if the articles I am reading are the right ones as whatever I try doesn't appear to work.
Does anyone know of any links that might help me start from scratch with VPN settings to connect?
You can try to set up a VPN type of P2S, you can make a Self-signed root certificate for free. And the steps are also simple. And you can follow the document Configure a Point-to-Site connection to a VNet using native Azure certificate authentication: Azure portal. I'm glad if this can help you.
I found these series of Microsoft training guides to be super helpful. (you can find them via the azure portal on the overview page of a virtual network resource)
https://learn.microsoft.com/en-us/learn/modules/introduction-to-azure-virtual-networks/
https://learn.microsoft.com/en-us/azure/architecture/reference-architectures/hybrid-networking/hub-spoke?tabs=portal
https://learn.microsoft.com/en-us/learn/modules/design-implement-network-monitoring/
https://learn.microsoft.com/en-us/learn/modules/design-implement-network-security-monitoring/
https://learn.microsoft.com/en-us/learn/modules/integrate-vnets-with-vnet-peering/
https://learn.microsoft.com/en-us/learn/modules/design-a-hybrid-network-architecture/

Hosting with Windows Azure?

Can someone please direct me to a tutorial or explain the process of hosting (if possible) with Windows Azure? I have my own domain name and I would like to know how I can host my website with windows azure. It gives you the option of creating and publishing a xxx.azurewebsites.net but I would like to use my own personal domain.
Read Azure Websites and Apps. Then you can review Configure a custom domain name in Azure App Service.

SSL cert for apache in Azure linux VM

I have created an Ubuntu VM in Azure and I would like to install an SSL Certificate for that VM. This VM runs a django project on apache. What do I do to install the certificate for this VM??
From what I've seen I would have to create a CNAME from an external domain (for which I have issued the SSL) that maps to the DNS name of this VM.
And then what?? Do I follow the process of installing a Cert for apache? Do I have to do anything in the Windows Azure Management Portal or everything is covered by just adding the files to apache and make the appropriate configs??
There is nothing unique about Windows Azure here; you should follow the standard guides for the Linux platform you are using to configuring Apache or whatever web server you are using.
Most SSL certificate companies provide information on configuring Apache/httpd etc. to do this.
For example, GoDaddy provides this resource: http://support.godaddy.com/help/article/5238/installing-an-ssl-certificate-in-apache

Resources