Date post: | 19-Mar-2017 |
Category: |
Internet |
Upload: | ed-anderson |
View: | 160 times |
Download: | 0 times |
The DevOps Code Has No Servers
The Cobbler’s Children Have No Shoes
@edyesed
RealSelf
RealSelf is the world’s most trusted online destination for improving body, face, and smile.
We empower you to make smart decisions that lead to great experiences.
RealSelf is Hiring
Functions are great for DevOps
● Integration Gymnastics
● Dependency Hell
● Cron, ugh
@edyesedThe DevOps Code Has No Servers
Richard Dean Anderson
Speaking of Cron
● */5 cron that runs for 3m
● t2.micro is $8.76/mo
● 128M/RAM Lambda is $3.24/mo
@edyesedThe DevOps Code Has No Servers
Pamela Anderson
What is Good about Functions
● Event Driven / No Idle Sunk Cost
● Integration Points
● No Dependency Hell
● Deeply Coupled to the Platform
@edyesedThe DevOps Code Has No Servers
Gillian Anderson
What is Yet-To-Be-Improved about Functions
● Cold Start is Cold
● Integration Geniuses Needed
● You Want Dependency Hell*
● Application Performance Mgmt
@edyesedThe DevOps Code Has No Servers
Michael J Anderson
5 Use Cases for Functions
● Canonical Name Redirector
● Email-to-Chat Gateway
● MySQL SlowQueryLog Getter
● CloudTrail Elastic Gateway
● Markov Twitterbots
@edyesedThe DevOps Code Has No Servers
Anderson Cooper
Canonical Name Redirector
● Trigger: API Gateway
● Runtime: python
● IAM Profile: Minimal
● Other Resources: CloudFront
● github.com/RealSelf/serverless-canonical-name-redirector
@edyesedThe DevOps Code Has No Servers
Email To Slack Gateway
● Trigger: SNS via SES
● Runtime: python
● IAM Profile: Minimal
● Other Resources: None
● github.com/RealSelf/serverless-email-to-slack
@edyesedThe DevOps Code Has No Servers
MySQL SlowQueryLog Elastic● Trigger: Schedules
● Runtime: python
● IAM Profile: CloudWatch
● Other Resources: None
● github.com/RealSelf/severless-rds-slowquery-to-elastic
@edyesedThe DevOps Code Has No Servers
CloudTrail to Elastic
● Trigger: CloudTrail ( S3 )
● Runtime: python
● IAM Profile: Minimal
● Other Resources: AWS ES
● github.com/edyesed/cloudtrail-to-elasticsearch-lambda
@edyesedThe DevOps Code Has No Servers
Markov Twitterbot
● Trigger: Scheduled
● Runtime: python
● IAM Profile: Minimal
● Other Resources: AWS ES
● github.com/edyesed/bobdylan_ebooks
@edyesedThe DevOps Code Has No Servers
serverless summary
● Let the CLOUD do the work
● No more idleness sunk cost
● KISS
● Manage Your CloudFormation
@edyesedThe DevOps Code Has No Servers
Michael P Anderson
LINKS
● github.com/RealSelf/serverless-canonical-name-redirector
● github.com/RealSelf/serverless-email-to-slack
● github.com/RealSelf/severless-rds-slowquery-to-elastic
● github.com/edyesed/cloudtrail-to-elasticsearch-lambda
● github.com/edyesed/bobdylan_ebooks@edyesedThe DevOps Code Has No Servers