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

Service Discovery: From Classic to VPC

Mark Corwin
January 19, 2016

Service Discovery: From Classic to VPC

As SeatGeek's traffic continues to grow, so too has its infrastructure needs. Recent expansion of the operations team has allowed us to replace our existing service discovery solution with Consul, improving our ability to scale and manage an elastic cloud environment. At the same time,we saw this opportunity to migrate from EC2 Classic to VPC and take advantage of AWS's latest offerings.

In this talk, we will discuss Consul, the problems it has solved, and adoption issues that surfaced along the way. In addition, we will also highlight our experiences with VPC, including setup, routing, access control, and migration with the extremely useful EC2 ClassicLink.

PDF with presenter notes and links can be found here:
http://bit.ly/1OH7HC0

Mark Corwin

January 19, 2016
Tweet

More Decks by Mark Corwin

Other Decks in Technology

Transcript

  1. SeatGeek • "Kayak for live events" • Ticket Marketplace •

    ~8 million users on platform • ~30 Developers, 3 Ops • ~150 Servers • PHP/Python/Go/Ruby/JS • Chef/Ansible • AWS/Heroku/Linode
  2. Agenda 1. What is VPC, and why do I care?

    2. Setting up a VPC 3. Case Study: Service Discovery at SeatGeek 4. Lessons Learned
  3. EC2 Classic • Standard Cloud Offering • Public Nodes with

    Internet Access • Shared Tenancy • Security controlled by Security Groups
  4. VPC • Virtual Private Cloud • Public or Private Nodes

    • Dedicated or Shared Tenancy • Multiple Security Layers
  5. Why VPC? • Network/Security Control • Decrease footprint on open

    Internet • Flexibility • Latest features and hardware
  6. EC2 ClassicLink • Communicate between EC2 Classic and VPC •

    Can link to one ClassicLink enabled VPC • Requires enabling in VPC and Instances • 10.0.0.0/16 and 10.0.0.0/8
  7. Old Setup Pros: • Simplicity • Good for Static Infrastructure

    Cons: • Complexity • Single point of failure • Delayed response • Fleet management is difficult
  8. Problems Solved • Consul used as Discovery Service • Removes

    single point of failure • Real time response • Passive solution
  9. Migration 1. Setup Consul Cluster 2. Register Services in Consul

    3. Use Consul for Service Lookup 4. Recycle nodes into VPC
  10. Current Progress 1. Setup Consul Cluster 2. Register Services in

    Consul 3. Use Consul for Service Lookup 4. Recycle nodes into VPC