Advanced EC2 Flashcards
Networking has two sorts of IPs
IPv4 and IPv6
IP that allows the machine to be identified on the internet
Public IP
IP that allows the machine to be identified on a private network only
Private IP
Do public IPs need to be unique across the whole web?
Yes
Can two private networks have the same IPs?
Yes
Can there be two of the same IPs in a private network?
No
Private IPs connect to the WWW using a
NAT + internet gateway
When you stop and then start an EC2 instance, it can change its public
IP
True
Static IPv4 address designed for dynamic cloud computing used to mask the failure of an instance or software by rapidly remapping the address to another instance in your account
Elastic IP
Instead of using Elastic IPs, it is advisable to
Use a random public IP and register a DNS name to it
Control over the EC2 Instance placement strategy
Placement Groups
Placement group strategy that clusters instances into a low-latency group in a single Availability Zone
Cluster
Placement group strategy that spreads instances across underlying hardware (max 7 instances per group per AZ)
Spread
Placement group strategy that spreads instances across many different partitions within an AZ. Can scales to 100s of EC2 instances per group
Partition
Placement group with very low latency, instances are in the same rack, same AZ
Used for:
* Big Data job that needs to complete fast
* Application that needs extremely low latency and high network throughput
Cluster