Compute Flashcards
Dedicated Hosts
An Amazon EC2 Dedicated Host is a physical server with EC2 instance capacity fully dedicated to your use. Dedicated Hosts allow you to use your existing software licenses on EC2 instances. With a Dedicated Host, you have visibility and control over how instances are placed on the server.
Dedicated Instances
Amazon EC2 instances that run in a virtual private cloud (VPC) on hardware that’s dedicated to a single customer.
However, Dedicated Instances may share hardware with other instances from the same AWS account that are not Dedicated Instances.
What conditions must be true to hibernate an EC2?
You can hibernate an instance only if it’s enabled for hibernation and it meets the hibernation prerequisites.
Must be on-demand or reserved instance
What happens when you start your Hibernated instance?
The EBS root volume is restored to its previous state
The RAM contents are reloaded
The processes that were previously running on the instance are resumed
Previously attached data volumes are reattached and the instance retains its instance ID
Savings Plan
Savings Plans is a flexible pricing model offering lower prices compared to On-Demand pricing, in exchange for a specific usage commitment (measured in $/hour) for a one or three-year period.
AWS offers three types of Savings Plans – Compute Savings Plans, EC2 Instance Savings Plans, and Amazon SageMaker Savings Plans.
What commitment timeframe is required for a reserved instance?
1 or 3 year term
Name pricing models you can use when requesting an EC2?
- On Demand
- Reserved
- Spot (persistent, one-time)
- Dedicated Instance
- Dedicated Host
- Savings Plan
Partition placement groups
spread EC2 instances across logical partitions and ensure that instances in different partitions do not share the same underlying hardware, thus containing the impact of hardware failure to a single partition
EC2 Spread Placement Group, What limit applies?
a grouping of instances that are purposely positioned on distinct underlying hardware. This grouping reduces the risk of simultaneous failures that could occur if instances were sharing underlying hardware. This type of group can span multiple Availability Zones, up to a maximum of seven instances per Availability Zone per group.
EC2 Cluster Placement Group
a logical grouping of instances within a single Availability Zone. This grouping provides the lowest latency and highest packet per second network performance possible.
EC2 Instance Metadata
Look up information about the instance itself at http://169.254.169.254/latest/meta-data
What does an AMI include?
One or more EBS volumes/snapshots
A template for the root volume (contains OS and all software installed)
Launch Permission that control which AWS accounts can use the AMI
A block device mapping that specifies the volumes to attach if any when it is launched
Amazon ECS
Amazon Elastic Container Service (Amazon ECS) is a fully managed container orchestration service. ECS allows you to easily run, scale, and secure Docker container applications on AWS
AWS Fargate
How is it billed?
AWS Fargate is a serverless compute engine for containers that works with both Amazon Elastic Container Service (ECS) and Amazon Elastic Kubernetes Service (EKS).
Fargate eliminates the need to provision and manage servers, lets you specify and pay for resources per application, and improves security through application isolation by design
What operations does Fargate manage
Provisioning
Patching
Cluster capacity management
Infrastructure management