Compute in the cloud Flashcards
types of software you can run on an EC2 instance
internal business applications, simple web apps, or complex web apps, databases or third party software like enterprise software packages
what is vertically scaling an instance
give an instance more memory and more CPU based on the demand
what is multitenancy
the idea of sharing underlying hardware
where does EC2 run
EC2 runs on top of physical host machines managed by AWS using virtualization technology
what is the responsibility of the hypervisor
hypervisor running on the host machine is responsible for sharing the underlying physical resources between the virtual machines
EC2 instance types
general purpose instances, compute optimized,
memory optimized,
accelerated computing,
storage optimized.
General purpose instances
this provides a balance of compute, memory, and networking resources.
- application servers
- gaming servers
- backend servers for enterprise applications
- small and medium databases
when there is an application in which the resource needs for compute, memory, and networking are roughly equivalent we can use general purpose instances.
Compute optimized instances
deal for compute-bound (CPU bound) applications that benefit from high-performance processors
- high-performance web servers
- compute-intensive applications servers
- dedicated gaming servers
- batch processing workload
Memory optimized instances
this is ideal for workloads that process large datasets in memory
when we have a workload that requires large amounts of data to be preloaded before running an application. This scenario might be a high-performance database or a workload that involves performing real-time processing of a large amount of unstructured data.
Accelerated computing instances
these instances use hardware accelerators, or coprocessors, to perform some functions more efficiently than is possible in software running on CPUs
- graphics applications
- game streaming
- application streaming.
Storage optimized instances
these instances are designed for workloads that require high, sequential read and write access to large datasets on local storage
- distributed file systems
- data warehousing applications
- high-frequency online transaction 4. processing (OLTP) systems
how we pay for EC2 instances
we only pay for the compute time we use, only when instances are running not when they are stopped or terminated. we only pay for server capacity we need
what is amazon EC2 service
this is the service which provides the access to virtual server
what to consider when selecting an EC2 instance type
requirement for compute, memory or storage capabilities
what are the Amazon EC2 pricing types
- On-Demand
- Amazon EC2 Savings Plans
- Reserved Instances
- Spot Instances
- Dedicated Hosts