0% found this document useful (0 votes)
7 views55 pages

Giu 2724 62 16315 2024-03-03T10 56 22

The document provides an overview of various cloud storage types offered by AWS, including Elastic Block Storage (EBS), Simple Storage Service (S3), and Amazon RDS. It outlines the benefits of EBS, the concepts and use cases of S3, and introduces DynamoDB as a managed database service. The document serves as a guide for understanding cloud storage solutions and their functionalities.

Uploaded by

ayakhodeir2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views55 pages

Giu 2724 62 16315 2024-03-03T10 56 22

The document provides an overview of various cloud storage types offered by AWS, including Elastic Block Storage (EBS), Simple Storage Service (S3), and Amazon RDS. It outlines the benefits of EBS, the concepts and use cases of S3, and introduces DynamoDB as a managed database service. The document serves as a guide for understanding cloud storage solutions and their functionalities.

Uploaded by

ayakhodeir2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 55

ICS608

Cloud
Computing
STORAGE & DB

Dr. JOHN ZAKI 1


TABLE OF CONTENTS
01 STORAGE TYPES

02 EBS

03 S3

04 RDS

05 DynamoDB
Dr. JOHN ZAKI 2
RECALL
AWS Cloud

Region
Availability Zone A Availability Zone B
VPC
Public subnet Internet gateway Public subnet

Code EC2 Instance EC2 Instance


Data
Files
Private subnet Private subnet

Amazon RDS instance Amazon RDS instance

Dr. JOHN ZAKI 3


STORAGE TYPES
Let’s assume you have a 1GB file. You stored it on the cloud and you wish to update a
letter in that file. If you stored it using …..

BLOCK STORAGE OBJECT STORAGE

File is split into fixed size chunks File is a single unit of data.

Dr. JOHN ZAKI 4


AWS STORAGE TYPES
1. Instance storage
2. EBS: Elastic Block Storage
3. S3: Simple Storage Service
4. EFS: Elastic File Storage
5. Glacier: for deep archives.

Dr. JOHN ZAKI 5


STORAGE TYPES

Dr. JOHN ZAKI 6


BENEFITS OF EBS
1. HIGH AVAILABILITY: When you create an EBS volume, it is automatically
replicated within its Availability Zone to prevent data loss from single points of failure.
2. DATA PERSISTENCE: The storage persists even when your instance doesn’t.
3. DATA ENCRYPTION: All EBS volumes support encryption.
4. FLEXIBILITY: EBS volumes support on-the-fly changes. You can modify volume
type, volume size, and input/output operations per second (IOPS) capacity without
stopping your instance.
5. BACKUPS: Amazon EBS provides you the ability to create backups of any EBS
volume.

Dr. JOHN ZAKI 7


Dr. JOHN ZAKI 9
Dr. JOHN ZAKI 10
TASK

WHAT IS EBS
SNAPSHOT

Dr. JOHN ZAKI 11


S3 OBJECT
STORAGE
SIMPLE STORAGE SERVICE

Dr. JOHN ZAKI 12


TASK
WHY CAN’T I
STORE THE
EMPLOYEE PHOTOS
ON AN EBS
VOLUME
Dr. JOHN ZAKI 13
S3 CONCEPTS
1. S3 does not mount to an instance.

2. It is a standalone storage solution

3. No storage limit

4. Store flat structure – use identifiers to lookup objects

5. Store objects

6. No object size limit (5TB per object!!)

7. Data can be accessed through a URL from anywhere on the web

8. Distributed storage.

Dr. JOHN ZAKI 14


S3 CONCEPTS

1. You store in S3 bucket

2. Can only upload objects inside a bucket.

3. Folders inside a bucket for logical view only (flat structure)

4. Buckets are region specific

5. Bucket name is globally unique (DNS compliant)

6. Everything in S3 is private by default.

7. Has S3 bucket policies similar to IAM policies but only applies to S3

Dr. JOHN ZAKI 15


Dr. JOHN ZAKI 16
S3

REGION SPECIFIC

NAMING RULES

Dr. JOHN ZAKI 17


Dr. JOHN ZAKI 18
PUBLIC ACCESS

Dr. JOHN ZAKI 19


BUCKET VERSIONING

Dr. JOHN ZAKI 20


UPLOAD TO BUCKET

Dr. JOHN ZAKI 21


PICTURE UPLOADED

Dr. JOHN ZAKI 22


