SlideShare a Scribd company logo
AWS Elastic Beanstalk
Managing application lifecycle with
Rafael Lopes de Freitas
AWS Technical Trainer
@cloudlopes
Amazon Web Services Technical Trainer;
@cloudlopes;
(log nerd AND DevOp AND Technical Trainer
@ AWS AND Philosopher) AND (daddy);
freitasr+tdc@amazon.com;
http://1ton.rafalop.es;
http://rafalop.es/work.
Who am I?
MK33BR2015
33% de desconto em treinamento presencial em 2015;
Se mudar de 33 para um número maior não adianta;
Se mudar de 2015 para 2016 também não :/
Voucher especial de descontos (pode deve tirar foto)
Benefit from economies of scale;
Growth, Ability to quickly scale in and out;
Stop spending with physical infrastructure, giving yourself
more time to focus on your business;
Stop guessing capacity, it’s all about elastic things;
Go global in minutes;
Trade capital expense for variable expense.
First of all, why Cloud Computing?
Real on-demand promise, hour is your billing time unit;
The Free Tier;
Community, support, official trainings with certifications,
webinars, forums, high dissemination, big companies are
using;
Reliability, lots of 9’s around;
Documented API’s everywhere and CLI;
Integration…
Ok, got Cloud. But why AWS?
Integrated solutions
… integrated;
… organized;
… safe;
… easy to maintain;
All together
Let’s talk about application management and lifecycle
Manually configure AWS products (that’s the easiest part);
Update (and maintain) OS packages;
Download app packages (and configure them);
Configure Web Server (bindings, htdocs, bla bla bla);
Deployment (find an automated solution);
Monitoring;
Backups, scaling, SysAdmin jobs …
Configuring an ordinary Web server …
Energy to code?
What about your customers?
And the competitors?
Time’s running out. Is it ready?
Repeatedly, this causes fatigue.
Very fatigue and boring …
AWS Elastic Beanstalk ::
There’s a better way to do that !
AWS Elastic Beanstalk ::
Elastic
Beanstalk
Introducing …
Every DevOps’ dream!;
High Level Application/Environment management service,
orchestration tool;
Deploy and manage your applications in AWS Cloud;
“Easy to begin, Impossible to outgrow”;
Install and maintain AWS services for you;
You are always in control, it’s not PaaS by definition.
What Elastic Beanstalk is ?
Overall:



















The Beanstalk way
Amazon Elastic Beanstalk - simple workflow diagram
Create
Application
Upload
Version
Launch
Environment
Manage
Environment
update app version
(same environment)
deploy new version
(same environment)
The Beanstalk way
demo.start_session();
What is Beanstalk doing right now ?
New Beanstalk
Application
you
“next…
next…
launch.”
Route53 (AWS account)
myapp.elasticbeanstalk.com
60s TTL
Under the hood
Cloud Formation
(where magic
happens)
New Beanstalk
Applicationyou
“next…
next…
launch.”
AWS Cloud Formation
JSON-formatted text
Route53 (AWS account)
myapp.elasticbeanstalk.com
60s TTL
What if it fails in the middle ?
Cloud Formation
Template
New Beanstalk
Application
or Environment
you
“next…
next…
launch.”
AWS Cloud Formation
JSON-formatted text
FAILED
AWS Cloud Formation
(web Console or API)
what was
wrong?
get logs from
deleted stacks
delete
app/env
Preconfigured:











Generic:
Platforms
5.3
5.4
5.5
5.6
1.9.3
2.0.0
2.1.2
2.2
6
7
8
2008 IIS 7.5
2012 IIS 8/8.5
2.7
3.4
1.4
Back to Demo
demo.reattach_session();
Easy and simple to use and maintain;
Save your time;
Don’t worry about the infrastructure under the hood;
Fits from small/simple to large/complex applications;
Scaled by default;
Eclipse/VisualStudio Toolkit;
Zero downtime deployment (killer feature!).
Where does Beanstalk really shine ?
URL swapping:





















Zero downtime deployment
your
Route 53
mywebsite.com
(CNAME)
myapp.elasticbeanstalk.com
myapp.elasticbeanstalk.com myapp2.elasticbeanstalk.com
v1.0 v1.1
load saved
environment
then deploy
60s TTL
(where the “zero downtime” magic happens)
Changes should be done in Beanstalk, not in
automated parts;
Don’t manually change OS files (unless you know what
you’re doing);
Be careful with URL swapping if you use old JVM’s.
If you are not using your application or environment,
don’t forget to terminate it;
Keep an eye on it !
No additional charges for using AWS Elastic Beanstalk;
You only pay for the underlying AWS resources that
your application consumes (AWS automatically sign
you up for these services);
Free Tier…
What much does it cost?
Thank you!
questions ?
Rafael Lopes de Freitas
AWS Technical Trainer
@cloudlopes
(não esquecer da selfie)

