Tuesday, March 26, 2024

AZ-104

  • Microsoft Azure is huge and it has hundreds of services underneath its umbrella
  • It's actually going to be quite difficult to comprehend every offering
  • It's very hard to imagine somebody as being an absolute expert in all of the areas of Azure
  • Most Azure services depend on one or more of the below core services    
  • Core Services
    • Virtual Machines
    • Virtual Networking
    • Storage
  • Azure CLI vs Powershell - to install on local machine, download them
    • Powershell commands are not case sensitive
    • If you have "windows powershell", it is old version
    • The latest one is "Powershell 7.4.1"
    • Open windows powershell and run the below command which will install powershell 7
    • winget install --id Microsoft.Powershell --source winget
    • Check if any Az modules are installed
      • Get-InstalledModule -Name Az -AllVersions | Select-Object -Property Name, Version
    • Install Az module
      •  Install-Module -Name Az -AllowClobber -Force

  • Azure cloud shell (available in web browser portal - no need to install anything on local machine)
    • Azure Cloud Shell requires an Azure file share to persist files

Monday, March 4, 2024

Seeing Apache2 page in your website?

 I host one of the non-profit website on Linode Ubuntu VM using nginx server. All of a sudden, I started seeing Apache2 Default page when I visit my website. Seems like the hosting provider installed Apache on my virtual machine by default during fresh install.

To fix this issue

  • Stop apache service - sudo /etc/init.d/apache2 stop
  • Restart nginx - sudo systemctl restart nginx
To check the status of nginx, use the command - systemctl status nginx.service

AZ-104

Microsoft Azure is huge and it has hundreds of services underneath its umbrella It's actually going to be quite difficult to comprehend ...