Programming - Amazon Web Services
-
Upload
amazon-web-services -
Category
Documents
-
view
1.629 -
download
6
Transcript of Programming - Amazon Web Services
![Page 1: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/1.jpg)
PROGRAMMING AMAZON WEB SERVICES
Danilo Poccia | Solutions Architect
![Page 2: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/2.jpg)
“HOW
DO I DEPLOY
MY APP ?”
![Page 3: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/3.jpg)
ON-DEMAND
PAY AS YOU GO
ELASTIC
![Page 4: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/4.jpg)
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](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/5.jpg)
ELASTIC
BEANSTALK QUICKLY DEPLOY AND MANAGE
APPLICATIONS
![Page 6: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/6.jpg)
DEPLOY
YOUR
APPLICATION…
![Page 7: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/7.jpg)
…IN A RANGE OF CONTAINERS
![Page 8: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/8.jpg)
WHEN
APPLICATION
PACKAGE
IS DEPLOYED…
![Page 9: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/9.jpg)
User Application
Application Service
HTTP Service
Language Interpreter
Operating System
Host
…THE CONTAINER
IS CREATED IN EC2
![Page 10: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/10.jpg)
ELASTIC BEANSTALK TAKES CARE
OF THE ENVIRONMENT…
![Page 11: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/11.jpg)
ADDING
ELASTIC LOAD BALANCER
![Page 12: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/12.jpg)
CONFIGURING
AUTO SCALING GROUP
![Page 13: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/13.jpg)
LAUNCHING
INSTANCE(S)
![Page 14: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/14.jpg)
ALL WIRED INTO
THE ELASTIC BEANSTALK
FRAMEWORK
![Page 15: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/15.jpg)
APPLICATION IS PUBLISHED
UNDER A CNAME
![Page 16: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/16.jpg)
WITH LOGS AND
APP VERSIONS
STORED IN S3
![Page 17: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/17.jpg)
HOW
DO YOU CREATE
AN
APPLICATION
FOR
ELASTIC BEANSTALK ?
![Page 18: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/18.jpg)
LIKE
ANY
OTHER
APPLICATION
![Page 19: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/19.jpg)
Source uploaded and executed in AWS
Source downloaded
and executed locally NO DEPENDENCIES ON AWS
FOR BEANSTALK DEPLOYMENT
![Page 20: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/20.jpg)
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](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/21.jpg)
CONSOLE DEPLOYMENTS
AND VERSION UPDATES
![Page 22: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/22.jpg)
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](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/23.jpg)
ECLIPSE INTEGRATION
![Page 24: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/24.jpg)
VISUAL STUDIO INTEGRATION
![Page 25: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/25.jpg)
GIT INTEGRATION
![Page 26: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/26.jpg)
CONTAINER CONFIGURATION
![Page 27: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/27.jpg)
![Page 28: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/28.jpg)
“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](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/29.jpg)
![Page 30: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/30.jpg)
“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](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/31.jpg)
![Page 32: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/32.jpg)
![Page 33: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/33.jpg)
![Page 34: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/34.jpg)
![Page 35: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/35.jpg)
AWS OPSWORKS MANAGING THE COMPLETE
APPLICATION LIFECYCLE
![Page 36: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/36.jpg)
MODEL, CONTROL AND AUTOMATE
AT ANY SCALE AND COMPLEXITY
![Page 37: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/37.jpg)
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](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/38.jpg)
YOUR STACKS IN THE DASHBOARD
![Page 39: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/39.jpg)
STACK OVERVIEW
![Page 40: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/40.jpg)
LAYERS IN A STACK
![Page 41: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/41.jpg)
INSTANCES IN A STACK
![Page 42: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/42.jpg)
APPS IN A STACK
![Page 43: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/43.jpg)
DEPLOYMENTS & COMMANDS
![Page 44: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/44.jpg)
YOU CAN BRING YOUR
OWN CHEF RECIPES OR
LEVERAGE HUNDREDS
OF COMMUNITY-BUILT
CONFIGURATIONS
![Page 45: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/45.jpg)
MONSTER WORLD
![Page 46: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/46.jpg)
• 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](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/47.jpg)
THERE IS
NO ADDITIONAL CHARGE
FOR USING
ELASTIC BEANSTALK
OR
OPSWORKS
![Page 48: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/48.jpg)
YOU PAY ONLY FOR THE
AWS RESOURCES
NEEDED TO
STORE AND RUN
YOUR
APPLICATIONS
![Page 49: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/49.jpg)
AWS Elastic
Beanstalk
AWS
OpsWorks AWS
CloudFormation
Amazon EC2
![Page 50: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/50.jpg)
AWS Elastic
Beanstalk
AWS
OpsWorks AWS
CloudFormation
Amazon EC2
CONVENIENCE CONTROL
![Page 51: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/51.jpg)
AWS Elastic
Beanstalk
AWS
OpsWorks AWS
CloudFormation
Amazon EC2
CONVENIENCE CONTROL
HIGH-LEVEL DO IT YOURSELF
![Page 52: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/52.jpg)
= PROGRAMMABLE
PLATFORM
![Page 53: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/53.jpg)
![Page 54: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/54.jpg)
![Page 55: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/55.jpg)
![Page 56: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/56.jpg)
AWS is a set of infrastructure building blocks
![Page 57: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/57.jpg)
![Page 58: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/58.jpg)
INNOVATE
![Page 59: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/59.jpg)
« Want to increase innovation?
Lower the cost of failure »
Joi Ito
![Page 60: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/60.jpg)
http://aws.amazon.com/free
![Page 61: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/61.jpg)
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](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/62.jpg)
LOOK AT THE
“GETTING STARTED”
SECTIONS
IN THE DOCS
![Page 63: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/63.jpg)
Q & A
![Page 64: Programming - Amazon Web Services](https://reader031.fdocuments.in/reader031/viewer/2022020712/554bd7b3b4c905706a8b5230/html5/thumbnails/64.jpg)