-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Summary
Request to add a new subdomain api.upstream-dso.tacc.utexas.edu to provide dedicated API access for the upstream-dso application.
Background
Currently, the API is accessible through the main domain upstream-dso.tacc.utexas.edu. To improve organization and potentially enable different configurations for API vs web traffic, we need to add a dedicated API subdomain.
Requirements
DNS Configuration
- Add A record for
api.upstream-dso.tacc.utexas.edupointing to the same IP asupstream-dso.tacc.utexas.edu - Verify DNS propagation
SSL Certificate
- Update/expand existing SSL certificate to include
api.upstream-dso.tacc.utexas.edu - Handle CAA record restrictions for
tacc.utexas.edudomain
Infrastructure Updates
- Update Traefik configuration to route
api.upstream-dso.tacc.utexas.eduto the API container - Test both domains are accessible and properly routed
Technical Details
Current Configuration:
- Main domain:
upstream-dso.tacc.utexas.edu - API accessible at:
upstream-dso.tacc.utexas.edu/docs(FastAPI docs)
Desired Configuration:
- Main domain:
upstream-dso.tacc.utexas.edu(unchanged) - API domain:
api.upstream-dso.tacc.utexas.edu - API docs:
api.upstream-dso.tacc.utexas.edu/docs
Docker Compose Changes Needed:
labels:
- traefik.enable=true
- traefik.http.routers.app-api.rule=Host(`api.upstream-dso.tacc.utexas.edu`)
- traefik.http.routers.app-api.tls=true
- traefik.http.services.app-api.loadbalancer.server.port=8000Challenges Encountered
CAA Record Issue
When attempting to generate SSL certificates with Let's Encrypt, encountered CAA policy restriction:
CAA record for tacc.utexas.edu prevents issuance
Resolution needed:
- Contact TACC IT to either:
- Add Let's Encrypt to CAA record for
tacc.utexas.edu - Provide alternative certificate solution
- Create CAA exception for
upstream-dso.tacc.utexas.edusubdomains
- Add Let's Encrypt to CAA record for
Acceptance Criteria
-
api.upstream-dso.tacc.utexas.eduresolves to correct IP address - HTTPS works without certificate warnings
- API endpoints accessible via new subdomain
- FastAPI documentation available at
api.upstream-dso.tacc.utexas.edu/docs - Original domain
upstream-dso.tacc.utexas.educontinues to work - No service interruption during deployment
Priority
Medium - Improves API organization but doesn't block current functionality
Additional Context
- Server:
upstream-dso - Current IP: [INSERT_SERVER_IP]
- Traefik version: 2.11
- Let's Encrypt integration: Existing setup using
/etc/letsencryptmount
Next Steps
- IT Request: Submit request to TACC IT for DNS and certificate authority approval
- DNS Update: Add A record for API subdomain
- Certificate: Generate/expand SSL certificate
- Deploy: Update Traefik configuration
- Test: Verify both domains work correctly
Metadata
Metadata
Assignees
Labels
No labels