Skip to content

Commit 00dafca

Browse files
AbhivanAbhivan Chekuri
andauthored
Crime bastion fix the names and RG's (#677)
Co-authored-by: Abhivan Chekuri <abhivan.chekuri@justice.gov.uk>
1 parent 2eb3706 commit 00dafca

2 files changed

Lines changed: 21 additions & 6 deletions

File tree

source/Crime/Bastion/general-ssh.html.md.erb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ az network bastion ssh \
6565

6666
Use this pattern with Crime-specific values:
6767

68+
| Environment | Bastion name | Resource group |
69+
| --- | --- | --- |
70+
| Nonlive | `BA-MDV-DMZ-01` | `RG-MDV-BASTION-01` |
71+
| Live | `BA-MPD-DMZ-01` | `RG-MPD-BASTION-01` |
72+
6873
```bash
6974
az network bastion ssh \
7075
--name "<CRIME_BASTION_NAME>" \

source/Crime/Bastion/ssh-port-forwarding-and-services.html.md.erb

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Use this page for tunnel + `ssh -L` forwarding to Crime services.
1212
## Contents
1313

1414
- [Prerequisites](#prerequisites)
15+
- [Bastion reference](#bastion-reference)
1516
- [Pattern](#pattern)
1617
- [Example: Artemis admin UI](#example-artemis-admin-ui)
1718
- [Example: Postgres PaaS](#example-postgres-paas)
@@ -30,6 +31,15 @@ Use this page for tunnel + `ssh -L` forwarding to Crime services.
3031
- General SSH working via Bastion. See [General SSH use](./general-ssh.html) first.
3132
- Target VM must have network path to the downstream service (Postgres, Artemis, Gerrit).
3233

34+
## Bastion reference
35+
36+
| Environment | Bastion name | Resource group |
37+
| --- | --- | --- |
38+
| Nonlive | `BA-MDV-DMZ-01` | `RG-MDV-BASTION-01` |
39+
| Live | `BA-MPD-DMZ-01` | `RG-MPD-BASTION-01` |
40+
41+
The examples below use the nonlive values. Swap in the live values for production access.
42+
3343
## Pattern
3444

3545
1. Open Bastion tunnel to target VM SSH port.
@@ -53,8 +63,8 @@ Open tunnel:
5363

5464
```bash
5565
az network bastion tunnel \
56-
--name VN-MDV-DMZ-01-bastion \
57-
--resource-group RG-MDV-DMZ-01 \
66+
--name BA-MDV-DMZ-01 \
67+
--resource-group RG-MDV-BASTION-01 \
5868
--target-resource-id "/subscriptions/e6b5053b-4c38-4475-a835-a025aeb3d8c7/resourceGroups/RG-MDV-INT-01/providers/Microsoft.Compute/virtualMachines/MDVCREV01.cpp.nonlive" \
5969
--resource-port 22 \
6070
--port 2022
@@ -80,8 +90,8 @@ Open tunnel:
8090

8191
```bash
8292
az network bastion tunnel \
83-
--name VN-MDV-DMZ-01-bastion \
84-
--resource-group RG-MDV-DMZ-01 \
93+
--name BA-MDV-DMZ-01 \
94+
--resource-group RG-MDV-BASTION-01 \
8595
--target-resource-id "/subscriptions/e6b5053b-4c38-4475-a835-a025aeb3d8c7/resourceGroups/RG-MDV-INT-01/providers/Microsoft.Compute/virtualMachines/MDVCREV01.cpp.nonlive" \
8696
--resource-port 22 \
8797
--port 2022
@@ -109,8 +119,8 @@ Open tunnel to Bastion:
109119

110120
```bash
111121
az network bastion tunnel \
112-
--name VN-MDV-DMZ-01-bastion \
113-
--resource-group RG-MDV-DMZ-01 \
122+
--name BA-MDV-DMZ-01 \
123+
--resource-group RG-MDV-BASTION-01 \
114124
--target-resource-id "/subscriptions/e6b5053b-4c38-4475-a835-a025aeb3d8c7/resourceGroups/RG-MDV-INT-01/providers/Microsoft.Compute/virtualMachines/MDVCREV01.cpp.nonlive" \
115125
--resource-port 22 \
116126
--port 2022

0 commit comments

Comments
 (0)