AWS - mód 3 - EC2/ EBS/ S3 e RDS Flashcards
What is Amazon Elastic Compute Cloud (EC2)?
Amazon Elastic Compute Cloud (Amazon EC2) allows you to provision Virtual Machines and Bare Metal Hosts in Amazon Web Services (AWS) data centers. Using Amazon EC2 eliminates the need to invest in purchasing hardware, so you can develop and deploy applications faster
Pricing on EC2 - On Demand
- Fixed value per hour/minute/second
- Without contract
Pricing on EC2 - Reserved
- Provides discount when there is capacity reservation.
- 1 or 3 year contracts
Pricing on EC2 - Spot
- Allows you to auction the amount you want to pay.
- Great option for cost reduction.
Dedicated Hosts
- Dedicated physical servers.
- Useful for companies that do not allow multi-tenant workloads.
- More expensive option due to exclusivity.
Amazon EC2 Instance Types
Amazon EC2 offers a wide selection of instance types optimized to meet different use cases. Instance types consist of various combinations of CPU, memory, storage, and networking capacity and give you the flexibility to choose the right resource composition for your applications.
Each instance type includes a number of instance sizes, allowing you to scale your resources according to the requirements of the workload being run.
Amazon EC2 Instance Types - General use.
They provide a balance of compute, memory, and network resources and can be used for a variety of workloads. These instances are ideal for applications that use these resources in equal proportions, such as Web servers and code repositories.
Amazon EC2 Instance Types - Optimized for computing
Compute-optimized instances are ideal for compute-bound applications that benefit from high-performance processors. Instances belonging to this family are suitable for batch processing workloads, media transcoding, high-performance web servers, high-performance computing (HPC), scientific modeling, dedicated game servers, and ad server engines ,machine learning inference and other compute-intensive applications.
Amazon EC2 Instance Types - Memory optimized
Memory-optimized instances are designed to provide fast performance for workloads that process large sets of data in memory
Amazon EC2 Instance Types - Accelerated computing
Accelerated compute instances use accelerators
hardware, or coprocessors, to perform functions such as floating point number calculations, graphics processing, or data pattern matching more efficiently than is possible in software running on CPUs.
Amazon EC2 Instance Types - Optimized for storage.
Storage-optimized instances are designed for workloads that require high sequential read-write access to very large data sets on local storage. They are optimized to provide tens of thousands of low-latency random I/O operations per second (IOPS) for applications.
Amazon Elastic Block Store (EBS)
Amazon Elastic Block Store (Amazon EBS) is an easy-to-use, high-performance block storage service designed for use with Amazon Elastic ComputeCloud (EC2) for processing-intensive workloads and transactions at any scale.
EBS Classifications SSD-Based Volumes
are optimized for transaction workloads involving frequent read/write operations with small I/O size, where the dominant performance attribute is IOPS.
EBS Classifications HDD-Based Volumes
optimized for large streaming workloads where throughput (measured in MiB/s) is a better performance measure than IOPS
Amazon Simple Storage Service (S3)
Amazon Simple Storage Service (Amazon S3) is an object storage service. AWSS3 allows customers of all sizes and industries to use it to store and protect any amount of data for a variety of use cases, such as websites, mobile apps, backup and restore, archives, enterprise applications, IoT devices, and big data analytics.
S3 features
- Allows file upload.
- Unlimited Storage.
- Files are stored in Buckets.
- Files can be from 0 to 5TB.
- S3 has universal namespace (unique like email).
- returns http 200 when an upload is successful.
Storage Classes - S3 Standard
Provides object storage with high levels of resiliency, availability, and performance for frequently accessed data. Because it provides low latency and high throughput, S3 Standard is suitable for a wide variety of use cases, such as cloud applications, dynamic websites, content distribution, mobile apps, and games and big data analytics.
Storage Classes - S3 Standard-IA
indicated for data that is accessed less frequently, but requires rapid deletion when necessary. The S3Standard–IA category offers the high levels of resilience and throughput and low latency of the S3Standard category, with reduced rates per GB of storage and GB of recovery.
Storage Classes - S3 One Zone-IA
Suitable for data that is accessed less frequently but requires quick access when needed. Ideal for customers who want a lower cost option for data accessed infrequently but do not need the availability and resilience of S3Standard or S3Standard-IA.
Storage Classes - Intelligent-Tiering
designed to optimize costs by automatically moving data to the most economical access tier, without impacting performance or operational overhead. It works by storing objects in two access levels: one tier is optimized for frequent access and the other lower cost tier, which is optimized for infrequent access.
Storage Classes - S3 Glacier
secure, durable, low-cost storage class for data archiving. You can reliably store any volume of data at a cost that is competitive or lower than the cost of on-premises solutions
Storage Classes - S3 Glacier Deep Archive
AmazonS3’s cheapest storage class and supports long-term digital retention and preservation for data that may be accessed once or twice a year. This class is designed for customers who maintain data sets for 7 to 10 years or more to meet regulatory compliance requirements, especially in highly regulated industries such as financial services, healthcare, and public sectors.
S3 Costs
- Requests
- Storage
- Data Transfer
- Cross Region Replication
- Transfer acceleration
Amazon S3 Transfer Acceleration
optimizes file transfers over long distances between your client and your Bucket S3. To achieve this, Transfer Acceleration uses Amazon CloudFront Edge Locations, which are distributed globally.