54
Simone Brunozzi ( @simon ) Senior Technology Evangelist, Amazon Web Services Better, Faster, Stronger web apps with Amazon Web Services

Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

Simone Brunozzi ( @simon )Senior Technology Evangelist, Amazon Web Services

Better, Faster, Stronger web appswith Amazon Web Services

Page 2: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

“Knowledge starts from great questions.”

(from the previous presentation)

Page 3: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

“Knowledge starts from great questions.”

growsgrows

with inspiring answers”with inspiring answers”

Page 4: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and
Page 5: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

BETTER

CloudSearch

Going Global

AWS Support

AWS Data Pipeline

Elastic Load Balancer

FASTER

CloudFront

DynamoDB

ElastiCache

Elastic Beanstalk

STRONGER

Security

IAM

VPC

Securing Apache/NGINX

Durability

Page 6: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

BETTER FASTER STRONGER

CloudFront

DynamoDB

Security

IAM

CloudSearch

VPC

Going Global

ElastiCache

Securing Apache/NGINX

AWS Support

AWS Data Pipeline Durability

Elastic Beanstalk

Elastic Load Balancer

Page 7: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

BETTER FASTER STRONGER

AWS Data Pipeline

Process/Move dataTo/From AWS or on-premise sourcesScheduled intervals

Page 8: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

(Video)

Page 9: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

BETTER FASTER STRONGER

AWS Support

One-on-one, fast response support channel Always available

Experienced support engineers

x

y

Four Different plans

Page 10: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

9

AWS Support: a Swiss knife

Page 11: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

9

Reactivetroubleshooting

Help to get started with AWS

Recommendations on security, costs, and

availability Discuss architecture and best practices

Integrate the 150+ annual AWS feature

releases

Configuration help for a growing list of 3rd party software

AWS Support: a Swiss knife

Page 12: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

AWS Support plans

Free

10

Basic

49 $ / month

Developer

(Min: 100 $)% of your AWS monthly bill:10%: 0-10k7%: 10k-80k5%: 80k-250k3%: 250k+

Business

(Min: 15,000 $)% of your AWS monthly bill:10%: 0-150k7%: 150k-500k5%: 500k-1M3%: 1M+

Enterprise

Page 13: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

What do you get? (1)

11

Basic Developer Business Enterprise

YESCustomer Service 24/7/365 YES YES YES

YESSupport forums YES YES YES

YESDocumentation, guides YES YES YES

health checksAccess to Technical support E P/C/E P/C/E/TAM

-Named contacts 1 5 Unlimited

-Response time 12 hours 1 hour 15 minutes

-Architecture support Building blocks Guidance App Architecture

-Best practice guidance YES YES YES

-Client side diagnostic tools YES YES YES

Page 14: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

What do you get? (2)

12

Business Enterprise

Identity Access Management (IAM) YES YES

Direct routing to Senior Support Engineers YES YES

Third party Software Support (beta) YES YES

AWS Trusted Advisor (beta) YES YES

Infrastructure Event Management contact us YES

Direct Access to TAM (Technical Account Manager) - YES

White-Glove Case Routing - YES

Management Business Reviews - YES

Page 15: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

AWS Trusted Advisor

Page 16: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

AWS Trusted Advisorin action

Page 17: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

15 (Video)

Page 18: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

BETTER FASTER STRONGER

AWS CloudSearch

A fully-managed search service in the cloud Easy to integrate fast and scalable search functionality

Page 19: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

BETTER FASTER STRONGER

AWS CloudSearch

A fully-managed search service in the cloud Easy to integrate fast and scalable search functionality

• Faceted search

• Field weighting

• Stemming, Synonyms, Stop Words

• Autoscaling

• Index distribution / partition / replication

Page 20: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

(Video)

Page 21: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

BETTER FASTER STRONGER

Going global: AWS Regions

http://aws.amazon.com/about-aws/globalinfrastructure

(as of Jan 10th, 2013)

Regions (8) GovCloud Regions (1)

Page 22: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

BETTER FASTER STRONGER

Availability Zones

http://aws.amazon.com/about-aws/globalinfrastructure

(as of Jan 10th, 2013)

Availability Zones (23)

Page 23: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

BETTER FASTER STRONGER

CloudFront / Route 53

http://aws.amazon.com/about-aws/globalinfrastructure

(as of Jan 10th, 2013)

Edge Locations (39)

Dallas  (2)

St.LouisMiami

JacksonvilleLos  Angeles  (2)

Palo  Alto

Sea>le

Ashburn  (2)

NewarkNew  York  (3)

DublinLondon  (2) Amsterdam  (2)

Stockholm

Frankfurt  (2)Paris  (2)

Singapore  (2)

Hong  Kong  (2)

Tokyo  (2)

Sao  Paulo

South  Bend

San  Jose

OsakaMilan

Sydney

Madrid

Page 24: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

BETTER FASTER STRONGER

AWS Support

http://aws.amazon.com/about-aws/globalinfrastructure

(as of Jan 10th, 2013)

Customer Service & Technical Support

Remote TAMs (Technical Account Manager)

Page 25: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

BETTER FASTER STRONGER

