7.
Solution Components – S3
• Simple Storage Service (S3)
– Amazon S3 provides a simple web services
interface that can be used to store and retrieve
any amount of data, at any time, from anywhere
on the web.
– Our Use case : The files that are uploaded ,
reports generated are stored in S3
www.8kmiles.com

8.
Solution Components – SQS
• Simple Queue Service (SQS)
– Amazon Simple Queue Service (Amazon SQS)
offers a reliable, highly scalable, hosted queue for
storing messages as they travel between
computers
– Our Use case : the Meta data about the files are
put on the queue for processing . The Background
services picks up the meta data from SQS and
accesess and processes the files from S3
www.8kmiles.com

13.
Setup and Config contd..
Create a launch configuration
Just a name to the AMI (server image) to be
launch config launched during scaling
as-create-launch-config my-launch-config --image-id ami-e3826c8a --
instance-type m1.small --key my-key-pair --group my-security-group
Instance Keypair and security
(server) size Group (firewall) for
the new servers
www.8kmiles.com

14.
Setup and Config contd..
Create the auto scale group
Name your auto Min and Max number of
Scale group instances to be spawned
as-create-auto-scaling-group my-as-group --availability-zones us-east-
1c --launch-configuration my-launch-config --max-size 11 --min-size
3 --cooldown 180 --load-balancers my-load-balancer
Mention the launch Specify the load balancer to
config (the one we which the new servers needs
created in last step) to be attached
www.8kmiles.com