Wir verwenden technische Cookies und das anonymisierte Besuchsprotokoll von Zorky. Yandex Metrica (Daten werden auf Servern in Russland gespeichert) läuft nur mit Ihrer Einwilligung. Wir verkaufen keine Daten. Mehr zu Cookies und Statistik.
Zorky läuft im Testmodus — alles ist kostenlos. Stellen und Unternehmensseiten sind für alle offen; Links zu den Anzeigen und Ihre persönliche Stellenauswahl gibt es nach der Registrierung. Registrieren →
ZorkyZorky

Website durchsuchen

Name eingeben, z. B. Python, Airalo oder Berlin
    Ort
    Wo suchen Sie Arbeit?
    Deutsch

    Self taught backend engineer looking for feedback on my production architecture

    Unternehmen nicht angegeben

    Level nicht angegebenvor 2 T.
    Stack
    Details
    Methoden
    CI/CD, DevOps

    Beschreibung

    Self taught backend engineer looking for feedback on my production architecture

    TL;DR: Running a Dockerized Node.js backend on a single EC2 instance with Nginx, blue-green deployments, and SSH-based CI/CD. Serving 20–30K DAUs comfortably. Looking to improve security, filter junk traffic, and adopt better deployment practices without unnecessary complexity.

    Current architecture:

    \- Single EC2 instance with a public IP.

    \- API domain resolves directly to the instance's public IP (which doesn't feel right).

    \- Nginx and Node.js backend run in Docker on the same network.

    \- Port 443 is publicly accessible and mapped to Nginx.

    \- GitHub Actions connects via SSH, pulls the latest image from Docker Hub, starts the inactive container, waits for the health check, switches Nginx traffic, and stops the previous container.

    \- Frontend builds are deployed to S3 and served through CloudFront.

    \- Self hosted Prometheus and Grafana on a separate instance.

    Blue-green deployments work well with zero downtime. We rarely exceed 20 requests/sec, so scaling isn't currently a concern.

    What I need advice on:

    • Security and architecture: What would you change in this architecture to make it more secure and production-grade?
    • Junk traffic: I've noticed increasing requests from automated scanners probing paths like "/.env". I'm considering moving EC2 into a private subnet behind an ALB. Would that help, or should I consider something like WAF? Is there a simpler, more cost effective sol
    Vollständige Beschreibung und Bewerbungslink — nach der Anmeldung. Anmelden
    Kontaktdaten des Arbeitgebers (E-Mail/Telefon/Telegram) sind in der öffentlichen Vorschau ausgeblendet.
    Sicherheit. Zahlen Sie nicht, um eine Stelle zu bekommen, und geben Sie keine Passwörter oder Bestätigungscodes weiter. Prüfen Sie Recruiter und Quelle, bevor Sie zugesandten Code oder Software ausführen. Betrug erkennen →
    Dringende Frage? Schreiben Sie @termdocs
    Zum Bewerben anmelden →