Switch to English?
Yes
Переключитись на українську?
Так
Переключиться на русскую?
Да
Przełączyć się na polską?
Tak

Cloudflare-Firebase Sync — Subdomain Automation System

Production-ready system for automatic creation and management of subdomains with Cloudflare DNS and Firebase Remote Config integration. Solves issues of fault tolerance, scalability, and infrastructure automation.

Key Features

Function Description Technologies
Batch Creation Simultaneous creation of multiple subdomains Python, Cloudflare API
Auto-Rotation Automatic rotation and cleanup on schedule Cron, SQLite
Multi-Firebase Publishing to multiple Firebase projects Firebase Admin SDK
Round-Robin Fair distribution among domains Custom Algorithm
Monitoring Detailed logging and metrics Python Logging
Technical Stack

Backend: Python 3.12, SQLite

APIs: Cloudflare API, Firebase Admin SDK

DevOps: Cron, Shell Scripting, Git

Testing: Unit Tests, Integration Tests

Patterns: Batch Processing, Multi-tenant, Modular Architecture

Performance Metrics

Creation of 1 subdomain: 8 seconds

Batch (3 subdomains): 15 seconds

Process acceleration: 10x compared to manual creation

Uptime: 99.9% due to failover

Cost reduction: 60% on operations

Architectural Innovations

Batch Processing:

Python
# Simultaneous creation of N subdomains
SUBDOMAINS_BATCH_SIZE = 3
subdomains = ["abc.domain1.com", "def.domain2.com", "xyz.domain3.com"]
Multi-Firebase Publication:

JSON
{
"reserve_urls": [
"https://abc.domain1.com/api/",
"https://def.domain2.com/api/"
]
}
Smart Round-Robin:

Python
# Intelligent load balancing
domain = domains[index % len(domains)]
Quality and Testing

100% test coverage of critical functionality

Complete documentation and API reference

PEP 8 compliance and type hints

CI/CD readiness with automated scripts

Business Applications

Addresses issues:

Failover for high-load systems

A/B testing and canary deployments

Geographical load distribution

Automatic scaling of infrastructure

Results:

Zero-downtime during failures

3x increase in throughput in batch mode

60% savings on operational costs

Seconds instead of hours for deployment

Demonstrated Skills

Field Skills
Backend REST API integration, Database design, Error handling
DevOps Process automation, Configuration management, Monitoring
Architecture Modular design, Scalability, Multi-tenant systems
Quality Unit testing, Documentation, Code standards
Value for Portfolio

Production-ready solution with real-world application

Modern technologies and cloud services

Scalable architecture for enterprise-level

Full automation with performance metrics

Comprehensive testing and documentation

Project Structure

cloudflare-firebase-sync/
├── modules/ # Modular architecture
│ ├── cloudflare_api.py # Integration with Cloudflare
│ ├── firebase_api.py # Firebase Remote Config
│ └── database.py # SQLite operations
├── test/ # Comprehensive testing
│ ├── test_batch_workflow.py
│ └── test_integration.py
├── main.py # Main workflow
├── config.py # Configuration system
└── docs/ # Technical documentation

Key feature: Batch mode for creating subdomains with publishing to multiple Firebase.
Result: Fully automated system with 99.9% uptime.

The project demonstrates the ability to create enterprise-grade solutions for automating cloud infrastructure.
Work details
Budget 446 USD
Added 17 September 2025
182 views
Freelancer
Vitaly Matsiborka
Ukraine Mukachevo  15  0

Available for hire Available for hire
15 Safes completed
On the service 8 years