Day - 04 | EC2 Instance Storage | AWS Cloud Practitioner Certification CLF-C02
➤ EC2 Instance Storage
☞ EBS Volumes
☞ EFS: Elastic File System
☞ EFS Infrequent Access (EFS-IA)
☞ Amazon FSx – Overview
☞ EC2 Instance Store
☞ Shared Responsibility Model for EC2 Storage
☞ AMI Overview
☞ EC2 Image Builder
EBS Volumes
⇼⇼❯ What’s an EBS Volume?
Amazon Elastic Block Store (EBS) provides persistent block storage volumes for use with Amazon EC2 instances in the AWS Cloud. Each EBS volume is automatically replicated within its Availability Zone to protect you from component failure, offering high availability and durability. It allows your instances to persist data, even after their termination. They can only be mounted to one instance at a time (at the CCP level). Free tier: 30 GB of free EBS storage of type General Purpose (SSD) or Magnetic per month.
⇼⇼❯ EBS Volume
EBS volumes can be attached to any running instance that is in the same Availability Zone. Once attached, they function as raw, unformatted block devices. You can format an EBS volume with a file system and mount it.
⇼⇼❯ EBS – Delete on Termination attribute
This attribute determines whether an EBS volume is deleted when its associated EC2 instance is terminated. By default, the root EBS volume of an instance has the "Delete on Termination" attribute set to true, meaning it will be deleted when the instance is terminated. For additional volumes, this attribute is set to false by default.
⇼⇼❯ EBS Snapshots
EBS Snapshots are point-in-time copies of your EBS volumes. Snapshots are stored in Amazon S3, providing a durable, off-instance storage. They can be used to create new EBS volumes or to back up data. Snapshots can be Can copied across AZ or Region.
⇼⇼❯ EBS Snapshots Features
EFS: Elastic File System
Amazon Elastic File System (EFS) provides a simple, scalable, elastic file system for Linux-based workloads for use with AWS Cloud services and on-premises resources. It is designed to be highly available and durable, automatically growing and shrinking as you add and remove files. Managed NFS (network file system) that can be mounted on 100s of EC2. EFS is expensive (3x gp2), pay per use with no capacity planning.
EFS Infrequent Access (EFS-IA)
EFS-IA is a storage class that provides price/performance optimization for files not accessed every day. It offers a lower storage cost compared to standard EFS storage, with a higher access latency and a lower throughput. EFS-IA provides up to 92% lower cost compared to EFS Standard. EFS will automatically move your files to EFS-IA based on the last time they were accessed. User can enable EFS-IA with a Lifecycle Policy.
Amazon FSx – Overview
Amazon FSx offers fully managed, scalable file storage built on popular file systems, enabling you to easily launch and run file systems optimized for a wide variety of workloads. Launch 3rd party high-performance file systems on AWS. Fully managed service:
Recommended by LinkedIn
⇼⇼❯ Amazon FSx for Windows File Server
⇼⇼❯ Amazon FSx for Lustre
Amazon FSx for Lustre provides a high-performance file system optimized for fast processing of workloads such as machine learning, high-performance computing (HPC), and media data processing. The name Lustre is derived from “Linux” and “cluster”. Amazon FSx Scales up to 100s GB/s, millions of IOPS, sub-ms latencies.
Key features include:
EC2 Instance Store
Instance Store provides temporary block-level storage for your EC2 instances. This storage is physically attached to the host computer that provides your EC2 instance.
Key characteristics:
Shared Responsibility Model for EC2 Storage
AMI Overview
An Amazon Machine Image (AMI) provides the information required to launch an instance, which is a virtual server in the cloud. You specify an AMI when you launch an instance, and you can launch multiple instances from a single AMI. AMI have Faster boot / configuration time because all your software is pre-packaged. You can launch EC2 instances from:
› A Public AMI: AWS provided
› Your own AMI: you make and maintain them yourself
› An AWS Marketplace AMI: an AMI someone else made (and potentially sells)
AMIs include:
⇼⇼❯ AMI Process (from an EC2 instance)
EC2 Image Builder
EC2 Image Builder simplifies the creation, maintenance, validation, and sharing of EC2 AMIs. It automates the image creation process, ensuring that images are up-to-date and compliant with your security and compliance requirements. Key features include:
Happy Learning !
Digital Marketer | Cyber Security Practitioner (Ce-CSP) | CISMP | ISO 27001 | ITF+ | CCSK
5moWhat's up with the LinkedIn connections today? Love the energy. Stay tuned for Day 5, diving deep into EС2 instances storage strategies. #AWSCommunity