vancouver - onica aws infrastructure insights... · aws meetups in los angeles, orange county,...

36
sup? Vancouver User Group

Upload: others

Post on 21-May-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Vancouver - Onica AWS infrastructure insights... · AWS Meetups in Los Angeles, Orange County, Vancouver, Toronto, Montreal, Ottawa, Victoria, Calgary, Edmonton & Quebec City Leading

sup?

VancouverUser Group

Page 2: Vancouver - Onica AWS infrastructure insights... · AWS Meetups in Los Angeles, Orange County, Vancouver, Toronto, Montreal, Ottawa, Victoria, Calgary, Edmonton & Quebec City Leading

Meetup - Tuesday May 14, 2019Agenda● Intro & Announcements● 7.85 Second Stand Up - optional● Presentation: How to Drive Insights from

Multiple AWS Accounts into Kafka● Speaker: Todd Kesselman, CTO, Taloflow● Q&A, Discussions & Networking● Survey Winner PRIZE draw!

Page 3: Vancouver - Onica AWS infrastructure insights... · AWS Meetups in Los Angeles, Orange County, Vancouver, Toronto, Montreal, Ottawa, Victoria, Calgary, Edmonton & Quebec City Leading

Usergroup Organizers & Sponsors● Started by: Jarrod Levitan, Chief Growth Officer at Onica● AWS Meetups in Los Angeles, Orange County, Vancouver, Toronto,

Montreal, Ottawa, Victoria, Calgary, Edmonton & Quebec City● Leading AWS Premier Consulting Partner

○ DevOps & DevSecOps Services○ Architecture & Implementation○ Enterprise Migrations

● Offices in: Los Angeles, Vancouver, Calgary, Toronto, Montreal, Dallas & Macedonia

● TriNimbus was acquired by Onica 08/18

Page 4: Vancouver - Onica AWS infrastructure insights... · AWS Meetups in Los Angeles, Orange County, Vancouver, Toronto, Montreal, Ottawa, Victoria, Calgary, Edmonton & Quebec City Leading

©2018 ONICAONICA.COM

Delivering cloud transformation with AWS

Page 6: Vancouver - Onica AWS infrastructure insights... · AWS Meetups in Los Angeles, Orange County, Vancouver, Toronto, Montreal, Ottawa, Victoria, Calgary, Edmonton & Quebec City Leading

News @ AWS since our last Meetup● AI/ML fun: AWS DeepRacer League Virtual Circuit is open!● Use AWS Transit Gateway and Direct Connect together● AWS Snowball Edge - added persistent block storage● Amazon Elastic File System (EFS) - available in :ca-central-1: ● S3 path-style deprecation plan (big news… announced

quietly…) then changed with more detail - demonstrating customer obsessed principle)

● Amazon Transcribe - now available in GovCloud US-West● Amazon Translate - now in Canada region● Launch encrypted EBS-backed instances from

unencrypted AMIs in a single API call

Page 7: Vancouver - Onica AWS infrastructure insights... · AWS Meetups in Los Angeles, Orange County, Vancouver, Toronto, Montreal, Ottawa, Victoria, Calgary, Edmonton & Quebec City Leading

News @ AWS since our last Meetup● AI/ML fun: AWS DeepRacer League Virtual Circuit is open!● Use AWS Transit Gateway and Direct Connect together● AWS Snowball Edge added persistent block storage● Amazon Elastic File System (EFS) and Amazon Translate are

now available in Canada (Central) Region! ● S3 path-style deprecation plan was announced quietly—then

changed with more detail, demonstrating AWS’s customer obsessed principle

● Amazon S3 Batch Operations for bulk object management● You can now launch encrypted EBS-backed instances from

unencrypted AMIs, or copy encrypted AMIs acrossRegions with a single API call

Page 8: Vancouver - Onica AWS infrastructure insights... · AWS Meetups in Los Angeles, Orange County, Vancouver, Toronto, Montreal, Ottawa, Victoria, Calgary, Edmonton & Quebec City Leading

Join our team!

Guess What?

