Innovation & Next Generation
Application Architectures
... with Open Source!
Jesse Noller
Principal Engineer, Rackspace

developer.rackspace.com

Brandon Philips

CTO, CoreOS

coreos.com
Jesse Noller
@jessenoller
Principal Engineer,
Rackspace
Brandon Philips
@brandonphilips
CTO, CoreOS
Infrastructure is sort of … dumb, or at least
annoyingly so.
Individuals or Collections
Single Purpose
Single Application
… Re-configure? Pave over, usually.
But why do we do this?
It’s a bit of a infrastructure flea market.
Smarter Infrastructure.
Open Hardware Open Source API
OnMetal
It’s getting smarter.
… But!
It’s hard to learn, and hard to build.
We believe in a better future.
Stop thinking about infrastructure.
Invert your thinking
Applications come first.
name: web
replicas: 5,
labels: [ env=production ],
uses: [ postgresql ],
images: [
web:v2014-07-23,
redis:2.8.13,
],
requirements: {
memory: 2GB,
networkIO: 5MB/s
}
Self-optimizing. Self-healing. Self-organizing
name: web
replicas: 5,
labels: [ env=production ],
uses: [ postgresql ],
images: [
web:v2014-07-23,
redis:2.8.13,
],
requirements: {
memory: 2GB,
networkIO: 5MB/s
}
Build, test, pivot faster.
name: web
replicas: 5,
labels: [ experiment=cache ],
uses: [ postgresql ],
images: [
web:v2014-07-23,
redis:2.8.13,
],
requirements: {
memory: 2GB,
networkIO: 5MB/s
}
The “stack” is a distraction.
Can we abstract containers?
We’re not as far off as you think
Google/Twitter/etc has this already & has been
describing it for years
Containers (cgroups, namespaces)
Cluster configuration (Google Chubby)
Scheduling (Omega, Aurora)
Load balancing
Internal and external monitoring
Access Control throughout the system
(unknown)
So, we’re (sort) of getting there…
We’re just on the brink.
It’s not about how much memory is in your
computer.
We need companies and partners to go and
create this future.
We’re stuck in a box where we want to think
about servers.
kernel
systemd
ssh
docker
python
java
nginx
mysql
openssl
app
distrodistrodistrodistrodistrodistrodistro
kernel
systemd
ssh
docker
python
java
nginx
mysql
openssl
appdistrodistrodistrodistrodistrodistrodistro
… But today has its demands and it must be fed.
Applications need to be repackaged for isolation
in containers
python
openssl-A
app1
odistrodistrodistrodistrodistrodistr java
openssl-B
app2
java
openssl-B
app3
kernel
systemd
ssh
docker
ubuntu
jvm
app1
redhat
python 2.6
app2
debian
nginx
app3
kernel
systemd
ssh
docker
odistrodistrodistrodistrodistrodistr
app1 container
app2 container
app3 container
CoreOS
odistrodistrodistrodistrodistrodistr
Applications need to be configured with
clustering in mind
Applications need to be automatically built from
source…
	 … and available as containers
name: web
replicas: 5,
labels: [ env=production ],
uses: [ postgresql ],
images: [
web:v2014-07-23,
redis:2.8.13,
],
requirements: {
memory: 2GB,
networkIO: 5MB/s
}
name: web
replicas: 5,
labels: [ env=production ],
uses: [ postgresql ],
images: [
web:v2014-07-23,
redis:2.8.13,
],
requirements: {
memory: 2GB,
networkIO: 5MB/s
}
name: web
replicas: 5,
labels: [ env=production ],
uses: [ postgresql ],
images: [
web:v2014-07-23,
redis:2.8.13,
],
requirements: {
memory: 2GB,
networkIO: 5MB/s
}
Rethink & focus on what is most important:
	 Users, Developers, Applications
Define [success]
!
No debates on what configuration management
tool is the best today.
“DevOps is dead.”
!
- Abraham Lincoln
Pipeline of code to containers to production
Servers are shared & applications run side-by-
side
Configuration is global and atomically updated
When everyone can do this.
Faster Idea Test Success Cycles
Hint: It’s not Platform as a Service.
No More bizarre and byzantine decisions.
It’s not for everyone yet.
How do we migrate to this?
What does the industry look like?
You focus on your ideas.
	 Global application fabric.
Events this Week
Today 12:45 pm - 1:10 pm
The new developer+ program
@ the Rackspace Booth
Today 3:45 pm - 4:15 pm
Intro to CoreOS Talk
@ the Rackspace Booth
Tomorrow 6:00-8:30 PM
CoreOS + Docker OSCON Meetup
Brought to you by New Relic & Rackspace - http://goo.gl/ZmebT3
Innovation & Next Generation
Application Architectures
... with Open Source!
Jesse Noller
Principal Engineer, Rackspace

developer.rackspace.com

Brandon Philips

CTO, CoreOS

coreos.com

Oscon Talk; 2014