Hey Dev Masters!
πWanted to share a double win that had me buzzing with excitement this Month:
π οΈ Automated PHP Project Deployment to VPS
Built a full-fledged GitHub Actions CI/CD pipeline that:
β
Auto-syncs all valid apps/* PHP projects to my VPS via rsync
β
Sets up Nginx virtual hosts dynamically per project
β
Generates config.php with secure keys and DB credentials
β
Creates MySQL DB & users on the fly
β
Imports schema.sql if available
β
Assigns unique ports per app + updates UFW & restarts Nginx
πΎ Bonus: Keeps daily backups and removes old ones automatically.
Just deleted an old project (phpsmm) cleanly with DB/user/config/firewall in a single flow. π₯Feels like having my own PaaS π
π Face-Based Photo Finder β AWS Rekognition Integration
Built an AI-powered photo app (proof of concept) for surfers, using:
- CompareFaces & SearchFacesByImage from AWS Rekognition
- User uploads a selfie
- The app searches a stored album and instantly pulls out all matching images β no need to scroll or filter manually
πΈ Think of it as "Find yourself in the crowd" β but instant and intelligent. No training needed, just Rekognition + a clean image upload flow.
Perfect for:
- Surf photographers
- Event albums
- Anyone who's tired of digging through 100s of pictures to find themselves π
π Reflections
- Automating deployment saves real mental energy. Set it once, and ship without fear.
- AWS Rekognition makes face search almost too easy to implement.
- The fusion of DevOps + AI unlocks magic workflows that feel futuristic.
Would love to hear:
- Have you tried integrating Rekognition or similar AI into real-world tools?
- Anyone rolling similar CI/CD pipelines for PHP or multi-app systems?
Letβs keep building awesome stuff and leveling up π
#DevOps #AI #AWS #Rekognition #CI/CD #PHP #Automation #DevWins #DevMastery