-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathS3
119 lines (100 loc) · 2.74 KB
/
S3
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
109
110
111
112
113
114
115
116
117
118
119
99.99999999 11nine
Database vs ObjectStorage
Structred Open & Unstructed
Mysql
Oracle
Mongo
10000file in 1000year 1file loose
=> Object Based Storage
=> 100 bucket per account
=> Object Size <= 5TB
=> Global Service
=> upto 5GB => Free
/*********************
Create bucket
*********************/
=>S3
=> Create bucket
=> provide Unique name(select region)
=>Create bucket
/*********************
Upload in bucket
*********************/
=> Select the bucket
=>Add File
=> upload
/*********************
Make Bucket Public
*********************/
=> Select bucket
=>Permission
=>Edit
=>Uncheck public option
/**********************
Versioning
*********************/
Unversioned | enabled | suspend
version is Will maintain If already some object have version they we will
disabled versions remain unaffected but new will not get Versioning
/**********************
Host Wesbite with S3
*********************/
=> Create a Bucket
=> create static html page
=>upload html page
=> Properties
=>Static website hosting
=> Provide main File
=>Hit Url
/**********************
Object-level logging
*********************/
Enable logging for each object with cloudtrail
/**********************
Default encryption
*********************/
We can encrypt data in multiple format for security
/**********************
Object lock
*********************/
Can be done only during the creation (WORM)
Write one read many
/**********************
Tags
*********************/
Can provide name to bucket by Tags
/**********************
Transfer acceleration
*********************/
With enabling this I/O will be much faster
but cost incresse
/**********************
Events
*********************/
We can trigger event on the operation selected
It can any crud operation
We can fire Lambda, SNS and SQS
/**********************
Requester pays
*********************/
It make requester charged for the file access
insted for admin
/**********************
Storage Classes
*********************/
S3 standard =>> Immediate access / frequent access /important data
S3 IA =>Imp data but less frequent access
S3 RR => not critiacl data
Amazon Glacier => Long time backups not critiacl data
/**********************
CRR(cross region replication)
*********************/
SourceBucket => Versioning enabled => diff region
targetBucket => Versioning enabled => diff region
=> Select source bucket
=>mangement
=>replication
=>Select source Bucket
enable encryotion
=> Select target bucket
=>Save