CCP Flashcards
Describe the Shared Responsibility Model
The CUSTOMER is responsible for security in the cloud (customer data, OS, networking, configuration, encryption, client-side data).
AWS is responsible for the security of the cloud (regions, hardware, availability zones, internal networking, storage, database and compute infrastructure).
Describe IAM (Identity and Access Management)?
users and groups only.
groups can only contain user, not other groups.
users can be a part of multiple groups.
What is an IAM Policy?
a JSON snippet that consists of: a generic version, ID to identify the policy, and a statement to allow or deny access applied to a principal (account, user, or role).
Name the 3 options to access AWS
- AWS Management Console: password and MFA
- AWS Command Line Interface (CLI): protected by access keys via CloudShell, terminal, scripts or direct via public APIs
- AWS Software SDK: for embedded within code protected by access keys
What is an access key made of?
Access Key ID = username
Secret Access Key = password
What is an IAM role used for?
Allow an AWS service to perform actions on your behalf
How do you audit user security?
IAM Credential Reports (account-level) and IAM Access Advisor (user level)
General purpose of an EC2 instance
EC2 = Elastic Compute Service = infrastructure as a service
Gives companies the ability to rent virtual machines
what service allows you to store data on virtual machines tied to EC2 instances?
EBS = elastic block store
a network drive (almost like a USB stick) that allows an instances’ data to persist after termination
specific to a single instance and AZ
what service allows you to distribute load across machines
ELB = elastic load balance
what service allows you to scale the services using an auto scaling group
ASG = auto scaling group
what is an EC2 instance made of
AMI (OS) + Instance Size (CPU and RAM) + Storage + security groups + EC2 user data
what is a security group
a firewall attached to the EC2 instance
what is EC2 user data
a script launched at the first start of an instance for additional set up
what is SSH
gives a user the ability to terminal into an EC2 instance usually through port 22
what is a EC2 instance role linked to
IAM role
purchasing options of EC2 instances
on demand
spot
reserved (standard or convertible)
dedicated host
dedicated instance
how do you move an EBS volume to a new AZ
EBS Snapshot
what is an AMI
AMI = Amazon Machine Image
customized operating system (OS) of an EC2 instance built for a specific region with config, monitoring, etc
AMIs can be provided by AWS or make your own to maintain
how do you automate the creation of virtual machines or container images
EC2 Image Builder
what’s an alternative to EC2 Instance, why and potential use cases of alternative
EC2 Instance Store
EC2 instances are naturally larger and slower as Instance Store has a more high performing hardware disk
Good for buffer, cache, scratch data and temport content
what’s an alternative to EBS and why
EFS = Elastic File System
single EFS can be utilized across multiple AZs and mounted (EFS Mount Target) to 100s of EC2. Highly available, scalable and expensive (pay per use)
what is a better storage class for EFS, why and how do you use it
EFS-IA
lowers costs compared to EFS for files not accessed every day
EFS will automatically move files to EFS-IA based on lifecycle policy (i.e., last time the files were accessed)
what are 3 fully managed 3rd party high-performance file systems on AWS
FSx for Windows File Server = Windows-native (on prem and cloud)
FSx for Lustre = high performance computing (HPC), tons of data. great for ML, analytics, video processing, financial modeling, etc
FSx for Net App