forked from chinnareddaiah/aws-meterial
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path6-AWS-AutoScalling.txt
45 lines (23 loc) · 1.1 KB
/
6-AWS-AutoScalling.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Auto Scalling:
--------------
eg: Amazon sale when they have offers client will increase obveacilly we need to increase server
on demand can increase the server, on demand can decrease the server.
For this need to Launch Configuration.
eg: cpu utilization above 90 add server. cpu utilization below 50 remover server.
creating server by image.
on demand we can add or remove servers based on certain metrices
eg:disk rides
For Configuring we need couple of steps:
step 1:
-- we should do launch configuration
-- its a template that your auto scalling group will be used to launch instances
-- template equals Ec2 + Webserver+ Application code.
step 2:
-- creating of template can be done like this launch Ec2 install web server -- on Ec2 followed by deploy our code on Ec2
then create amazon image.
-- They ask for auto scalling to launch a new instances.
images can be fine AMI's under IMAGES
Note:
we can use 750 hrs is free for month. to use the resources.
sudo chkconfig httpd on// during reboot m/c restart the webservers.
Minimus 2 servers