Unit 5 Notes
Unit 5 Notes
Elastic Block Storage (EBS): From the aforementioned list, EBS is a block type durable and persistent
storage that can be attached to EC2 instances for additional storage. Unlike EC2 instance storage
volumes which are suitable for holding temporary data EBS volumes are highly suitable for essential
and long term data. EBS volumes are specific to availability zones and can only be attached to
instances within the same availability zone.
Features of EBS:
Scalability: EBS volume sizes and features can be scaled as per the needs of the system. This
can be done in two ways:
o Take a snapshot of the volume and create a new volume using the Snapshot with
new updated features.
Backup: Users can create snapshots of EBS volumes that act as backups.
o Snapshots are stored on AWS S3 and are charged according to the S3 storage
charges.
Encryption: Encryption can be a basic requirement when it comes to storage. This can be
due to the government of regulatory compliance. EBS offers an AWS managed encryption
feature.
o Users can enable encryption when creating EBS volumes by clicking on a checkbox.
o Encryption Keys are managed by the Key Management Service (KMS) provided by
AWS.
o Snapshots from encrypted volumes are encrypted and similarly, volumes created
from snapshots are encrypted.
Charges: Unlike AWS S3, where you are charged for the storage you consume, AWS charges
users for the storage you hold. For example if you use 1 GB storage in a 5 GB volume, you’d
still be charged for a 5 GB EBS volume.
SSD: This storage type is suitable for small chunks of data that requires fast I/Ops. SSDs can be used
as root volumes for EC2 instances.
o According to AWS claims “These volumes, if attached to EBS optimized instances will
deliver IOPS defined within 10% 99.9% times of the year”
HDD: This storage type is suitable for Big Data chunks and slower processing. These volumes cannot
be used as root volumes for EC2. AWS claims that “These volumes provide expected throughput
99.9% times of the year”
o SC1 is the cheapest of all EBS volume types. It is suitable for large, infrequently
accessed data.
availability zone is same as where Instance was crated ,choose that availability zone only.
Open File Folder—> we can find only one driver :c with 29.9 GB
Amazon S3 is a Simple Storage Service in AWS that stores files of different types like Photos, Audio,
and Videos as Objects providing more scalability and security to. It allows the users to store and
retrieve any amount of data at any point in time from anywhere on the web. It facilitates features
such as extremely high availability, security, and simple connection to other AWS Services.
Amazon S3 is used for various purposes in the Cloud because of its robust features with scaling and
Securing of data. It helps people with all kinds of use cases from fields such as Mobile/Web
applications, Big data, Machine Learning and many more. The following are a few Wide Usage of
Amazon S3 service.
Data Storage: Amazon s3 acts as the best option for scaling both small and large storage
applications. It helps in storing and retrieving the data-intensitive applications as per needs
in ideal time.
Backup and Recovery: Many Organizations are using Amazon S3 to backup their critical data
and maintain the data durability and availability for recovery needs.
Hosting Static Websites: Amazon S3 facilitates in storing HTML, CSS and other web content
from Users/developers allowing them for hosting Static Websites benefiting with low-latency
access and cost-effectiveness. To know more detailing refer this Article – How to host static
websites using Amazon S3
Data Archiving: Amazon S3 Glacier service integration helps as a cost-effective solution for
long-term data storing which are less frequently accessed applications.
Big Data Analytics: Amazon S3 is often considered as data lake because of its capacity to
store large amounts of both structured and unstructured data offering seamless integration
with other AWS Analytics and AWS Machine Learning Services.
AWS S3 provides multiple storage types that offer different performance and features and different
cost structures.
Standard: Suitable for frequently accessed data, that needs to be highly available and
durable.
Standard Infrequent Access (Standard IA): This is a cheaper data-storage class and as the
name suggests, this class is best suited for storing infrequently accessed data like log files or
data archives. Note that there may be a per GB data retrieval fee associated with the
Standard IA class.
Intelligent Tiering: This service class classifies your files automatically into frequently
accessed and infrequently accessed and stores the infrequently accessed data in infrequent
access storage to save costs. This is useful for unpredictable data access to an S3 bucket.
One Zone Infrequent Access (One Zone IA): All the files on your S3 have their copies stored
in a minimum of 3 Availability Zones. One Zone IA stores this data in a single availability zone.
It is only recommended to use this storage class for infrequently accessed, non-essential
data. There may be a per GB cost for data retrieval.
Reduced Redundancy Storage (RRS): All the other S3 classes ensure the durability of
99.999999999%. RRS only ensures 99.99% durability. AWS no longer recommends RRS due to
its less durability. However, it can be used to store non-essential data.
Amazon S3 works on organizing the data into unique S3 Buckets, customizing the buckets with
Acccess controls. It allows the users to store objects inside the S3 buckets with facilitating features
like versioning and lifecycle management of data storage with scaling.
4) Explain amazon S3 buckets? How to create buckets? how upload file, download, copy, move ,
delete a file in it?
What is an Amazon S3 bucket?
Amazon S3 bucket is a fundamental Storage Container feature in AWS S3 Service. It provides a secure
and scalable repository for storing of Objects such as Text data, Images, Audio and Video files over
AWS Cloud. Each S3 bucket name should be named globally unique and should be configured with
ACL (Access Control List).
Amazon S3 Bucket: Data, in S3, is stored in containers called buckets. Each bucket will have its own
set of policies and configurations. This enables users to have more control over their data. Bucket
Names must be unique. Can be thought of as a parent folder of data. There is a limit of 100 buckets
per AWS account. But it can be increased if requested by AWS support.
Amazon S3 Objects: Fundamental entity type stored in AWS S3.You can store as many objects as you
want to store. The maximum size of an AWS S3 bucket is 5TB. It consists of the following:
Key
Version ID
Value
Metadata
Subresources
Tags
1. Create a Bucket.
1. Sign into the AWS Management Console. Under Services, navigate to the S3 console.
Choose Create bucket
2. give the bucket a unique name .Verify that the region matches your product region.
Leave default settings as it is . Select Create Bucket.
2. Add an object to a bucket.
1. In the Buckets list, choose the name of the bucket that you want
to upload your object to.
Or
Transfer files from S3 to Glacier Note: Amazon does not allows files to be directly loaded on
Glacier Use S3 or third party tools to archive or restore.
RDS Limits
4. Automatic Backups
5. Snapshots
6. Restores
What is RDS?
RDS belongs to Amazon Relational Database Service. It is a
distributed Relational Database Service by Amazon Web
Services.
Step 1:
First open your account on the AWS (Amazon Web Service), as
your main screen is open then you have to go to the services,
and at the bottom, there is an option of the database, here we
have the RDS amazon relation database services and then click
on the RDS.
Step 2:
After clicking on the RDS you have to click on the launch
instance it will launch your database instance on the cloud.
Step 3:
Then the page given below is open you have to select your
database from the given database on it.
Step 4:
Don’t forget to click on the free trial as this all services are paid
one if you don’t click on it and selected the database which is
paid you have the bill and it will debate from your ATM or from
your account after that click on next.
Step 5:
After that choose your case you have to make it by default or the
recommend one chooses that is production – Amazon Aurora and
click on next.
Now the ques rising what is amazon aurora?
Amazon Aurora
Step 6:
In the next step, you have to specify the database details In this
you have to fill the database name and set the password for the
database. we do this to make the security better so that no other
unnecessary people interfere with our database or corrupt our
database.
After scrolling down, you have an entity to fill and there you
have to fill the database name and the database password and
then click on next.
Step 7:
After that we have the configure advance setting in this we don’t
have to do anything leave it as is it and scroll down there you get
launch instance and click on launch instance.
By this, we make a database on the AWS (amazon web services )
cloud and we can access it by using the public IP (Internet
protocol ) of this given DataBase instance.