#random (2018-08)

Non-work banter and water cooler conversation

A place for non-work-related flimflam, faffing, hodge-podge or jibber-jabber you’d prefer to keep out of more focused work-related channels.

Archive: https://archive.sweetops.com/random/

2018-08-01

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
09:05:50 PM
Andriy Knysh (Cloud Posse) avatar
Andriy Knysh (Cloud Posse)
09:51:08 PM
Andriy Knysh (Cloud Posse) avatar
Andriy Knysh (Cloud Posse)
09:54:00 PM
Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
11:21:49 PM
Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Joy. Docker decided it to copy the “Java” distribution model.

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Login to download. annoying

Max Moon avatar
Max Moon

lame

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
How we scaled nginx and saved the world 54 years every dayattachment image

10 million websites, apps and APIs use Cloudflare to give their users a speed boost. At peak we serve more than 10 million requests a second across our 151 data centers. Over the years we’ve made many modifications to our version of NGINX to handle our growth. This is blog post is about one of them.

1
Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

CloudFlare uses nginx behind the scenes

2018-08-03

loren avatar

handy

loren avatar

shellcheck helps a lot

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

oh that’s nice!

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

We should add this linting to our build-harness

loren avatar

oh new to you? i kind of love it. it’s available by default in travis-ci

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

i think i’ve seen it before, but never used it

loren avatar

there’s another project that’s kind of an even stricter version, which i’m having trouble finding now for some reason, black something i think….

loren avatar

mis-remembering… it was a linter for python, https://github.com/ambv/black

ambv/black

black - The uncompromising Python code formatter

Michael Pereira avatar
Michael Pereira

You’re probably thinking of shfmt, the equivalent of black for bash: https://github.com/mvdan/sh

mvdan/sh

A shell parser, formatter and interpreter (POSIX/Bash/mksh)

loren avatar

nice, tks!

mvdan/sh

A shell parser, formatter and interpreter (POSIX/Bash/mksh)

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

thanks, this looks great too!

Michael Pereira avatar
Michael Pereira

integrate it with https://marketplace.visualstudio.com/items?itemName=mynkow.FormatdocumentonSave for VS Code, and everyone write formatted code by default now

Format document on Save - Visual Studio Marketplace

Extension for Visual Studio - Enables auto formatting of the code when you save a file. Visual Studio supports auto formatting of the code with the CTRL+E,D or CTRL+E,F key shortcuts but with this extension the command ‘Format Document’ is executed on Save. You can find the source here: https://github.com

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

I want to add it to our build-harness so we validate that the code is well-formatted

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
Add Bash Formatter (shfmt) · Issue #32 · cloudposse/packages

what Add shfmt why A shell parser, formatter and interpreter. Supports POSIX Shell, Bash and mksh. Standardize the formatting of our shell scripts the way we do our terraform code references https:…

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
cloudposse/build-harness

build-harness - Collection of Makefiles to facilitate building Golang projects, Dockerfiles, Helm charts, and more

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
#1 Microsoft Widens Lead Over #2 Amazon In Cloud Revenue, $6.9 Billion To $6.1 Billionattachment image

Microsoft outperformed Amazon in the cloud last quarter by $800 million, as Satya Nadella’s company posted $6.9 billion in commercial-cloud revenue (up 53%) while Andy Jassy’s Amazon Web Services unit came in at $6.1 billion (up 49%)–a great quarter, to be sure, but not good enough to keep pace.

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

I guess “it depends on what the definition of is is”

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
08:57:33 PM

2018-08-05

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
06:18:23 PM

2018-08-17

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

For those in San Francisco, heads up! I’ll be presenting at “Production Ready Containers” meetup on Helmfiles.

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
Effortless Helm Chart Deployments, Helm 3, & Concept to Feature in Under a Weekattachment image