More Related Content

PDF
Move fast, build things with AWS (June 2016)
PPTX
Understand Immutable infrastructure - at Build Stuff Kiev 2016
PDF
Managing Application Lifecycle using Jira and Bitbucket Cloud and AWS Tooling
PDF
5 Essential Techniques for Building Fault-tolerant Systems
PDF
How to use AWS practices to provide the enterprise architecture in the cloud
PDF
Amazon Lightsail Tutorial | What is Amazon Lightsail? | AWS Certification Tra...
PPTX
The Cloud
PDF
How to be Successful in the DevOps Business
Move fast, build things with AWS (June 2016)
Understand Immutable infrastructure - at Build Stuff Kiev 2016
Managing Application Lifecycle using Jira and Bitbucket Cloud and AWS Tooling
5 Essential Techniques for Building Fault-tolerant Systems
How to use AWS practices to provide the enterprise architecture in the cloud
Amazon Lightsail Tutorial | What is Amazon Lightsail? | AWS Certification Tra...
The Cloud
How to be Successful in the DevOps Business

What's hot (11)

PPTX
AWS Summit Melbourne 2014 | The Path to Business Agility for Vodafone: How Am...
PPTX
Best AWS Training in Marathahalli, Bengalure
PPTX
AWS course training with placement in Marathahalli, Bangalore
PPTX
Amazon Web services
PDF
Lunch && Learn DevHub - 6 Things to Learn to become an AWS Genius
PPTX
AWS Certifications
PDF
Serverless 101 in Montreal
PPTX
Basic architecuture and operation concept of Backlog and Cacoo
PDF
FaaS or not to FaaS. Visible and invisible benefits of the Serverless paradig...
PDF
What is Cloud Computing | Cloud Computing Tutorial | AWS Tutorial | AWS Train...
PDF
Cloud School Closing Presentation
AWS Summit Melbourne 2014 | The Path to Business Agility for Vodafone: How Am...
Best AWS Training in Marathahalli, Bengalure
AWS course training with placement in Marathahalli, Bangalore
Amazon Web services
Lunch && Learn DevHub - 6 Things to Learn to become an AWS Genius
AWS Certifications
Serverless 101 in Montreal
Basic architecuture and operation concept of Backlog and Cacoo
FaaS or not to FaaS. Visible and invisible benefits of the Serverless paradig...
What is Cloud Computing | Cloud Computing Tutorial | AWS Tutorial | AWS Train...
Cloud School Closing Presentation
Ad

Similar to Gerenciando o ciclo de vida de aplicações com AWS Elastic Beanstalk (20)

PPTX
AWS - Beanstalk Fundamentals
PPTX
Elastic beanstalk
PPTX
Aws elastic beanstalk
PDF
PDF
[Jun AWS 201] Elastic Beanstalk for Startups
PDF
AWS Elastic Beanstalk Tutorial | AWS Certification | AWS Tutorial | Edureka
PPTX
DevOps with Elastic Beanstalk - TCCC-2014
PDF
Amazon Elastic Beanstalk - Indicthreads.com cloud computing conference 2011
PDF
Distribua, gerencie e escale suas aplicações com o aws elastic beanstalk
PPTX
Series Meetup #1: Speech 2: Elastic beanstalk
PDF
E301 Elastic Beanstalk PaaS
PPTX
AWS Elastic Beanstalk
PPTX
AWS elastic beanstalk
PDF
Scaling Django Apps using AWS Elastic Beanstalk
PPTX
Deploying your web application with AWS ElasticBeanstalk
PPTX
AWSome Day Barcelona 26 Feb 2015 - Opening Keynote
PPTX
Introduction to DevOps on AWS
PDF
AWS Meetup - Sydney - March
PDF
Build an app on aws for your first 10 million users (2)
PDF
AWS: Scaling With Elastic Beanstalk
AWS - Beanstalk Fundamentals
Elastic beanstalk
Aws elastic beanstalk
[Jun AWS 201] Elastic Beanstalk for Startups
AWS Elastic Beanstalk Tutorial | AWS Certification | AWS Tutorial | Edureka
DevOps with Elastic Beanstalk - TCCC-2014
Amazon Elastic Beanstalk - Indicthreads.com cloud computing conference 2011
Distribua, gerencie e escale suas aplicações com o aws elastic beanstalk
Series Meetup #1: Speech 2: Elastic beanstalk
E301 Elastic Beanstalk PaaS
AWS Elastic Beanstalk
AWS elastic beanstalk
Scaling Django Apps using AWS Elastic Beanstalk
Deploying your web application with AWS ElasticBeanstalk
AWSome Day Barcelona 26 Feb 2015 - Opening Keynote
Introduction to DevOps on AWS
AWS Meetup - Sydney - March
Build an app on aws for your first 10 million users (2)
AWS: Scaling With Elastic Beanstalk
Ad

