Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Spotify's journey to GCP

Spotify's journey to GCP

Alexey Lapitsky

October 25, 2016
Tweet

More Decks by Alexey Lapitsky

Other Decks in Technology

Transcript

  1. ~# whoami Alexey Lapitsky / @vzctl [email protected] Site Reliability Engineer

    @Spotify PM for the service track of the GCP migration
  2. Spotify’s cloud history 2010 Manual VM provisioning 2012 Cloudstack, reached

    ~700 instances 2013 Amazon EC2 2015 Google Cloud Platform
  3. Current status • 4 data centers, ~10k physical servers •

    Micro-service architecture, ~1k different services • Mostly commodity hardware (Dell) • Fully automated, self-service server provisioning Moving everything to GCP
  4. Spoticloud CLI REST DB Cloudstack AWS Puppet DNS Server •

    CLI Tool + REST Server • User authentication with ssh agent: github.com/spotify/crtauth SSH Jumphost
  5. Looks awesome! • No need to distribute AWS accounts •

    No need to manage ACLs • Extremely easy to use ~# spcloud create --name web --project alexey
  6. … or not really :( • Testing environment, shamelessly misused

    for production • No accountability or a proper ownership tracking ◦ 60% of instances were wasting money • Access only to the basic cloud primitives ◦ Which are already available on-premise Currently being deprecated.
  7. Things we learned • VPN is tricky • GCP network

    is great • Keep an eye on quotas • Live VM migration! • Think about ACL mgmt in advance • BigTable, GCS, BigQuery are awesome