Thu, Aug 30, 2018, 6:00 PM: Schedule00-6 Networking640: Intro by Gladly600: Talks (see full descriptions below)8:00- 8 Final questions & wrap up*Food and drinks will be provided

1
Max Moon avatar
Max Moon

nice! I’ll send some bay area friends that way

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

thanks @Max Moon!

2018-08-21

antonbabenko avatar
antonbabenko

@Erik Osterman (Cloud Posse) I may see you 30th in San Francisco! I will be in that area next week.

antonbabenko avatar
antonbabenko

ohh, no, I will leave few hours before the meetup to fly back to Oslo. Let’s grab a coffee if you are there (my flight from San Francisco airport is at 4:30pm).

antonbabenko avatar
antonbabenko

On a side note, what are related meetups groups in that area? I will have several days to explore the area and want to attend some local meetups.

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

How cool! I arrive 8/29

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Let’s meet up the day before if you are free

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

@antonbabenko

2018-08-22

Andriy Knysh (Cloud Posse) avatar
Andriy Knysh (Cloud Posse)
New T3 Instances – Burstable, Cost-Effective Performance | Amazon Web Servicesattachment image

We launched the t1.micro instance type in 2010, and followed up with the first of the T2 instances (micro, small, and medium) in 2014, more sizes in 2015 (nano) and 2016 (xlarge and 2xlarge), and unlimited bursting last year. Today we are launching T3 instances in twelve regions. These general-purpose instances are even more cost-effective […]

1
antonbabenko avatar
antonbabenko

I just bought reserved t2.micro 5 days ago, which is ~20$ more expensive than t3.micro.

tamsky avatar

perfect example of why you too should loathe the concept of RIs.

Amazon’s RI offering forces its customers to :

  • become skilled at managing RIs (a skill that is totally unrelated to almost every business)
  • gamble against future progress
mrwacky avatar
mrwacky

Yes, but also, AWS is pretty good about letting you switch your RIs around. Still extra work, but mitigates impact a bit

antonbabenko avatar
antonbabenko

Yeah, they can help, but the most challenging thing is to actually get money out after RI is sold. I live in Europe, but it works only for USA.

Andriy Knysh (Cloud Posse) avatar
Andriy Knysh (Cloud Posse)

:(

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

No good deed goes unpunished

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
theWebb.blog

You (or, someone you know) has claimed to suffer from imposter syndrome at some point in time. But what is it, really? > Impostor syndrome is a psychological pattern in which an indi

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)


TL;DR: You’re awesome. Stop beating yourself up. Stop and smell the roses of your accomplishments thus far. Know when to use blinders.

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
Proposal for Official Fork · Issue #628 · bitly/oauth2_proxy

Hi, As everyone here can see, the project is almost abandoned. I believe someone or preferable a group of people fluent in Go lang should create an 'official' fork of the project so the com…

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
hashicorp/go-getter

go-getter - Package for downloading things from a string URL using a variety of protocols.

2018-08-23

maarten avatar
maarten

What was the context regarding bitly/oauth2_proxy ?

Andriy Knysh (Cloud Posse) avatar
Andriy Knysh (Cloud Posse)

@maarten i think it’s about bitly/oauth2_proxy not being maintained anymore as described here https://cloudposse.com/meetup/sweetops-town-hall-meeting/

SweetOps Town Hall Meetingattachment image

Today we had our first “Town Hall” meeting where members of our SweetOps community (slack.cloudposse.com) got together on a Zoom conference call to talk shop. Remember to vote when we should have our next call. Discussion Points GitOps - CI/CD Automation of Terraform Git ChatOps OAuth

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

I will add some context later today

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

@Andriy Knysh (Cloud Posse) is correct - it came up in our “Town Hall”

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

We’ve been using it with our “portal” for kubernetes, but have run into a lot of problems

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Most of those problems are fixed in PRs that are languishing in their repo, unapproved without any comments from bitly

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

@tamsky suggested maybe someone ought to start a hard fork that is maintained.

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

