0% found this document useful (0 votes)
85 views21 pages

Storage (S3, Cloudfront)

This document provides information about AWS storage and content delivery services. It discusses S3 storage buckets, static website hosting on S3, data transfer options, lifecycle policies, CloudFront for content delivery, and labs on S3 versioning and multiple lifecycle policies. Examples of creating buckets, enabling static hosting, and CloudFront configuration are also included.

Uploaded by

I'm Ranga
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)
85 views21 pages

Storage (S3, Cloudfront)

This document provides information about AWS storage and content delivery services. It discusses S3 storage buckets, static website hosting on S3, data transfer options, lifecycle policies, CloudFront for content delivery, and labs on S3 versioning and multiple lifecycle policies. Examples of creating buckets, enabling static hosting, and CloudFront configuration are also included.

Uploaded by

I'm Ranga
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/ 21

6.

Storage (S3,CloudFront)
Tuesday, January 23, 2018 11:30 PM

S3 (Simple Storage Service)

AWS Certified Solutions Architect - Associate Page 1


AWS Certified Solutions Architect - Associate Page 2
Access logging : On S3 Bucket
MFA over bucket : For Security

AWS Certified Solutions Architect - Associate Page 3


1. Creating a lifecycle policy for bucket

AWS Certified Solutions Architect - Associate Page 4


AWS Certified Solutions Architect - Associate Page 5
AWS Certified Solutions Architect - Associate Page 6
Website Hosting with S3 :

Upload 2 html files : index.html and error.html

error
AWS Certified Solutions Architect - Associate Page 7
error

index

B. Select Static web hosting website option:

AWS Certified Solutions Architect - Associate Page 8


C. Enter the name of html files:

D. Select the Endpoint URL :Endpoint : http://kishan-test-bucket.s3-website-ap-northeast-1.amazonaws.com

AWS Certified Solutions Architect - Associate Page 9


Make the bucket as public else it will throw 403.

Cross-Origin Resource Sharing (CORS)

AWS Certified Solutions Architect - Associate Page 10


Getting Data Into and Out of S3

AWS Certified Solutions Architect - Associate Page 11


A. Amazon EFS(Elastic File System) : Delivers a simple, scalable, elastic, highly available, and highly durable network
file system as a service to EC2 instances.
B. Amazon EBS (Elastic Block Store) : EBS volumes are network-attached storage that persists independently from the
running life of a single EC2 instance.
You can attach multiple EBS volumes to a single EC2 instance. Note, however, any single EBS volume can be attached
to only one EC2 instance at any time.

C. Amazon EC2 Instance Storage : called ephemeral drives provide temporary block-level storage for many EC2
instance types. physical server that hosts the EC2 instance for which the block provides storage.
The number and storage capacity of Amazon EC2 local instance store volumes are fixed and defined by the instance
type.

D. AWS Storage Gateway : AWS Storage Gateway connects an on-premises software appliance with cloud based
storage to provide seamless and secure storage integration between an organization’s on-premises IT environment
and the AWS storage infrastructure.
1. We can download the AWS Storage Gateway software appliance as a virtual machine (VM) image that you install on a
host in your data center or as an EC2 instance. Once we’ve installed our gateway and associated it with our AWS
account through the AWS activation process, we can use the AWS Management Console to create gateway-cached
volumes, gateway-stored volumes, or a gateway-virtual tape library (VTL), each of which can be mounted as an iSCSI
device by your on-premises applications.
2. Gateway-cached volumes, you can use Amazon S3 to hold our primary data, while retaining some portion of it
locally in a cache for frequently accessed data. Gateway-cached volumes minimize the need to scale your on-
premises storage infrastructure while still providing your applications with low-latency access to their frequently
accessed data.
3. Gateway-stored volumes store our Primary data locally, while asynchronously backing up that data to AWS.
Data written to our gateway-stored volumes is stored on our on-premises storage hardware, and asynchronously
backed up to Amazon S3 in the form of Amazon EBS snapshots.

Use cases include corporate file sharing, enabling existing on-premises backup applications to store primary backups
on Amazon S3, disaster recovery, and mirroring data to cloud-based compute resources and then later archiving it to
Amazon Glacier.

AWS Certified Solutions Architect - Associate Page 12


Amazon Glacier.

The AWS Management Console can be used to download the AWS Storage Gateway VM on-premises or onto an
EC2 instance (an AMI that contains the gateway VM image).

E. AWS Snowball : Ideal for transferring anywhere from terabytes to many petabytes of data in and out of the AWS
Cloud securely.
use cases include cloud migration, disaster recovery, data center decommission, and content distribution.

Lab: Using S3 for Static Web Hosting

AWS Certified Solutions Architect - Associate Page 13


http://cfst-35-7f228213c142806012736d876f-statics3bucket-1w4664gdyg1ku.s3-website-us-east-1.amazonaws.com/my-
static-webpage/

A. Versioning :

AWS Certified Solutions Architect - Associate Page 14


B. Creating lifecycle policies to expire and delete objects

AWS Certified Solutions Architect - Associate Page 15


AWS Certified Solutions Architect - Associate Page 16
AWS Certified Solutions Architect - Associate Page 17
C. Multiple Lifecycle Policies

1. Transition Previous Versions

AWS Certified Solutions Architect - Associate Page 18


2. Delete Objects with a Policy :

AWS Certified Solutions Architect - Associate Page 19


Amazon CloudFront :

• Content-delivery web service that speeds up the distribution of our website’s dynamic, static, and streaming content

AWS Certified Solutions Architect - Associate Page 20


• Content-delivery web service that speeds up the distribution of our website’s dynamic, static, and streaming content
by making it available from a global network of edge locations:
• User requests content that you’re serving with Amazon CloudFront, the user is routed to the edge location that
provides the lowest latency (time delay), so content is delivered with better performance than if the user had
accessed the content from a data center farther away. If the content is already in the edge location with the lowest
latency, Amazon CloudFront delivers it immediately. If the content is not currently in that edge location, Amazon
CloudFront retrieves it from an Amazon S3 bucket or an HTTP server (for example, a web server) that you have
identified as the source for the definitive version of your content. Amazon CloudFront caches content at edge
locations for a period of time that you specify.
• Amazon CloudFront is optimized to work with other Amazon web services, such as Amazon S3, Amazon EC2, Elastic
Load Balancing, and Amazon Route 53.
• Ideal for distribution of frequently accessed static content that benefits from edge delivery, such as popular website
images, videos, media files or software downloads.
• CDN is an edge cache, Amazon CloudFront does not provide durable storage. The origin server, such as Amazon S3 or
a web server running on Amazon EC2, provides the durable file storage needed.
• You pay only for as much content as you actually deliver through the service. Amazon CloudFront has two pricing
components: regional data transfer out (per GB) and requests (per 10,000).
• If you use an AWS service as the origin (for example, Amazon S3, Amazon EC2, Elastic Load Balancing, or others), data
transferred from the origin to edge locations (i.e., Amazon CloudFront “origin fetches”) will be free of charge.

AWS Certified Solutions Architect - Associate Page 21

You might also like