Deployment and Provisioning Flashcards
Common reasons why EC2 instnaces may fail to launch
- InstanceLimitExceeded error
- you have reached the limit on teh number of instnaces you can launch in a region
- aws sets default limits on the number of instances you can run on a per-region basis - 20 by default
t
InsufficientInstanceCapacity error
-AWS does not currently have enough available On-Demand capacity to service your request
y
____ allows you to create storage volumes and attach them to your EC2 instances.
EBS
___ can be used to craete.a file system, run a database, run an operation system, etc.
EBS
____ backend storage - used fr OS and databases which can be IO intensive.
SSD
2 different variants of SSD:
gp2 ___ - boot volumes
io1 ___ - IO intensive, NoSQL/relational databases, latency sensitive workloads
____ used to benchmark performance for SSD volumes
general purpose
Provisioned IOPS
IOPS
IOPS capability is dependent on the size of your volume:
gp2 volumes: (minimum 100 IOPS) 3 IOPS/GB up to a max of _____ IOPS
io1 volumes: 50 IOPS/GB to a amx of _____ IOPS
16,000
64,000
what happens if you are using gp2 and your workload exceeds the IOPS limit of teh gp2 volume you have provisioned?
you will start to get your IO requests queing
depending on your apps seneitivity to IOPS and latency, you may see your app becoming slow.
Hitting the IOPS limit of our gp2 Volume
what can you do about it?
explain the 2 approaches to address hitting the IOPS limit:
- For gp2, you can increase the size of your volume - but if your volume is already 5.2T or moer, you will have already reached teh 16,000 IOPS limit for gp2 volumes
- If you need more tahn 16,000 IOPS, you will need to change your storage class to Provisioned IOPS
A bastion host is located in your ____ subnet
public
a bastion host allows you to connect your ec2 instances using ___ or ___ protocols
ssh or rdp
T or F
you can log in to the Bastion host over the internet, from your desktop
T
If the settings allow it
T or F
the bastion host is used to initiate an SSH/RDP session over the private subnet to your ec2 instances in teh private subnet
T
____ load balancers scale automatically to adapt to your workload
application
xx messages indicate that something has gone wrong on the client side
400
xx messages relate to server side errors
500