More from tdc-globalcode (20)

PDF
TDC2019 Intel Software Day - Visao Computacional e IA a servico da humanidade
PDF
TDC2019 Intel Software Day - Tecnicas de Programacao Paralela em Machine Lear...
PDF
TDC2019 Intel Software Day - ACATE - Cases de Sucesso
PDF
TDC2019 Intel Software Day - Otimizacao grafica com o Intel GPA
PDF
TDC2019 Intel Software Day - Deteccao de objetos em tempo real com OpenVino
PDF
TDC2019 Intel Software Day - OpenCV: Inteligencia artificial e Visao Computac...
PDF
TDC2019 Intel Software Day - Inferencia de IA em edge devices
PDF
Trilha BigData - Banco de Dados Orientado a Grafos na Seguranca Publica
PPT
Trilha .Net - Programacao funcional usando f#
PDF
TDC2018SP | Trilha Go - Case Easylocus
PDF
TDC2018SP | Trilha Modern Web - Para onde caminha a Web?
PDF
TDC2018SP | Trilha Go - Clean architecture em Golang
PDF
TDC2018SP | Trilha Go - "Go" tambem e linguagem de QA
PDF
TDC2018SP | Trilha Mobile - Digital Wallets - Seguranca, inovacao e tendencia
PDF
TDC2018SP | Trilha .Net - Real Time apps com Azure SignalR Service
PDF
TDC2018SP | Trilha .Net - Passado, Presente e Futuro do .NET
PDF
TDC2018SP | Trilha .Net - Novidades do C# 7 e 8
PDF
TDC2018SP | Trilha .Net - Obtendo metricas com TDD utilizando build automatiz...
PDF
TDC2018SP | Trilha .Net - .NET funcional com F#
PDF
TDC2018SP | Trilha .Net - Crie SPAs com Razor e C# usando Blazor em .Net Core
TDC2019 Intel Software Day - Visao Computacional e IA a servico da humanidade
TDC2019 Intel Software Day - Tecnicas de Programacao Paralela em Machine Lear...
TDC2019 Intel Software Day - ACATE - Cases de Sucesso
TDC2019 Intel Software Day - Otimizacao grafica com o Intel GPA
TDC2019 Intel Software Day - Deteccao de objetos em tempo real com OpenVino
TDC2019 Intel Software Day - OpenCV: Inteligencia artificial e Visao Computac...
TDC2019 Intel Software Day - Inferencia de IA em edge devices
Trilha BigData - Banco de Dados Orientado a Grafos na Seguranca Publica
Trilha .Net - Programacao funcional usando f#
TDC2018SP | Trilha Go - Case Easylocus
TDC2018SP | Trilha Modern Web - Para onde caminha a Web?
TDC2018SP | Trilha Go - Clean architecture em Golang
TDC2018SP | Trilha Go - "Go" tambem e linguagem de QA
TDC2018SP | Trilha Mobile - Digital Wallets - Seguranca, inovacao e tendencia
TDC2018SP | Trilha .Net - Real Time apps com Azure SignalR Service
TDC2018SP | Trilha .Net - Passado, Presente e Futuro do .NET
TDC2018SP | Trilha .Net - Novidades do C# 7 e 8
TDC2018SP | Trilha .Net - Obtendo metricas com TDD utilizando build automatiz...
TDC2018SP | Trilha .Net - .NET funcional com F#
TDC2018SP | Trilha .Net - Crie SPAs com Razor e C# usando Blazor em .Net Core

Recently uploaded (20)

PDF
Paper A Mock Exam 9_ Attempt review.pdf.
PDF
What if we spent less time fighting change, and more time building what’s rig...
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PDF
Computing-Curriculum for Schools in Ghana
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Weekly quiz Compilation Jan -July 25.pdf
PDF
Practical Manual AGRO-233 Principles and Practices of Natural Farming
PDF
Classroom Observation Tools for Teachers
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
Yogi Goddess Pres Conference Studio Updates
PPTX
UV-Visible spectroscopy..pptx UV-Visible Spectroscopy – Electronic Transition...
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
Paper A Mock Exam 9_ Attempt review.pdf.
What if we spent less time fighting change, and more time building what’s rig...
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
Microbial disease of the cardiovascular and lymphatic systems
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
Computing-Curriculum for Schools in Ghana
2.FourierTransform-ShortQuestionswithAnswers.pdf
Microbial diseases, their pathogenesis and prophylaxis
Weekly quiz Compilation Jan -July 25.pdf
Practical Manual AGRO-233 Principles and Practices of Natural Farming
Classroom Observation Tools for Teachers
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
Supply Chain Operations Speaking Notes -ICLT Program
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
202450812 BayCHI UCSC-SV 20250812 v17.pptx
Yogi Goddess Pres Conference Studio Updates
UV-Visible spectroscopy..pptx UV-Visible Spectroscopy – Electronic Transition...
STATICS OF THE RIGID BODIES Hibbelers.pdf

