EC2 - Solutions Architect Associate Level Flashcards
What are the two IP types?
IPv4 & IPv6
IPv4: 1.160.10.240
IPv6: 1900:4545:3:200:f8ff:fe21:67cf
Public IP
IP that is accessible over the internet
Private IP
Is IP within a private Network (e.g. company) and ONLY the machines inside that network can talk to each other
Internet Gateway (Public)
Allows machines in a private network to communicate with machines (servers) outside of that private network using the internet.
What does a Public IP need to be across the whole web?
Unique - no two machines can have the same public IP
Can public IP be geo-located easily?
Yes
Private IP uiniqueness
Needs to be unique within its private network
Can two different private networks (two companies) have the same IPs?
Yes - Machine 1 from Network A can have the same IP as Machine 1 from Network B
What do machines in a private network need to access the public internet?
NAT (network address translation) & Internet gateway (proxy)
What is a Network Address Translation (NAT)
A way to map multiple private IPs inside a local network to a public IP address before transferring the information onto the internet
True/False - Only a specified range of IPs can be used as private IP
True
What happens when you stop and start an EC2 instance?
It’s IP can change
What is an elastic IP?
It is a fixed public IP - an IPv4 IP you own as long as you do not delete it
Can you attach an Elastic IP to many instances at a time?
No - only to one
How many Elastic IP’s can you have in your AWS acc?
5 (can ask for more)
What can you do with Elastic IPs when a failure of an instance/software occurs?
Rapidly remap the address to another instance in your account
What does your EC2 machine come with automatically when created?
Public & Private IP
Can you use a private IP when SSH?
No - only public IP
What are Placement Groups?
It is a way of using an EC2 placement Strategy within an AZ
What do you specify when you create a placement group?
The strategy you want
i.e.
Cluster
Spread
Partition