EC2 - Solutions Architect Associate Level Flashcards
Networking has two sorts of IPs.
What are they?
IPv4
IPv6
Which network is the most common format used online?
IPv4
Which network is newer and solves problems for the Internet of Things (IoT)?
IPv6
How many different addresses does this network allow in the public space?
3.7 billion/IPv4
If you need to have a fixed public IP for your instance, what do you need?
Elastic IP
When you stop and start an EC2 instance, can it change its public IP?
Yes
What is an Elastic IP?
A public IPv4 you own, as long as you don’t delete it
How many instances can you attach an elastic IP to at a time?
One
How many elastic IPs can be in your account at a time?
Five
Why should you try avoid using elastic IP?
They often reflect poor architectural decisions
What is the first thing you should try using before an Elastic IP?
A random IP and register a DNS name to it
What is the second thing you should try using before an Elastic IP?
A Load Balancer and don’t use a public IP
When do you use placement groups?
When you want control over the EC2 Instance placement strategy
What are the 3 types of placement groups?
- Cluster
- Spread
- Partition
- Same Rack Same AZ
- Low Latency
- 10Gbps bandwidth between instances
- If the rack fails, all instances fails at the same time
What placement group is this?
Cluster Placement Group
A computer network that is optimized to process a very high volume of data messages with minimal delay.
Low Latency
What does Gbps stand for?
Gigabits per second
This is a Big Data job that needs to complete fast and an application that needs extremely low latency and high network throughput
What placement group should you use?
Cluster
- Each EC2 instance is on a different hardware
- Can span across AZ
- Reduced risk of simultaneous failure because EC2 Instances are on different physical hardware
- Limited to 7 instances per AZ per placement group
Which placement group is this?
Spread Placement Group
This application will need to maximize high availability and each instance must be isolated from failure from each other
Critical Applications
What placement group should you use?
Spread