You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
@@ -95,3 +105,17 @@ ssh ubuntu@IP "sudo systemctl status postgres-ai"
95
105
ssh ubuntu@IP"sudo docker ps"
96
106
```
97
107
108
+
##Security notes
109
+
110
+
Credentials (passwords, connection strings) are stored in`terraform.tfstate` in plain text. For one-off/dev deployments this is acceptable if you clean up after`terraform destroy`:
111
+
112
+
```bash
113
+
terraform destroy
114
+
rm -rf .terraform/ terraform.tfstate*
115
+
```
116
+
117
+
For production deployments, consider:
118
+
- Using environment variables:`export TF_VAR_grafana_password=...`
119
+
- Remote state with encryption (S3 + encryption)
120
+
- Configuring monitoring instances manually after deployment