Skip to content

Commit d2a5cfc

Browse files
authored
Merge pull request #202 from Vishal-K-988/vishal
this fixes #58
2 parents 3970b82 + 2f1d09e commit d2a5cfc

File tree

2 files changed

+113
-3
lines changed

2 files changed

+113
-3
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+

Cloud_providers/GCP/gcp.md

Lines changed: 58 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Google Cloud Platform (GCP) Concepts
1+
# 1. Google Cloud Platform (GCP) Concepts
22

33
Google Cloud Platform is a suite of cloud computing services offered by Google. Here are some fundamental concepts to understand when working with GCP:
44

@@ -123,3 +123,60 @@ Google Cloud Platform is a suite of cloud computing services offered by Google.
123123
- **Apache Beam:** Dataflow is based on the Apache Beam open-source project.
124124

125125
These advanced concepts and services in Google Cloud Platform expand its capabilities for building scalable, secure, and data-driven cloud solutions.
126+
127+
128+
# 2. Basic Commands
129+
These are only basic commands for more you can consider https://cloud.google.com/docs
130+
131+
### 1. Login to GCP Account:
132+
```gcloud auth login```
133+
134+
### 2. Set Project: (arduino)
135+
```gcloud config set project PROJECT_ID```
136+
137+
### 3. List Projects:
138+
```gcloud projects list```
139+
140+
### 4. Create a New VM Instance:
141+
```gcloud compute instances create INSTANCE_NAME --machine-type MACHINE_TYPE --image IMAGE```
142+
143+
### 5. SSH into a VM Instance:
144+
```gcloud compute ssh INSTANCE_NAME```
145+
146+
### 6. List VM Instances:
147+
```gcloud compute instances list```
148+
149+
### 7. Create a Cloud Storage Bucket:
150+
```gsutil mb -p PROJECT_ID gs://BUCKET_NAME/```
151+
152+
### 8. Upload a File to Cloud Storage:
153+
```gsutil cp FILE_PATH gs://BUCKET_NAME/```
154+
155+
### 9. List Files in Cloud Storage Bucket:
156+
```gsutil ls gs://BUCKET_NAME/```
157+
158+
### 10. Create a Pub/Sub Topic:
159+
```gcloud pubsub topics create TOPIC_NAME```
160+
161+
### 11. Publish a Message to Pub/Sub Topic:
162+
```gcloud pubsub topics publish TOPIC_NAME --message "MESSAGE"```
163+
164+
### 12. Create a Cloud SQL Instance (MySQL):
165+
```gcloud sql instances create INSTANCE_NAME --database-version=MYSQL_5_7 --tier=db-n1-standard-1```
166+
167+
### 13. List Cloud SQL Instances:
168+
```gcloud sql instances list```
169+
170+
### 14. Deploy App Engine Application:
171+
```gcloud app deploy app.yaml```
172+
173+
### 15. List App Engine Services:
174+
```gcloud app services list```
175+
176+
### 16. Create a Kubernetes Cluster:
177+
```gcloud container clusters create CLUSTER_NAME --num-nodes=1 --zone=COMPUTE_ZONE```
178+
179+
### 17. List Kubernetes Clusters:
180+
```gcloud container clusters list```
181+
182+
As said you can always official documentation for more commands and concepts https://cloud.google.com/docs

0 commit comments

Comments
 (0)