Date post: | 08-May-2015 |
Category: |
Documents |
Upload: | amazon-web-services |
View: | 1,630 times |
Download: | 6 times |
PROGRAMMING AMAZON WEB SERVICES
Danilo Poccia | Solutions Architect
“HOW
DO I DEPLOY
MY APP ?”
ON-DEMAND
PAY AS YOU GO
ELASTIC
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)
ELASTIC
BEANSTALK QUICKLY DEPLOY AND MANAGE
APPLICATIONS
DEPLOY
YOUR
APPLICATION…
…IN A RANGE OF CONTAINERS
WHEN
APPLICATION
PACKAGE
IS DEPLOYED…
User Application
Application Service
HTTP Service
Language Interpreter
Operating System
Host
…THE CONTAINER
IS CREATED IN EC2
ELASTIC BEANSTALK TAKES CARE
OF THE ENVIRONMENT…
ADDING
ELASTIC LOAD BALANCER
CONFIGURING
AUTO SCALING GROUP
LAUNCHING
INSTANCE(S)
ALL WIRED INTO
THE ELASTIC BEANSTALK
FRAMEWORK
APPLICATION IS PUBLISHED
UNDER A CNAME
WITH LOGS AND
APP VERSIONS
STORED IN S3
HOW
DO YOU CREATE
AN
APPLICATION
FOR
ELASTIC BEANSTALK ?
LIKE
ANY
OTHER
APPLICATION
Source uploaded and executed in AWS
Source downloaded
and executed locally NO DEPENDENCIES ON AWS
FOR BEANSTALK DEPLOYMENT
Java .war file
Microsoft Web
Deploy package
PHP .zip file
Python .zip file
Git integration IDE plugins
PACKAGE UP AS NORMAL
CONSOLE DEPLOYMENTS
AND VERSION UPDATES
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”
ECLIPSE INTEGRATION
VISUAL STUDIO INTEGRATION
GIT INTEGRATION
CONTAINER CONFIGURATION
“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
“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
AWS OPSWORKS MANAGING THE COMPLETE
APPLICATION LIFECYCLE
MODEL, CONTROL AND AUTOMATE
AT ANY SCALE AND COMPLEXITY
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
YOUR STACKS IN THE DASHBOARD
STACK OVERVIEW
LAYERS IN A STACK
INSTANCES IN A STACK
APPS IN A STACK
DEPLOYMENTS & COMMANDS
YOU CAN BRING YOUR
OWN CHEF RECIPES OR
LEVERAGE HUNDREDS
OF COMMUNITY-BUILT
CONFIGURATIONS
MONSTER WORLD
• 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
THERE IS
NO ADDITIONAL CHARGE
FOR USING
ELASTIC BEANSTALK
OR
OPSWORKS
YOU PAY ONLY FOR THE
AWS RESOURCES
NEEDED TO
STORE AND RUN
YOUR
APPLICATIONS
AWS Elastic
Beanstalk
AWS
OpsWorks AWS
CloudFormation
Amazon EC2
AWS Elastic
Beanstalk
AWS
OpsWorks AWS
CloudFormation
Amazon EC2
CONVENIENCE CONTROL
AWS Elastic
Beanstalk
AWS
OpsWorks AWS
CloudFormation
Amazon EC2
CONVENIENCE CONTROL
HIGH-LEVEL DO IT YOURSELF
= PROGRAMMABLE
PLATFORM
AWS is a set of infrastructure building blocks
INNOVATE
« Want to increase innovation?
Lower the cost of failure »
Joi Ito
http://aws.amazon.com/free
ELASTIC BEANSTALK
http://aws.amazon.com/elasticbeanstalk
OPSWORKS
http://aws.amazon.com/opsworks
AWS BLOG
http://aws.typepad.com
LOOK AT THE
“GETTING STARTED”
SECTIONS
IN THE DOCS
Q & A