We are hiring!

Go to www.Onica.com and click “Careers”

Page 9: Vancouver - Onica AWS infrastructure insights... · AWS Meetups in Los Angeles, Orange County, Vancouver, Toronto, Montreal, Ottawa, Victoria, Calgary, Edmonton & Quebec City Leading

More details coming soon!

Upcoming Events

Our Next Meetup:

Tuesday June 18, 20196pm - 8pm at Galvanize

Topic: Internet of Things (IoT)

Page 10: Vancouver - Onica AWS infrastructure insights... · AWS Meetups in Los Angeles, Orange County, Vancouver, Toronto, Montreal, Ottawa, Victoria, Calgary, Edmonton & Quebec City Leading

Tell us tonight! Or email:[email protected]

Interested in presenting or hosting at an AWS User Group Meetup?!

Page 11: Vancouver - Onica AWS infrastructure insights... · AWS Meetups in Los Angeles, Orange County, Vancouver, Toronto, Montreal, Ottawa, Victoria, Calgary, Edmonton & Quebec City Leading

WIN a $50 USD AWS Credit Code!VANCOUVER

We are giving away AWS Credit Codes at the end of each meetup to one lucky winner! All you have to do is fill out the

meetup feedback survey before the end of the event.

Survey URLhttps://www.surveymonkey.com/r/May-Van

Page 12: Vancouver - Onica AWS infrastructure insights... · AWS Meetups in Los Angeles, Orange County, Vancouver, Toronto, Montreal, Ottawa, Victoria, Calgary, Edmonton & Quebec City Leading

Your Name 7.85 Second Introduction

Need AWS Advice? See if someone can help!

Something to

share with the

group?

Page 13: Vancouver - Onica AWS infrastructure insights... · AWS Meetups in Los Angeles, Orange County, Vancouver, Toronto, Montreal, Ottawa, Victoria, Calgary, Edmonton & Quebec City Leading

Meetup Group and Pizza sponsored by:

Meetup venue & drinks

provided by:

Page 14: Vancouver - Onica AWS infrastructure insights... · AWS Meetups in Los Angeles, Orange County, Vancouver, Toronto, Montreal, Ottawa, Victoria, Calgary, Edmonton & Quebec City Leading

How to Drive Insights from Multiple AWS Accounts into Kafka

Todd KesselmanCTO & Chairperson

Page 15: Vancouver - Onica AWS infrastructure insights... · AWS Meetups in Los Angeles, Orange County, Vancouver, Toronto, Montreal, Ottawa, Victoria, Calgary, Edmonton & Quebec City Leading

www.taloflow.ai

Driving AWS infrastructure insights into Kafka

Todd KesselmanC.T.O./Founder

Page 16: Vancouver - Onica AWS infrastructure insights... · AWS Meetups in Los Angeles, Orange County, Vancouver, Toronto, Montreal, Ottawa, Victoria, Calgary, Edmonton & Quebec City Leading

www.taloflow.ai

Who am I?

● Entrepreneur with a long history of building/growing “stuff” that generally is financially oriented.

● Currently, CTO, Chairman,co-founder of Taloflow.ai.

● Active cloud user since basically inception.?

Page 17: Vancouver - Onica AWS infrastructure insights... · AWS Meetups in Los Angeles, Orange County, Vancouver, Toronto, Montreal, Ottawa, Victoria, Calgary, Edmonton & Quebec City Leading

www.taloflow.ai

What are we talking about today?

An unobtrusive way to share a wide range of operational information between organizations in a way that can easily be incorporated into your event pipeline.

Page 18: Vancouver - Onica AWS infrastructure insights... · AWS Meetups in Los Angeles, Orange County, Vancouver, Toronto, Montreal, Ottawa, Victoria, Calgary, Edmonton & Quebec City Leading

www.taloflow.ai

Why would I want to do this?

● Partnering with other organizations○ Share infrastructure changes with analyses

organizations etc.

● Monitoring multiple accounts○ Many organizations split their development

environments. For example dev, staging, prod, onto separate AWS accounts

