21
AWS: Fast Environments = Fast and Flexible Deployments Matthew Cwalinski

Developer day - AWS: Fast Environments = Fast Deployments

Embed Size (px)

Citation preview

Page 1: Developer day - AWS: Fast Environments = Fast Deployments

AWS: Fast Environments =Fast and Flexible Deployments

Matthew Cwalinski

Page 2: Developer day - AWS: Fast Environments = Fast Deployments

The ProcessLast in line gets the blame.

Page 3: Developer day - AWS: Fast Environments = Fast Deployments

The ProcessThe order of things

Source

DevelopPlan Deploy

Page 4: Developer day - AWS: Fast Environments = Fast Deployments

The ProcessThe order of things

Source

DevelopPlan Deploy

Page 5: Developer day - AWS: Fast Environments = Fast Deployments

The ProcessWhy the deployment step was a problem

Source

• Manual Process

• Does New Code Break Server? (yes)

• Snowflake (unique) Servers - Every server was different

• No Change Management - Find the code and push the code

Page 6: Developer day - AWS: Fast Environments = Fast Deployments

The ChangeBe an agent of change

Page 7: Developer day - AWS: Fast Environments = Fast Deployments

The ChangeAutomate Everything

Source

• Automate Testing,Security and the entire process

• All code/changes should be production ready

• Treat your servers like cattle. Phoenix upgrading.

• Continuously Integrate and Deploy

Page 8: Developer day - AWS: Fast Environments = Fast Deployments

The ChangeMost Importantly

Page 9: Developer day - AWS: Fast Environments = Fast Deployments

Automate InfrastructureInfrastructure as Code

Page 10: Developer day - AWS: Fast Environments = Fast Deployments

The HowHow do we automate infrastructure?

Page 11: Developer day - AWS: Fast Environments = Fast Deployments

The HowHow do we automate infrastructure?

Source

• Set of tools

• Repeatable process

• If it’s boring - it’s working

Page 12: Developer day - AWS: Fast Environments = Fast Deployments

The HowOur Tools of the Trade

Page 13: Developer day - AWS: Fast Environments = Fast Deployments

Amazon Web ServicesThe Big Guns

Page 14: Developer day - AWS: Fast Environments = Fast Deployments

GruntDoer of Dirty Work

GitHubThe Control Freak

Page 15: Developer day - AWS: Fast Environments = Fast Deployments

JenkinsThe Keeper of Order

Page 16: Developer day - AWS: Fast Environments = Fast Deployments

AWS: CloudFormation

Page 17: Developer day - AWS: Fast Environments = Fast Deployments

Deployment StepsRepeated over and over again

Source

1 2 43

Grunt + GitHub Jenkins AWS Application

Page 18: Developer day - AWS: Fast Environments = Fast Deployments

UneventfulBoring deployments = successful deployments

Page 19: Developer day - AWS: Fast Environments = Fast Deployments

The ReviewHave we fixed the problem?

Source

• Manual Process• Continuous Integration and Deployment

• Does New Code Break Server?• No

• Snowflake (unique) Servers - Every server was different• Each server is identical and new

• No Change Management - Find the code and push the code• It is always production ready and tested

Page 20: Developer day - AWS: Fast Environments = Fast Deployments

The ReviewDid we automate everything?

Source

• Automate Testing and Security• Grunt!

• All code/changes should be production ready• GitHub

• Treat your servers like cattle. Phoenix upgrading.• CloudFormation

• Continuously Integrate and Deploy• Jenkins

Page 21: Developer day - AWS: Fast Environments = Fast Deployments

ConclusionI must conclude here.