Fundamentals of AWS (Part 1) Flashcards
If you want control over the EC2 Instance placement strategy? This is called what?
Placement Groups
What’s the difference between IAM Users, Groups and Roles?
Users: Usually a physical person.
Groups: Functions (admins, devops) Teams (engineering, design…) Contains users!
Roles: Internal usage within AWS resources.
How many roles per application?
One
What port does AWS use for SSH?
Port 22
Security Groups are the fundamental of what type of security in AWS?
Network Security
How are security groups used for EC2?
They control how traffic is allowed into or out. They act as a firewall.
What all do security groups regulate?
- Access to Ports.
- Authorised IP ranges – IPv4 and IPv6
- Control of inbound network (from other to the instance)
- Control of outbound network
Can a security group be attached to multiple instances or only 1?
Multiple Instances
T / F: Security Groups are locked down to a region / VPC combination
T
If you experience a time out when trying to access your application. This it most likely due to what?
Security Group Issue
If you recieve a “connection refused” error, then what’s likely going on?
It’s an application error or it’s not launched.
T/F: For security Groups, all inbound traffic is blocked by default?
True
T/F: For security Groups, all outbound traffic is blocked by default?
False. It’s authorized
Public IP means the machine can be identified where?
On the internet
Private IP means the machine can be identified where?
Only on a private network.
How to private IP machines connect to the internet?
Using an internet gateway (a proxy)
T / F: When you stop and start an EC2 instance, it’s public IP remains constant?
False - It can change its public IP
This will provide you a fixed public IP for your instance
Elastic IP
An Elastic IP is a what kind of IP?
public IPv4
How many instance can you attach an Elastic IP too?
One