turns out, others are feeling the same way - which is what the issue is about.

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
  • openid connect is broken (can’t use okta)
mrwacky avatar
mrwacky

AWS ALB supports Oauth now, I’ve been trying to find time to tinker with that instead of oauth2 proxy

1
Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Oh neat!

maarten avatar
maarten
Simplify Login with Application Load Balancer Built-in Authentication | Amazon Web Servicesattachment image

Today I’m excited to announce built-in authentication support in Application Load Balancers (ALB). ALB can now securely authenticate users as they access applications, letting developers eliminate the code they have to write to support authentication and offload the responsibility of authentication from the backend. The team built a great live example where you can try […]

maarten avatar
maarten

I suggested the same thing for Atlantis as they were also discussing the same Oauth proxy Thanks for giving context

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

It’s been a year or more since we looked into using the CoreOS ALB ingress controller for kubernetes. Looks like it’s changed owners now.

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
kubernetes-sigs/aws-alb-ingress-controller

aws-alb-ingress-controller - AWS ALB Ingress Controller for Kubernetes

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

When we used it, it was a bit of a PIA because security groups, subnets, vpcs had to be manually specified

maarten avatar
maarten

How is the portal written, is it an API ? Probably a lot of work, but is it splittable into accessible html & authenticated api gateway ?

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Portal is just a very, very simple static bootstrap site generated using Helm templating. We use it to expose services in the kubernetes cluster like dashboard, grafana, prometheus, etc.

maarten avatar
maarten

ok, nothing for api gw

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

If we were running the ALBs with k8s, it would probably be very easy

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

yea, though the portal only makes sense for us in kubernetes land

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

and it is actually entirely contained in a helm chart as a go formatted template

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

so moving it anywehre else for us would be a complete rewrite

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

anyways, might be something we reimplement later as a bonafide app

maarten avatar
maarten

I was thinking about client ssl certificates. If cloudfront would do 2 way ssl authentication + openid etc.. Would be nice.

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

yea, could imagine for some highly sensitive workloads that would be nice.

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

i know cloudflare can do that

tamsky avatar

It would be neat if we could abstract away the OIDC stuff on every cloud. Google has theirs: https://cloud.google.com/iap/

Cloud Identity-Aware Proxy  |  Identity-Aware Proxy  |  Google Cloud

Google Cloud’s Identity-Aware Proxy allows administrators to decide who has access to applications running on the Google Cloud. Use IAP to guard access.

1

2018-08-25

2018-08-27

rms1000watt avatar
rms1000watt

@tamsky lol, how are you man!

1
tamsky avatar

@rms1000watt fancy meeting you ‘round these parts

rms1000watt avatar
rms1000watt

Was writing some terraform modules.. stumbled on Cloud Posse, had a chat–and here I am. loool

tamsky avatar

Erik has community-building skillz – I have a lot to learn from him.

1
Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

you guys know each other?

rms1000watt avatar
rms1000watt

Yeah, worked at Veritone together

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

hah, small world. how cool! @tamsky has been a great sounding board for me.

rms1000watt avatar
rms1000watt

He’s probably one of the sharpest guys you’ll run in to.

1
Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

I believe it

tamsky avatar

I definitely appreciate the community that Erik is building.

rms1000watt avatar
rms1000watt

Same here! Looking forward to contributing

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

@rms1000watt found us through our modules and reached out to me. Hopefully we’ll work together soon.

Max Moon avatar
Max Moon

hah! I used Veritone at my last company (briefly), Logan was my rep, who looks like he got a major promotion since then

Max Moon avatar
Max Moon

really cool stuff

stobiewankenobi avatar
stobiewankenobi

Oh shit, a wild @tamsky appeared!

rms1000watt avatar
rms1000watt

Veritone family ^^

stobiewankenobi avatar
stobiewankenobi

3
tamsky avatar

lol

mrwacky avatar
mrwacky

