(app311) lessons learned from over a decade of deployments at amazon | aws re:invent 2014

24

Upload: amazon-web-services

Post on 27-Jun-2015

653 views

Category:

Technology


3 download

DESCRIPTION

Amazon made the transition to a service-oriented architecture over a decade ago. That move drove major changes to the way we release updates to our applications and services. We learned many lessons over those years, and we used that experience to refine our internal tools as well as the services that we make available to our customers. In this session, we share that learning with you, and demonstrate how to optimize for agility and reliability in your own deployment process.

TRANSCRIPT

Page 1: (APP311) Lessons Learned From Over a Decade of Deployments at Amazon | AWS re:Invent 2014
Page 2: (APP311) Lessons Learned From Over a Decade of Deployments at Amazon | AWS re:Invent 2014
Page 3: (APP311) Lessons Learned From Over a Decade of Deployments at Amazon | AWS re:Invent 2014
Page 4: (APP311) Lessons Learned From Over a Decade of Deployments at Amazon | AWS re:Invent 2014
Page 5: (APP311) Lessons Learned From Over a Decade of Deployments at Amazon | AWS re:Invent 2014

Fleet management

Dev Test Prod

v2.0 v1.2 v1.1

v2.0 v1.2 v1.1

v2.0 v1.2 v1.1

Page 6: (APP311) Lessons Learned From Over a Decade of Deployments at Amazon | AWS re:Invent 2014

Flexibility

Page 7: (APP311) Lessons Learned From Over a Decade of Deployments at Amazon | AWS re:Invent 2014

safe (but not too safe)

Page 8: (APP311) Lessons Learned From Over a Decade of Deployments at Amazon | AWS re:Invent 2014

v1v1 v1

Auto Scaling &

Load Balancer

Page 9: (APP311) Lessons Learned From Over a Decade of Deployments at Amazon | AWS re:Invent 2014

v1v2 v1

Auto Scaling &

Load Balancer

Page 10: (APP311) Lessons Learned From Over a Decade of Deployments at Amazon | AWS re:Invent 2014

v2v2 v1

Auto Scaling &

Load Balancer

Page 11: (APP311) Lessons Learned From Over a Decade of Deployments at Amazon | AWS re:Invent 2014

v2v2 v2

Auto Scaling &

Load Balancer

Page 12: (APP311) Lessons Learned From Over a Decade of Deployments at Amazon | AWS re:Invent 2014

v2v2 v2

Auto Scaling &

Load Balancer

Page 13: (APP311) Lessons Learned From Over a Decade of Deployments at Amazon | AWS re:Invent 2014

v2 v2

Auto Scaling &

Load Balancer

v3

Stop Deployment

Page 14: (APP311) Lessons Learned From Over a Decade of Deployments at Amazon | AWS re:Invent 2014

v2v2 v2

Auto Scaling &

Load Balancer

Page 15: (APP311) Lessons Learned From Over a Decade of Deployments at Amazon | AWS re:Invent 2014

v2v2 v2

Auto Scaling &

Load Balancer

Page 16: (APP311) Lessons Learned From Over a Decade of Deployments at Amazon | AWS re:Invent 2014

Help

Page 17: (APP311) Lessons Learned From Over a Decade of Deployments at Amazon | AWS re:Invent 2014

Be explicit

Page 18: (APP311) Lessons Learned From Over a Decade of Deployments at Amazon | AWS re:Invent 2014

%ls

000001-nome

00001-runmefirst

0000015-Am-I-next

000025-ImNext

0000256-ill-go-2

%ls

000001-nome

00001-runmefirst

0000014-Am-I-next2

000025-ImNext

0000256-ill-go-3

Page 19: (APP311) Lessons Learned From Over a Decade of Deployments at Amazon | AWS re:Invent 2014

diff --git a/appspec.yml b/appspec.ymlindex 4da39ff..d265115 100644--- a/appspec.yml+++ b/appspec.yml

- - location: scripts_codedeploy/start_server+ - location: scripts_codedeploy/start_server2

- runas: root

+ runas: root+ ValidateService:+ - location: scripts_codedeploy/PID_Check+ timeout: 300+ runas: root

Page 20: (APP311) Lessons Learned From Over a Decade of Deployments at Amazon | AWS re:Invent 2014

Works well with others

Page 21: (APP311) Lessons Learned From Over a Decade of Deployments at Amazon | AWS re:Invent 2014
Page 22: (APP311) Lessons Learned From Over a Decade of Deployments at Amazon | AWS re:Invent 2014
Page 23: (APP311) Lessons Learned From Over a Decade of Deployments at Amazon | AWS re:Invent 2014
Page 24: (APP311) Lessons Learned From Over a Decade of Deployments at Amazon | AWS re:Invent 2014

Please give us your feedback on this session.

Complete session evaluations and earn re:Invent swag.

http://bit.ly/awsevals