Based on AWS Simple scaling Almost no operation cost Git-base deployment Lots of addons Good No system softs Addons reliability AWS US East region Routergate Issues I still recommend Heroku for startups but not suitable for complicated stack
Create stack A stack represents a collection of EC2 instances that have a common purpose. Some stack names for example: ↟iCook ↟Inside ↟MyAwesomeApp ↟YourFantasticStartup
What if there’re no built-in stacks for your need? Just create custom layer and add Chef recipes ↟Tons of open sourced cookbooks ↟Fork the AWS official cookbooks and make changes Resources ↟Peepcode’s video series Meet Chef ↟Polydice’s Cookbooks on GitHub
Config app An app represents code stored in a repository that you want to install on application server instances. More than just copy file & restart server: ↟Notify load balancer ↟Assets precompile ↟Other tasks via custom recipes
Create instances Instance are created based on layers. ↟24/7 instances ↟Time-based instance ↟Load-based instances Notice: ↟Only one layer per instance ↟You can also associate Elastic IP to instances
iCook is now fully OpsWorks-based! Spent 4 weeks working on this migration ↟4 layers (Rails / Worker / Redis / ElasticSearch) ↟Integrated with RDS / ElasticCache / ELB ↟Few 24/7 instances with some time-based ones ↟Performance++ & Response time-- ↟Cost--!