AWS Cloud Foundations
LinkedIn
  • Intro
  • Module 1
  • Module 2
  • Module 3
  • Module 4
  • Module 5
  • Module 6
  • Module 7
  • Module 8
  • Module 9
  • Module 10
Powered by GitBook
On this page
  • Core AWS Services
  • Amazon Elastic Block Store
  • Amazon Simple Storage Service (S3)
  • Amazon Elastic File System (Amazon EFS)
  • Amazon S3 Glacier

Module 7

PreviousModule 6NextModule 8

Last updated 11 months ago

Core AWS Services

Amazon Elastic Block Store

Can be thought of as a USB being able to write the bytes in a file

AWS storage options: Block storage versus object storage

Amazon EBS enables you to createindividualstorage volumes and attachthemto an Amazon EC2 instance

  • Volumes are automatically replicated for redundancy within its Availability Zone by default

  • Amazon EBS offers block-level storage

  • It can be backed up automatically to Amazon S3 through snapshots

Volume Type Use Cases

io2 and io3 (Provisioned IOPS) are the only volume types that can be attached to two instances simultaneously. All of the other options can only be attached to one

EBS Features

  • Snapshots

    • Point-in-time snapshots

    • Recreate a new volume at any time

If you accidentally delete a resource like a snapshot, it will be kept for some time in the Recycle Bin. A retention rule must be created

This can only be done for storage EBS and AMI's

  • Encryption

    • Encrypted Amazon EBS volumes

    • No additional costs

  • Elasticity

    • Increase capacity

    • Change to different types

EBS Volumes, IOPS, and pricing

  • Volumes

    • EBS volumes persist independently from the instance.

    • Charges you by the amount you provision in GB per month until you release the storage

  • IOPS –

    • General Purpose SSD:

      • Charges you by the amount you provision in GB per month until storage is released.

    • Magnetic

      • Charged by the number of requests to the volume

    • Provisioned IOP SSD

      • Charged by the amount that you provision in IOPS (multiplied by the percentage of days that you provision for the month)

  • Snapshots

    • Added cost of Amazon EBS snapshots to Amazon S3 is per GB-month of data stored

  • Data Trandfers

    • Inbound data transfer is free.

    • Outbound data transfer across Regions incurs charges

Amazon Simple Storage Service (S3)

Amazon S3 Storage Classes:

  • Amazon S3 Standard•

  • Amazon S3 Intelligent-Tiering

  • Amazon S3 Standard-Infrequent Access (Amazon S3 Standard-IA)

  • Amazon S3 One Zone-Infrequent Access (Amazon S3 One Zone-IA)

  • Amazon S3 Glacier

  • Amazon S3 Glacier Deep Archive

Amazon S3 bucket URL types

The bucket name must be globally unique; you cant use underscores for the name

Bucket Redundancy

  • Amazon S3 buckets are associated with a Region

  • The bucket is redundantly stored across multiple AWS facilities within your selected Region.

  • Built to be durable even if two AWS facilities go down

The durability is built for 11 9's (99.99999999999)

Means you will lose 1 file in a year if its multiple terabytes

Scalability

Amazon S3 automatically manages the storage behind your bucket while your data grows. You can get started immediately, and your data storage will grow with your application needs

It scales to handle a high volume of requests. You do not need to provision the storage or throughput, and you are billed only for what you use

Access with the following

Use cases

  • Storing application assets

  • Static web hosting

  • Backup and disaster recovery (DR)

  • Staging area for big data

Common Scenarios

AWS Pricing

  1. Storage class type

    1. Standard storage is designed for:

      1. 11 9s of durability

      2. Four 9s of availability

    2. S3 Standard-Infrequent Access (S-IA) is designed for:

      1. 11 9s of durability

        1. Three 9s of availability

  2. Amount of Storage

    1. The number and size of objects

  3. Requests

    1. The number and type of requests (GET, PUT, COPY)

    2. Different rates for GET requests than other requests

  4. Data Transfer

    1. Pricing is based on the amount of data that is transferred out of the Amazon S3 Region

    2. Data transfer is free, but you incur charges for data that is transferred out

Data transferred in FREE ; transferred out NOT FREE

Amazon Elastic File System (Amazon EFS)

Amazon EFS is

Features

  • File storage in the AWS Cloud

  • •Works well for big data and analytics, media processing workflows, content management, web serving, and home directories

  • •Petabyte-scale, low-latency file system

  • •Shared storage

  • •Elastic capacity

  • •Supports Network File System (NFS) versions 4.0 and 4.1 (NFSv4)

  • •Compatible with all Linux-based AMIs for Amazon EC2

EFS Architecture

Amazon EFS provides file storage in the cloud. With Amazon EFS, you can create a file system, mount the file system on an Amazon EC2 instance, and then read and write data from to and from your file system.

Every availability zone will have a mount point. We can then connect it to an instance that belongs to your VPC subnet

Implementation

Amazon S3 Glacier

Used for long-term and archive data.

Lifecycle Policy