FlashCards

1
Q

IAM

A

Identity Access Management. it’s a global service. Root account created by default, shouldn’t be shared or used.
Users are people in your org and can be grouped.
Groups can only contain users, not other groups

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

6 Advantages of Cloud computing

A
  1. Trade capital expense for Opex
  2. Benefit from massive economies of scale
  3. Stop guessing capacity
  4. Increase speed and agility
  5. Stop spending money running Datacenters
  6. Go global in minutes.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Types of Cloud Computing Models

A
  1. Infrastructure as a Service (IaaS)
  2. Platform as a service (PaaS)
  3. Software as a Service (SaaS)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Infrastructure as a Serive (IaaS)

A

infrastructure as a service contains the basic building blocks for Cloud IT and typically provides access to networking features, computers, and data storage. Easily parallel with traditional on prem IT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Platform as a Service (PaaS)

A

Removes the need for your organization to manage the underlying infrastructure (Usually hardware and OS) and allows you to focus on the deployment & management of your applications.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Software as a Service (SaaS)

A

Provides you with a complete product that is run and managed by the service provider. You don’t have to think about the underlying infrastructure. All managed by the provider. Ex: gmail.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Cloud Computing Deployment Models

A
  1. Cloud
  2. Hybrid
  3. On Premise
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Benefits of AWS Security

A
  1. Keep your data safe
  2. Meet Compliance Requirements
  3. Save Money
  4. Scale Quickly
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

3 pricing fundamentals

A
  1. Compute
  2. Storage
  3. Data transfer out
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Problems solved by Cloud

A
Flexibility
Cost-effectiveness
Scalability
Elasticity
High availability
Agility
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

MFA

A

Multi Factor Authentication

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

3 types of MFA devices

A

Virtual MFA Device
Universal 2nd factor (u2F) security
Hardware key fob MFA device

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

3 ways to access AWS

A

AWS management Console
CLI
SDK

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

IAM credentials report

A

Account level. Shows all users and status of credentials

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

IAM access advisor

A

A single User
Access advisor shows the service permissions granted to a user and when those services was last used.
You can use this information to update security policy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

IAM guidelines & best Practices

A

Do not use the root account except for account set up
One physical user = one AWS user
Assign users to groups and assign permissions to groups
Create strong password policy
Use and enforce the use of MFA
Never share IAM keys

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Security Groups - EC2

A

Control how traffic is allowed into or out of our EC2 instances
Security groups only contain ALLOW rules
Rules can reference by IP or by security group

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

.PORT 22

A

SSH (secure Shell) - how to log into Linux instances

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Port 21

A

FTP (File transport Protocol)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Port 80

A

HTTP - access unsecured websites

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Port 443

A

HTTPS - secured website

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

Port 3389

A

RDP - Remote Desktop Protocol - log into a windows instance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

EC2 instance Purchasing Options

A
On Demand instance
Reserved
Convertible reserved
Scheduled reserved instances
Spot instances
Dedicated host
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

EC2 on Demand

A

