Auto Scaling
Applications in
10 MinutesJuan Basso @jrbasso
System Architect - Zumba Fitness
Ingredients
AWS Account
AWS OpsWorks
Chef Cookbooks
Your Awesome App
Some Money
Patience
Some Terms
AWS: Amazon Web Services
EC2: Amazon Elastic Compute Cloud
ELB: Elastic Load Balancing
RDS: Amazon Relational D...
Architecture Evolution
Starting
Separate the Load
More Instances for the Load
Auto Scaling
Getting There With OpsWorks
What is OpsWorks?
Free Tool with AWS Account
Simple Interface for Setup the Deployment
Easy Setup of Auto Scaling
DevOps A...
What is Necessary?
AWS Account
Application in Some Repository
Create Chef Cookbooks
Put the Cookbooks on Some Repository
Chef Cookbooks???
node[:deploy].each do |application, deploy|
include_recipe 'apache2::service'
execute 'Setup PHP default...
Components
Stack
Layers
Instances
Application
OpsWorks Step-By-Step
Links and Configs
Application: git://github.com/croogo/croogo.git (tag v1.5.3)
Cookbook: git://github.com/jrbasso/croogo-c...
Create the Load Balancer
Create the Database
Welcome Page from OpsWorks
Creating the Stack (Part 1)
Creating the Stack (Part 2)
Creating PHP Layer
Configuring PHP Layer
Before Setup Instances
Creating the Instance
24/7 Instance Created
Created Load and Time Based
Instances
Setting Up Time Based
Instances
Setting Up Load Based
Instances
Creating Application
Application Created
Monitoring Servers
Auto Starting a Load Instance
Questions?
Upcoming SlideShare
Loading in...5
×

Auto scaling applications in 10 minutes (CakeFest 2013)

1,276

Published on

Talk about using AWS OpsWorks to auto scale web applications on AWS infrastructure.

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,276
On Slideshare
0
From Embeds
0
Number of Embeds
8
Actions
Shares
0
Downloads
19
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Transcript of "Auto scaling applications in 10 minutes (CakeFest 2013)"

  1. 1. Auto Scaling Applications in 10 MinutesJuan Basso @jrbasso System Architect - Zumba Fitness
  2. 2. Ingredients AWS Account AWS OpsWorks Chef Cookbooks Your Awesome App Some Money Patience
  3. 3. Some Terms AWS: Amazon Web Services EC2: Amazon Elastic Compute Cloud ELB: Elastic Load Balancing RDS: Amazon Relational Database Service
  4. 4. Architecture Evolution
  5. 5. Starting
  6. 6. Separate the Load
  7. 7. More Instances for the Load
  8. 8. Auto Scaling
  9. 9. Getting There With OpsWorks
  10. 10. What is OpsWorks? Free Tool with AWS Account Simple Interface for Setup the Deployment Easy Setup of Auto Scaling DevOps Application Management Service
  11. 11. What is Necessary? AWS Account Application in Some Repository Create Chef Cookbooks Put the Cookbooks on Some Repository
  12. 12. Chef Cookbooks??? node[:deploy].each do |application, deploy| include_recipe 'apache2::service' execute 'Setup PHP default timezone' do action :run command " sed -i 's/;date.timezone.*/date.timezone = UTC/g' `php -r 'echo php_ini_loaded_file();'` " user 'root' notifies :reload, resources(:service => "apache2"), :delayed end end
  13. 13. Components Stack Layers Instances Application
  14. 14. OpsWorks Step-By-Step
  15. 15. Links and Configs Application: git://github.com/croogo/croogo.git (tag v1.5.3) Cookbook: git://github.com/jrbasso/croogo-cookbook Setup: cakephp::setup Configure: php::timezone_cfg Deploy: croogo::installand php::timezone_cfg Create the RDS and ELB beforehand Import database data PS: Sessions are going to be stored on DB
  16. 16. Create the Load Balancer
  17. 17. Create the Database
  18. 18. Welcome Page from OpsWorks
  19. 19. Creating the Stack (Part 1)
  20. 20. Creating the Stack (Part 2)
  21. 21. Creating PHP Layer
  22. 22. Configuring PHP Layer
  23. 23. Before Setup Instances
  24. 24. Creating the Instance
  25. 25. 24/7 Instance Created
  26. 26. Created Load and Time Based Instances
  27. 27. Setting Up Time Based Instances
  28. 28. Setting Up Load Based Instances
  29. 29. Creating Application
  30. 30. Application Created
  31. 31. Monitoring Servers
  32. 32. Auto Starting a Load Instance
  33. 33. Questions?
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×