cloud roundtable | amazon web services: key = iteration

56
Key = Iteration Danilo Poccia Technical Evangelist, Amazon Web Services @danilop

Upload: codemotion

Post on 16-Jul-2015

120 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Cloud Roundtable | Amazon Web Services: Key = Iteration

Key = Iteration! !!Danilo Poccia!Technical Evangelist, Amazon Web Services! @danilop!!

Page 2: Cloud Roundtable | Amazon Web Services: Key = Iteration

Access Control

Infrastructure Regions Availability Zones Points of Presence

Usage Auditing

Monitoring and Logs

Enterprise Applications Virtual Desktops Sharing & Collaboration

Core Services

Storage (Object, Block and Archival)

Compute (VMs, Auto-scaling and Load Balancing)

Databases (Relational, NoSQL, Caching)

Administration & Security

Key Storage

Platform Services

Deployment & Management

One-click web app deployment

Dev/ops resource management

Resource Templates Push

Notifications

Mobile Services

Identity

Sync

Mobile Analytics

App Services Queuing & Notifications

Workflow

App streaming

Transcoding

Email

Search

Analytics

Hadoop

Data warehouse

Data Pipelines

Networking (VPC, DX, DNS)

Real-time Streaming Data

Identity Management

CDN

Page 3: Cloud Roundtable | Amazon Web Services: Key = Iteration

2008 2009 2010 2011 2012 2013 2014

Over 1 million active

customers

“Active customer” is defined as a non-Amazon customer with AWS account usage activity in the past month, including the free tier

Page 4: Cloud Roundtable | Amazon Web Services: Key = Iteration

Transformation Across Virtually Every Industry!

Storage Music Hotels

Page 5: Cloud Roundtable | Amazon Web Services: Key = Iteration

Three Steps to Agility

Experiment continuously

#1

Page 6: Cloud Roundtable | Amazon Web Services: Key = Iteration

Three Steps to Agility

Experiment continuously

Measure relentlessly

#2 #1

Page 7: Cloud Roundtable | Amazon Web Services: Key = Iteration

Three Steps to Agility

Experiment continuously

Measure relentlessly

Learn

#3 #2 #1

Page 8: Cloud Roundtable | Amazon Web Services: Key = Iteration

Key = Iteration

Page 9: Cloud Roundtable | Amazon Web Services: Key = Iteration

Iteration!=!

Modify The System To Better Meet!The Expectations Of Your Users

Page 10: Cloud Roundtable | Amazon Web Services: Key = Iteration

AWS ELASTIC BEANSTALK

QUICKLY DEPLOY AND MANAGE APPLICATIONS

Page 11: Cloud Roundtable | Amazon Web Services: Key = Iteration
Page 12: Cloud Roundtable | Amazon Web Services: Key = Iteration

Deploy Your Backend Application

Page 13: Cloud Roundtable | Amazon Web Services: Key = Iteration
Page 14: Cloud Roundtable | Amazon Web Services: Key = Iteration

Production Environment

Test Environment

master branch

test branch

git commit

git aws.push

git aws.push

Swap URLs

Page 15: Cloud Roundtable | Amazon Web Services: Key = Iteration

mvn clean install

aws s3 cp my.war s3://bucket/key

aws elasticbeanstalk create-application-version --application-name CodemotionDemo --version-label ”New Release” --source-bundle S3Bucket=bucket,S3Key=key

aws elasticbeanstalk update-environment --environment-name "codemotiondemo” --version-label ”New Release”

Page 16: Cloud Roundtable | Amazon Web Services: Key = Iteration

mkdir HelloWorldcd HelloWorldeb init -p PHP -r eu-west-1echo "Hello World" > index.htmleb create codemotion-phpeb open

Page 17: Cloud Roundtable | Amazon Web Services: Key = Iteration

AWS OPSWORKS MODEL AND MANAGE

THE ENTIRE APPLICATION

Page 18: Cloud Roundtable | Amazon Web Services: Key = Iteration

STACKS

Page 19: Cloud Roundtable | Amazon Web Services: Key = Iteration

LAYERS

Page 20: Cloud Roundtable | Amazon Web Services: Key = Iteration

INSTANCES

Page 21: Cloud Roundtable | Amazon Web Services: Key = Iteration

APPS

Page 22: Cloud Roundtable | Amazon Web Services: Key = Iteration

LIFE CYCLE EVENTS

Page 23: Cloud Roundtable | Amazon Web Services: Key = Iteration

AWS CLOUDFORMATION

INFRASTRUCTURE IS CODE

Page 24: Cloud Roundtable | Amazon Web Services: Key = Iteration

CLOUDFORMATION TEMPLATE

Page 25: Cloud Roundtable | Amazon Web Services: Key = Iteration

APPLICATION VERSIONS

+ INFRASTRUCTURE

VERSIONS

Page 26: Cloud Roundtable | Amazon Web Services: Key = Iteration

CLOUDFORMATION TEMPLATE

Page 27: Cloud Roundtable | Amazon Web Services: Key = Iteration

Develop!

Monitor &!Analyze!

Deploy!

Build &!Test!

Page 28: Cloud Roundtable | Amazon Web Services: Key = Iteration

Develop!

Monitor &!Analyze!

