AWS Practitioner Notes Flashcards
Describe the basic AWS Infrastructure
AWS is split into Regions (based on geography)
Regions are split into Availability Zones (2-6 per region, average 3)
Availability Zones have multiple Data Centers
In addition there are Edge Locations, Local Zones, and Outposts
What are some factors in choosing a Region
Compliance Requirements
Latency
Available Services
Pricing
Shared Responsibility Matrix - AWS Responsibilities
Security OF the cloud
Hardware
Certain Software (offered as a service)
Certain OS (of serverless services)
Networking/Firewalls of serverless services
Shared Responsibility Matrix - Customer Responsibilities
Security IN the cloud
Customer Data
Platforms, applications, IAM, network/firewall of EC2 instances
OS of EC2 instances
Networking traffic
What is IAM
IAM = Identity and Access Management
Describe IAM Users
An IAM User should be a single physical user
Users can be assigned to groups, but don’t have to be
Describe IAM Groups
An IAM Group is a collection of IAM Users
An IAM User can belong to multiple groups
Describe IAM Policies
An IAM Policy can be assigned to a user or a group
An IAM Policy is used to control access to AWS resources
What is an Inline Policy
A policy that is assigned to a user directly
What is the Least Privilege Principle
Only giving a user the bare minimum access they require
How is an IAM Policy Structured
It has a version number, an ID, and a Statement
A statement consists of an ID, Effect (Allow/Deny), Principal (account/user/role to which the statement applies), Action (list of actions the policy allows/denies), and Resources (list of AWS resources that the policy applies to)
IAM Password Policy
Allows you to define the password requirements for all accounts
What is MFA
Multi-factor Authentication - Using both a password and a security device
Can be physical (key or or keyfob that generates MFA codes)
Can be virtual
Name three ways to access AWS
The AWS Management Console (requires password/MFA)
Command Line Interface (requires access keys)
Software Development Kit - SDK (requires access keys)
What is AWS Cloudshell
It is an alternate way to access AWS - private CLI using the browser - does not require access keys
What are IAM Roles
IAM Roles are a way to assign permissions to AWS services
Name two IAM security tools
IAM Credential Reports (account level)
IAM Access Advisor (user level)
What are some IAM best practices
Don’t use the root account unless you absolutely have to - create accounts with administrative access instead
1 physical user = 1 AWS account
Assign Users to Groups, then assign permissions/policies to those groups
Use a strong password policy
Use/enforce MFA
Use roles when giving permissions to AWS services
What is EC2 stand for
Elastic Cloud Compute
Is EC2 IAAS, PAAS, SAAS?
It is IAAS - Infrastructure As A Service
What can you customize in an EC2 instance
Operating System
Number of Cores
RAM
Storage Space
Network Card
What is EC2 User Data
A Bootstrap Script - runs once when the instance starts
What are the different EC2 types
General Purpose - Good for web servers or code repositories
Compute Optimized - Good for high performance processing
Memory Optimized - Good for processing large data sets in memory
Storage Optimized - Good for high sequential r/w access to local datasets
EC2 naming convention - explain the different parts of: m5.2xlarge
m = instance class
5 = generation
2xlarge = size within the instance class