AWS SAA Flashcards
AWS Organizations
Main account is the management account, all other accounts are members of the organization.
OUs for departments IE- Finance, Devs, etc.
SCP (Security Control Policies)
Security policies that restrict what services accounts can access.
Amazon Cognito
Gives users an identity to interact with web or mobile app hosted on AWS. Database of users for your web app
AWS IAM Identity Center
SSO for your AWS users in IAM. Can connect to a 3rd party IdP.
AWS Control Tower
Easily setup a secure and compliant multi-account environment in AWS based on best practices. IE- Kinda like AWS Config but for IAM.
EC2 User Data
You can input a bash script when launching the instance. Upon launching of the instance, the bash script will be run as root on the new instance.
EC2 Security Groups
Security groups control your inbound and outbound traffic to the instance.
EC2 Instance (On-Demand)
Short workloads, pay by second.
EC2 Instance (Reserved (1&3 Years))
Long workloads, you can rent for 1-3 years.
EC2 Instance (Savings Plans (1&3 Years))
Commitment to an amount of usage, like reserved but committed.
EC2 Instance (Spot Instances)
Short workloads, auction house instances, can lose at any time if the price rises.
EC2 Instance (Dedicated Hosts)
book an entire physical server, get control over instance placement. Allows you to use existing software licenses.
EC2 Instance (Dedicated Instances)
no other customer will share your hardware, book an entire instance in the data center.
EC2 Instance (Spot Fleet)
Have continuously running spot instances based on predefined configuration templates. If one of the instances gets deleted due to cost, another one will attempt to spin up if pricing works out. Set and forget type of configuration.
EC2 Networking (Private IP)
IP address in the data center’s network.
EC2 Networking (Public IP)
IP address facing the internet.
EC2 Networking (Elastic IP)
IP you can assign to an instance to have the same public IP even if the instance is stopped and started again. Think of this like a DHCP lease but for AWS.
EC2 Cluster Placement Group
Single AZ, all on the same rack in close proximity.
EC2 Spread Placement Group
Spreads instances across same set of underlying hardware. Different AZs but all running the same application. Reliability is good because if one rack goes down, we can switch to the other racks in the other AZs. Limited to 7 instances per AZ.
EC2 Partition Placement Group
Each partition is a different rack, many instances on one partition. Reliability is good because they are all on different racks/partitions. This is the best for large scale (100s of instances). These instances do not share hardware. Each partition is isolated from failure from the others.
ENI (Elastic Network Interface)
Virtual network cards that are “attached to instances”. Used to assign elastic IPs to the instance it is attached to.
EBS (Elastic Block Store)
A virtual drive that you can attach to one instance. It is locked to one AZ. Think of as “network USB sticks”. You must define the capacity size of this type of storage and you pay for the whole thing.
EFS (Elastic File System)
Managed network file system that can be mounted to many instances at the same time. Can be used in any AZ zone, on any instance. Pay-as-you-go model.
Horizontal Scaling
Spinning up more instances to handle traffic load.