Skip to content

Commit

Permalink
Merge pull request #202 from Vishal-K-988/vishal
Browse files Browse the repository at this point in the history
this fixes #58
  • Loading branch information
Tikam02 authored Oct 18, 2023
2 parents 3970b82 + 2f1d09e commit d2a5cfc
Show file tree
Hide file tree
Showing 2 changed files with 113 additions and 3 deletions.
57 changes: 55 additions & 2 deletions Cloud_providers/Azure/azure.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Microsoft Azure Concepts
# 1. Microsoft Azure Concepts

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

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

- **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.

- **Security Connectors:** Sentinel integrates with a wide range of Microsoft and third-party security solutions to collect and analyze security data.
- **Security Connectors:** Sentinel integrates with a wide range of Microsoft and third-party security solutions to collect and analyze security data.

# 2. Basic Commands
These are only basic commands for more you can consider https://learn.microsoft.com/en-us/azure/?product=popular

### 1. Login to Azure Account:
```az login```

### 2. List Subscriptions:
```az account list```

### 3. Set Active Subscription:
```az account set --subscription "Subscription Name or ID"```

### 4. List Resource Groups:
```az group list```

### 5. Create a Resource Group:
```az group create --name "ResourceGroupName" --location "East US"```

### 6. Deploy a Virtual Machine:
```az vm create --resource-group "ResourceGroupName" --name "VMName" --image "UbuntuLTS" --admin-username "azureuser" --admin-password "Password123"```

### 7. Start/Stop/Restart a Virtual Machine:
```az vm start --resource-group ResourceGroupName" --name "VMName" az vm stop --resource-group "ResourceGroupName" --name "VMName" az vm restart --resource-group "ResourceGroupName" --name "VMName"```

### 8. List Virtual Machines:
```az vm list --resource-group "ResourceGroupName"```

### 9. Delete a Virtual Machine:
```az vm delete --resource-group "ResourceGroupName" --name "VMName" --yes --no-wait```

### 10. Create a Storage Account:
```az storage account create --name "storageaccountname" --resource-group "ResourceGroupName" --location "East US" --sku "Standard_LRS"```

### 11. List Storage Accounts:
```az storage account list --resource-group "ResourceGroupName"```

### 12. Create a Blob Container:
```az storage container create --name "containername" --account-name "storageaccountname" --account-key "accountkey"```

### 13. List Blob Containers:
```az storage container list --account-name "storageaccountname" --account-key "accountkey"```

### 14. Deploy Azure Web App:
```az webapp create --resource-group "ResourceGroupName" --plan "AppServicePlanName" --name "WebAppName" --runtime "DOTNET|10.0" --deployment-local-git```

### 15. List Azure Web Apps:
```az webapp list --resource-group "ResourceGroupName"```

For more can check out : https://learn.microsoft.com/en-us/azure/?product=popular

Happy Learning !

59 changes: 58 additions & 1 deletion Cloud_providers/GCP/gcp.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Google Cloud Platform (GCP) Concepts
# 1. Google Cloud Platform (GCP) Concepts

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

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

These advanced concepts and services in Google Cloud Platform expand its capabilities for building scalable, secure, and data-driven cloud solutions.


# 2. Basic Commands
These are only basic commands for more you can consider https://cloud.google.com/docs

### 1. Login to GCP Account:
```gcloud auth login```

### 2. Set Project: (arduino)
```gcloud config set project PROJECT_ID```

### 3. List Projects:
```gcloud projects list```

### 4. Create a New VM Instance:
```gcloud compute instances create INSTANCE_NAME --machine-type MACHINE_TYPE --image IMAGE```

### 5. SSH into a VM Instance:
```gcloud compute ssh INSTANCE_NAME```

### 6. List VM Instances:
```gcloud compute instances list```

### 7. Create a Cloud Storage Bucket:
```gsutil mb -p PROJECT_ID gs://BUCKET_NAME/```

### 8. Upload a File to Cloud Storage:
```gsutil cp FILE_PATH gs://BUCKET_NAME/```

### 9. List Files in Cloud Storage Bucket:
```gsutil ls gs://BUCKET_NAME/```

### 10. Create a Pub/Sub Topic:
```gcloud pubsub topics create TOPIC_NAME```

### 11. Publish a Message to Pub/Sub Topic:
```gcloud pubsub topics publish TOPIC_NAME --message "MESSAGE"```

### 12. Create a Cloud SQL Instance (MySQL):
```gcloud sql instances create INSTANCE_NAME --database-version=MYSQL_5_7 --tier=db-n1-standard-1```

### 13. List Cloud SQL Instances:
```gcloud sql instances list```

### 14. Deploy App Engine Application:
```gcloud app deploy app.yaml```

### 15. List App Engine Services:
```gcloud app services list```

### 16. Create a Kubernetes Cluster:
```gcloud container clusters create CLUSTER_NAME --num-nodes=1 --zone=COMPUTE_ZONE```

### 17. List Kubernetes Clusters:
```gcloud container clusters list```

As said you can always official documentation for more commands and concepts https://cloud.google.com/docs

0 comments on commit d2a5cfc

Please sign in to comment.