Skip to content

Instantly share code, notes, and snippets.

@sathishphcl
sathishphcl / AKS.MD
Created November 12, 2022 12:28 — forked from bucinko/AKS.MD
AKS

Prerequisties for deployment AKS

  • service principal
  • resource groupname
  • subnet id of subnet where will be AKS

CREATE SERVICE PRINCIPAL

command:

@sathishphcl
sathishphcl / private-AKS.cli
Created November 12, 2022 12:20 — forked from juazasan/private-AKS.cli
Private AKS sample using azure cli
# connectivity subscription
az group create --name subscription-connectivity --location eastus
az network private-dns zone create -g subscription-connectivity \
-n privatelink.eastus.azmk8s.io
AKS_PRIVATE_DNS_ZONE_ID=$(az network private-dns zone show -g subscription-connectivity \
-n privatelink.eastus.azmk8s.io --query id -o tsv)
@sathishphcl
sathishphcl / aks-acr-devops.md
Created November 11, 2022 19:50 — forked from ShaqtinAFool/aks-acr-devops.md
Hands-on : Azure Kubernetes Service and CI/CD with Azure DevOps

Hands-on : Azure Kubernetes Service and CI/CD with Azure DevOps

tags: Workshop Azure Kubernetes Service Container Registry 2022 Azure DevOps

[ToC]

本練習內容用來架設一評等網站,網站由多個元件所組成。 包含一個 Web 前端、一個儲存所擷取資料的文件資料庫,以及一個 RESTful API,並使用 Kubernetes 作為其計算平台。在本課程中,將會逐步執行工作,將多容器應用程式部署至 Azure Kubernetes Service (AKS) 上的 Kubernetes

Prerequisites

AWS Certified Solutions Architect - Associate 2019

AWS Global Infrastructure

  • 19 Regions, 57 Availability Zones with more coming.
  • A region is a geographical area. Each region consists of 2 or more availability zones.
  • An availability zone is one or more discrete data centres, each with redundant power, networking and connectivity, housed in seperate facilities.
  • One subnet equals one availability zone.
  • Edge locations are endpoints for AWS which are used for caching content. Typically this consists of CloudFront, Amazon's Content Delivery Network (CDN)

|Region Name| Region| Endpoint| Protocol|

@sathishphcl
sathishphcl / Rename-Computer.ps1
Created November 5, 2022 19:50 — forked from tonejito/Rename-Computer.ps1
Rename Windows PC via PowerShell and WMI
# Rename Windows PC via PowerShell and WMI
# http://social.technet.microsoft.com/wiki/contents/articles/7824.set-computer-name-using-powershell.aspx
# https://technet.microsoft.com/en-us/library/hh849792(v=wps.620).aspx
$ComputerName = Get-WmiObject Win32_ComputerSystem
$ComputerName.Rename($name)
Restart-Computer
@sathishphcl
sathishphcl / kubernetes-overview.md
Created November 4, 2022 21:22 — forked from wesleyarchbell/kubernetes-overview.md
Overview of Kubernetes

Kubernetes

Overview

Kubernetes is an open source system developed by Google for managing containerized applications across multiple hosts, providing basic mechanisms for deployment, maintenance, and scaling of applications. Kubernetes helps you make sure those containerized applications run where and when you want, and helps them find the resources and tools they need to work.

Kubernetes was released in February 2015 with the following goals and considerations:

  • Empower application developers with a powerful tool for Docker container orchestration without having to interact with the underlying infrastructure;
  • Provide standard deployment interface and primitives for a consistent app deployment experience and APIs across clouds;
  • Build on a Modular API core that allows vendors to integrate systems around the core Kubernetes technology.
@sathishphcl
sathishphcl / docker-deep-dive.md
Created November 4, 2022 21:20 — forked from wesleyarchbell/docker-deep-dive.md
Docker Deep Dive - Pluralsight
@sathishphcl
sathishphcl / enable-rdp.ps1
Created August 19, 2022 01:54 — forked from jhorsman/enable-rdp.ps1
Enable Windows Remote Desktop Connection with PowerShell
# run as administrator
# reboot afterwards
Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server'-name "fDenyTSConnections" -Value 0
Enable-NetFirewallRule -DisplayGroup "Remote Desktop"
Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' -name "UserAuthentication" -Value 1