-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAWS cloud learnings
More file actions
109 lines (91 loc) · 5.45 KB
/
Copy pathAWS cloud learnings
File metadata and controls
109 lines (91 loc) · 5.45 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
sudo su
yum update -y
yum install httpd
systemctl start httpd
systemctl enable httpd
echo "Hello World" > /var/www/html/index.html
========================================================================================================================================================
when ever we are experiancing peakload, one is responsble for providing peakload provisioning.
on demand load provisioning also known as elasticity.
example :
lets say we have online shoping application the with sudden spike in traffic, we have to provide more infrastructure.
we say that when ever your a lounching a statup there might be sudden popularity in the market to overcome this, we can with cloud that heps us with
scalling up your application and scalling down your application.
========================================================================================================================================================
IAM - Identity Access Management.
create a user group
-- assigned administrative access.
crete a user
-- taged it to user group.
-- create a custom password.
=========================================================================================================================================================
EC2 instance -- elastic cloud compute.
horizaontal scaling -- increase the compute of the instance .
vertical scaling -- deploy in multiple instance.
simple insatence
spot instance
reserved instance
---
teneancy
shared tenenacy.
ec2 dedicated instance.
ec2 dedicated host.
=========================================================================================================================================================
ELB elastic load balancing
allows multiple applications to load.
allows multiple environments to keep them ready to instanciate.
features it internally works with
-- auto scaling group
-- elb setup
--
=========================================================================================================================================================
regions and avialability zones.
examples :
asia pecific
-- banglore
-- chennai
-- pune
-- kolkata
north america :
-- new york, NY
-- newark, NJ
=========================================================================================================================================================
AWS BeanStack .
-- elb is in-bulid handleded.
-- creates an auto scaling group.
-- creates an ec2 instances.
-- creates a target group and maps them to elb and with ec2 instances.
-- hold minimun instances, carries maximum instances to load and balance.
=========================================================================================================================================================
Aws Lamda function.
-- allows to load funstion when nessary.
-- need not worry about scaling.
-- avilabilty
-- you pay for -
> number of requests
> duration of request
> memory consumed.
=========================================================================================================================================================
s3 bucket
-- 99.99 % avialabillty.
-- 11,9 durability.
-- can any kind of file type.
-- max key can hold is 5TB.
-- s3 us global service.
-- bucket is local service.
-- adds encryption if needed.
=========================================================================================================================================================
get an idea on s3 glacier -- we can create a vault as well.
=========================================================================================================================================================
=========================================================================================================================================================
=========================================================================================================================================================
=========================================================================================================================================================
=========================================================================================================================================================
=========================================================================================================================================================
=========================================================================================================================================================
=========================================================================================================================================================
=========================================================================================================================================================
=========================================================================================================================================================
=========================================================================================================================================================
=========================================================================================================================================================
=========================================================================================================================================================