-
Taken from here: https://gist.github.com/ausfestivus/04e55c7d80229069bf3bc75870630ec8
-
C:\ProgramFiles\terraform\deploy-azure-spot-vm-nginx-terraform>az vm image list –location uksouth –output table To list all online CentOS images: az vm image list –location uksouth –output table –offer CentOS –all
-
To check all Privileged Identity Management (PIM) roles assigned to a user in Azure AD, follow these steps: Method 1: Using the Azure Portal Method 2: Using Azure AD PowerShell Method 3: Using Microsoft Graph API Method 4: Using Azure CLI If you are unable to see the roles, ensure you have sufficient permissions (such as Global Administrator, Privileged Role Administrator, or Reports Reader) to access PIM role assignments.
-
To access an Azure Storage Account using private IPs from within another Virtual Network (VNet) in your company, you can configure Private Endpoint access. Here’s how you can set this up: 1. Configure a Private Endpoint for the Storage Account A Private Endpoint assigns a private IP address to the storage account within your company’s virtual network, allowing secure access from private IPs. Steps: 2. Enable VNet Peering If the storage account’s private endpoint is in a different VNet than the one from which you’re accessing it, you need VNet peering to establish connectivity between the two VNets. Steps: 3.…
-
Port 22 – SSH: For secure remote login and file transfers.Port 80 – HTTP: Standard port for unencrypted web traffic.Port 443 – HTTPS: Secure, encrypted web traffic.Port 3000 – Grafana: Used for monitoring and dashboards.Port 9090 – Prometheus: For collecting metrics and monitoring.Port 25 – SMTP: For sending emails.Port 53 – DNS: Resolves domain names to IP addresses.Port 3306 – MySQL: Default port for MySQL databases.Port 6379 – Redis: Fast in-memory data storage (caching).Port 5601 – Kibana: For visualizing data from Elasticsearch.Port 9100 – Node Exporter: Collects hardware and OS metrics for Prometheus.Port 3100 – Loki: Log aggregation system for…
-
Problem: PS C:\ProgramFiles\terraform\deploy-azure-functions-with-terraform> func init deploy-azure-functions-with-terraform –typescriptfunc : The term ‘func’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.At line:1 char:1 + func init deploy-azure-functions-with-terraform –typescript + CategoryInfo : ObjectNotFound: (func:String) [], CommandNotFoundException + ~~~~ + FullyQualifiedErrorId : CommandNotFoundException Solution: The error indicates that the Azure Functions Core Tools (func) command-line tool is not installed or is not recognized in your system’s PATH. Here’s how you can resolve this issue step-by-step: 1.…
-
A Helm chart can be thought of as a package manager for Kubernetes applications. It simplifies the process of deploying, managing, and configuring applications on a Kubernetes cluster. Let’s break it down step by step: 1. What is Helm? Think of Helm like a package manager for Kubernetes, similar to how apt is for Ubuntu or yum is for Red Hat Linux. 2. What is a Helm Chart? A Helm chart is essentially a template-driven package that defines a Kubernetes application. It contains the information necessary to create an instance of a Kubernetes application. Structure of a Helm Chart A…
-
The Azure equivalent of AWS Certified DevOps Engineer – Professional (DOP-C02) is the Microsoft Certified: DevOps Engineer Expert certification. Certification Comparison Certification AWS DevOps Engineer – Professional (DOP-C02) Microsoft Certified: DevOps Engineer Expert Provider AWS Microsoft Azure Target Audience Experienced DevOps engineers and architects Experienced DevOps engineers and Azure professionals Prerequisites AWS Associate-level certification (recommended but optional) Either: – Azure Administrator Associate – Azure Developer Associate Focus Automating deployment, monitoring, and operational processes Designing and implementing DevOps practices and CI/CD pipelines Key Skills Covered – CI/CD with AWS tools- Infrastructure as Code (IaC)- Monitoring and logging- High availability- Automation of…
-
Yes, there is a difference between IP addressing and subnetting, though they are closely related concepts in networking. 1. IP Addressing 2. Subnetting Key Differences Aspect IP Addressing Subnetting Purpose Assigns unique identifiers to devices. Divides a network into smaller subnetworks. Focus Deals with assigning IP addresses. Focuses on optimizing and organizing the network. Tools Involved IP addresses (IPv4 or IPv6). Subnet masks, CIDR notation, and IP ranges. Level Host-level identification. Network-level segmentation. Examples Assigning 192.168.1.1 to a PC. Dividing 192.168.1.0/24 into two subnets: 192.168.1.0/25 and 192.168.1.128/25. How They Relate In summary, IP addressing is about assigning identifiers, while subnetting…
-
In Azure, subscriptions and tenants are related but distinct concepts, and they play different roles in the management and organization of Azure resources. Here’s an explanation of their relationship: Azure Tenant Azure Subscription How They Are Related Example Relationship Scenario: In this case: Key Differences Feature Tenant Subscription Purpose Identity and access management Billing, usage, and resource grouping Scope Azure AD, users, groups, applications Resources like VMs, storage, databases Relation Parent directory for subscriptions Child of a tenant Ownership Represents an organization Represents billing or project boundaries Unique Identifier Tenant ID Subscription ID Summary