Skip to content

Instantly share code, notes, and snippets.

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 / 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

@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.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 / port-check.sh
Created November 12, 2022 12:29 — forked from bucinko/port-check.sh
port-check.sh - small script to check if TCP ports are opened through firewalls etc.
#!/bin/bash
GRE='\033[1;32m'
RED='\033[1;31m'
NC='\033[0m' # No Color
function checkport {
if nc -zv -w10 $1 $2 <<< '' &> /dev/null
then
@sathishphcl
sathishphcl / setup.yaml
Created January 25, 2023 04:07 — forked from BlaiseRideout/setup.yaml
Ansible script to setup my personal Linux environment
---
- hosts: localhost
connection: local
become: yes
become_user: root
become_method: sudo
tasks:
- name: Google Chrome PGP Key
apt_key: url=https://dl.google.com/linux/linux_signing_key.pub state=present
@sathishphcl
sathishphcl / deploy.ps1
Created February 1, 2023 05:12 — forked from jenyayel/deploy.ps1
Powershell to deploy Azure WebJob (can/should be used in Azure DevOps)
# configurations
$workingDirectory = "$(System.DefaultWorkingDirectory)"
$sourceArtifact = "ZIP_FILE_THAT_HAS_YOUR_AAPLICATION_(PRODUCED_BY_BUILD)"
$entryPointDll = "FILE_THAT_HAS_STATIC_VOID_MAIN.dll"
$webJobName = "THE_NAME_OF_THE_WEBJOB"
$jobType = "continuous"
$appName = "THE_NAME_OF_AZURE_WEB_APP_THAT_WILL_HOST_JOB"
$resourceGroupName = "GROUP_NAME"
Write-Host "Validating artifact file"
@sathishphcl
sathishphcl / Jenkins+Script+Console.md
Created February 10, 2023 08:35 — forked from mubbashir/Jenkins+Script+Console.md
jenkins groovy scripts collection.