+ All Categories
Home > Documents > Programming - Amazon Web Services

Programming - Amazon Web Services

Date post: 08-May-2015
Category:
Upload: amazon-web-services
View: 1,630 times
Download: 6 times
Share this document with a friend
64
PROGRAMMING AMAZON WEB SERVICES Danilo Poccia | Solutions Architect
Transcript
Page 1: Programming - Amazon Web Services

PROGRAMMING AMAZON WEB SERVICES

Danilo Poccia | Solutions Architect

Page 2: Programming - Amazon Web Services

“HOW

DO I DEPLOY

MY APP ?”

Page 3: Programming - Amazon Web Services

ON-DEMAND

PAY AS YOU GO

ELASTIC

Page 4: Programming - Amazon Web Services

On a global footprint

Region

US-WEST (N. California) EU-WEST (Ireland)

ASIA PAC

(Tokyo)

ASIA PAC

(Singapore)

US-WEST (Oregon)

SOUTH AMERICA (Sao

Paulo)

US-EAST (Virginia)

GOV CLOUD

ASIA PAC

(Sydney)

Page 5: Programming - Amazon Web Services

ELASTIC

BEANSTALK QUICKLY DEPLOY AND MANAGE

APPLICATIONS

Page 6: Programming - Amazon Web Services

DEPLOY

YOUR

APPLICATION…

Page 7: Programming - Amazon Web Services

…IN A RANGE OF CONTAINERS

Page 8: Programming - Amazon Web Services

WHEN

APPLICATION

PACKAGE

IS DEPLOYED…

Page 9: Programming - Amazon Web Services

User Application

Application Service

HTTP Service

Language Interpreter

Operating System

Host

…THE CONTAINER

IS CREATED IN EC2

Page 10: Programming - Amazon Web Services

ELASTIC BEANSTALK TAKES CARE

OF THE ENVIRONMENT…

Page 11: Programming - Amazon Web Services

ADDING

ELASTIC LOAD BALANCER

Page 12: Programming - Amazon Web Services

CONFIGURING

AUTO SCALING GROUP

Page 13: Programming - Amazon Web Services

LAUNCHING

INSTANCE(S)

Page 14: Programming - Amazon Web Services

ALL WIRED INTO

THE ELASTIC BEANSTALK

FRAMEWORK

Page 15: Programming - Amazon Web Services

APPLICATION IS PUBLISHED

UNDER A CNAME

Page 16: Programming - Amazon Web Services

WITH LOGS AND

APP VERSIONS

STORED IN S3

Page 17: Programming - Amazon Web Services

HOW

DO YOU CREATE

AN

APPLICATION

FOR

ELASTIC BEANSTALK ?

Page 18: Programming - Amazon Web Services

LIKE

ANY

OTHER

APPLICATION

Page 19: Programming - Amazon Web Services

Source uploaded and executed in AWS

Source downloaded

and executed locally NO DEPENDENCIES ON AWS

FOR BEANSTALK DEPLOYMENT

Page 20: Programming - Amazon Web Services

Java .war file

Microsoft Web

Deploy package

PHP .zip file

Python .zip file

Git integration IDE plugins

PACKAGE UP AS NORMAL

Page 21: Programming - Amazon Web Services

CONSOLE DEPLOYMENTS

AND VERSION UPDATES

Page 22: Programming - Amazon Web Services

CheckDNSAvailability elastic-beanstalk-check-dns-availability

CreateApplication elastic-beanstalk-create-application

CreateApplicationVersion

elastic-beanstalk-create-application-version

CreateEnvironment

elastic-beanstalk-create-environment

eb init wizard to initialize an application

eb start/stop start/stop an application

eb update

update application version

eb status

get status of a running application

COMMAND LINE TOOLS

AND “WIZARDS”

Page 23: Programming - Amazon Web Services

ECLIPSE INTEGRATION

Page 24: Programming - Amazon Web Services

VISUAL STUDIO INTEGRATION

Page 25: Programming - Amazon Web Services

GIT INTEGRATION

Page 26: Programming - Amazon Web Services

CONTAINER CONFIGURATION

Page 27: Programming - Amazon Web Services
Page 28: Programming - Amazon Web Services

“Elastic Beanstalk ci ha permesso di

sfruttare la potenza dell’Auto Scaling di

EC2 senza alcuna fatica.

La procedura di deploy integrata con

git è veramente comoda e veloce.”

FunGo Studios

www.fungostudios.com

Page 29: Programming - Amazon Web Services
Page 30: Programming - Amazon Web Services

