Amazon Web Services – EC2 and friends.
URL : http://www.meetup.com/HTML-5/events/49518492/
Speaker : Chance Roth
Location: Qualcomm, San Diego
Notes:
1. Go to AMIs in the sidebar.
2. Filter by OS
3. Right click – launch instance
4. give in number of instances
5. During dev, use same zone
6. leave kernel default
7. Add SSH keys
8. Launch security group. Choose default.
Warning: You cannot change security group, once instance is up.
9. Get back to instances
10. Add elastic IPs
11. Create association – instance and elastic IPs
12. Add load balancer
13. This is optional. You do not need a load balancer unless you have heavy traffic.
14. Connect to the Elastic IP using SSH client. Get the IP in the bottom panel.
15. You can load packages using a script, or even point a text file with requirements.
16. Server is up and running.
17. BACKUPS: Go to instances.
18. Right click -> Create image
19. Can also use aws apis to backup using code.
20. Move to prod: Create new (larger) instance
21. Use the same settings, except for size of course.
22. EBS volumes retain the content, even when the instance is turned off.
23. AMI providers – bitnami and thought police (http://www.thoughtpolice.co.uk/)
24. Elastic Beanstalk can do auto scaling. Bringing more instances upon demand and add it to load balancer.
25. Other services
S3: Simple storage for static content.
RDS – Scalable relational database solution
DynamoDB – Scalable NoSQL solution
I have been playing around with dynamo DB for a while and it has been pretty cool. Thanks to boto.