EC2 Flashcards
Soft Limit on max number of EC2 instances
20
2 types of Block Store Device
Elastic block store (EBS)
- Perisitant
- N/W attached virtual drive
Instance Store
- Not persistent
- Basically the virtual hdd on the host allocated to this EC2 instance
Limited to 10GB
Charge for reboot and for stop/restart
Reboot- no charge (still within hour limit)
Stop/restart - Considered as 1 hour additional charge
When EC2 is rebooted public IP and DNS….
Remains Same
When EC2 is stopped and started public IP and DNS….
New public IP an DNS are allocated
When EC2 with Elastic IP address is stopped and started Public IP and DNS..
Remains same and does not change
Block Device Mapping shows which volumes?
Only EBS volumes
EBD volumes size limitation
Size can only be increased but not decreased
What is ‘DeleteOnTermination’ flag?
When an instance terminates, Amazon EC2 uses the value of the DeleteOnTermination attribute for each attached Amazon EBS volume to determine whether to preserve or delete the volume.
Default values of ‘DeleteOnTermination’ flag
By default, the DeletionOnTermination attribute for the root volume of an instance is set to true. Therefore, the default is to delete the root volume of an instance when the instance terminates.
By default, when you attach an EBS volume to an instance, its DeleteOnTermination attribute is set to false. Therefore, the default is to preserve these volumes.
After the instance terminates, you can take a snapshot of the preserved volume or attach it to another instance.
To used enhanced n/w, EC2 instance needs to:
Support SR-I/OV
Should be created from HVM (Hardware Virtual Machine) AMI
Be launched in VPC (default)
Types of Enhanced Networking
Elastic Network Adapter (ENA):
The Elastic Network Adapter (ENA) supports network speeds of up to 100 Gbps for supported instance types.
Intel 82599 Virtual Function (VF) interface:
The Intel 82599 Virtual Function interface supports network speeds of up to 10 Gbps for supported instance types.
You can create placement groups across VPC peering (T/F)
True
What is ‘Cluster Placement Groups’?
A cluster placement group is a logical grouping of instances within a single Availability Zone.
A placement group can span peered VPCs in the same Region.
What is Spread Placement Groups?
A Spread placement group is a group of instances that are each placed on distinct underlying hardware
A spread placement group can span multiple availability zone