Gerenciando o ciclo de vida de aplicações com AWS Elastic Beanstalk

  • 1. AWS Elastic Beanstalk Managing application lifecycle with Rafael Lopes de Freitas AWS Technical Trainer @cloudlopes
  • 2. Amazon Web Services Technical Trainer; @cloudlopes; (log nerd AND DevOp AND Technical Trainer @ AWS AND Philosopher) AND (daddy); freitasr+tdc@amazon.com; http://1ton.rafalop.es; http://rafalop.es/work. Who am I?
  • 3. MK33BR2015 33% de desconto em treinamento presencial em 2015; Se mudar de 33 para um número maior não adianta; Se mudar de 2015 para 2016 também não :/ Voucher especial de descontos (pode deve tirar foto)
  • 4. Benefit from economies of scale; Growth, Ability to quickly scale in and out; Stop spending with physical infrastructure, giving yourself more time to focus on your business; Stop guessing capacity, it’s all about elastic things; Go global in minutes; Trade capital expense for variable expense. First of all, why Cloud Computing?
  • 5. Real on-demand promise, hour is your billing time unit; The Free Tier; Community, support, official trainings with certifications, webinars, forums, high dissemination, big companies are using; Reliability, lots of 9’s around; Documented API’s everywhere and CLI; Integration… Ok, got Cloud. But why AWS?
  • 7. … integrated; … organized; … safe; … easy to maintain; All together
  • 8. Let’s talk about application management and lifecycle
  • 9. Manually configure AWS products (that’s the easiest part); Update (and maintain) OS packages; Download app packages (and configure them); Configure Web Server (bindings, htdocs, bla bla bla); Deployment (find an automated solution); Monitoring; Backups, scaling, SysAdmin jobs … Configuring an ordinary Web server …
  • 10. Energy to code? What about your customers? And the competitors? Time’s running out. Is it ready? Repeatedly, this causes fatigue. Very fatigue and boring …
  • 11. AWS Elastic Beanstalk :: There’s a better way to do that !
  • 12. AWS Elastic Beanstalk :: Elastic Beanstalk Introducing …
  • 13. Every DevOps’ dream!; High Level Application/Environment management service, orchestration tool; Deploy and manage your applications in AWS Cloud; “Easy to begin, Impossible to outgrow”; Install and maintain AWS services for you; You are always in control, it’s not PaaS by definition. What Elastic Beanstalk is ?
  • 14. Overall:
 
 
 
 
 
 
 
 
 
 The Beanstalk way Amazon Elastic Beanstalk - simple workflow diagram Create Application Upload Version Launch Environment Manage Environment update app version (same environment) deploy new version (same environment)
  • 16. What is Beanstalk doing right now ? New Beanstalk Application you “next… next… launch.” Route53 (AWS account) myapp.elasticbeanstalk.com 60s TTL
  • 17. Under the hood Cloud Formation (where magic happens) New Beanstalk Applicationyou “next… next… launch.” AWS Cloud Formation JSON-formatted text Route53 (AWS account) myapp.elasticbeanstalk.com 60s TTL
  • 18. What if it fails in the middle ? Cloud Formation Template New Beanstalk Application or Environment you “next… next… launch.” AWS Cloud Formation JSON-formatted text FAILED AWS Cloud Formation (web Console or API) what was wrong? get logs from deleted stacks delete app/env
  • 21. Easy and simple to use and maintain; Save your time; Don’t worry about the infrastructure under the hood; Fits from small/simple to large/complex applications; Scaled by default; Eclipse/VisualStudio Toolkit; Zero downtime deployment (killer feature!). Where does Beanstalk really shine ?
  • 22. URL swapping:
 
 
 
 
 
 
 
 
 
 
 Zero downtime deployment your Route 53 mywebsite.com (CNAME) myapp.elasticbeanstalk.com myapp.elasticbeanstalk.com myapp2.elasticbeanstalk.com v1.0 v1.1 load saved environment then deploy 60s TTL (where the “zero downtime” magic happens)
  • 23. Changes should be done in Beanstalk, not in automated parts; Don’t manually change OS files (unless you know what you’re doing); Be careful with URL swapping if you use old JVM’s. If you are not using your application or environment, don’t forget to terminate it; Keep an eye on it !
  • 24. No additional charges for using AWS Elastic Beanstalk; You only pay for the underlying AWS resources that your application consumes (AWS automatically sign you up for these services); Free Tier… What much does it cost?
  • 25. Thank you! questions ? Rafael Lopes de Freitas AWS Technical Trainer @cloudlopes (não esquecer da selfie)