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

Post on 27-Jun-2015

652 views 3 download

Tags:

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 of (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

Flexibility

safe (but not too safe)

v1v1 v1

Auto Scaling &

Load Balancer

v1v2 v1

Auto Scaling &

Load Balancer

v2v2 v1

Auto Scaling &

Load Balancer

v2v2 v2

Auto Scaling &

Load Balancer

v2v2 v2

Auto Scaling &

Load Balancer

v2 v2

Auto Scaling &

Load Balancer

v3

Stop Deployment

v2v2 v2

Auto Scaling &

Load Balancer

v2v2 v2

Auto Scaling &

Load Balancer

Help

Be explicit

%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

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

Works well with others

Please give us your feedback on this session.

Complete session evaluations and earn re:Invent swag.

http://bit.ly/awsevals