Skip to content

Commit 8904a78

Browse files
committed
added basic commands and more information for Azure
1 parent f1ce1d8 commit 8904a78

File tree

1 file changed

+55
-2
lines changed

1 file changed

+55
-2
lines changed

Cloud_providers/Azure/azure.md

Lines changed: 55 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Microsoft Azure Concepts
1+
# 1. Microsoft Azure Concepts
22

33
Microsoft Azure is a comprehensive cloud computing platform provided by Microsoft. Here are some fundamental concepts to understand when working with Azure:
44

@@ -97,4 +97,57 @@ Microsoft Azure is a comprehensive cloud computing platform provided by Microsof
9797

9898
- **Azure Sentinel:** Azure Sentinel is a cloud-native Security Information and Event Management (SIEM) service that provides intelligent security analytics for threat detection and response across your organization's resources.
9999

100-
- **Security Connectors:** Sentinel integrates with a wide range of Microsoft and third-party security solutions to collect and analyze security data.
100+
- **Security Connectors:** Sentinel integrates with a wide range of Microsoft and third-party security solutions to collect and analyze security data.
101+
102+
# 2. Basic Commands
103+
These are only basic commands for more you can consider https://learn.microsoft.com/en-us/azure/?product=popular
104+
105+
### 1. Login to Azure Account:
106+
```az login```
107+
108+
### 2. List Subscriptions:
109+
```az account list```
110+
111+
### 3. Set Active Subscription:
112+
```az account set --subscription "Subscription Name or ID"```
113+
114+
### 4. List Resource Groups:
115+
```az group list```
116+
117+
### 5. Create a Resource Group:
118+
```az group create --name "ResourceGroupName" --location "East US"```
119+
120+
### 6. Deploy a Virtual Machine:
121+
```az vm create --resource-group "ResourceGroupName" --name "VMName" --image "UbuntuLTS" --admin-username "azureuser" --admin-password "Password123"```
122+
123+
### 7. Start/Stop/Restart a Virtual Machine:
124+
```az vm start --resource-group ResourceGroupName" --name "VMName" az vm stop --resource-group "ResourceGroupName" --name "VMName" az vm restart --resource-group "ResourceGroupName" --name "VMName"```
125+
126+
### 8. List Virtual Machines:
127+
```az vm list --resource-group "ResourceGroupName"```
128+
129+
### 9. Delete a Virtual Machine:
130+
```az vm delete --resource-group "ResourceGroupName" --name "VMName" --yes --no-wait```
131+
132+
### 10. Create a Storage Account:
133+
```az storage account create --name "storageaccountname" --resource-group "ResourceGroupName" --location "East US" --sku "Standard_LRS"```
134+
135+
### 11. List Storage Accounts:
136+
```az storage account list --resource-group "ResourceGroupName"```
137+
138+
### 12. Create a Blob Container:
139+
```az storage container create --name "containername" --account-name "storageaccountname" --account-key "accountkey"```
140+
141+
### 13. List Blob Containers:
142+
```az storage container list --account-name "storageaccountname" --account-key "accountkey"```
143+
144+
### 14. Deploy Azure Web App:
145+
```az webapp create --resource-group "ResourceGroupName" --plan "AppServicePlanName" --name "WebAppName" --runtime "DOTNET|10.0" --deployment-local-git```
146+
147+
### 15. List Azure Web Apps:
148+
```az webapp list --resource-group "ResourceGroupName"```
149+
150+
For more can check out : https://learn.microsoft.com/en-us/azure/?product=popular
151+
152+
Happy Learning !
153+

0 commit comments

Comments
 (0)