Skip to content

Commit 27ab056

Browse files
committed
README [ci skip]
1 parent fb2495a commit 27ab056

File tree

1 file changed

+9
-14
lines changed

1 file changed

+9
-14
lines changed

README.md

+9-14
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,21 @@ Consider Azure Shell bash session for following commands:
44

55
```shell
66

7-
# verify Azure subsctiption
7+
# verify current Azure subsctiption (it should be ready in Azure Shell)
88
az account show --output table
99

10-
# Azure environment - VM provisioning
10+
# Azure environment - Ubuntu LTS VM with public IP provisioning
1111
. <(curl -s https://raw.githubusercontent.com/mkol5222/appsec-chart/main/setup-vm.sh)
1212

1313
# login to new VM
14-
ssh -o StrictHostKeyChecking=no $MY_USERNAME@$IP_ADDRESS
14+
sshvm
1515
# will continue IN PROVISIONED AZURE VM
1616
```
1717

18-
On Azure VM:
18+
Lets continue on Azure VM:
1919

2020
```shell
21-
# avoid need for sudo with microk8s
22-
sudo usermod -a -G microk8s azureuser
23-
newgrp microk8s
24-
25-
# setup user profile
26-
. <(curl -s https://raw.githubusercontent.com/mkol5222/appsec-chart/main/setup-user.sh)
27-
21+
# IN AZURE VM (after sshvm)
2822

2923
# ready to deploy AppSec WAF - FOCUS ON INPUTS AND DNS RECORD!!!
3024
#
@@ -51,7 +45,8 @@ k get po --watch
5145
Cleanup:
5246

5347
```shell
54-
# when want to remove VM later
55-
az vm delete --resource-group $MY_RESOURCE_GROUP_NAME --name $MY_VM_NAME --yes
56-
az group delete --name $MY_RESOURCE_GROUP_NAME --yes
48+
# BACK IN AZURE SHELL: when want to remove VM later
49+
# we store ./destroyvm-<RANDOMID>.sh - look what it does
50+
ls destroyvm*sh; cat destrouvm*.sh
51+
5752
```

0 commit comments

Comments
 (0)