Elastic Load Balancer

Automatically balances traffic across EC2 instancesProtocols: HTTP, HTTPS, TCP, SSL, or CustomOne or multiple Availability ZonesAutomatic health checks

Page 26: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and
Page 27: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

BETTER FASTER STRONGER

CloudFront

DynamoDB

Security

IAM

CloudSearch

VPC

Going Global

ElastiCache

Securing Apache/NGINX

AWS Support

AWS Data Pipeline Durability

Elastic Beanstalk

Elastic Load Balancer

Page 28: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

BETTER FASTER STRONGER

Amazon ElastiCache

DatabaseWeb

Server

Page 29: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

BETTER FASTER STRONGER

Amazon ElastiCache

Cache

DatabaseWeb

Server

Page 30: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

BETTER FASTER STRONGER

Amazon ElastiCache

• Memcached-compliant

• Different cache node types

• Monitoring statistics

• Dynamic scaling

• Automatic failure detection / recovery

• Automatic software patching

Page 31: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

BETTER FASTER STRONGER

Amazon DynamoDB

• NoSQL key-value store

• Provisioned throughput (automated scaling)

• Fully distributed

• Fault tolerant

Page 32: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

BETTER FASTER STRONGER

AWS Elastic Beanstalk

Page 33: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

BETTER FASTER STRONGER

AWS Elastic Beanstalk

PHP Python Ruby .NET Java

Passenger IIS TomcatApache

Visual Studio EclipseGit

Page 34: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

BETTER FASTER STRONGER

AWS Elastic Beanstalk

Passenger IIS TomcatApache

Page 35: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

BETTER FASTER STRONGER

AWS Elastic Beanstalk

PassengerIISTomcatApacheweb/app server

Page 36: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

BETTER FASTER STRONGER

AWS Elastic Beanstalk

web/app server

Page 37: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

BETTER FASTER STRONGER

AWS Elastic Beanstalk

MasterDB

web/app server

web/app server

Elastic Load Balancer

IP

StandbyDB

web/app server

Page 38: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

BETTER FASTER STRONGER

• Easy deploy / rollback

• Monitoring metrics (CloudWatch)

• Receive SNS notifications (health, add/remove servers)

• Access server log files

• Quickly restart the entire stack

• Custom application server settings

AWS Elastic Beanstalk

Page 39: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

BETTER FASTER STRONGER

CloudFront

What’s new?

• New Edge locations

• Support for cookies

• Price classes (exclude edge locations based on cost)

• New access log fields

• Front End Optimization (compression, rendering, etc)

• Dynamic content from EC2 (query / cache parameters)

Page 40: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

BETTER FASTER STRONGER

CloudFront

DynamoDB

Security

IAM

CloudSearch

VPC

Going Global

ElastiCache

Securing Apache/NGINX

AWS Support

AWS Data Pipeline Durability

Elastic Beanstalk

Elastic Load Balancer

Page 41: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

BETTER FASTER STRONGER

Durability

EC2 internal storage: ephemeral.EBS: redundant.S3: designed for high durability.Glacier, compared to S3: delayed retrieval, lower price.

RDS: backups to Amazon S3.DynamoDB: use AWS Data Pipeline to backup to S3.EBS: snapshots to S3.

Page 42: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

BETTER FASTER STRONGER

Amazon Virtual Private Cloud (VPC)

Launch a private section of the AWS Cloud, with user-defined network topology and security/routing rules.

Start using VPC today - No excuses.

Page 43: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

(Video)

Page 44: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

BETTER FASTER STRONGER

Security

[ Shared Responsibility Model ]

Page 45: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

BETTER FASTER STRONGER

Security

Page 46: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

BETTER FASTER STRONGER

Security

Page 47: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

BETTER FASTER STRONGER

Security

Security Groups

Credentials

EncryptionYour apps

Page 48: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

BETTER FASTER STRONGER

Securing Apache/NGINX

• ModSecurity (currently 2.7)

• Proper security guides (e.g. RHEL 6.0 Security Guide)

• Remove unnecessary modules / services / daemons

• SSH using a Bastion Host

• Patch / Update

• Hide version

• Use “smart” access (e.g. strong passwords / certificates)

• Run it within VPC!

Page 49: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

BETTER FASTER STRONGER

IAM

Control access to AWS services and resources for your users, with users/roles/permissions.

• Separate Master Account from everything else

• Cross-account API access

• Temporary security credentials (remember?)

• Multi-Factor Authentication (MFA)

Page 50: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

(Video)

Page 51: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

http://aws.amazon.com/

Page 52: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

http://aws.amazon.com/awspodcast

Page 53: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

Simone Brunozzi ( @simon )Senior Technology Evangelist, Amazon Web Services

Page 54: Better, Faster, Stronger web apps with Amazon Web Servicesd36cz9buwru1tt.cloudfront.net/aws-2013_web_v4.pdf · Better, Faster, Stronger web apps with Amazon Web Services. ... and

Simone Brunozzi ( @simon )Senior Technology Evangelist, Amazon Web Services

Better, Faster, Stronger web appswith Amazon Web Services

Thank you!