● Centralized auditing● Alerting● Automation

Free your resource state information from its silo:

Page 19: Vancouver - Onica AWS infrastructure insights... · AWS Meetups in Los Angeles, Orange County, Vancouver, Toronto, Montreal, Ottawa, Victoria, Calgary, Edmonton & Quebec City Leading

www.taloflow.ai

How is this done traditionally?

● Bunch of lambda services to send information about.● Multiple CloudWatch rules per every account sensitive to who gets what

information when.● Service(s) listening to the CloudWatch events and pushing them either to an

internal service or an external service (message buses, api’s)● Exported reporting on schedule basis.● 3rd party intrusive services.

Fundamental Steps: 1) Trigger, 2) Listen, 3) Expose, 4) Route Take Action.

Page 20: Vancouver - Onica AWS infrastructure insights... · AWS Meetups in Los Angeles, Orange County, Vancouver, Toronto, Montreal, Ottawa, Victoria, Calgary, Edmonton & Quebec City Leading

www.taloflow.ai

What are the problems with these approaches?

● A lot of rules to set up!○ The more events you want to share the more rules that need to be made○ This in then multiplied by however many aws accounts are running on your organizational

infrastructure

● If your wanting do this for an internal need you need to create infrastructure to enable the aggregation of these events into a single source of data

● If your trying to partner with an organization this means:○ Someone needs to implement api calls to pass these events to them OR○ You need to deploy some infrastructure from another organization on your own infrastructure

Page 21: Vancouver - Onica AWS infrastructure insights... · AWS Meetups in Los Angeles, Orange County, Vancouver, Toronto, Montreal, Ottawa, Victoria, Calgary, Edmonton & Quebec City Leading

www.taloflow.ai

AWS announces the ‘Event Bus’

The tool we’re about the dive into has only been available since July 2017.

It was not announced by AWS with any ‘bang’ but with proper application it can be hugely beneficial to your organization.

How???

Page 22: Vancouver - Onica AWS infrastructure insights... · AWS Meetups in Los Angeles, Orange County, Vancouver, Toronto, Montreal, Ottawa, Victoria, Calgary, Edmonton & Quebec City Leading

www.taloflow.ai

What is the Event Bus?The event bus is a message bus: it enables multiple AWS accounts to publish and receive events to and from each other

Event Bus

Page 23: Vancouver - Onica AWS infrastructure insights... · AWS Meetups in Los Angeles, Orange County, Vancouver, Toronto, Montreal, Ottawa, Victoria, Calgary, Edmonton & Quebec City Leading

www.taloflow.ai

What AWS ‘Event Bus’ is NOT

The Event Bus is NOT a complex bus. It’s not meant for passing around application / business events.

Page 24: Vancouver - Onica AWS infrastructure insights... · AWS Meetups in Los Angeles, Orange County, Vancouver, Toronto, Montreal, Ottawa, Victoria, Calgary, Edmonton & Quebec City Leading

www.taloflow.ai

So what problem does the Event Bus help solve?

Help provide a holistic view across my entire organizational AWS infrastructure:

● Be able to share my infrastructure change & interaction events to other services which may be internal or external

● Done across all the AWS accounts in my organisation● With as little friction as possible.

Page 25: Vancouver - Onica AWS infrastructure insights... · AWS Meetups in Los Angeles, Orange County, Vancouver, Toronto, Montreal, Ottawa, Victoria, Calgary, Edmonton & Quebec City Leading

www.taloflow.ai

What events can you share?

Over the event bus, you can share CloudWatch events which means you can share things like:

● EC2 state changes● Health events● ECS events● EBS events● Cloudtrail Events● Custom Events● Much more!

Page 26: Vancouver - Onica AWS infrastructure insights... · AWS Meetups in Los Angeles, Orange County, Vancouver, Toronto, Montreal, Ottawa, Victoria, Calgary, Edmonton & Quebec City Leading

www.taloflow.ai

Some Important Limitations

