EC2 Flashcards
___ is a web service that provides resizeable compute capacity in the cloud. It reduces the time required to obtain and boot new server instances to minutes, allowing you to quickly scale capacity, both up and down, as your computiing requirements change.
ec2
____ allows you to pay a fixed rate by the hour ( oor by the secnod) with no committment
on demand
provides you with a capacity reservationo, and offer a significant discount on the hourly charge for an instance. Contract Terms are 1 year or 3 yeaar terms.
reserved
enables you to bid whatever price you want for instance capacity, providing for even greater savings if your apps have flexible start and end times.
spot
physical ec2 servers dedicated for your use. they can help you reduce costs by allowing you to use your existing server-bound software licenses.
dedicated hosts
users that want the low cost and flexibility of ec2 without any up fronot payment or long term contract will use_____
on demand
apps with short term, spiky, or unpredictble workloads thata cannot be interrupted should use ___ ec2
on demand
apps being developed or tested on ec2 for the first time should use _____ instances
on demand
apps with steady state or predictable usage should use thiss type of instance:
reserved
apps that require reserved capacity should use this type of instance
reserved
users able to make upfront payments to reduce their total computing costs even further should use this type of instance
reserved
These instnaces offer up to 75% off on demand instances. The more you pay uip front nd the longer the contract, the greater the discount.
standrd reserved instances
These instances offer up to 54% off on demand capability to change the attributes of the RI as long as the exchaange results in the creation of Reserved Instances of equal or greater value
convertible reserved instances
these instances are availble to launch within the time windows you reserve. This option allows you to match your capcaity reservtion to a predictable recurring schedule that only requires a fraction of a day, a week, or a month.
scheduled reserved instances
apps that have flexible start and end times uses this type of instance
spot pricing
apps that are only feasible at very low compute pricess use this type of intsanace
spot pricing
uesrs with urgent computing needs for larage amounts of additional capacity
spot pricing
this type of intsance is uesful for regulatory requirementss thaat maay not support multi-tenant virtualization.
dedicated hosts
thiss type of intanace is great for licensing which does not support multi-tenacy or cloud deployments.
dedicated hosts
this type of instance can be purchased on demand
dedicated hosts
Termination protection is turned ___ by default.
off
on an ebs backed instance, the default action is for the root ebs volume to be ____ when teh instance i terminated.
deleted
EBS Root volumes of your default AMIs ___ be encrypted. You ___ also uses a third party tool (such as bit locker) to encrypt the root volume, or this can be done when creating AMIs in teh AWS console or using the API.
can
All ___ traffic is blocked by default
inbound
SG
All ____ traffic is allowed
outbound
Changes to security groups take effect _____
eventually
immediately
within 1 minute
immediately
you an have ____ number of ec2 instances within a security group
any
you can have ____ security groups attached to ec2 instances.
multiple
security groups are ____
stateful
if you create a(n) ___ rule allowing traffic___, that traffic is automatically allowed ___ again.
in, in ,out
You cannot block specific IP addresses using security group, instead use ___ ___ ___ ___
network access control lists
in SG you can specifically ___ rules, but not ___ rules
allow, deny
___ ___ ___ provides persistent block storage volumes for use with ec2 instanaces in aws cloud. each___ volume is automatically replicated within its AZ to protect you from component failure, offering HA and durability.
elastic block store
name the 5 types of ebs storage
general purpoes (SSD)
provisioned IOPS (SSD)
throughput optimised hard disk drive
cold hard disk drive
magnetic
this type of ebs volume balances price and performance for a wide variety of transactional workloads
general purpose ssd
this type of ebs volume is the highest performance SSD volume designed for mission criticaal apps
provisionoed iops ssd
this type of ebs volume is low cost hdd volume designed for frequently aaccessed, throughput intensive workloads
throughput optimized hdd
this type of ebs volume is designed for less frequently accessed workloads
cold hdd
thiss type of ebs volume is a previous generation hdd
magnetic
this ebs use case = most work loads
general purpose ssd
this ebs use case = databases
provisioned iops ssd
this ebs use case = big data and data warehouses
throughput optimized hdd
this ebs use case = file servers
cold hdd
this ebs use case = workloads where data is infrequently accessed
ebs maagnetic
ebs api name for generaal purpose ssd
gp2
ebs api name for provisioned iops ssd
io1
ebs api name for throughput optimized hdd
st1
ebs api name for cold hdd
sc1
ebs api name for ebs maagnetic
standard
general purpose ssd max iops / volume
16,000
provisionied iops ssd max iops / volume
64,000
throughput optimized ssd max iops / volume
500
cold hdd max iops / volume
250
ebs mgnetic max iops / volume
40-200
general purpose ssd volume size
1GiB - 16 TiB
provisioned iops ssd volume size
4GiB-16 TiB
throughput optimized hdd volume size
500GiB - 16TiB
Cold HDD volume size
500GiB- 16 TiB
EBS Magnetic volume size
1 GiB- 1 TiB
volumes exist on ___. THink of ___ as a virtual hard disk.
EBS
_____ exist on S3. Think of ___ as a photograph of the disk.
snapshots
___ are a point in time ocpies of volumes
snapshots