TASK

WHAT SHOULD WE
DO TO ALLOW
ACCESS?

Dr. JOHN ZAKI 23


MAKING PUBLIC

Dr. JOHN ZAKI 24


Dr. JOHN ZAKI 25
Dr. JOHN ZAKI 26
Dr. JOHN ZAKI 27
NOW MAKE IT PUBLIC

Dr. JOHN ZAKI 28


TASK

WE MADE THE PREVIOUS OBJECT


PUBLIC.
NOW, EVERYONE CAN SEE IT.
WHAT CAN WE DO TO ALLOW
SPECIFIC PEOPLE ONLY?

Dr. JOHN ZAKI 29


BUCKET
POLICY
Dr. JOHN ZAKI 30
Dr. JOHN ZAKI 31
Dr. JOHN ZAKI 32
S3 BUCKET POLICIES

EXAMPLE:

{
"Version":"2012-10-17",
"Statement":[
{
"Sid":"PublicRead",
"Effect":"Allow",
"Principal": "*",
"Action":["s3:GetObject"],
"Resource":["arn:aws:s3:::employeebucket/*"]
}
]
}

Dr. JOHN ZAKI 33


TASK

ADD A BUCKET
POLICY

Dr. JOHN ZAKI 34


S3 USE CASES
• Backup and storage: S3 is a natural place to back up files because it is highly redundant. As
mentioned in the last unit, AWS stores your EBS snapshots in S3 to take advantage of its high
availability.

• Media hosting: Because you can store unlimited objects, and each individual object can be up to
5 TBs, S3 is an ideal location to host video, photo, or music uploads.

• Software delivery: You can use S3 to host your software applications that customers can
download.

• Data lakes: S3 is an optimal foundation for a data lake because of its virtually unlimited scalability.
You can increase storage from gigabytes to petabytes of content, paying only for what you use.

• Static websites: You can configure your bucket to host a static website of HTML, CSS, and client-
side scripts.

• Static content: Because of the limitless scaling, the support for large files, and the fact that you
access any object over the web at any time, S3 is the perfect place to store static content.

Dr. JOHN ZAKI 47


S3 VERSIONING
1. enables you to keep multiple versions of a single object in the same bucket without the
clutter.
2. Helps of recovery from accidental deletions, accidental overwrites, an application failures.
3. Delete the object doesn’t permanently remove the object. It puts a marker on the object

VERSIONING STATES

• Unversioned (the default): No new or existing objects in the bucket have a version.
• Versioning-enabled: This enables versioning for all objects in the bucket.
• Versioning-suspended: This suspends versioning for new objects. All new objects in the bucket
will not have a version. However, all existing objects keep their object versions.

Dr. JOHN ZAKI 48


TASK

WHAT IS EFS
SERVICE

Dr. JOHN ZAKI 49


AWS DB

Dr. JOHN ZAKI 50


AWS MANAGED DB SERVICES

ON PREM UNMANAGED AWS DB (ON EC2) MANAGED AWS DB SERVICE

Dr. JOHN ZAKI 51


AMAZON RDS

Dr. JOHN ZAKI 53


Dr. JOHN ZAKI 54
HIGH AVAILABILITY
AWS Cloud

Region
Availability Zone A Availability Zone B
VPC
Public subnet Public subnet

Private subnet Private subnet


Multiple AZ deployment

Data replication
Amazon RDS instance Amazon RDS instance

Dr. JOHN ZAKI 57


BACKUP DATA - AUTOMATED

Dr. JOHN ZAKI 58


BACKUP DATA - MANUAL

Dr. JOHN ZAKI 59


TASK

WHICH BACKUP
OPTION
SHOULD BE
USED? WHY?
Dr. JOHN ZAKI 60
AMAZON DB SERVICES

Dr. JOHN ZAKI 62


DynamoDB

Dr. JOHN ZAKI 63


DynamoDB

Dr. JOHN ZAKI 64


Dr. JOHN ZAKI 67
Dr. JOHN ZAKI 68
Dr. JOHN ZAKI 69
Dr. JOHN ZAKI 70
Dr. JOHN ZAKI 71
CREATE ITEMS

Dr. JOHN ZAKI 72


SUMMARY
01 STORAGE TYPES

02 EBS

03 S3

04 RDS

05 DynamoDB
Dr. JOHN ZAKI 78
THANK
YOU
Dr. JOHN ZAKI 79

You might also like