Page 27: Vancouver - Onica AWS infrastructure insights... · AWS Meetups in Los Angeles, Orange County, Vancouver, Toronto, Montreal, Ottawa, Victoria, Calgary, Edmonton & Quebec City Leading

www.taloflow.ai

Cost & Charges

● All canned events are included in CloudWatch for free (internally).● Custom events are charged at about $1.00/million● Cross-account events are charged at $1.00/million.

Page 28: Vancouver - Onica AWS infrastructure insights... · AWS Meetups in Los Angeles, Orange County, Vancouver, Toronto, Montreal, Ottawa, Victoria, Calgary, Edmonton & Quebec City Leading

www.taloflow.ai

How do we use it at Taloflow?

● At Taloflow we require many inputs of data to understand the current state of a client’s development platform

● One form of input would be the state changes of your running infrastructure ● For us to get these state changes, we listen to client events via the event bus

and then push events into our own platform for analysis

Page 29: Vancouver - Onica AWS infrastructure insights... · AWS Meetups in Los Angeles, Orange County, Vancouver, Toronto, Montreal, Ottawa, Victoria, Calgary, Edmonton & Quebec City Leading

www.taloflow.ai

How do we use it at Taloflow? (2)

Client

Event Bus

Taloflow SQS

Sqs kafka proxy

Page 30: Vancouver - Onica AWS infrastructure insights... · AWS Meetups in Los Angeles, Orange County, Vancouver, Toronto, Montreal, Ottawa, Victoria, Calgary, Edmonton & Quebec City Leading

www.taloflow.ai

How do we use it at Taloflow? (3)

Sqs kafka proxy

JSON

Sqs kafka proxy

JSON

transformerAVRO

transformerAVRO

Page 31: Vancouver - Onica AWS infrastructure insights... · AWS Meetups in Los Angeles, Orange County, Vancouver, Toronto, Montreal, Ottawa, Victoria, Calgary, Edmonton & Quebec City Leading

www.taloflow.ai

What's needed in order to make it work.

● Our clients need to create a role in IAM, and cut and paste a simple rule into cloudwatch.

● We need to authorize our clients to send information to us over the event bus.● We created an sqs queue for the particular rule.● We launch an sqs proxy to listen to the queue.● The proxy forward to Kafka and our clients events are now in our event stream.

Page 32: Vancouver - Onica AWS infrastructure insights... · AWS Meetups in Los Angeles, Orange County, Vancouver, Toronto, Montreal, Ottawa, Victoria, Calgary, Edmonton & Quebec City Leading

www.taloflow.ai

Demo!

Page 33: Vancouver - Onica AWS infrastructure insights... · AWS Meetups in Los Angeles, Orange County, Vancouver, Toronto, Montreal, Ottawa, Victoria, Calgary, Edmonton & Quebec City Leading

www.taloflow.ai

Why was this a big deal for us?

● Reducing barrier for adoption● Less rules maintenance● Saved alot of time on the implementation side

Page 34: Vancouver - Onica AWS infrastructure insights... · AWS Meetups in Los Angeles, Orange County, Vancouver, Toronto, Montreal, Ottawa, Victoria, Calgary, Edmonton & Quebec City Leading

www.taloflow.ai

Resources

● Supported CloudWatch events: https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/EventTypes.html

● SQS - Kafka proxy - will be available soon as open source!

Page 35: Vancouver - Onica AWS infrastructure insights... · AWS Meetups in Los Angeles, Orange County, Vancouver, Toronto, Montreal, Ottawa, Victoria, Calgary, Edmonton & Quebec City Leading

www.taloflow.ai

Questions?

Page 36: Vancouver - Onica AWS infrastructure insights... · AWS Meetups in Los Angeles, Orange County, Vancouver, Toronto, Montreal, Ottawa, Victoria, Calgary, Edmonton & Quebec City Leading

WIN a $50 USD AWS Credit Code!VANCOUVER

We are giving away AWS Credit Codes at the end of each meetup to one lucky winner! All you have to do is fill out the

meetup feedback survey before the end of the event.

Survey URLhttps://www.surveymonkey.com/r/May-Van