Domain 1: Cloud Concepts Flashcards
5 Criteria for cloud computing
- On-Demand self service
- Access to the network
- Resource pooling
- Elasticity
- Resource usage monitored and billed
High Availability
designing for minimal downtime
Fault Tolerance
Designing for zero downtime
Disaster Recovery
Designing for systems to operate through a disaster
Vertical v. Horizontal Scaling
Vertical - Resizing instances to a larger size
Horizontal - Add more instances of the same size to handle that load
Elasticity
Using automation along with horizontal scaling to match demand
EC2 Instance Types
General Purpose
provide a balance of compute, memory, and networking resources. You can use them for a variety of workloads, such as:
application servers gaming servers backend servers for enterprise applications small and medium databases
EC2 Instance Types
Compute Optimized Instances
ideal for compute-bound applications that benefit from high-performance processors. Like general purpose instances, you can use compute optimized instances for workloads such as web, application, and gaming servers.
EC2 Instance Types
Memory Optimized
designed to deliver fast performance for workloads that process large datasets in memory. In computing, memory is a temporary storage area. It holds all the data and instructions that a central processing unit (CPU) needs to be able to complete actions. Before a computer program or application is able to run, it is loaded from storage into memory. This preloading process gives the CPU direct access to the computer program.
EC2 Instance Types
Accelerated Computing
use hardware accelerators, or coprocessors, to perform some functions more efficiently than is possible in software running on CPUs. Examples of these functions include floating-point number calculations, graphics processing, and data pattern matching.
EC2 Instance Types
Storage Optimized
designed for workloads that require high, sequential read and write access to large datasets on local storage. Examples of workloads suitable for storage optimized instances include distributed file systems, data warehousing applications, and high-frequency online transaction processing (OLTP) systems.
EC2 Pricing
On Demand
ideal for short-term, irregular workloads that cannot be interrupted. No upfront costs or minimum contracts apply. The instances run continuously until you stop them, and you pay for only the compute time you use
EC2 Pricing - Reserved Instances
Standard Reserved Instances
This option is a good fit if you know the EC2 instance type and size you need for your steady-state applications and in which AWS Region you plan to run them. Reserved Instances require you to state the following qualifications:
Instance type and size: For example, m5.xlarge Platform description (operating system): For example, Microsoft Windows Server or Red Hat Enterprise Linux Tenancy: Default tenancy or dedicated tenancy
You have the option to specify an Availability Zone for your EC2 Reserved Instances. If you make this specification, you get EC2 capacity reservation. This ensures that your desired amount of EC2 instances will be available when you need them.
EC2 Pricing - Reserved Instances
Convertible Reserved Instances
If you need to run your EC2 instances in different Availability Zones or different instance types, then Convertible Reserved Instances might be right for you. Note: You trade in a deeper discount when you require flexibility to run your EC2 instances.
At the end of a Reserved Instance term, you can continue using the Amazon EC2 instance without interruption. However, you are charged On-Demand rates until you do one of the following:
Terminate the instance. Purchase a new Reserved Instance that matches the instance attributes (instance family and size, Region, platform, and tenancy).
EC2 Pricing
EC2 Instance Savings Plans
reduce your EC2 instance costs when you make an hourly spend commitment to an instance family and Region for a 1-year or 3-year term. This term commitment results in savings of up to 72 percent compared to On-Demand rates. Any usage up to the commitment is charged at the discounted Savings Plans rate (for example, $10 per hour). Any usage beyond the commitment is charged at regular On-Demand rates.