appknox architecture - making the switch from aws to the google cloud

22
MAKING THE SWITCH FROM AWS TO THE GOOGLE CLOUD APPKNOX ARCHITECTURE

Upload: subho-halder

Post on 10-Feb-2017

307 views

Category:

Technology


3 download

TRANSCRIPT

MAKING THE SWITCH FROM AWS TO THE GOOGLE CLOUD

APPKNOX ARCHITECTURE

GOOGLE DEVELOPER GROUP - SINGAPORE

ABOUT ME

▸ CoFounder and CTO of Appknox

▸ Mobile Security Researcher

▸ Developer of Android Framework for Exploitation

▸ Spoke & Trained at various Security conferences such as BlackHat, RSA, SyScan, etc.

▸ Found Security Issues in Google Chrome, Facebook, Microsoft, etc.

GOOGLE DEVELOPER GROUP - SINGAPORE

HOW APPKNOX WORKS ?

HOW APPKNOX LOOKS LIKE?SHERLOCK HOLMES

CLIENT SUBSYSTEMDJANGO AND SOCKET

DATA SUBSYSTEMData Warehouse & Storage

WORKER SUBSYSTEM

THE MAGIC BEHIND APPKNOX

GOOGLE DEVELOPER GROUP - SINGAPORE

OUR STACKS

▸ Django

▸ Postgres (Migrated from MySQL)

▸ RabbitMQ

▸ Celery

▸ Redis

▸ Memcached

▸ Varnish

▸ Nginx

▸ Ember

▸ Google Compute

▸ Google Cloud Storage

HOW DOES IT WORKS?

GDG Attendees in Singapore

GOOGLE DEVELOPER GROUP - SINGAPORE

LIVE WALKTHROUGHSNEAK PEAK

WHY SHIFT FROM AWS TO GOOGLE CLOUD ?

Random GDG Attendee

GOOGLE DEVELOPER GROUP - SINGAPORE

GOOGLE DEVELOPER GROUP - SINGAPORE

AMAZON WEB SERVICES - PROS

▸ Has message Queuing as services

▸ Has both Relational/NoSQL as services

GOOGLE DEVELOPER GROUP - SINGAPORE

AMAZON WEB SERVICES - CONS

▸ More expensive than any other services

▸ Steep learning curve

▸ Running an RDS instance is slower + costlier than running your own instance

▸ Running an SQS instance is not fault tolerant

GOOGLE DEVELOPER GROUP - SINGAPORE

GOOGLE CLOUD SERVICES - PROS

▸ Objects stored in Google Cloud Storage has better availability

▸ Google Cloud SQL instances fares much faster than RDS

▸ Configurability through Google API is better than AWS

GOOGLE DEVELOPER GROUP - SINGAPORE

GOOGLE CLOUD SERVICES - CONS

▸ Doesn’t have a queuing service

▸ Google’s own PubSub is not compatible with Redis based PubSub

▸ Relatively New, hence no dedicated built-in support as a plugin for most applications

WHAT DO WE DO ?

@dhilipsiva -FSD at Appknox

GOOGLE DEVELOPER GROUP - SINGAPORE

WHAT DID WE DO?

ALL YOUR CODE SHOULD WORK OFFLINE

GOOGLE DEVELOPER GROUP - SINGAPORETEXT

TIPS AND TRICKS WE EXPERIMENTED

▸ Log analysis through Google Bigtable

▸ Google Deployment manager to auto-deploy from Github

▸ Flexibility of attaching and re-using a disk with different compute engine, allowed us to speed-up our process by 200%

▸ Using Google Cloud Services to Deploy AWS !

▸ High reliability in data-availability is guaranteed in Google Cloud

IT’S NOT A BUG, IT’S A FEATURE

:-/

Thank You

Slides Available in SlideShare:

https://goo.gl/n2Hhi7

Tweet:

@sunnyrockzzs @appknox

Email:

[email protected]