Why I am choose Azure ?
Quote
To be honestly, Although I try some cloud platforms from basic to complicate, Azure has priority when I want use computing. This platform support more services, tools, utility which helpful a lot for uses. Not comparison between multiple Cloud platforms, In this series, I want to contribute why I choose Azure, what helpful services, some top of architecture and infrastructure, role of Azure Cloud with DevOps, Developers, β¦ and what I archive when doing with Azure
What you can find out and figure out about Azure, Cloud Computing, Documentation, Services and more, Link is down-below π€
- Wikipedia - Microsoft Azure
- Azure - Documentation
- Azure - Learning Platform
- Azure - Browse Azure Architectures
- Azure - Register Account
- Azure - Community
- Azure - Tech Community
- Azure - Architecture Blog
- Azure CLI - User Guide
- Azure Price Calculator
- Azure - Blog
- Azure - Subscription and Service Limits, Quotas, and Constraints
Info
If you want to receive the credit from VS Subscription, you can direct use via Monthly Azure credits for Visual Studio subscribers
Awesome Azure Repository
Repository
- Awesome Microsoft Azure Architecture - A curated list of AWESOME blogs, videos, tutorials, code, tools, and scripts related to the design and implementation of solutions in Microsoft Azure.
- Azure Resource Manager QuickStart Templates - Azure Quickstart Templates about
azure-arm
orbicep
Page
- Azure Verified Modules - An initiative to consolidate and set the standards for what a good Infrastructure-as-Code module looks like.
Organization
- Github - Microsoft Azure - APIs, SDKs and open source projects from Microsoft Azure
Azure CLI
az vm
Create virtual machine
Documentation: az vm create
az acr
Login to your acr
Documentation: Authenticate with an Azure container registry and az acr login
az containerapp
Update new information for containerapp
Documentation: az containerapp update
Exec to container app
Documentation: az containerapp exec
Note
Execution when you have only one container and one revision
Note
Execution when you have specified one container and one revision in one of those
Azure Virtual Machine
Add a new disk for your linux
virtual machine
You can check about that via Azure Article - Use the portal to attach a data disk to a Linux VM or Azure Article - Add a disk to a Linux VM
-
Add a new disk with portal or
azcli
-
Login to your machine with
ssh
, try to find your disk with not formatted yet vialsblk
sdc
disk actually not mount, that target disk you need to format and attach to your machine -
Partition the disk when you attach a new one, you can follow instruction about Create a Partition in Linux - A Step-by-Step Guide, Prepare a new empty disk, https://phoenixnap.com/kb/linux-format-disk to understand way to handle that
-
Mount your partition disk into the directories of machine via
mount
-
Check your disk is add to
/etc/fstab
, you can useblkid
to handle that
Info
In my situation, when mount to
/
instead of/root
, It makes some change and gave you new definition for your current route, mean/dev/sdc1
will replace default disk and can be cause the problem, I think π. Justumount
and repeatmount
again
After that you can be make some mistake but if you want grant permission, you can continue for your progress in down below
And now you can use it like usual disk
Azure Kubernetes Service
Security patch for OS (AKS)
For purpose prevent vulnerable, attack for AKS, Security Patch is suggested by Azure. Therefore, All environment is applying this one via command
-
Check the
nodeOsUpgradeChannel
by commandaz aks show --resource-group <rg-name> --name <aks-name> --query autoUpgradeProfile
It contains two optional:
nodeOsUpgradeChannel
(Have purpose to update the security and bugfixes for Node Container Image) andupgradeChannel
(Have purpose to update the aks cluster - that not recommendation) -
If null in first option, go through enable feature flag and add the configuration for this stuff. More detail in this link https://learn.microsoft.com/en-us/azure/aks/auto-upgrade-node-image#register-the-nodeosupgradechannelpreview-feature-flag:~:text=Register%20the%20NodeOsUpgradeChannelPreviewAfter run the command
az feature register --namespace "Microsoft.ContainerService" --name "NodeOsUpgradeChannelPreview"
The feature flag is registering. And after that run the command for confirm the feature
az provider register --namespace Microsoft.ContainerService
-
After that use this command to create security patch it will create VHD but the cost is footling
az aks update --resource-group <rg-name> --name <aks-name> --node-os-upgrade-channel SecurityPatch
. So for checking go step 1 to print the result of applies. -
All thing is done in this lastly, because the update can make the maintance system so it will do on the weekend every 2 week on 11pm saturday. The command for doing that kind is
az aks maintenanceconfiguration add -g <rg-name> --cluster-name <aks-name> --name aksManagedNodeOSUpgradeSchedule --interval-weeks 2 --day-of-week Saturday --start-time 16:00 --duration 6 --schedule-type Weekly
. For more detail go this link https://learn.microsoft.com/en-us/azure/aks/planned-maintenance That all step to setup mechanism for OS security update. The affect can show on activity log on K8s - Check it for more detail progress update.