Please enable JavaScript.
Coggle requires JavaScript to display documents.
CPU Credit &placement (dedicated host and dedicated instance…
CPU Credit &placement
Placement group
3 type
Ckuster
-
Partition – s
feature
-
is a group of instances spread across partitions. Partitions are logical groupings of instances,
can be used to spread deployment of large distributed and replicated workloads, such as HDFS, HBase, and Cassandra database , across distinct hardware to reduce the likelihood of correlated failures
-
-
-
-
-
-
-
defintion
preads instances across logical partitions,
ensuring that instances in one partition do not share underlying hardware with instances in other partitions
-
-
-
-
spot instance
if you terminate the Ec2, will be charge for partial hour charge
If terminate by AWS, will not be charged for partial hour.
If your bid price is > than market price, then the instance assigned to you
-
Pricing structure
-
-
Spot fleet
You specify criteria
-
Criteria specification
Target capacity
- VPCU, Memeory, storage & Bandwidth
-
-
bidding process
EX: your spot price request is 1 dollar, and spot price is < 1 or = 1, Spot instance assigned t o you
If your spot price > your spot price request, EC2 wtermianted wthin half an hour.
-
-
Ec2 instance type
Accelerated graphic
- seismic analysis( earthquake)
-
-
-
-
-
-
Tag
-
USed case
-
- report to get cumulative cost of resource group by department
- fiter resource using tag during automation
-
-
-
2 type of VM (Demo
-
-
Now, HVM is better performancethan Paravirtualized
-
-
demo
-
-
hibernate state
- Pre-warm instance to get to productive state quickyly
-
-
demo
AMI
1) Create image
- Used when u lost your key pair
-
-
-
-
-
-
Therefore, should terminate those Ec2 or delete snapshot
-
It does not delete the EBS snapshots or the bundles in the S3 buckets and have to be removed separatel
curl
ecause your instance metadata is available from your running instance, you do not need to use the Amazon EC2 console or the AWS CLI. This can be helpful when you're writing scripts to run from your instance. For example, you can access the local IP address of your instance from instance metadata to manage a connection to an external application.
-
-
instance type
compute optimized. .
multiplayer gaming, and video encoding
-
-
-
-
-
T stands for ?
BURSTABLE PERFORMANCE s that provide a baseline level of CPU performance with the ability to burst above the baseline.
cPU credit Per Hour
he maximum number of earned CPU credits that an instance can accrue,
-
Other combinations of number of vCPUs, utilization, and time can also equate to one CPU credit.
Ex 2: ONE CPU credit is equal to one vCPU running at 50% utilization for two minutes, or
-
-
If u allow the CPU to burst , then require more CPU credit
-
-
-
presite
For T2, the CPU credit balance does not persist between instance stops and starts. If you stop a T2 instance, the instance loses all its accrued credits.
For T3 and T4g, the CPU credit balance persists for seven days after an instance stops and the credits are lost thereafter. If you start the instance within seven days, no credits are lost
-
-