Pay for what you use
Linux - billing per second, after the first minute.
Windows - billing per hour
Highest cost but no upfront payments
Recommended for short term and un interrupted workloads

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Ec2 Reserved Instance
Up to 75% discount compared to on demand. Reservation period (1 to 3 years) No upfront, all up front, partial upfront Reserve a specific instance - no changing Recommended for steady state usage application —> think database
26
Convertible reserved instances
Similar to reserved instance but you can change the EC2 instance type Up to a 54% discount
27
Scheduled reserved instance
Launch within the time window you reserve When you require a fraction of day/week/month Still have to commit 1 to 3 years
28
Spot Instance
Can get a discount up to 90% Instance you can lose at any point if your max price is less than current spot price Most cost efficient Example Workloads: Batch jobs, Data analysis, image processing, distributed workloads, workloads with flexible start and end times. NOT SUITED FOR CRITICAL WORKLOADS
29
EC2 Dedicated Hosts
Its a dedicated physical server to your workload. No sharing with other customers. More expensive Allocated to your account for 3 year reservation period. BYOL For companies with strong regulatory compliance
30
EBS
Elastic Block Store - Network drive you attach to your instance - Can only be attached to one EC2 at a time - bound to a specific AZ - Have to provision Capacity up front
31
EBS Snapshots
Backup (snapshot) of your EBS volume at a point in time | Can copy snapshots across AZ’s
32
AMI
``` Amazon Machine Image It;s a customization of an EC2 instance Add your own software if you want 3 ways to use: 1. A public AMI - One AWS provided 2. Your own AMI template - you created 3. Buy one from AWS marketplace from another user. ```
33
Instance Store
High performance disk Why? Better performance I/O EC2 instance store loses their storage if they are stopped Good for buffer/cache/scratch data/temp Backup and replication are user responsibility.
34
EFS
Elastic File System -Managed NFS (Network File System) can be mounted to 100s of instances Shared network file system Only works with EC2 and across multiple AZ Highly available, scalable, expensive, pay per use and NO capacity planning
35
Horizontal Scaling
increases the number of instances for your application | EX: Load balancing by adding more EC2 instances to handle increased utilization
36
Vertical Scaling
Increasing the size of the instance. EX: Starting with a t2.micro then increasing to a t2.large. Very common for NON distributed systems like databases Limit is on the hardware - dictates how much you can vertically scale.
37
High Availability
Running an app in 2 availability zones | Goal of HA is surviving a data center loss.
38
Scalability
Ability to accommodate a larger load by making hardware stronger. Either scaling up or out.
39
Elasticity
Once a system is scalable - Elasticity means that there will be some auto scaling so the system can handle the workload expansions. “Cloud Friendly”. Pay per use so you can match demand and optimize cost.
40
Agility
Not related to elasticity or scalability - Means that new IT resources are just a click away. Reduce time to make resources available to your devs.
41
Load balancing
they are servers that forward internet traffic to multiple servers (EC2 instances) downstream. Hit the load balancer first then it routes traffic to an instance. Allows you to scale better to spread out the load when traffic comes in.
42
Benefits of a Load Balancer
- Spread the load out amongst instances - Expose a single point of access (DNS) to your application - Seamlessly handle failures of downstream instances - Health checks - HA across AZs - Provide SSL terminations (HTTPS) for your websites.
43
3 Kinds of load balancers from AWS
Application load balancer - layer 7 Network load balancer - Layer 4 Classic Load balancer (Slowly retiring) Layer 4 and 7
44
Elastic Load Balancer
This is a managed Load Balancer from AWS. - AWS guarantees it will be working - AWS takes care of upgrades, maintenance, HA - AWS provides only a few config options
45
Auto Scaling Group
Goals of Auto Scaling Group (ASG) - Scale out (add EC2 instances) to match and increase load - Scale in (remove instances) to match decreased load - Ensure we have max/min number of machines running - Automatically register new instances to a load balancer - Replace unhealthy instances
46
Amazon S3
Main building blocks of AWS cloud storage USE CASES: -Back up, DR, Archive, Hybrid cloud storage, app hosting, media hosting, data lakes, software delivery, and static websites.
47
Amazon S3 Security
Many ways - user based IAM policies - Bucket policies - bucket wide rules from S3 console - Object Access control list (ACL) - finer grain - Bucket Access control list (ACL) - bucket level and less common.
48
S3 Versioning
You can version files in S3. -enabled in bucket settings Why versioning? -Protect against unintended deletes (ability to restore a previous version) -Easy roll back to a previous version. Note: Suspend versioning does not delete previous versions.
49
S3 Replication
- Asynchronous replication between two buckets - Most enable versioning in source and destination - Cross region replication (CRR) - Same region Replication (SRR) - buckets can be in different accounts - Copying must be ASYNCHRONOUS.
50
S3 Storage Classes
- S3 Standard - general purpose - S3 Standard - Infrequent access - S3 One Zone - infrequent access - S3 Intelligent Tiering - S3 Glacier - S3 Glacier Deep Archive
51
S3 Standard - General purpose
99.99% availability -used for frequently accessed data -Low latency and high throughput -can sustain 2 concurrent facility failures Use Case: -Big data Analytics -Mobile & Gaming apps -Content distribution
52
S3 Standard - Infrequent access
Suitable for data that is less frequently accessed but requires rapids access when needed -lower cost compared to S3 standard but there is a retrieval fee Can sustain 2 facility failures. Use Case: Data store for DR & backups
53
S3 Intelligent Tiering
Same low latency and throughput performance as S3 standard Cost optimized by automatically moving objects between two access tiers based on changing patterns. Frequent and infrequent access. Resilient against events that impact entire AZ.
54
S3 One Zone - Infrequent Access
Same as IA but data is stored in a single AZ. Not moved around for durability 99.5% availability Low latency and high throughput performance Lower cost compared to S3-IA by 20% Use Case: storing secondary backup of on prem & storing data you can recreate
55
S3 Glacier and Glacier Deep archive
Low cost object storage Meant for archiving/backup Data retention for long term (years) Retrieval times: Glacier - expedited (1 to 5 min), standard (3 to 5 hours), bulk (5 to 12 hours) Glacier Deep archive (CHEAPEST): Standard (12 hours), bulk (48 hrs)
56
Snowball
Physical data transport solution that helps move TB or PB’s of data in or out of AWS. Alternative to moving that data over network. Use case: large cloud migrations, DC decommission, DR.
57
Snowball Edge
100TB and adds computational capabilities to the device -You can perform processing on the go. -very useful to pre-process data while its moving. Use Case: data migration, image collection, Iot capture, machine learning
58
Snowmobile
Large truck that comes to you and transfers EB or PB of data.
59
AWS storage Gateway
Hybrid cloud storage. Part of infrastructure is on prem and the other part is in the cloud.
60
Amazon RDS
Relational Database service It’s a managed DB service and uses SQL as query language Compatible with: Postgres, MySQL, MariaDB Automated provisioning, OS patching, continuous backups (point in time), read replicas for improved read performance, multi AZ set up for DR, scales (Vertically or horizontally)
61
Amazon Aurora
Aurora is a proprietary DB from AWS (not open sourced) Postgres and MySQL are supported Cloud optimized and is 5x more performance than MySQL on RDS Elastic - can grow Costs more than RDS but more efficient
62
Amazon ElastiCache
Cache are in memory databases with high performance and low latency Helps reduce load off DB for read intensive workloads AWS takes care of OS maint/patching, optimizing, setup, config, monitoring and failure recovery and Backup.
63
DynamoDB
Fully managed HA with replication across 3 AZ It’s a NoSQL database - not relational SCales to massive workloads, distributed “serverless” database. Millions of requests per second Fast and consistent performance Single digit millisecond latency
64
Amazon Redshift
DB based on PostgresSQL but not used for OLTP It;s OLAP - Online analytical Processing Load data once every hour 10x better performance than other data warehouses Scale to PB of data MPP - Massively parallel Query execution BI tools such as quick sight or Tableau integrate with it
65
EMR
Elastic MapReduce Helps create Hadoop clusters (big Data) to analyze and process data Also supports - Apache spark, Hbase, Presto Flink EMR takes care of all the provisioning and configuration Auto scaling and integrated with spot instances.
66
Amazon Athena
Fully serverless database with SQL capabilities Used to query data in S3 Pay per Query Output results back to S3 Use Case: One time SQL queries, serverless queries on S3, log analytics
67
Database Migration Service - DMS
Migrating databases, use this service. The source database is still available during migration Supports: Homogeneous migrations (oracle DB to oracle DB) Heterogeneous migrations: MS SQL to Aurora.
68
Amazon Glue
Manage extract, transform and load services (ETL). Useful to prepare and transform data for analytics. Fully serverless
69
Glue Data Catalog
Reference of everything in your databases | Can be used by Athena, redshift, or EMR
70
What is Docker?
Software development platform to deploy apps Package apps into containers that can be run on any OS easily No compatibility issues, any machine, less work, easier to maintain and deploy, works with any language, OS, any technology.
71
Docker Repositories
Where all docker images are stored. | Amazon has one - Amazon ECR - Elastic container registry.
72
Amazon ECS
Elastic Container Service Launch docker containers on AWS You have to provision infrastructure (EC2 instances) AWS takes care of starting/stopping containers Has integration with the application load balancer.
73
Amazon Fargate
Launch docker containers on AWS You don’t have to provision instances Fully Serverless AWS just runs the containers for you based on CPU/RAM you need.
74
Example of Serverless Services on AWS
S3 DynamoDB Fargate Lambda
75
Amazon Lambda
Virtual functions - no servers to manage - functions as a service Limited by time - short executions Run on demand Scaling is automated Pay per request and compute time. Integrated with the whole AWS suite of services
76
AWS batch
Fully managed processing at any scale Efficiently run 100,000s of computing batch jobs on AWS Has a start and end (not continuous) AWS batch provisions the right amount of compute/memory You submit or schedule the batch job and AWS does the rest. batch jobs are defined as docker images and run on ECS.
77
Amazon Lightsail
Virtual servers, storage, database and networking Low and predictable pricing Great for people with little or no cloud experience Use Cases: Simple web apps, websites (DB driven), Dev/test environment Has HA but NO AUTO SCALING - Limited AWS integration
78
Amazon ECR
Elastic Container Registry Private docker image repository on AWS. AWS proprietary.
79
Amazon CloudFormation
Declarative away of outlining your AWS infrastructure through Code.
80
Benefits of Amazon CloudFormation
Infrastructure as code - changes to infrastructure are reviewed through code review. Cost - Auto tagged when created to track cost Productivity - Declarative programming, there is no need to figure out order or orchestration. Don’t reinvent the wheel Supports almost all AWS resources
81
AWS Elastic Beanstalk
Developer centric view of deploying an application on AWS This is a Platform as a Service - just worry about the code Beanstalk is free but you pay for the resources you provision. It’s a managed service
82
AWS CodeDeploy
Fully managed deployment service that automates software deployments to a variety of compute services. Deploy application automatically and be able to upgrade our app to the second version.
83
AWS SSM
Systems manager -Helps you manage your fleet of EC2 and on prem systems at scale Hybrid service Operational insights about the state of your infrastructure Features: Patching automation, run commands, store parameter config with SSM parameter store.
84
AWS OpsWorks
It’s a managed Chef and puppet service | Alternative to AWS SSM
85
Amazon Route 53
Managed DNS (domain name system) Route 53 Routing Policies -simple routing policy - no health checks just IP to a name -Weighted Routing policy - Distributed based on percentage of traffic (has health checks) -Latency routing policy (has health checks)Redirects to the shorted latency per request. Minimize latency for the user. -Failover Routing policy - (has health checks) routes based on if the first place fails. Helps with DR.
86
AWS CloudFront
Content Delivery Network Content is cached at edge locations around the world. 216 Edge locations Helps with DDoS protection (worldwide), integrates with Shield and AWS WAF.
87
S3 Transfer Acceleration
Increase transfer speed by transferring file to an AWS edge location which will forward the date to the S3 bucket in the target region. use private high speed network - AWS backbone to move data much faster. Only used when you want to upload or download a file that is far away from you.
88
AWS global accelerator
No caching, proxying packets at the edge applications running in one or more AWS regions.
89
Amazon SQS
Amazon Simple Queue Service Something sends messages to the SQS service and it sits in a Queue. Something else comes and takes the message and acts on it. Oldest offering on AWS Fully managed, serverless No limit to how many messages can sit in the Queue
90
Amazon SNS
Simple Notification Service You want to send one message to many receivers. they are called SNS topics - Subscribers receive messages.
91
Amazon CloudWatch
CloudWatch provides metrics for every service in AWS You can create CloudWatch Dashboard of metrics. Ex: EC2 Utilization, status check, network, ect.
92
Amazon CloudWatch Alarms
``` Alarms are used to trigger notifications for any metric. Alarm actions include: Auto scaling - increase or decrease EC2 actions - stop/reboot/terminate ect. SNS notifications ```
93
Amazon CloudWatch Logs
Can collect from: Elastic Beanstalk ECS collection EC2 - you need a CloudWatch agent on EC2 to push those logs files you want.
94
Amazon CloudWatch events/Events Bridge
Schedule cron jobs every hour. Event pattern: rules to react to a service doing something. IAM root user sign in will trigger a message being sent to SNS. Trigger a lambda function. Eventbridge is new and will replace events.
95
Amazon CloudTrail
Provides governance compliance and audit your AWS account Enabled by default Get history of events/API calls within your AWS account. Ex: If a resource was deleted, check cloudtrail because it will tell you who deleted it.
96
Amazon X-Ray
Debugging in production Understanding dependencies in a micro service architecture Pinpoint service issues.
97
Amazon Services health dashboard
This shows status of ALL AWS services across all the regions
98
AWS Personal Health Dashboard
AWS events that impact just your infrastructure.
99
VPC
Virtual Private Cloud - | Private network to deploy your resources (regional resources)
100
Subsets
Allow you to deploy your resources inside your VPC - Private subnet is one that is not accessible from the internet - Public subnet is one that is accessible from the internet
101
Internet Gateways
These help our VPC instances connect with the internet. | Ex: public subnet have a route to the internet gateway
102
Network Access Control List (NACL)
Firewall which controls traffic to and from a subnet. Can have allow and deny rules At the subnet level Rules only include IP addresses This is STATELESS —> Return traffic must be explicitly allowed by rules
103
Security Groups
This is at the instance level Firewall that controls traffic to and from and ENI or Instance Can only have ALLOW rules This is STATEFUL —>Return traffic is automatically allowed regardless of rule
104
VPC Flow logs
Capture information about IP traffic | Helps monitor and troubleshoot connectivity issues
105
VPC Peering
Connect two VPC privately using AWS network Make them behave as they were in the same network VPC peering request setup on both instances that need to communicate to each other.
106
VPC Endpoints
Endpoints allow you to connect to AWS services using a private network instead of public. Enhanced security
107
Site to site VPN
Connects your on prem network to AWS via VPN Connection is automatically encrypted Public Can be set up quickly
108
Direct Connection
Established a physical connection between on prem and AWS. Takes a month and it’s a private connection. Expensive
109
Transit Gateway
Connect thousands of VPC and on premise networks together in a hub and spoke connection.
110
AWS Shield
Protects against DDoS attacks for your website and application at no cost. Free and automatically activated for all customers.
111
AWS Shield Advanced
Protects against DDoS and more complicated attacks on Ec2, Elastic load balancing. Access to the DDoS response team 24/7 Protect against higher fees during usage spike due to DDoS.
112
AWS WAF
Web Application Firewall - Protects your web app from common web exploits (layer 7 - app layer)
113
Define Web ACL
Web Access control list - protect from common attack - SQL injection and cross site scripting.
114
AWS KMS
Key Management service - AWS manages encryption keys.
115
CloudHSM
Dedicated hardware (Hardware Security Model). Device is tamper resistant and FIPS secure.
116
AWS Secrets Manager
Newer service, meant for storing secrets. Capability to force rotation of secrets every X days. Integrates with Lambda for automation. Encrypted using KMS
117
AWS artifact
Portal that provides customers with on demand access to AWS compliance documentation.
118
Amazon Guard Duty
Intelligent threat discover to protect AWS account. Uses ML. No need to install SW. Input data includes, CloudTrail logs, VPC flow logs, DNS logs.
119
Amazon inspector
Automated security assessments for EC2 Instances. Analyze the running OS against known vulnerabilities and network accessibility. Must be installed on OS in EC2 instance.
120
AWS Config
Helps with Auditing and recording compliance of your AWS resource. Helps record changes in your configuration over time. View compliance of a resource over time. View configuration of a resource over time.
121
Amazon Macie
Fully managed data security and data privacy service that uses machine learning and pattern matching to discover and protect sensitive data in AWS.
122
Amazon Transcribe
Automatically converts speech to text | Use Cases: Transcribe customer service calls, automate closed captioning, and generate metadata for media assets.
123
Amazon Polly
Opposite of Transcribe. Turns text into lifelike speech using deep learning. Allows you to create apps that talk.
124
Amazon Lex
Automatic speech recognition (ASR) to convert speech to text. Helps build chat bots and call center bots.
125
Amazon Connect
Virtual cloud contact center. Receive calls, create contact flows, cloud based virtual contact center.
126
Amazon Comprehend
For natural language processing - serverless. Uses ML to find insights and relationships in text. Use Case: Analyze customer interactions (via email) to find out if it leads to positive of negative experiences.
127
Amazon Sagemaker
Fully managed services for devs to build ML models.
128
AWS Organizations
Global service, allows you to manage multiple AWS accounts. The main account is master account. Cost benefit: Consolidated billing, single payment method, Aggregated usage and volume discounts. Pooling reserved instances API is available to automate account creation.
129
TCO Calculator
Estimate the savings between on Prem and cloud services. Spits out a 25 page report and tells you cost savings for the major services.
130
Simple monthly calculator/pricing
Estimate the cost for your architecture solutions.
131
AWS Billing Dashboard
High level tool and it shows you free tier Dashboard.
132
Cost allocation tags
Tag resources to create details on billing reports. You give descriptive tags to explain what you are spending money on.
133
Cost and Usage reports
Most comprehensive billing dataset. Dive deep into cost and usage. Lists AWS usage for each service category used by and account and it’s IAM users in hourly or daily line items. Can be integrated with Athena, redshift, quick sight.
134
Cost Explorer
Visual, understand, and manage AWS costs and usage over time. Forecast usage up to 3 months based on previous usage. Can get recommendations on cost savings in the tool.
135
Billing Alarms in CloudWatch
Billing data metric is stored in CloudWatch US-EAST-1. It’s for actual costs and not projected costs. Intended as a simple alarm and not as powerful as AWS Budgets.
136
AWS Budgets
Create budgets and send alarms when costs exceed the budget. | 3 types of budgets: Usage, Cost, Reservations. You can have up to 5 SNS notifications per budget.
137
AWS Trusted Advisor
High level AWS account Assessment. Analyze your accounts and it provides recommendations in these 5 areas: Cost optimization, Performance, security, Fault Tolerance, Service limits.
138
AWS Support Plans
Basic, Developer, Business, and Enterprise.
139
AWS Basic Support Plan
AWS trusted Adivsor -access to the 7 code trusted advisor checks and AWS Personal Health Dashboard - a personalized view of the health of AWS services you are using.
140
AWS Developer support plan
+ Basic plan Business hour email access to cloud support associate Unlimited cases/1 primary contact Case severity and response times: general guidance < 24 hours. Impaired system < 12 business hours.
141
AWS Business Support Plan
Everything from Basic and Developer This is intended to be when you have production worlkloads. 24/7 phone, email, chat access to cloud engineers Unlimited cases/unlimited contacts Access to infrastructure event management. SLA: guidance <24 business hours, system impaired < 12 business hours, production system impaired < 4 hours. Production system down < 1 hour.
142
AWS Enterprise support plan
Mission critical workloads All of the business support plan Access to a TAM Concierge support team (billing and best practices) Case severity/response time: All the ones in business. Business critical system down < 15 min.