Azure

{Azure Backup}Azure CLI を使用した Azure での仮想マシンのバックアップ

https://learn.microsoft.com/ja-jp/azure/backup/quick-backup-vm-clihttps://learn.microsoft.com/ja-jp/azure/backup/tutorial-restore-diskhttps://learn.microsoft.com/ja-jp/azure/backup/backup-azure-security-feature-cloud VMのバックアップと復元…

{Azure Front Door}クイックスタート:Azure CLI を使用して高可用性を実現するグローバル Web アプリケーションのための Front Door を作成する

https://learn.microsoft.com/ja-jp/azure/frontdoor/quickstart-create-front-door-cli https://marcelzehner.ch/2020/04/19/managing-azure-front-door-with-the-azure-cli/ Azure Front Door には、Azure Front Door Standard と Azure Front Door Premiu…

{Azure Synapse Analytics}クイック スタート:Azure CLI を使用して Azure Synapse ワークスペースを作成する

https://learn.microsoft.com/ja-jp/azure/synapse-analytics/get-startedhttps://learn.microsoft.com/ja-jp/azure/synapse-analytics/quickstart-create-workspace-cli Azure Synapse Analyticsは「Azure SQL Data Warehouse」の後継サービス -- 1. 前作業…

{Azure Files}クイックスタート: Azure ファイル共有を作成して使用する

https://learn.microsoft.com/ja-jp/azure/storage/files/storage-how-to-use-files-portal?tabs=azure-cli https://www.cloudou.net/storage/blob002/ NFS プロトコルは、Premium ファイル共有 (FileStorage アカウントの種類のファイル共有) でのみ使用で…

{Azure Network Watcher}Azure CLI を使用して Azure Network Watcher でパケット キャプチャを管理する

https://learn.microsoft.com/ja-jp/azure/network-watcher/network-watcher-packet-capture-manage-cli -- 1. 前作業 az login --use-device-codeaz account show az version az configure --list-defaultsaz configure --defaults location=japaneastaz co…

{Azure Automation}vm起動停止自動化

https://www.guri2o1667.work/entry/2021/11/02/%E3%80%90Azure%E3%80%91%E4%BB%AE%E6%83%B3%E3%83%9E%E3%82%B7%E3%83%B3%E3%81%AE%E8%87%AA%E5%8B%95%E5%81%9C%E6%AD%A2%E3%81%A8%E8%87%AA%E5%8B%95%E8%B5%B7%E5%8B%95%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6…

{Azure Cache for Redis}Azure CLI を使用して Azure Cache for Redis を作成する

https://learn.microsoft.com/ja-jp/azure/azure-cache-for-redis/scripts/create-manage-cache https://learn.microsoft.com/ja-jp/azure/azure-cache-for-redis/cache-how-to-redis-cli-tool https://qiita.com/sawada_masahiko/items/1f60936c421ecab8dfb…

{Azure Cosmos DB}Azure CLI を使用して Azure Cosmos DB for NoSQL のアカウント、データベース、コンテナーを作成する

https://learn.microsoft.com/ja-jp/azure/cosmos-db/scripts/cli/nosql/create https://learn.microsoft.com/ja-jp/azure/cosmos-db/nosql/quickstart-go?tabs=bash https://learn.microsoft.com/ja-jp/azure/cosmos-db/nosql/manage-with-cli https://lear…

{Azure AKS}クイック スタート:Azure CLI を使用して Azure Kubernetes Service クラスターをデプロイする

https://learn.microsoft.com/ja-jp/azure/aks/learn/quick-kubernetes-deploy-cli https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/ -- 1. 前作業 az login --use-device-codeaz account show az version az configure --list-defaultsaz co…

{Azure Functions}クイックスタート: コマンド ラインから Azure に Python 関数を作成する

https://learn.microsoft.com/ja-jp/azure/azure-functions/create-first-function-cli-python?tabs=azure-cli%2Cbash&pivots=python-mode-configuration https://qiita.com/forest1/items/9b7ccbd8fb2a0db6363a https://zenn.dev/sakojun/articles/20210529…

{Azure Application Gateway}L7ロードバランサー+オートスケーリング

アプリケーション ゲートウェイ(v1 SKU) + 仮想マシン スケール セット https://learn.microsoft.com/ja-jp/azure/virtual-machine-scale-sets/tutorial-use-custom-image-clihttps://learn.microsoft.com/ja-jp/azure/application-gateway/scripts/create-v…

{Azure Application Gateway}クイック スタート:Azure Application Gateway による Web トラフィックの転送 - Azure CLI

https://learn.microsoft.com/ja-jp/azure/application-gateway/quick-create-cli Azure Application Gateway --> L7のロードバランサー ※ Application Gateway専用のサブネットが必要 -- 1. 前作業 az login --use-device-codeaz account show az version a…

{Azure Private Link}クイックスタート: Azure CLI を使用してプライベート エンドポイントを作成する

https://learn.microsoft.com/ja-jp/azure/private-link/create-private-endpoint-cli?tabs=static-ip -- 1. 前作業 az login --use-device-codeaz account show az version az configure --list-defaultsaz configure --defaults location=japaneastaz conf…

{Azure Network Watcher}Azure CLI を使用したネットワーク セキュリティ グループ フローのログの構成

https://learn.microsoft.com/ja-jp/azure/network-watcher/network-watcher-nsg-flow-logging-cli -- 1. 前作業 az login --use-device-codeaz account show az version az configure --list-defaultsaz configure --defaults location=japaneastaz configu…

{Azure Virtual Network}Azure CLI を使用して仮想ネットワーク ピアリングで仮想ネットワークを接続する

