AWS Part 1 (1-100) Flashcards
What is AWS?
Amazon Web Services
Platform providing on-demand resources for
Hosting web services
Storage
Networking
Databases
Other resources over the internet
Pay as you go pricing
What are the components of AWS?
Give me at least 6 of the components.
EC2 – Elastic Compute Cloud
S3 – Simple Storage Service
Route53 – DNS service
EBS – Elastic Block Store
CloudWatch
Key-Pairs
(Note: These are a few of the components of AWS)
What are Key-Pairs?
What are they, and what are they made of?
Secure login info for instances/virtual machines
To connect to instances we use Key-Pairs that have a public-key and private-key
What is S3?
What is it, and what is it about?
Simple Storage Service
Service that provides interface to store any amount of data, anytime, anywhere
Pay what you use
Pay as you go
What are the pricing models for EC2 instances?
5 main models O.R.S.S.D
On-Demand
Reserved
Spot
Scheduled
Dedicated
What are the types of volumes for EC2 instances?
2 types of volumes…
2 types of volumes:
EBS – Elastic Block Stores
Instance Store Volumes
What are EBS volumes?
What are they, and what are they about?
Elastic Block Stores
Persistent volumes that you can attach to instances
** Your data will be preserved when you stop your instance
** Unlike Instance Store Volumes, where data is deleted after stopping instance
What are the types of volumes in EBS?
5 main types of volumes, involving SSD & HDD.
G.P.M.C.T.
General Purpose
Provisioned IOPS
Magnetic
Cold HDD
Throughput optimized
What are the different types of instances?
5 main types of instances, and think hardware performance.
General purpose
Computer Optimized
Storage Optimized
Memory Optimized
Accelerated Computing
What is an auto-scaling and what are the components?
What is it, and what are the 2 main types of components?
Allows you to auto scale-up and scale-down number of instances
Depending on the CPU or Memory usage
2 types of components in Auto-scaling
- Auto-scaling groups
- Launch Configuration
What are reserved instances?
The instance that you can reserve a fixed capacity of EC2 instances
Note: In reserved instances you will have to get into a contract of 1 year or 3 years
What is an AMI?
What is it, and what is it about? Contains S. L. B.
Amazon Machine Image
Template that contains
- software configurations
- launch permission
- block device mapping
Specifies the volume to attach to the instance when launched
What is an EIP?
What is it, and what is it about?
Elastic IP Address
Designed for dynamic cloud computing
Keep same IP when stopping and starting instances
What is CloudWatch?
Monitoring tool used to monitor various AWS resources
Examples are health check, network, application, etc
What are the types of monitoring in CloudWatch
There are 2 types in CloudWatch:
- Basic Monitoring, that’s free
- Detailed monitoring, that’s chargeable
What are the cloudwatch metrics that are available for EC2 instances?
D.D.C.N.N.N.N.C.C.
- Diskreads
- Diskwrites
- CPU utilization
- NetworkPacketsIn
- NetworkPacketsOut
- NetworkIn
- NetworkOut
- CPUCreditUsage
- CPUCreditBalance
What is the minimum and maximum size of individual objects you can store in S3?
The minimum is 0 bytes
The maximum is 5TB
What are the different storage classes (levels) in S3?
- Standard (Frequently Accessed)
- Standard Infrequently Accessed
- One-Zone Infrequently Accessed
- Glacier
- RRS - Reduced Redundancy Storage
What is the default storage class in S3
That would be Standard (Frequently Accessed)
What is Glacier?
Back up or Archival tool used to back up data in S3
How can you secure the access to your S3 bucket?
2 ways available here…
2 ways available:
- ACL - Access Control Lists
- Bucket policies
How can you encrypt data in S3?
- Server Side Encryption - S3 (AES 256 encryption)
- Server Side Encryption - KMS (Key Management Service)
- Server Side Encryption - C (Client Side)
What are the parameters for S3 pricing?
5 things mentioned here
S.S.N.D.T
- Storage used
- Storage management
- Number of request you make
- Data transfer
- Transfer acceleration
What is the pre-requisite to work with Cross region replication in S3?
2 main things mentioned here
Enable versioning on both source bucket and destination
Source and Destination bucket should be in different region
What are Roles?
- Used to provide permissions to entities you trust within your AWS account
- Roles are users in another account
- Roles are similar to users but do not need to create any username and password to work with the resources
What are policies and what are the types of policies?
Policies are permissions you attach to users/groups that are created for specific access
2 types of policies:
- Managed policies (Standalone, created and administered by AWS)
- Inline policies (Embedded script by user into an IAM entity (User, Group, or Role)
What is Cloudfront?
AWS web service that provides businesses and app developers easy and efficient way to distribute content
- with low latency and high data transfer speeds
Cloudfront is content delivery network of AWS
What are edge locations?
Place where contents will be cached
User tries to access some content, the content will be searched in edge location
If it’s not available then content will be made available from original location
- Then copy will be stored in edge location
What is the max individual archive that you can store in Glacier?
Max individual archive is up to 40TB
What is VPC?
Config for I.S.I.N.S.
Virtual Private Cloud
Network logically isolated from other networks
Allows you to easily customize network configuration for:
- IP address range
- Subnets
- Internet gateways
- NAT gateways
- Security groups
What is VPC peering connection?
Allows you to connect 1 VPC with another VPC
Behave as if in same network this way
What are NAT gateways?
Network Address Translation
NAT gateways enable instances in a private subnet to connect to internet but prevent internet from initiating connection with those instances
How can you control the security to your VPC?
2 ways mentioned here…
Can use Security groups and NACL’s
NACL = Network Access Control List
What are the different types of storage gateway?
3 types F.V.T.
3 types:
- File gateway
- Volume gateway
- Tape gateway
What is a Snowball?
Data transport solution using source appliances to transfer large amounts of data into and out of AWS
- Reduces network costs, long transfer times
- Provides better security
What are the database types in RDS?
A.O.M.P.M.S.
- Aurora
- Oracle
- MYSQL server
- Postgresql
- MariaDB
- SQL server
What is Redshift?
Data warehouse product in the cloud
- Fast and powerful
- Fully managed
- Petabyte scale
What is SNS?
Simple Notification Service
Web service that makes it easy to get notification from the cloud
Can set up SNS to receive email notification or message notification
What are the types of routing policies in Route53?
S.L.F.G.W.MA
- Simple routing
- Latency routing
- Failover routing
- Geolocation routing
- Weighted routing
- Multivalue answer
What is the max size of messages in SQS?
Max size of messages in SQS is 256kb