Skip to content

Instantly share code, notes, and snippets.

@aroach
Last active October 7, 2018 20:18
Show Gist options
  • Save aroach/738b904b824bd144ad1bc7ae937c73a9 to your computer and use it in GitHub Desktop.
Save aroach/738b904b824bd144ad1bc7ae937c73a9 to your computer and use it in GitHub Desktop.
Intro to Containers in the style of Dr. Seuss
Note: I created this for Cisco Live San Diego 2015.
My name is Ashley.
I am the explainer,
In the next 10 mins,
We talk containers
Chapter 1: The situation
Let’s meet a web app
Contained within it,
you’ll find a db,
a front end and back.
APIs and queues!
Postgres and node!
Hive and hadoop!
Python and go!
Imagine the test
matrix! I don't know...
We must test and ship!
We must black box!
We must regress!
We must do this in
Two hours or less!
So you can enjoy
Our new awesome feature,
We need to find Sam,
Our QA test leader.
We need Abeer,
Our Ops engineer!
We ask Sam to test.
He looks with great fury.
We nod to Abeer
She says in a hurry...
We now do DevOps,
We share all our fears.
Find a new way
To package your gear.
Virt’alize says Sam!
Yes, yes! Hip hooray!
We needn’t worry
ab’t diffr’nce today.
Yes yes, virt’lize!
Yes yes, we must size,
Our big boxes
To launch our surprise.
Containers! She shouts.
Virtualize, Sam pouts.
We suddenly realize
There are new routes!
Chapter 2: History
Containers aren’t new.
In ’79,
Unix V7.
The C-groups design.
Linux Containers,
AKA LXC,
Set the bar high.
Docker came to be.
Containers? What are they?
A VM is close.
Sans hypervisor,
They talk with the host.
One OS is all.
Immutable blocks.
Docker is one kind.
Containers are rocks.
You said best of both.
Virtual and 'tainer
They can cooexist
In your data centers
Chapter 3: Developers
Meet Tracy, the dev.
Her first day is now.
She has a new MacBook,
And starts to install.
Npm and git!
Mongo and bower!
Ember and Grunt!
It might take an hour!
Set this env var!
Oh, I forgot!
You need a debugger,
To get your box set.
You must match the server.
You need to cluster.
All these configs!
Looming disaster!
Abeer speaks up.
Go to this wiki!
boot2docker will
Get you up quickly.
Chapter 4: Continuous Integration
Jenkins is next.
He is our CI.
Testing takes so long,
I poke out my eyes!
Says Abeer...
"VMs are so bloated.
They take time to start.
They have a whole OS,
And mem’ry runs short."
Abeer talks again,
"It’s totally fine
With our new Docker
We test run in time!
Chapter 5: QA
Test Security,
Perf and Functional.
Now our test mode is
Comply not Govern.
Pull it from the hub.
It’s easy to share.
Build it like magic.
Versioned and not stale.
Sam comes around.
Now he sees the light.
He realizes
Profit, speed. No fight!
Chapter 6: Ops
Uri is from Ops
Think intensity!
He wants to increase
Compute density
Uri agrees that
VMS are like cows
Only few of them
Can fit as allows
10 LXCs now
Replace 1 VM.
Now, that’s density!
With servers to trim.
With servers to trim,
Eureka! Uri yells!
We now can add
Ecommerce that scales.
Chapter 7: Microservices
In software engineering
We like to abstract
By breaking it up,
Risk doesn’t get jacked.
No! No Monoliths!
No! No more curses!
Yes! Yes! Loosely coupled.
Yes Microservice!
Microservices
Now, what does it mean?
Break up our product
Into separate domain.
Each part can be patched
Each team’s focus can narrow
We now have micro teams
Who and be more agile!
Chapter 8: In Conclusion
We met Sam
We met Tracy
We met Jenkins
We met Uri
Velocity!
Efficiency!
Compute Density!
Dev and Ops,
QA and CI,
Containers can help
EVERYBODY!
@vsoch
Copy link

vsoch commented Oct 7, 2018

I just stumbled on this from a random search... totally lovely!! <3 @aroach what did you use it for?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment