Skip to content

Commit

Permalink
toc (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-kastil authored Sep 11, 2024
1 parent d08db39 commit 0941659
Show file tree
Hide file tree
Showing 40 changed files with 77 additions and 67 deletions.
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# These are supported funding model platforms

github: ARambazamba
github: alexander-kastil
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
Expand Down
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at alexander.pajer@integrations.at. All
reported by contacting the project team at alexander.kastil@integrations.at. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Expand Down
2 changes: 1 addition & 1 deletion demos/01-appservices/demo-02/deploy-using-git.azcli
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ env=$RANDOM
grp=az204-m01-gitdeploy-$env
appPlan=gitdeploy-$env
app=gitdeploy-website-$env
gitrepo="https://github.com/arambazamba/git-deploy-app"
gitrepo="https://github.com/alexander-kastil/git-deploy-app"

az group create -n $grp -l westeurope
az appservice plan create -n $appPlan -g $grp --sku F1
Expand Down
2 changes: 1 addition & 1 deletion demos/01-appservices/demo-02/readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Deploy Static HTML App using Git

GitDeployApp is hosted on: [https://github.com/arambazamba/git-deploy-app](https://github.com/arambazamba/git-deploy-app) to avoid long directory sub-paths in yaml
GitDeployApp is hosted on: [https://github.com/alexander-kastil/git-deploy-app](https://github.com/alexander-kastil/git-deploy-app) to avoid long directory sub-paths in yaml

- Create & deploy app
- Use it for easy auth demo
2 changes: 1 addition & 1 deletion demos/01-appservices/demo-04/deploy-easy-auth.azcli
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ grp=az204-m01-easy-auth-$env
appPlan=easyauth-$env
app=easyauth-website-$env
appregName=easyauth-app
gitrepo="https://github.com/arambazamba/git-deploy-app"
gitrepo="https://github.com/alexander-kastil/git-deploy-app"
tenantID=d92b247e-90e0-4469-a129-6a32866c0d0a

az group create -n $grp -l westeurope
Expand Down
2 changes: 1 addition & 1 deletion demos/01-appservices/demo-04/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## Demos

- Enable Easy Auth on [git-deploy-app](https://github.com/arambazamba/git-deploy-app) from [demo-02](../demo-02/readme.md) or execute `deploy-easy-auth.azcli` to redeploy
- Enable Easy Auth on [git-deploy-app](https://github.com/alexander-kastil/git-deploy-app) from [demo-02](../demo-02/readme.md) or execute `deploy-easy-auth.azcli` to redeploy

- Explain `index.js`:

Expand Down
2 changes: 1 addition & 1 deletion demos/01-appservices/demo-06/traffic-manager.azcli
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ eugrp=az204-tm-eu-$env
usgrp=az204-tm-us-$env
euplan=tm-westeur-$env
usplan=tm-eastus-$env
gitrepo="https://github.com/arambazamba/git-deploy-app"
gitrepo="https://github.com/alexander-kastil/git-deploy-app"
user=labadmin
pwd=Pa$$w0rd1234!

Expand Down
2 changes: 1 addition & 1 deletion demos/01-appservices/demo-07/readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Azure Static Web Apps

This demo uses the [Azure Static Web Apps](https://docs.microsoft.com/en-us/azure/static-web-apps/) service to deploy a static web application implemented using Angular and published to [https://github.com/arambazamba/static-web-apps](https://github.com/arambazamba/static-web-apps)
This demo uses the [Azure Static Web Apps](https://docs.microsoft.com/en-us/azure/static-web-apps/) service to deploy a static web application implemented using Angular and published to [https://github.com/alexander-kastil/static-web-apps](https://github.com/alexander-kastil/static-web-apps)

4 changes: 2 additions & 2 deletions demos/03-cosmos-db/demo-03/food-orders-api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ ENTRYPOINT ["dotnet", "orders-api.dll"]
# docker build --rm -f Dockerfile -t food-orders-api .
# docker run -it --rm -p 5054:80 food-orders-api

# docker tag food-orders-api arambazamba/food-orders-api
# docker push arambazamba/food-orders-api
# docker tag food-orders-api alexander-kastil/food-orders-api
# docker push alexander-kastil/food-orders-api

# Injecting environment variables into the container
# docker run -it --rm -p 5051:80 food-orders-api -e "App__2__AuthEnabled"="false"
Expand Down
4 changes: 2 additions & 2 deletions demos/04-function-apps/demo-03/pic-optimizer-api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ COPY --from=installer-env ["/home/site/wwwroot", "/home/site/wwwroot"]

# docker run -d --rm -p 5054:80 -e "AzureWebJobsStorage=DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=picprocessor4241;AccountKey=zT1cbseG40s8JpdLxhanppLQO0CAOKFPIt2X5AuVquLDH4bznOCTBcRrer+WyCuuVF35IQsdIkp3+AStaljIzw==;BlobEndpoint=https://picprocessor4241.blob.core.windows.net/;FileEndpoint=https://picprocessor4241.file.core.windows.net/;QueueEndpoint=https://picprocessor4241.queue.core.windows.net/;TableEndpoint=https://picprocessor4241.table.core.windows.net/" food-picoptimizer

# docker tag food-picoptimizer arambazamba/food-picoptimizer
# docker push arambazamba/food-picoptimizer
# docker tag food-picoptimizer alexander-kastil/food-picoptimizer
# docker push alexander-kastil/food-picoptimizer
4 changes: 2 additions & 2 deletions demos/04-function-apps/demo-06/func-app-docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ COPY --from=installer-env ["/home/site/wwwroot", "/home/site/wwwroot"]
# docker build --rm -f Dockerfile -t func-app-docker .
# docker run -d --rm -p 5053:80 -e "MyEnvVar=Changed" func-app-docker

# docker tag func-app-config arambazamba/func-app-docker
# docker push arambazamba/func-app-docker
# docker tag func-app-config alexander-kastil/func-app-docker
# docker push alexander-kastil/func-app-docker

# Browse: http://localhost:5053/api/getEnvValue
4 changes: 2 additions & 2 deletions demos/05-containers/demo-01/catalog-service/dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ ENTRYPOINT ["dotnet", "catalog-service.dll"]
# http://localhost:5051/config

# Publish Image to dockerhub
# docker tag catalog-service arambazamba/catalog-service
# docker push arambazamba/catalog-service
# docker tag catalog-service alexander-kastil/catalog-service
# docker push alexander-kastil/catalog-service
4 changes: 2 additions & 2 deletions demos/05-containers/demo-01/food-shop/dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ CMD ["/bin/sh", "-c", "envsubst < /usr/share/nginx/html/assets/env.template.js
# browse using http://localhost:5053/

# Publish Image to dockerhub
# docker tag food-shop arambazamba/food-shop
# docker push arambazamba/food-shop
# docker tag food-shop alexander-kastil/food-shop
# docker push alexander-kastil/food-shop
8 changes: 4 additions & 4 deletions demos/05-containers/demo-01/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ Browse using `http://localhost:5051/food`
Publish Image to Docker Hub:

```
docker tag food-catalog-api arambazamba/food-catalog-api
docker push arambazamba/food-catalog-api
docker tag food-catalog-api alexander-kastil/food-catalog-api
docker push alexander-kastil/food-catalog-api
```

### Angular UI
Expand Down Expand Up @@ -106,6 +106,6 @@ Browse using `http://localhost:5052`
Publish Image to Docker Hub:

```
docker tag food-shop-ui arambazamba/food-shop
docker push arambazamba/food-shop
docker tag food-shop-ui alexander-kastil/food-shop
docker push alexander-kastil/food-shop
```
4 changes: 2 additions & 2 deletions demos/05-containers/demo-03/config-api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ ENTRYPOINT ["dotnet", "config-api.dll"]
# http://localhost:5051/

# Publish Image to dockerhub
# docker tag config-api arambazamba/config-api
# docker push arambazamba/config-api
# docker tag config-api alexander-kastil/config-api
# docker push alexander-kastil/config-api
4 changes: 2 additions & 2 deletions demos/05-containers/demo-03/config-ui/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ CMD ["/bin/sh", "-c", "envsubst < /usr/share/nginx/html/assets/env.template.js
# browse using http://localhost:5052/

# Publish Image to dockerhub
# docker tag config-ui arambazamba/config-ui
# docker push arambazamba/config-ui
# docker tag config-ui alexander-kastil/config-ui
# docker push alexander-kastil/config-ui
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
spec:
containers:
- name: config-env
image: arambazamba/config-env
image: alexander-kastil/config-env
imagePullPolicy: Always
ports:
- containerPort: 80
Expand Down
6 changes: 3 additions & 3 deletions demos/05-containers/demo-04/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ grp=az204-m01-wacontainers-$rnd
loc=westeurope
appPlan=foodapp-wac$rnd
app=foodui-wac-$rnd
img=arambazamba/foodui
img=alexander-kastil/foodui

az group create --name $grp --location $loc
az appservice plan create --name $appPlan -g $grp --sku B1 --is-linux --number-of-workers 1
Expand All @@ -39,6 +39,6 @@ Build and publish docker image:

```bash
docker build --rm -f Dockerfile -t foodapi .
docker tag foodapi arambazamba/foodapi
docker push arambazamba/foodapi
docker tag foodapi alexander-kastil/foodapi
docker push alexander-kastil/foodapi
```
4 changes: 2 additions & 2 deletions demos/05-containers/demo-08/food-api-dapr/dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ ENTRYPOINT ["dotnet", "food-api-dapr.dll"]
# http://localhost:5051/

# Publish Image to dockerhub
# docker tag food-api-dapr arambazamba/food-api-dapr
# docker push arambazamba/food-api-dapr
# docker tag food-api-dapr alexander-kastil/food-api-dapr
# docker push alexander-kastil/food-api-dapr
2 changes: 1 addition & 1 deletion demos/05-containers/demo-10/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@

## Demos

- Demo is available in here [https://github.com/arambazamba/spring-blog](https://github.com/arambazamba/spring-blog)
- Demo is available in here [https://github.com/alexander-kastil/spring-blog](https://github.com/alexander-kastil/spring-blog)

4 changes: 2 additions & 2 deletions demos/06-identity/demo-03/graph-daemon-api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ ENTRYPOINT ["dotnet", "graph-mail-daemon.dll"]
# docker build --rm -f dockerfile -t mail-daemon .
# docker run -it --rm -p 5058:80 mail-daemon

# docker tag mail-daemon arambazamba/mail-daemon
# docker push arambazamba/mail-daemon
# docker tag mail-daemon alexander-kastil/mail-daemon
# docker push alexander-kastil/mail-daemon

# Injecting environment variables into the container
# docker run -it --rm -p 5058:80 mail-daemon -e "GraphCfg:ClientSecret=cez8Q~YN3BCUROOC35.FmYiixCgxtalUISBy3dyc"
Expand Down
4 changes: 2 additions & 2 deletions demos/06-identity/demo-03/graph-daemon-api/simple.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ ENTRYPOINT ["dotnet", "mail-daemon.dll"]
# docker build --rm -f dockerfile -t mail-daemon .
# docker run -it --rm -p 5051:80 mail-daemon

# docker tag mail-daemon arambazamba/mail-daemon
# docker push arambazamba/mail-daemon
# docker tag mail-daemon alexander-kastil/mail-daemon
# docker push alexander-kastil/mail-daemon

# Injecting environment variables into the container
# docker run -it --rm -p 5051:80 mail-daemon -e "GraphCfg:ClientSecret=cez8Q~YN3BCUROOC35.FmYiixCgxtalUISBy3dyc"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ ENTRYPOINT ["dotnet", "food-api.dll"]
# docker build --rm -f dockerfile -t food-api-mi .
# docker run -it --rm -p 5051:80 food-api-mi

# docker tag food-api-mi arambazamba/food-api-mi
# docker push arambazamba/food-api-mi
# docker tag food-api-mi alexander-kastil/food-api-mi
# docker push alexander-kastil/food-api-mi
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ ENTRYPOINT ["dotnet", "kv-api.dll"]
# docker build --rm -f dockerfile -t kv-api-sc .
# docker run -it --rm -p 5051:80 kv-api-sc

# docker tag kv-api-sc arambazamba/kv-api-sc
# docker push arambazamba/kv-api-sc
# docker tag kv-api-sc alexander-kastil/kv-api-sc
# docker push alexander-kastil/kv-api-sc
4 changes: 2 additions & 2 deletions demos/08-apim/demo-01/catalog-service/dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ ENTRYPOINT ["dotnet", "catalog-service.dll"]
# http://localhost:5051/config

# Publish Image to dockerhub
# docker tag catalog-service arambazamba/catalog-service
# docker push arambazamba/catalog-service
# docker tag catalog-service alexander-kastil/catalog-service
# docker push alexander-kastil/catalog-service
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ CMD ["/bin/sh", "-c", "envsubst < /usr/share/nginx/html/assets/env.template.js
# browse using http://localhost:5052/

# Publish Image to dockerhub
# docker tag food-orders-dashboard arambazamba/food-orders-dashboard
# docker push arambazamba/food-orders-dashboard
# docker tag food-orders-dashboard alexander-kastil/food-orders-dashboard
# docker push alexander-kastil/food-orders-dashboard
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ COPY --from=installer-env ["/home/site/wwwroot", "/home/site/wwwroot"]
# docker build --rm -f Dockerfile -t food-invoices .
# docker run -d --rm -p 5052:80 -e "InvoiceConnectionString=DefaultEndpointsProtocol=https;AccountName=foodstoragedev;AccountKey=tu+FsWzY8Dpl7JS1I1FxZhOC5NHt0GR+Nb/mEbgwffVRXHf4nMqSfCmXHk+wxUEOaWwZLDDLj3DK+AStKv2X/Q==;EndpointSuffix=core.windows.net" -e "Sleep=500" -e "APPINSIGHTS_INSTRUMENTATIONKEY=80fe34b9-dae6-4532-9d81-7ee056098c81" food-invoices

# docker tag food-invoices arambazamba/food-invoices
# docker push arambazamba/food-invoices
# docker tag food-invoices alexander-kastil/food-invoices
# docker push alexander-kastil/food-invoices
4 changes: 2 additions & 2 deletions demos/11-monitoring/02-insights/create-insights-app.azcli
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ env=dev
grp=az204-m11-$env
loc=westeurope
ai=foodapp$env
api=arambazamba/food-catalog-api:latest
ui=arambazamba/food-shop-ui:latest
api=alexander-kastil/food-catalog-api:latest
ui=alexander-kastil/food-shop-ui:latest

az group create -n $grp -l $loc

Expand Down
4 changes: 2 additions & 2 deletions demos/12-caching-content/01-redis/demo-02/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ ENTRYPOINT ["dotnet", "catalog-api.dll"]
# docker build --rm -f Dockerfile -t food-catalog-api .
# docker run -it --rm -p 5051:80 food-catalog-api

# docker tag food-catalog-api arambazamba/food-catalog-api
# docker push arambazamba/food-catalog-api
# docker tag food-catalog-api alexander-kastil/food-catalog-api
# docker push alexander-kastil/food-catalog-api

# Injecting environment variables into the container
# docker run -it --rm -p 5051:80 food-catalog-api -e "Azure__0__TenantId"="d92b247e-90e0-4469-a129-6a32866c0d0a" "ApplicationInsights"="<ConString>"
Expand Down
4 changes: 2 additions & 2 deletions demos/12-caching-content/02-cdn/food-shop-ui/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ CMD ["/bin/sh", "-c", "envsubst < /usr/share/nginx/html/assets/env.template.js
# browse using http://localhost:5052/

# Publish Image to dockerhub
# docker tag food-shop-ui arambazamba/food-shop-ui
# docker push arambazamba/food-shop-ui
# docker tag food-shop-ui alexander-kastil/food-shop-ui
# docker push alexander-kastil/food-shop-ui
2 changes: 1 addition & 1 deletion demos/12-caching-content/03-static-webapps/readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Static Web Apps

Static Web App (Angular) is located at [https://github.com/arambazamba/angular-devops](https://github.com/arambazamba/angular-devops)
Static Web App (Angular) is located at [https://github.com/alexander-kastil/angular-devops](https://github.com/alexander-kastil/angular-devops)

## Readings

Expand Down
2 changes: 1 addition & 1 deletion setup/lab-vm/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Execute `create-lab-vm.azcli` or run the following remote script in Cloud Shell

```bash
curl https://raw.githubusercontent.com/arambazamba/ng-adv/main/setup/lab-vm/create-lab-vm.azcli | bash
curl https://raw.githubusercontent.com/alexander-kastil/ng-adv/main/setup/lab-vm/create-lab-vm.azcli | bash
```

![create-labvm](_images/create-lab-vm.jpg)
Expand Down
4 changes: 2 additions & 2 deletions setup/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ To install Software run the script `setup-az-204.ps1` from an elevated PowerShel

```powershell
Set-ExecutionPolicy Bypass -Scope Process -Force;
Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/arambazamba/az-204/main/setup/setup-az-204.ps1'))
Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/alexander-kastil/az-204/main/setup/setup-az-204.ps1'))
```

> Note: This script will run for approx 15 min.
Expand All @@ -31,7 +31,7 @@ gh auth login
Fork the class repository:

```bash
gh repo fork https://github.com/arambazamba/az-204/
gh repo fork https://github.com/alexander-kastil/az-204/
```

Download the forked repository:
Expand Down
2 changes: 1 addition & 1 deletion setup/wsl/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ npm install -g @angular/cli

#### .NET 6 SDK - Optional

>Note: All required .NET Api's are available containerized at [https://hub.docker.com/repositories/arambazamba](https://hub.docker.com/repositories/arambazamba) if you want to skip .NET SDK installation. You need to sign up for a [free Docker Hub account](https://hub.docker.com/) to access the images.
>Note: All required .NET Api's are available containerized at [https://hub.docker.com/repositories/alexander-kastil](https://hub.docker.com/repositories/alexander-kastil) if you want to skip .NET SDK installation. You need to sign up for a [free Docker Hub account](https://hub.docker.com/) to access the images.
Install .NET 6 SDK:

Expand Down
11 changes: 6 additions & 5 deletions tooling/00-getting-started/readme.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# Getting Started

To avoid problems with saved credentials I recommend using an alternate browser or log of all accounts in your browser before starting the lab.

- [Get the Azure Pass from the GoDeploy Lab](../09-godeploy-lab)
- [Register your Azure Pass](../05-azurepass)
- [Configure CloudShell for first use in your Azure Tenant](../04-cli/#configure-cloud-shell)
- [Register GitHub Account](https://github.com/)
- Activate your Lab Environment by using the Access Code provided by the instructor
- You can also work on your own machine by execute [setup-az-204.ps1](../../setup/setup-az-204.ps1) to install the required Software on a Windows machine, or [Setup a Lab Machine in Azure & install required Software using Script - optional](../../setup)
- Configure Git on the Lab VM
- Setup Git and Fork the class repo

Expand All @@ -19,10 +20,10 @@ git config --global user.email "[email protected]"

## Setup Git and Fork the class repo

Go to `https://github.com/ARambazamba/az-204` and fork the repo or use the GitHub CLI:
Go to `https://github.com/alexander-kastil/az-204` and fork the repo or use the GitHub CLI:

```
gh repo fork https://github.com/arambazamba/az-204
gh repo fork https://github.com/alexander-kastil/az-204
```

![forking-wf](_images/fork.jpg)
Expand All @@ -37,4 +38,4 @@ Clone Class Repo:
git clone https://github.com/Student01/az-204
```

> Note: If you have forked the class repo clone your own fork, otherwise use https://github.com/ARambazamba/az-204
> Note: If you have forked the class repo clone your own fork, otherwise use https://github.com/alexander-kastil/az-204
4 changes: 2 additions & 2 deletions tooling/01-git/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ git pull / git push

![forking-wf](_images/forking-workflow.jpg)

Original Repo could be: `https://github.com/ARambazamba/AZ-204` where `ARambazamba` is the `original-owner-github-username` and `AZ-204` is the name of the GitHub Repo.
Original Repo could be: `https://github.com/alexander-kastil/AZ-204` where `alexander-kastil` is the `original-owner-github-username` and `AZ-204` is the name of the GitHub Repo.

### Listing the current Remotes

Expand Down Expand Up @@ -284,7 +284,7 @@ Fetch from Upstream:
Add a Submodule:

```
git submodule add https://github.com/ARambazamba/FoodApp FoodApp
git submodule add https://github.com/alexander-kastil/FoodApp FoodApp
git commit -m foodapp-submodule
```

Expand Down
Loading

0 comments on commit 0941659

Please sign in to comment.