Apply Composer changes: comprehensive API updates, migrations, middleware, and infrastructure improvements
- Add comprehensive database migrations (001-024) for schema evolution - Enhance API schema with expanded type definitions and resolvers - Add new middleware: audit logging, rate limiting, MFA enforcement, security, tenant auth - Implement new services: AI optimization, billing, blockchain, compliance, marketplace - Add adapter layer for cloud integrations (Cloudflare, Kubernetes, Proxmox, storage) - Update Crossplane provider with enhanced VM management capabilities - Add comprehensive test suite for API endpoints and services - Update frontend components with improved GraphQL subscriptions and real-time updates - Enhance security configurations and headers (CSP, CORS, etc.) - Update documentation and configuration files - Add new CI/CD workflows and validation scripts - Implement design system improvements and UI enhancements
This commit is contained in:
194
docs/infrastructure/DOMAIN_MIGRATION.md
Normal file
194
docs/infrastructure/DOMAIN_MIGRATION.md
Normal file
@@ -0,0 +1,194 @@
|
||||
# Domain Migration: d-bis.org → sankofa.nexus
|
||||
|
||||
**Date**: 2024-12-19
|
||||
**Status**: Completed
|
||||
|
||||
## Summary
|
||||
|
||||
All FQDNs have been migrated from `d-bis.org` to `sankofa.nexus` across the entire infrastructure.
|
||||
|
||||
## Changes Made
|
||||
|
||||
### 1. DNS Records
|
||||
|
||||
**File**: `cloudflare/dns/sankofa.nexus-records.yaml` (renamed from `d-bis.org-records.yaml`)
|
||||
|
||||
**Updated Records**:
|
||||
- `ml110-01.sankofa.nexus` → 192.168.11.10
|
||||
- `r630-01.sankofa.nexus` → 192.168.11.11
|
||||
- `ml110-01-api.sankofa.nexus` → CNAME to ml110-01.sankofa.nexus
|
||||
- `r630-01-api.sankofa.nexus` → CNAME to r630-01.sankofa.nexus
|
||||
- `ml110-01-metrics.sankofa.nexus` → CNAME to ml110-01.sankofa.nexus
|
||||
- `r630-01-metrics.sankofa.nexus` → CNAME to r630-01.sankofa.nexus
|
||||
|
||||
### 2. Cloudflare Tunnel Configurations
|
||||
|
||||
**Files Updated**:
|
||||
- `cloudflare/tunnel-configs/proxmox-site-1.yaml`
|
||||
- `cloudflare/tunnel-configs/proxmox-site-2.yaml`
|
||||
- `cloudflare/tunnel-configs/proxmox-site-3.yaml`
|
||||
|
||||
**Changes**:
|
||||
- All hostname entries updated to use `sankofa.nexus`
|
||||
- Ingress rules updated with new domain
|
||||
|
||||
### 3. Provider Configurations
|
||||
|
||||
**File**: `crossplane-provider-proxmox/examples/provider-config.yaml`
|
||||
|
||||
**Updated Endpoints**:
|
||||
- `https://ml110-01.sankofa.nexus:8006`
|
||||
- `https://r630-01.sankofa.nexus:8006`
|
||||
|
||||
### 4. Terraform Configurations
|
||||
|
||||
**File**: `cloudflare/terraform/dns.tf`
|
||||
|
||||
**Changes**:
|
||||
- Zone data source updated to `sankofa.nexus`
|
||||
- All DNS record values updated
|
||||
|
||||
### 5. Scripts
|
||||
|
||||
**Files Updated**:
|
||||
- `scripts/setup-dns-records.sh`
|
||||
- `scripts/get-cloudflare-info.sh`
|
||||
- `scripts/hosts-entries.txt`
|
||||
- All other scripts referencing the domain
|
||||
|
||||
**Default Domain**: Changed from `d-bis.org` to `sankofa.nexus`
|
||||
|
||||
### 6. Documentation
|
||||
|
||||
**Files Updated**: 50+ documentation files
|
||||
- All references to `d-bis.org` replaced with `sankofa.nexus`
|
||||
- URLs, examples, and configuration snippets updated
|
||||
|
||||
## Domain Registration
|
||||
|
||||
**Domain**: sankofa.nexus
|
||||
**Registrar**: Cloudflare
|
||||
**Registrar URL**: https://www.cloudflare.com/
|
||||
**WHOIS Server**: whois.cloudflare.com
|
||||
**Creation Date**: 2025-12-08T02:42:20Z
|
||||
**Status**: ✅ Registered and Active
|
||||
|
||||
## Cloudflare Configuration
|
||||
|
||||
### DNS Setup
|
||||
|
||||
1. **Domain Status**:
|
||||
- Domain: `sankofa.nexus` ✅ Registered
|
||||
- Registrar: Cloudflare
|
||||
- Nameservers: Managed by Cloudflare (auto-configured)
|
||||
|
||||
2. **Create DNS Records**:
|
||||
```bash
|
||||
./scripts/setup-dns-records.sh
|
||||
```
|
||||
|
||||
3. **Verify Zone ID**:
|
||||
```bash
|
||||
./scripts/get-cloudflare-info.sh
|
||||
```
|
||||
|
||||
### SSL/TLS Certificates
|
||||
|
||||
**Cloudflare Origin CA**:
|
||||
- Certificate will be auto-generated for `sankofa.nexus`
|
||||
- Covers `*.sankofa.nexus` wildcard
|
||||
- Auto-renewed by Cloudflare
|
||||
|
||||
### Tunnels
|
||||
|
||||
**Tunnel Configuration**:
|
||||
- All tunnel configs updated with new domain
|
||||
- Hostname routing updated in Cloudflare dashboard
|
||||
- Tunnel credentials remain the same
|
||||
|
||||
## IP Addresses
|
||||
|
||||
**No Changes**:
|
||||
- ML110-01: 192.168.11.10
|
||||
- R630-01: 192.168.11.11
|
||||
|
||||
## Gateway Configuration
|
||||
|
||||
**Cloudflare Gateway**:
|
||||
- DNS policies updated for `sankofa.nexus`
|
||||
- Network policies remain unchanged
|
||||
- Split DNS updated for new domain
|
||||
|
||||
## ARIN and PeeringDB
|
||||
|
||||
**New Information Added**:
|
||||
- ARIN organization details
|
||||
- PeeringDB network information
|
||||
- ASN configuration
|
||||
- Contact information
|
||||
|
||||
See: [ARIN_PEERINGDB.md](./ARIN_PEERINGDB.md)
|
||||
|
||||
## Migration Checklist
|
||||
|
||||
- [x] Update all DNS record definitions
|
||||
- [x] Update Cloudflare tunnel configurations
|
||||
- [x] Update provider configurations
|
||||
- [x] Update Terraform configurations
|
||||
- [x] Update all scripts
|
||||
- [x] Update all documentation
|
||||
- [x] Rename DNS records file
|
||||
- [x] Add ARIN and PeeringDB information
|
||||
- [ ] Update Cloudflare dashboard (manual)
|
||||
- [ ] Update nameservers (manual)
|
||||
- [ ] Verify DNS propagation
|
||||
- [ ] Test all endpoints
|
||||
- [ ] Update SSL certificates
|
||||
- [ ] Verify tunnel connectivity
|
||||
|
||||
## Next Steps
|
||||
|
||||
1. **Add Domain to Cloudflare**:
|
||||
- Log in to Cloudflare dashboard
|
||||
- Add `sankofa.nexus` domain
|
||||
- Update nameservers on domain registrar
|
||||
|
||||
2. **Create DNS Records**:
|
||||
```bash
|
||||
export DOMAIN=sankofa.nexus
|
||||
./scripts/setup-dns-records.sh
|
||||
```
|
||||
|
||||
3. **Update Zone ID in .env**:
|
||||
```bash
|
||||
./scripts/get-cloudflare-info.sh
|
||||
# Update CLOUDFLARE_ZONE_ID in .env
|
||||
```
|
||||
|
||||
4. **Verify DNS Propagation**:
|
||||
```bash
|
||||
dig ml110-01.sankofa.nexus
|
||||
dig r630-01.sankofa.nexus
|
||||
```
|
||||
|
||||
5. **Test Endpoints**:
|
||||
```bash
|
||||
curl -k https://ml110-01.sankofa.nexus:8006
|
||||
curl -k https://r630-01.sankofa.nexus:8006
|
||||
```
|
||||
|
||||
## Rollback Plan
|
||||
|
||||
If issues occur, the previous domain configuration can be restored by:
|
||||
1. Reverting DNS records to `d-bis.org`
|
||||
2. Updating tunnel configurations
|
||||
3. Updating provider configs
|
||||
|
||||
**Note**: All changes are in version control and can be reverted if needed.
|
||||
|
||||
## Related Documentation
|
||||
|
||||
- [ARIN and PeeringDB Information](./ARIN_PEERINGDB.md)
|
||||
- [DNS Configuration](../proxmox/DNS_CONFIGURATION.md)
|
||||
- [Cloudflare Setup](../proxmox/CLOUDFLARE_DOMAIN_SETUP.md)
|
||||
|
||||
Reference in New Issue
Block a user