cloud native applications,cloud-native development, cloud-nomadic deployment author: topher bullock...

27
1 SATURN 2017 Title of the Presentation Goes Here © 2017 [Copyright Owner[s]] Title of the Presentation Goes Here © 2017 [Copyright Owner[s]] Cloud Native Applications, Cloud Nomadic Deployments Topher Bullock

Upload: others

Post on 30-May-2020

15 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Cloud Native Applications,Cloud-Native Development, Cloud-Nomadic Deployment Author: Topher Bullock (Pivotal Software, Inc.) Subject: This talk overviews emerging trends covering how

1

SATURN 2017

Title of the Presentation Goes Here© 2017 [Copyright Owner[s]]Title of the Presentation Goes Here© 2017 [Copyright Owner[s]]

Cloud Native Applications,Cloud Nomadic DeploymentsTopher Bullock

Page 2: Cloud Native Applications,Cloud-Native Development, Cloud-Nomadic Deployment Author: Topher Bullock (Pivotal Software, Inc.) Subject: This talk overviews emerging trends covering how

Transforming How The World Builds

Software

2

Page 3: Cloud Native Applications,Cloud-Native Development, Cloud-Nomadic Deployment Author: Topher Bullock (Pivotal Software, Inc.) Subject: This talk overviews emerging trends covering how

Transform How We Build and Deploy

Software…

3

And then worry about helping the world work the way we do, after we’ve ironed out all the problems

Page 4: Cloud Native Applications,Cloud-Native Development, Cloud-Nomadic Deployment Author: Topher Bullock (Pivotal Software, Inc.) Subject: This talk overviews emerging trends covering how

- Purpose built for the cloud model.

- Let platform handle scaling and hardware decoupling

- Offer greater agility, resilience, and portability across clouds

- 12 Factor + modern PaaS

Page 5: Cloud Native Applications,Cloud-Native Development, Cloud-Nomadic Deployment Author: Topher Bullock (Pivotal Software, Inc.) Subject: This talk overviews emerging trends covering how
Page 6: Cloud Native Applications,Cloud-Native Development, Cloud-Nomadic Deployment Author: Topher Bullock (Pivotal Software, Inc.) Subject: This talk overviews emerging trends covering how
Page 7: Cloud Native Applications,Cloud-Native Development, Cloud-Nomadic Deployment Author: Topher Bullock (Pivotal Software, Inc.) Subject: This talk overviews emerging trends covering how
Page 8: Cloud Native Applications,Cloud-Native Development, Cloud-Nomadic Deployment Author: Topher Bullock (Pivotal Software, Inc.) Subject: This talk overviews emerging trends covering how

- Configuration in files- Can be in source control

& versioned- Easier to understand for

onboarding

Use declarative formats…for setup automation

-12factor.net

Page 9: Cloud Native Applications,Cloud-Native Development, Cloud-Nomadic Deployment Author: Topher Bullock (Pivotal Software, Inc.) Subject: This talk overviews emerging trends covering how

- If your app follows the PaaS’ rules, it can run on any instance of it

- standard interface removes guess-work

- every app is just a process listening on a port

Have a clean contract…with the underlying operating system

-12factor.net

Page 10: Cloud Native Applications,Cloud-Native Development, Cloud-Nomadic Deployment Author: Topher Bullock (Pivotal Software, Inc.) Subject: This talk overviews emerging trends covering how

(developer)

here is my source coderun it on the cloud for me

I do not care how-Onsi Fakhouri

cf push

Page 11: Cloud Native Applications,Cloud-Native Development, Cloud-Nomadic Deployment Author: Topher Bullock (Pivotal Software, Inc.) Subject: This talk overviews emerging trends covering how

Suitable for deployment.. on modern cloud platforms

- let the platform deal with keeping the lights on

- Let platform handle log aggregation, scaling, monitoring, uptime

-12factor.net

Page 12: Cloud Native Applications,Cloud-Native Development, Cloud-Nomadic Deployment Author: Topher Bullock (Pivotal Software, Inc.) Subject: This talk overviews emerging trends covering how

package main

import ( "github.com/go-martini/martini")

func main() { m := martini.Classic()

m.Get("/", func() string { return”"Hello world" })

m.Run()}

Page 13: Cloud Native Applications,Cloud-Native Development, Cloud-Nomadic Deployment Author: Topher Bullock (Pivotal Software, Inc.) Subject: This talk overviews emerging trends covering how

package main

import ( "github.com/go-martini/martini")

