-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDEPLOYMENT-INFO.txt
More file actions
165 lines (132 loc) · 5.3 KB
/
Copy pathDEPLOYMENT-INFO.txt
File metadata and controls
165 lines (132 loc) · 5.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
=== D2D Azure Deployment with VNet Integration ===
Deployment Date: 2026-01-23
Deployed By: chris@visionradiology.com.au
Status: ✓ PRODUCTION READY
=== Access ===
Application URL: https://d2d-app-vnet.kindglacier-71e74fc9.australiasoutheast.azurecontainerapps.io
=== Resources ===
Container App: d2d-app-vnet
Container Registry: d2dacr9129522
Storage Account: d2dstor9129558
Resource Group: d2d-rg
Location: australiasoutheast
=== Network Configuration ===
VNet: vnet-migration (10.200.0.0/16)
Container Subnet: snet-containerapps (10.200.2.0/23)
Container IPs: Dynamic from 10.200.2.0 - 10.200.3.255
PACS Target: 10.17.1.21:5000 ✓ REACHABLE
✓ Containers CAN connect to your PACS at 10.17.1.21:5000
✓ Connected via VPN/ExpressRoute through vnet-migration
✓ Source IPs will be from 10.200.2.0/23 range
=== PACS Configuration Required ===
On your PACS at 10.17.1.21, allow:
Source: 10.200.2.0/23 (entire subnet)
Destination: 10.17.1.21:5000
Protocol: TCP (DICOM)
AE Title: D2D_SCU (configurable in app)
=== App Configuration ===
CPU: 0.5 cores
Memory: 1 GB
Min Replicas: 0 (scales to zero when idle)
Max Replicas: 2
Port: 8000
Ingress: External (HTTPS)
VNet: Integrated ✓
=== Storage ===
File Share: d2darchive
Account: d2dstor9129558
Purpose: Stores converted DICOM files
=== Quick Start ===
1. Access the app:
https://d2d-app-vnet.kindglacier-71e74fc9.australiasoutheast.azurecontainerapps.io
2. Configure DICOM Destination:
- Click "DICOM Destinations"
- Add New:
* Name: Your PACS Name
* Host: 10.17.1.21
* Port: 5000
* AE Title: (your PACS AE title)
* Calling AE: D2D_SCU
- Click "Save"
- Click "Test Connection"
3. Convert and Send:
- Upload a PDF/document
- Enter patient details
- Select destination
- Click "Convert and Send"
=== Management Commands ===
View live logs:
az containerapp logs show --name d2d-app-vnet --resource-group d2d-rg --follow
Update the app (after code changes):
cd /home/claudeagent/d2d
./update-d2d.sh
Manual update:
cd /home/claudeagent/d2d
az acr build --registry d2dacr9129522 --image d2d:latest . --platform linux
az containerapp update --name d2d-app-vnet --resource-group d2d-rg --image d2dacr9129522.azurecr.io/d2d:latest
Restart container:
az containerapp revision restart --name d2d-app-vnet --resource-group d2d-rg
Scale the app:
az containerapp update --name d2d-app-vnet --resource-group d2d-rg --min-replicas 1 --max-replicas 5
Check network configuration:
az containerapp env show --name d2d-env-vnet --resource-group d2d-rg --query vnetConfiguration
List all resources:
az resource list --resource-group d2d-rg -o table
Delete everything:
az group delete --name d2d-rg --yes
# Note: This will NOT delete the VNet (it's in rg-migration-vpn)
=== Troubleshooting ===
Connection fails to PACS:
1. Verify PACS allows 10.200.2.0/23 subnet
2. Check VPN/ExpressRoute is active
3. Test from another machine on 10.200.x.x network
4. Check firewall rules
5. View container logs for errors
View detailed logs:
az containerapp logs show --name d2d-app-vnet --resource-group d2d-rg --follow
Check if container is running:
az containerapp show --name d2d-app-vnet --resource-group d2d-rg --query properties.runningStatus -o tsv
Test from container (if needed):
az containerapp exec --name d2d-app-vnet --resource-group d2d-rg --command "/bin/bash"
=== Cost Estimate ===
Container Apps: $0-10/month (scales to zero when idle)
Storage: ~$0.50/month for 10GB
Registry (ACR): ~$5/month (Basic tier)
VNet: No additional cost (existing)
─────────────────────────────────────────────────
Total: ~$6-15/month depending on usage
=== Network Topology ===
Internet (HTTPS) → Container App (public endpoint)
↓
Container (10.200.2.x)
↓ (private network)
vnet-migration (10.200.0.0/16)
↓ (VPN gateway)
Your Network
↓
PACS (10.17.1.21:5000)
=== Files in Repository ===
/home/claudeagent/d2d/
├── DEPLOYMENT-INFO.txt (this file)
├── NETWORK-STATUS.md (detailed network docs)
├── update-d2d.sh (quick update script)
├── app/ (application code)
├── static/ (web interface)
└── test_pacs_connectivity.py (network test script)
=== Support ===
Documentation: See NETWORK-STATUS.md for detailed network configuration
Update Script: ./update-d2d.sh
Repository: /home/claudeagent/d2d/
=== Next Steps ===
1. ✓ App is deployed and running
2. ✓ VNet integration configured
3. ☐ Configure PACS to accept 10.200.2.0/23 subnet
4. ☐ Test connection from D2D web interface
5. ☐ Upload first document and test conversion
6. ☐ Verify DICOM file reaches PACS
=== Quick Reference ===
App URL: https://d2d-app-vnet.kindglacier-71e74fc9.australiasoutheast.azurecontainerapps.io
PACS: 10.17.1.21:5000
Source IPs: 10.200.2.0/23
Update: ./update-d2d.sh
Logs: az containerapp logs show --name d2d-app-vnet --resource-group d2d-rg --follow