할 쑤있따구~!~?
Azure Portal | Azure Cloud Shell | Azure PowerShell & CLI |
---|---|---|
시각적 인터페이스 | Bash, Powershell제공 | 명령줄 프로그램 |
환경개인설정 | 세션별, 사용자별로 제공 | 반복 가능한 배포에 유용 |
모바일 앱 가능 | 모바일 앱 가능 | 플랫폼 간 사용 |
# Azure Powershell Module 설치하기
Install-Module -Name Az -AllowClobber
# 계정 연결
Connect-AzAccount
#구독 속성을 검색/선택
Get-AzSubscription
Select-AzSubscription -SubscriptionId 1a1a1a
Get-AzResourceGroup
New-AzResourceGroup -Name hahaysh02rg -Location eastus
# Azure CLI 설치하기
https://docs.Microsoft.com/ko-kr/cli/azure/install-azure-cli?view=azure-cli-latest
# 작업할때 마다 로그인/구독선택 하기
az login
az account list
az account set --subscription 1b1b1b1b
- 일관성과 재사용
- 모듈식
- 유효성 검사 작업 제공
- 배포에서 모든 Resource Manager 리소스를 정의
- JSON으로 작성
- 키-값 쌍의 컬렉션
Ex) 1vm-2nics-2subnet
https://github.com/MicrosoftLearning/AZ-104-MicrosoftAzureAdministrator/blob/master/Instructions/Labs/LAB_03a-Manage_Azure_Resources_by_Using_the_Azure_Portal.md
https://github.com/MicrosoftLearning/AZ-104-MicrosoftAzureAdministrator/blob/master/Instructions/Labs/LAB_03b-Manage_Azure_Resources_by_Using_ARM_Templates.md
https://github.com/MicrosoftLearning/AZ-104-MicrosoftAzureAdministrator/blob/master/Instructions/Labs/LAB_03c-Manage_Azure_Resources_by_Using_Azure_PowerShell.md
https://github.com/MicrosoftLearning/AZ-104-MicrosoftAzureAdministrator/blob/master/Instructions/Labs/LAB_03d-Manage_Azure_Resources_by_Using_Azure_CLI.md
Copyright Microsoft Corporation