AWS Fundamentals Flashcards
What is the purpose of an Identity Access Management (IAM)?
You always want to create IAM users for admins that have specific needs or tasks in AWS as opposed to using the Root User login.
The Root User always has system-wide/un-restricted access to the AWS environment
What are the different IAM types?
Users - user or app
Groups - collection of Users
Roles - assigned when you want to grant access to services but don’t have a definitive number of entities.
How do you connect to AWS via CLI?
Access Keys (instead of username/password in the GUI)
What makes up an Access Key?
Access Key ID
Secret Access Key
What are the 5 fundamentals of of Cloud Computing?
- on-demand self-service - dont need to notify vendor for resources
- broad network access - capabilities are available over the network and have standard access mechanisms (Ex. HTTP)
- resource pooling - location independence; multi-tenancy; economies of scale
- rapid elasticity - capability appears unlimited; can scale with demand
- measured service - usage is monitored, controlled, reported, and billed
Public v Private v Multi-Cloud v Hybrid Cloud
Public - AWS, Azure, or GCP offer public cloud environments
Private - Outpost, Azure Stack, Anthos
Multi - AWS + Azure
Hybrid - mix of public and private clouds working together; same tools/components/methods are used for both
What is a Unit of Consumption?
What are the UOC’s for IASS, PAAS, SAAS?
The part of the system that you pay for/consume. This denotes where your management responsibility begins.
You purchase an EC2 (IAAS), the UOC is the OS that runs the VMs.
PAAS UOC = Runtime
SAAS UOC = Application
What are the (3) Zones when talking about Public/Private Services in AWS?
- Public internet
- AWS public zone
- AWS private zone
How many accounts & regions can a unique VPC be created in?
One and One.
VPCs are isolated by default - they can’t communicate with anything outside their own VPC unless it’s specified.
What are the 2 types of VPC that can be found in a CU environment?
Default VPC and Custom VPC
What is the CIDR Range of the Default VPC?
Does the Default VPC have a subnet in each AZ of the region?
It get’s the exact same range every time - 172.31.0.0./16.
Yes - The DEFAULT VPC is configured to have a subnet in every AZ in that specific region that it’s in (/20’s)
What is the rate for on-demand billing of an EC2?
By the second or by the hour depending on the resources that are being used.
What are the different states of an EC2?
Running - charged for everything (CPU/mem/disk/etc.)
Stopped - still being charged for Storage
Terminated - this is non-reversible
What is an Amazon Machine Image (AMI)?
Contains the info required to boot an EC2 instance. You can boot multiple EC2s from a single AMI.
You must specify an AMI when launching an instance.
What are the 2 foundational pillars of S3?
As in what are the 2 things that S3 is comprised of?
Objects = files stored in S3 Buckets = containers of Objects
What kind of Storage solution is S3?
Object Storage; the files are stored in a FLAT structure i.e no folders.
What is CloudFormation?
Service that lets you create/update/delete resources within AWS via templates in an automated fashion.
Templates are written in YAML or JSON
What does a CloudFormation Template contain?
What does the list create?
All templates have a list of resources - at least one. This section tells CloudFormation what to do; resources section is the only MANDATORY part of the template. Without a list of resources, the template would do nothing.
The list of resources creates a “stack” of logical resources that the template instructs AWS to provision.
What is CloudWatch?
Monitors the performance of the environment.
Service that collects and manages operational data on your behalf. Any data generated by the environment will be logged by the service.
What are the categories of data captured by CloudWatch?
Metrics - data relating to AWS products, apps, and on-premise infra; publicly accessible
Logs - collection/monitoring/actions based on logging data (like web server or FW logs); anything that logs data can be ingested by CW.
Events - acts like an Event Hub - if a service does something, the event is logged.
CloudWatch key terms:
Name Space?
Metric?
Dimension?
Alarms?
Name Space - container for monitoring data
Metric - collection of related data points
Dimension - separate data points for specific entities
Alarms - can take an acton based on a metric
E. We can look inside a specific Namespace (EC2), and then inside a specific Metric (CPU Utilization), and then at a specific Dimension for the data points coming from a particular instance. We can then trigger an alarm depending on what the output is.
Shared Responsibility Model rule of thumb?
AWS protects the security OF the cloud, and the consumer protects the security IN the cloud.
What is High Availability?
The system is designed to be online and providing services as long as possible. Failover is automated but minimal downtime might incur.
User disruption is OK.
What is Fault Tolerance?
System that allows it to continue operating normally in the event that one or more of the components fail.
If there are faults present - the system should keep working through a failure without any impact.
Think of a life support network at a Hospital.