OHHH SHIT! A WILD @tamsky APPEARED!

2

2018-08-28

rms1000watt avatar
rms1000watt

@justin.dynamicd yay!!!! Thanks for joining man! Lurk all you want–but I’m going to point you out and highlight how awesome you are! https://www.linkedin.com/in/justin-king-26a4081b/ I worked with Justin at Lantern Credit in Newport Beach. Such a fun & dedicated guy to work with (He gets sh*t done–he’ll deliver and get the job done at any crazy hour). Also if there are any comic book people here–Justin is your man.

Andriy Knysh (Cloud Posse) avatar
Andriy Knysh (Cloud Posse)

hey @rms1000watt and @justin.dynamicd welcome

1
justin.dynamicd avatar
justin.dynamicd

I need to update that LinkedIn, and thanks for the invite

pecigonzalo avatar
pecigonzalo

wave

justin.dynamicd avatar
justin.dynamicd

time to do some channel surfing …

stobiewankenobi avatar
stobiewankenobi

justin.dynamicd avatar
justin.dynamicd

(ends up adding all the channels)

justin.dynamicd avatar
justin.dynamicd

Only one hashi-themed channel? time to go knocking on doors like a digital moron and praise the books of Consul/Vault

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Hey Justin! great to have you here

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

I’m getting a late start today. Will catch up on all the chatter in a couple hours! have a student from Caltech showing up soon that I’m helping with some cool GPU/kubernetes autoscaling stuff with kops.

2018-08-30

mrwacky avatar
mrwacky

Hey @justin.dynamicd @rms1000watt - apropos of Newport Beach, I had a friend talking about opening up an office in Orange County somewhere and staffing with SREs, and he was asking me what I think the pool of good people is like. How would you answer? I’m in LA, and hiring good Ops people has been a pain for me forever. But I don’t know, maybe there’s tons of brilliant SREs behind the Orange Curtain?

rms1000watt avatar
rms1000watt

Selfishly, you should open an OC office because OC is awesome.

rms1000watt avatar
rms1000watt

As far as finding talent, @stobiewankenobi can answer that since he’s been trying to hire local to Veritone for a while

rms1000watt avatar
rms1000watt

It’s been a pain iirc

rms1000watt avatar
rms1000watt

@justin.dynamicd will probably have a different perspective also

mrwacky avatar
mrwacky

Ok, so just like LA

rms1000watt avatar
rms1000watt

So…

rms1000watt avatar
rms1000watt

let’s create a DevOps Code School

rms1000watt avatar
rms1000watt

in OC

stobiewankenobi avatar
stobiewankenobi

There are some good people in OC for sure

stobiewankenobi avatar
stobiewankenobi

Definitely tough to find though just because most of them are working on other interesting things.

stobiewankenobi avatar
stobiewankenobi

I’d be happy to help/discuss at some point if you’re interested.

justin.dynamicd avatar
justin.dynamicd

DevOps is just a rare breed. Definition is kind of soft for one thing, which makes it hard in hiring and job hunting.

1
justin.dynamicd avatar
justin.dynamicd

DevOps is a buzz word that usually lands you interviews on making Dockerfiles out of bash scripts, and vague questions about kubernetes that make it clear they know little more than what Kelsey Hightower tweets.

justin.dynamicd avatar
justin.dynamicd

It’s hard to find a employer/employee pairing where both parties are at similar maturity levels

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

My talk tonight is being live streamed

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

starts ~6:30pm PST

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Topic is on how to use Helmfiles to effortlessly deploy apps on kubernetes

justin.dynamicd avatar
justin.dynamicd

very cool

2018-08-31

maarten avatar
maarten
LinkedIn Message Generator

Generator for LinkedIn recruiter messages

1
Matthew avatar
Matthew

“Hi Mitchel”

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
01:05:47 AM
2
1
Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Met up with @antonbabenko in San Francisco!

    keyboard_arrow_up