hany fahim from vm farms presents how brazil kept us up at night tales from the ops side

19
How Brazil kept us up at night Tales from the Ops side By Hany Fahim Founder and CEO @iHandroid @vmfarms

Upload: techto

Post on 08-Jan-2017

138 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Hany Fahim from VM Farms presents How brazil kept us up at night   tales from the ops side

How Brazil kept us up at night

Tales from the Ops side

By Hany FahimFounder and CEO@iHandroid @vmfarms

Page 2: Hany Fahim from VM Farms presents How brazil kept us up at night   tales from the ops side

Wednesday, December 16th, 20158:00pm EST

Page 3: Hany Fahim from VM Farms presents How brazil kept us up at night   tales from the ops side

Customer down!One of our customers had gone down and they were getting a flood of

alerts.

Jumped online to begin investigation.

Overload alerts from all their API servers.

Massive spike in traffic!

Page 4: Hany Fahim from VM Farms presents How brazil kept us up at night   tales from the ops side

Was this an attack?

Our immediate thought was some form of DDoS.

Customer is in the security and VPN space.

Started analyzing traffic, looking for patterns.

Picked up the phone to contact the customer...

Page 5: Hany Fahim from VM Farms presents How brazil kept us up at night   tales from the ops side

Another customer down!Another customer went down!

Also in the security/VPN space.

Same symptoms: overloaded servers, big spike in traffic.

This was quite odd. 2 different customers, same space.

Was there some event going on?

Page 6: Hany Fahim from VM Farms presents How brazil kept us up at night   tales from the ops side

Brazilian IPsAfter analyzing the traffic, the vast majority of IPs were coming from

Brazil.

Still not convinced it wasn't an attack of sorts. Should we defend or

scale?

Contacted each customer, confirmed spikes in signups and usage.

What would trigger a spike in security and VPN services?

Page 7: Hany Fahim from VM Farms presents How brazil kept us up at night   tales from the ops side

Took to TwitterSearched “brazil”, immediately there were a flood of tweets:

“BIG BROTHER en ACCION en Brazil!!! Justicia ordena bloquear WhatsApp durante 48 horas en Brasil”

BIG BROTHER in action in Brazil!!! Justice ordered block WhatsApp for 48 hours in Brazil

“El Gobierno de #Brazil ordenó bloquear #WhatsApp durante dos días!! Creo que muchos estarán en la carcel el fin de semana.”

The government ordered #Brazil #WhatsApp block for two days!! I think many will be in jail over the weekend.

Page 8: Hany Fahim from VM Farms presents How brazil kept us up at night   tales from the ops side

It was true

Brazilian telecom companies were angry at their diminishing profits as more and more users communicate over WhatsApp.

Apparently 93% of Brazil's internet population uses WhatsApp.Doctors use it to communicate with their patients. Businessmen use it to conduct transactions. People who are too poor to afford a cell phone have embraced its free services.

With an Internet population of 100 million, that's 93 million users!(50% of the entire population of Brazil).

It is the single most used app in the country.

Page 9: Hany Fahim from VM Farms presents How brazil kept us up at night   tales from the ops side

“Me without WhatsApp”

Page 10: Hany Fahim from VM Farms presents How brazil kept us up at night   tales from the ops side

PC ConectadoIn 2003, the Brazilian government launched an initiative to offer low-

cost tax-free computers to anyone who wanted it.

They mandated the use of Linux and Open Source Software, and outright rejected Microsoft's bid for OS of choice.

This included all government ministries and state-owned systems.

This move was widely publicized in the media.

Page 11: Hany Fahim from VM Farms presents How brazil kept us up at night   tales from the ops side

Think about this for a minute.

Page 12: Hany Fahim from VM Farms presents How brazil kept us up at night   tales from the ops side

Linux and OSSLinux has come a long way, but it still requires some technical know-

how to operate.

Unlike Windows and Mac, you usually have to pop open the hood and

tinker.

After more than a decade of this program, the result is a highly

technical population.

Page 13: Hany Fahim from VM Farms presents How brazil kept us up at night   tales from the ops side

So let’s see...

Government enables the people by giving them technical knowledge,

then tries to block access to the single most used app in the

country.

No wonder these VPN services were getting hit hard!

Page 14: Hany Fahim from VM Farms presents How brazil kept us up at night   tales from the ops side

Time to scale up and out!

Threw everything we had.

Server after server, traffic kept soaring.

By about midnight, things plateaued and sites were stable again.

Page 15: Hany Fahim from VM Farms presents How brazil kept us up at night   tales from the ops side

Or so we thought...

Around 5:00am EST, traffic spiked again, this time much higher than the previous peak.

Brazil was waking up!

One customer was already 5x their original size.

Components we thought would never break started to buckle.

Page 16: Hany Fahim from VM Farms presents How brazil kept us up at night   tales from the ops side

Then at 10:30am EST everything stopped.

Page 17: Hany Fahim from VM Farms presents How brazil kept us up at night   tales from the ops side

Traffic calmedLoad subsided, traffic waned, alerts cleared.

What just happened?

Took to Twitter: The ban had been lifted! The people won!

Page 18: Hany Fahim from VM Farms presents How brazil kept us up at night   tales from the ops side

Lessons learned

1.Government censorship and blockades rarely works, especially when you arm your people with knowledge.

2.We are way more connected than you think.

3.Twitter is an invaluable resource for finding out what’s happening RIGHT NOW.

Page 19: Hany Fahim from VM Farms presents How brazil kept us up at night   tales from the ops side

Thanks!Questions?

By Hany Fahim@iHandroid @vmfarms