architecture14 min read

From SSH to REST: A Security-Driven Modernization of Slack’s EMR Data Pipelines

  • AWS EMR
  • YARN
  • Apache Spark
  • Airflow
  • Snowflake
  • Trino
  • Kubernetes

AI Summary

Slack modernized over 700 SSH-based EMR data pipeline operators by migrating them to a REST-based architecture using YARN Distributed Shell and their internal Quarry gateway. This eliminated security vulnerabilities, solved master node resource contention, and enabled modern cloud-native migrations.

Key Takeaways

  • Migrated 700+ production SSH operators across 8 data regions with zero downtime.
  • Leveraged YARN Distributed Shell to run arbitrary shell commands and CLI tools inside proper YARN containers.
  • Used Quarry as a unified REST-based gateway to handle authentication, reliability, and observability.

Why it matters

Direct SSH access to production clusters creates severe security risks, stateful connection failures, and maintenance bottlenecks. This case study demonstrates how to systematically eliminate SSH dependencies at scale without downtime.

Conversation0

What would you add from your experience?

Checking your session…

Every good conversation starts with one perspective.