https://learn.microsoft.com/ja-jp/azure/virtual-network/virtual-network-peering-overviewhttps://learn.microsoft.com/ja-jp/azure/virtual-network/tutorial-connect-virtual-networks-cli Azure では、次の種類のピアリングがサポートされています。 …

Azure CLI(RDS)

https://learn.microsoft.com/ja-jp/azure/azure-sql/database/scripts/setup-geodr-failover-database-cli?view=azuresql https://learn.microsoft.com/ja-jp/azure/mysql/flexible-server/quickstart-create-server-cli https://learn.microsoft.com/ja-jp…

Azure CLI(S3)

https://learn.microsoft.com/ja-jp/azure/storage/blobs/storage-quickstart-blobs-clihttps://markheath.net/post/manage-blob-storage-azure-cli ストレージサービスの種類1. Azure Blob Storage2. Azure Files3. Azure Queue Storage4. Azure Table Stor…

{Azure Virtual Machines}スポットインスタンス

https://www.softbanktech.co.jp/special/blog/cloud_blog/2020/0024/ Azure Spot Virtual Machines 価格比較 スポット割引ありの条件で、最も安価と思われるサイズStandard_DS1_v2vCPU=1 RAM=3.5GiB 1091円/月(スポットの場合)8340円/月(スポットでない場合…

{Azure SQL Database}Azure CLI を使用してデータベースを 1 つ作成しファイアウォール規則を構成する

https://learn.microsoft.com/ja-jp/azure/azure-sql/database/scripts/create-and-configure-database-cli?view=azuresql https://learn.microsoft.com/ja-jp/azure/azure-sql/database/connect-query-ssms?view=azuresql ※Azure SQL Databaseは停止できな…

{Azure CDN}Azure CLI を使用して Azure CDN のプロファイルとエンドポイントを作成する

https://learn.microsoft.com/ja-jp/azure/cdn/scripts/cli/cdn-azure-cli-create-endpoint -- 1. 前作業 az login --use-device-codeaz account show az version az configure --list-defaultsaz configure --defaults location=japaneastaz configure --li…

{Azure App Service}Web Appの作成

https://learn.microsoft.com/ja-jp/azure/app-service/samples-cli ※停止状態のアプリも課金される -- 1. 前作業 az login --use-device-codeaz account show az version az configure --list-defaultsaz configure --defaults location=japaneastaz config…

{Azure Resource Manager}テンプレートとしてのエクスポート

https://learn.microsoft.com/ja-jp/azure/virtual-machines/linux/create-cli-complete?source=recommendationshttps://learn.microsoft.com/en-us/azure/azure-resource-manager/troubleshooting/error-invalid-template?tabs=bicep#solution-5---circular…

{Azure Virtual Machine Scale Sets}チュートリアル:Azure CLI を使用して仮想マシン スケール セットを自動的にスケールする

https://learn.microsoft.com/ja-jp/azure/virtual-machine-scale-sets/tutorial-create-and-manage-cli https://learn.microsoft.com/ja-jp/azure/virtual-machine-scale-sets/tutorial-autoscale-cli オーケストレーション モード 均一 フレキシブル 推奨…

Azure CLI(EC2)

https://learn.microsoft.com/ja-jp/azure/virtual-machines/ssh-keys-azure-clihttps://learn.microsoft.com/ja-jp/azure/virtual-machines/linux/multiple-nics?toc=%2Fazure%2Fvirtual-network%2Ftoc.json#add-a-nic-to-a-vm https://learn.microsoft.com…

{Azure Resource Manager}クイック スタート:仮想ネットワークを作成する - Resource Manager テンプレート

https://learn.microsoft.com/ja-jp/azure/virtual-network/quick-create-template -- 1. リソースグループ作成 az group create \--name rg01 \--location japaneast az group list -- 2. ARMデプロイ開始 vim a.json { "$schema": "https://schema.managem…

{Azure Load Balancer}Load Balancer 用の Azure CLI サンプル

https://learn.microsoft.com/ja-jp/azure/load-balancer/cli-samples -- 1. 前作業 az login --use-device-codeaz account show az version az configure --list-defaultsaz configure --defaults location=japaneastaz configure --list-defaults az group…

Azure CLI(VPC)

https://learn.microsoft.com/ja-jp/azure/virtual-network/manage-route-table https://learn.microsoft.com/ja-jp/azure/virtual-network/nat-gateway/quickstart-create-nat-gateway-cli https://learn.microsoft.com/ja-jp/azure/virtual-network/ip-ser…

{VPN}Site-to-Site VPN(Azure <-> GCP)

https://www.ether-zone.com/azure-s2s-vpn-bgp-gc/ BGP APIPA アドレスは、AZURE で予約されている VPN 用の APIPA 範囲 (169.254.21.0 から 169.254.22.255) 内にある必要があります。 前提: GCP側の作業OS: CentOS7(オンプレ)Azure側の作業OS: CentOS7(オ…

Azureインスタンス作成(PowerShell)

https://qiita.com/johanburati/items/5f6cccdf6323e6bfe779https://docs.microsoft.com/ja-jp/azure/virtual-machines/linux/quick-create-powershell 前提: OS: CentOS7作業ユーザ: testuser -- 1. Azure Powershellモジュールのインストール curl https:/…

{VPN}Site-to-Site VPN(Azure <-> AWS)

https://docs.microsoft.com/ja-jp/azure/vpn-gateway/vpn-gateway-howto-aws-bgphttps://docs.microsoft.com/ja-jp/azure/vpn-gateway/vpn-gateway-activeactive-rm-powershellhttps://qiita.com/johanburati/items/5f6cccdf6323e6bfe779https://docs.micro…