Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/robece/dapr-retropos

RetroPOS is a fictional project to foster learning through Cloud Native practices in Azure using .NET Core microservices.
https://github.com/robece/dapr-retropos

azure dapr event-driven keda microservices netcore

Last synced: 3 months ago
JSON representation

RetroPOS is a fictional project to foster learning through Cloud Native practices in Azure using .NET Core microservices.

Awesome Lists containing this project

README

        

# Azure Deployment

## Summary

1. [Azure resources deployment script](#azure-resources-deployment-script)
2. [Azure resources removal script](#azure-resources-removal-script)

## Azure resources deployment script

1. Connect to Azure Container Registry via Azure CLI.

```
az login
```

2. Run the script: powershell/azure-deployment.ps1 to deploy the Azure resources.

```
.\powershell\azure-deployment.ps1
```

Services that will be created:

### Resource group

- Location: WestUS 2

### Container Registry

- SKU: Basic
- Admin enabled: true

### Key Vault

- SKU: Standard
- Secrets:
- cosmosdb-connectionstring-[deployment-identifier]cos
- cosmosdb-primarykey-[deployment-identifier]cos
- servicebus-connectionstring-[deployment-identifier]sbns
- storage-connectionstring-[deployment-identifier]stg
- storage-primarykey-[deployment-identifier]stg

### Kubernetes Service

- Nodes: 3
- VM Size: Standard_DS2_v2
- Node Pools: 1
- Managed Identity: true
- Attached ACR: true

### Azure Storage

- SKU: Standard_LRS

### Azure Service Bus

- SKU: Premium

### Cosmos DB
- Consistency Level: Strong
- Kind: GlobalDocumentDB
- Containers:
- Throughput: Autoscale

Note: At the end of the script execution there is a call to action to save the information that will be used in the future, be sure keep safe that information.

```
****************************CALL TO ACTION****************************

Deployment alias:
Subscription id:
Tenant id:
Resource group:
Location:
Cluster name:
Kubernetes version:
Managed identity name:
Managed identity id:
Managed identity client id:
Container registry name:
Key vault name:
Storage name:
Storage connection string:
Storage primary key:
Service bus namespace name:
Service bus connection string:
CosmosDB account name:
CosmosDB database name:
CosmosDB workflow 1 container name:
CosmosDB primary key:
CosmosDB connection string:

****************************CALL TO ACTION****************************
```

## Azure resources removal script

1. Run the script: powershell/azure-removal.ps1 to remove the Azure resources.

```
.\powershell\azure-removal.ps1
```