Deploy!

Build &!Test!

Page 29: Cloud Roundtable | Amazon Web Services: Key = Iteration

Can we accelerate this cycle further?!!!

Page 30: Cloud Roundtable | Amazon Web Services: Key = Iteration

Can we accelerate this cycle further?!!

We Looked Internally to How!We Build & Deploy Software at Amazon

Page 31: Cloud Roundtable | Amazon Web Services: Key = Iteration

Pushed 50 million deployments in the last 12 months (95 every minute)

Amazon’s deployment service (Apollo)

Page 32: Cloud Roundtable | Amazon Web Services: Key = Iteration

Pushed 50 million deployments in the last 12 months (95 every minute)

Amazon’s deployment service (Apollo)

We’re making this experience available to everyone…

Page 33: Cloud Roundtable | Amazon Web Services: Key = Iteration

AWS CodeDeploy

A fully managed, high-scale code deployment service

Page 34: Cloud Roundtable | Amazon Web Services: Key = Iteration

Develop!

Monitor &!Analyze!

Deploy!

Build &!Test!

Page 35: Cloud Roundtable | Amazon Web Services: Key = Iteration

AWS!CodeCommit!

More AWS!Tools!

AWS!CodeDeploy!

AWS!CodePipeline!

Page 36: Cloud Roundtable | Amazon Web Services: Key = Iteration

What are the primitives of an application?

Page 37: Cloud Roundtable | Amazon Web Services: Key = Iteration

What are the primitives of an application?

Interactions Communicated

via events

Functions Data

Page 38: Cloud Roundtable | Amazon Web Services: Key = Iteration

What are the primitives of an application?

Interactions Communicated

via events

Functions Data

The Magic Happens at the Intersection of Functions, Events and Data (Pretty much everything else is glue or UI)

Page 39: Cloud Roundtable | Amazon Web Services: Key = Iteration

AWS Lambda

A Focus on Functions, Data and Events

Page 40: Cloud Roundtable | Amazon Web Services: Key = Iteration

AWS Lambda

A Focus on Functions, Data and Events

Events from AWS services

Page 41: Cloud Roundtable | Amazon Web Services: Key = Iteration

AWS Lambda

A Focus on Functions, Data and Events

Cloud Functions Events from AWS services

Page 42: Cloud Roundtable | Amazon Web Services: Key = Iteration

AWS Lambda

A Focus on Functions, Data and Events

Automatic Cloud Functions Events from AWS services

Page 43: Cloud Roundtable | Amazon Web Services: Key = Iteration

AWS Lambda

Events Come in Many Different Shapes and Sizes

S3 event notifications

DynamoDB Streams

Kinesis events

Custom events

Page 44: Cloud Roundtable | Amazon Web Services: Key = Iteration

AWS Lambda

How Can You Put AWS Lambda to Work?

Data triggers Stream processing Indexing & synchronization

Server-free back-end

IoT

Page 45: Cloud Roundtable | Amazon Web Services: Key = Iteration

AWS Lambda

Let's see an example with a mobile app…

Page 46: Cloud Roundtable | Amazon Web Services: Key = Iteration

AWS Lambda

Let's see an example with a mobile app…

Photo bucket S3

Metadata DynamoDB

Page 47: Cloud Roundtable | Amazon Web Services: Key = Iteration

AWS Lambda

Let's see an example with a mobile app…

Photo bucket S3

Metadata DynamoDB

Page 48: Cloud Roundtable | Amazon Web Services: Key = Iteration

AWS Lambda

Let's see an example with a mobile app…

Photo bucket S3

Metadata DynamoDB

Extract metadata Cloud Function

Page 49: Cloud Roundtable | Amazon Web Services: Key = Iteration

AWS Lambda

Let's see an example with a mobile app…

Trending DynamoDB

Photo bucket S3

Metadata DynamoDB

Trending Cloud Function

Extract metadata Cloud Function

Page 50: Cloud Roundtable | Amazon Web Services: Key = Iteration

AWS Lambda

Let's see an example with a mobile app…

Notify Cloud Function

Trending DynamoDB

Photo bucket S3

Metadata DynamoDB

Trending Cloud Function

Extract metadata Cloud Function

Page 51: Cloud Roundtable | Amazon Web Services: Key = Iteration

AWS Lambda

Let's see an example with a mobile app…

Notify Cloud Function

Trending DynamoDB

Photo bucket S3

Metadata DynamoDB

SNS

Trending Cloud Function

Extract metadata Cloud Function

: )

Push Notification

Page 52: Cloud Roundtable | Amazon Web Services: Key = Iteration

=!Programmable Platform

Page 53: Cloud Roundtable | Amazon Web Services: Key = Iteration

If You Can Program It!You Can Automate It

Page 54: Cloud Roundtable | Amazon Web Services: Key = Iteration

“Developers are content creators”

What Happens When You Separate!the Act of Creation from Concerns!about Production & Distribution?

Ben Golub CEO, Docker

Page 55: Cloud Roundtable | Amazon Web Services: Key = Iteration

Innovate

Page 56: Cloud Roundtable | Amazon Web Services: Key = Iteration

Thank You! !!Danilo Poccia!Technical Evangelist, Amazon Web Services! @danilop!!