“Elastic Beanstalk ci ha permesso di

mettere in produzione un’architettura

fortemente scalabile orizzontalmente

con un meccanismo di rilascio molto

flessibile.

L'implementazione dell'architettura,

utilizzata per una Web Application con

il CMS Wordpress, è stata possibile in

breve tempo.”

www.spindox.it

Page 31: Programming - Amazon Web Services
Page 32: Programming - Amazon Web Services
Page 33: Programming - Amazon Web Services
Page 34: Programming - Amazon Web Services
Page 35: Programming - Amazon Web Services

AWS OPSWORKS MANAGING THE COMPLETE

APPLICATION LIFECYCLE

Page 36: Programming - Amazon Web Services

MODEL, CONTROL AND AUTOMATE

AT ANY SCALE AND COMPLEXITY

Page 37: Programming - Amazon Web Services

A stack represents

your application. One

stack might be used

for staging and

another for production.

A layer defines how to

setup and configure a

set of instances and

related resources

such as volumes

and software.

Tell OpsWorks where

it can find your code

and define any

additional deployment

tasks. OpsWorks will

take care of deploying

your app.

Scale your stack

based on time or

load. Clone your

production stack to a

different region.

Automate workflows

for common tasks.

STACK | LAYER | APP | INSTANCE

GETTING STARTED WITH OPSWORKS

Page 38: Programming - Amazon Web Services

YOUR STACKS IN THE DASHBOARD

Page 39: Programming - Amazon Web Services

STACK OVERVIEW

Page 40: Programming - Amazon Web Services

LAYERS IN A STACK

Page 41: Programming - Amazon Web Services

INSTANCES IN A STACK

Page 42: Programming - Amazon Web Services

APPS IN A STACK

Page 43: Programming - Amazon Web Services

DEPLOYMENTS & COMMANDS

Page 44: Programming - Amazon Web Services

YOU CAN BRING YOUR

OWN CHEF RECIPES OR

LEVERAGE HUNDREDS

OF COMMUNITY-BUILT

CONFIGURATIONS

Page 45: Programming - Amazon Web Services

MONSTER WORLD

Page 46: Programming - Amazon Web Services

• Scalable infrastructure

• Flexible architecture

• Deploy often

• Staging environments

AWS OpsWorks gives us the tools we need to automate operations. We can scale Monster World, one of the largest Facebook games, to millions of users without ever needing more than two backend developers.

Jesper Richter-Reichhelm

head of engineering

Page 47: Programming - Amazon Web Services

THERE IS

NO ADDITIONAL CHARGE

FOR USING

ELASTIC BEANSTALK

OR

OPSWORKS

Page 48: Programming - Amazon Web Services

YOU PAY ONLY FOR THE

AWS RESOURCES

NEEDED TO

STORE AND RUN

YOUR

APPLICATIONS

Page 49: Programming - Amazon Web Services

AWS Elastic

Beanstalk

AWS

OpsWorks AWS

CloudFormation

Amazon EC2

Page 50: Programming - Amazon Web Services

AWS Elastic

Beanstalk

AWS

OpsWorks AWS

CloudFormation

Amazon EC2

CONVENIENCE CONTROL

Page 51: Programming - Amazon Web Services

AWS Elastic

Beanstalk

AWS

OpsWorks AWS

CloudFormation

Amazon EC2

CONVENIENCE CONTROL

HIGH-LEVEL DO IT YOURSELF

Page 52: Programming - Amazon Web Services

= PROGRAMMABLE

PLATFORM

Page 53: Programming - Amazon Web Services
Page 54: Programming - Amazon Web Services
Page 55: Programming - Amazon Web Services
Page 56: Programming - Amazon Web Services

AWS is a set of infrastructure building blocks

Page 57: Programming - Amazon Web Services
Page 58: Programming - Amazon Web Services

INNOVATE

Page 59: Programming - Amazon Web Services

« Want to increase innovation?

Lower the cost of failure »

Joi Ito

Page 60: Programming - Amazon Web Services

http://aws.amazon.com/free

Page 61: Programming - Amazon Web Services

ELASTIC BEANSTALK

http://aws.amazon.com/elasticbeanstalk

OPSWORKS

http://aws.amazon.com/opsworks

AWS BLOG

http://aws.typepad.com

Page 62: Programming - Amazon Web Services

LOOK AT THE

“GETTING STARTED”

SECTIONS

IN THE DOCS

Page 63: Programming - Amazon Web Services

Q & A

Page 64: Programming - Amazon Web Services

Recommended