func main() { m := martini.Classic()

m.Get("/", func() string { return”"Hello world" })

m.Run()}

Page 14: Cloud Native Applications,Cloud-Native Development, Cloud-Nomadic Deployment Author: Topher Bullock (Pivotal Software, Inc.) Subject: This talk overviews emerging trends covering how

Minimize divergence…between development and production

- No one-off snowflake app deployments

-12factor.net

Page 15: Cloud Native Applications,Cloud-Native Development, Cloud-Nomadic Deployment Author: Topher Bullock (Pivotal Software, Inc.) Subject: This talk overviews emerging trends covering how
Page 16: Cloud Native Applications,Cloud-Native Development, Cloud-Nomadic Deployment Author: Topher Bullock (Pivotal Software, Inc.) Subject: This talk overviews emerging trends covering how

(operator)

here are my serversgo make them a Cloud Foundry

I do not care how-Onsi Fakhouri

bosh deploy

Page 17: Cloud Native Applications,Cloud-Native Development, Cloud-Nomadic Deployment Author: Topher Bullock (Pivotal Software, Inc.) Subject: This talk overviews emerging trends covering how

Use declarative formats...for IaaS automation

- ENTERPRISE-GRADE YML ARCHITECTURE FOR THE CLOUD!!!!!!!!!!!!!!!!!!!!!

- “Infrastructure as code”- Generic config to track

details of deployment

Page 18: Cloud Native Applications,Cloud-Native Development, Cloud-Nomadic Deployment Author: Topher Bullock (Pivotal Software, Inc.) Subject: This talk overviews emerging trends covering how

deployment.yml

3

2

3

2

Page 19: Cloud Native Applications,Cloud-Native Development, Cloud-Nomadic Deployment Author: Topher Bullock (Pivotal Software, Inc.) Subject: This talk overviews emerging trends covering how

- maximum portability between / across clouds

- every release is a process (or a set of them)

- Treat IaaS’ VMs as “undifferentiated heavy lifting”

Have a clean contract…with the IaaS

Page 20: Cloud Native Applications,Cloud-Native Development, Cloud-Nomadic Deployment Author: Topher Bullock (Pivotal Software, Inc.) Subject: This talk overviews emerging trends covering how

deployment.yml

t2.micro

t2.medium

m4.large

c4.2xlarge

IaaS

Director+

CPI

3

2

3

2

Page 21: Cloud Native Applications,Cloud-Native Development, Cloud-Nomadic Deployment Author: Topher Bullock (Pivotal Software, Inc.) Subject: This talk overviews emerging trends covering how

Suitable for deployment... across multiple clouds

- let the IaaS figure most things out ( networking, VM provisioning)

- BOSH director handles process / VM uptime, so deployed software stays up

Page 22: Cloud Native Applications,Cloud-Native Development, Cloud-Nomadic Deployment Author: Topher Bullock (Pivotal Software, Inc.) Subject: This talk overviews emerging trends covering how

deployment.yml

t2.micro

t2.medium

m4.large

c4.2xlarge

n1-standard-1

n1-standard-2

n1-highmem-4

n1-highcpu-2

Page 23: Cloud Native Applications,Cloud-Native Development, Cloud-Nomadic Deployment Author: Topher Bullock (Pivotal Software, Inc.) Subject: This talk overviews emerging trends covering how

deployment.yml

IaaS

Director+

CPI

3

2

3

2

n1-standard-1

n1-standard-2

n1-highmem-4

n1-highcpu-2

Page 24: Cloud Native Applications,Cloud-Native Development, Cloud-Nomadic Deployment Author: Topher Bullock (Pivotal Software, Inc.) Subject: This talk overviews emerging trends covering how

Minimize divergence…between deployments across multiple clouds

- Infrastructure as Code deployment yml can be scaled to suit dev or prod needs

- Deployment YML defines what to deploy, BOSH worries about the how

Page 25: Cloud Native Applications,Cloud-Native Development, Cloud-Nomadic Deployment Author: Topher Bullock (Pivotal Software, Inc.) Subject: This talk overviews emerging trends covering how

deployment.yml

IaaS

Director+

CPI

Director+

CPI

2

2

1

1

Page 26: Cloud Native Applications,Cloud-Native Development, Cloud-Nomadic Deployment Author: Topher Bullock (Pivotal Software, Inc.) Subject: This talk overviews emerging trends covering how
Page 27: Cloud Native Applications,Cloud-Native Development, Cloud-Nomadic Deployment Author: Topher Bullock (Pivotal Software, Inc.) Subject: This talk overviews emerging trends covering how