EC2 Flashcards
It is like a VM that is hosted in AWS instead of your data center.
EC2
Characteristics of EC2?
Select the capacity that you need right now.
Grow and shrink when you need.
Pay for what you use.
Wait minutes, not months.
EC2 pricing options.
On-Demand
Spot
Reserved
Dedicated
On-Demand
Pay by the hour or the second depending on the type of instance you run. Great for flexibility.
Spot
Purchase unused capacity at a discount of up to 90%. Prices fluctuate with supply and demand. Great for applications with flexible start and end times.
Reserved
Reserve capacity for 1 or 3 years. Up to 72% discount on the hourly charge. Great if you have known, fixed requirements.
Dedicated
A physical EC2 server dedicated for your use. Great if you have server-bound licenses to reuse or compliance requirements.
It determines the hardware of the host computer.
Instance type
Should select an instance type based on?
The requirements of your application.
It is a highly available and scalable storage volumes you can attach to an EC2 instance.
Elastic Block Store ( EBS )
Types of Elastic Block Store ( EBS ): SSD Volumes?
gp2
gp3
io1
io2
io2 Block Express
What is gp2?
General Purpose SSD
Suitable for boot disks and general applications.
Up to 16,000 IOPS per volume.
Up to 99.9% durability.
What is gp3?
Latest Generation General Purpose SSD
Suitable for boot disks and general applications
Baseline of 3,000 IOPS for all volumes
Up to 16,000 IOPS per volume
Up to 99.9% durability
20% cheaper than gp2
What is io1?
Provisioned IOPS SSD
Suitable for OLTP and latency-sensitive applications
50 IOPS/GiB
Up to 64,000 IOPS per volume
Up to 99.9% durability
What is io2?
Latest Generation Provisioned IOPS SSD
Suitable for OLTP and latency-sensitive applications
500 IOPS/GiB
Up to 64,000 IOPS per volume
Up to 99.999% durability
What is io2 Block Express?
Provisioned IOPS SSD
For the largest, most critical, high-performance applications: (SAP HANA, Oracle, Microsoft SQL Server, and IBM Db2 )
Up to 64 TB, 256,000 IOPS per volume
Up to 99.999% durability
SAN in the Cloud
Types of Elastic Block Store ( EBS ): HDD Volumes?
st1
sc1
What is st1?
Throughput Optimized HDD
Suitable for big data, data warehouses, and ETL
Max throughput is 500 MiB/s per volume
Cannot be a boot volume
Up to 99.9% durability
What is sc1?
Cold HDD
Max throughput of 250 MiB/s per volume
Data is accessed less frequently
Cannot be a boot volume
Lowest cost
Up to 99.9% durability
A point-in-time copy of an EBS volume. Great for backing up EBS volumes.
EBS snapshot
You can use a EBS snapshot to create?
New EBS volume.
Encrypted Snapshots
If you create a new EBS volume from an encrypted snapshot, then you will get an encrypted volume.