AWS - Technology Flashcards
four types of elastic load balancers
-classic load balancers
-application load balancers
-gateway load balancers
-network load balancers
What does auto scaling do?
adds or replaces EC2 instances automatically across AZs, based on need and changing demand
vertical scaling
scaling up
-upgrades an ec2 instance by adding more power (cpu, RAM) to an existing server
what are the ways to log into a EC2 instance?
-UI (console)
-SSH
-EC2 instance connect
-aws systems manager
Pricing options
on-demand
spot
reserved instances
dedicated hosts
savings plans
compute service features
elastic load balancing
auto scaling
benefit of auto scaling
improves the availability of your applications not to be confused with load balancing
real-world usage of EC2 instances
deploying data base or web application
what is Lambda
serverless compute service that lets you run code without managing servers
what is the application code in lambda called?
functions
does lamda scale automatically?
true
benefit of lambda
allows developers to focus on core business logic for the apps they are developing instead of worrying about servers
Three use cases for lambda
realtime file processing
sending emails
backend business logic
features of lamda
-supports popular programming languages
-author code using favorite development environment or via console
-can execute your code in response to an event
-they have 15-minute timeouts
lambda pricing model
charged based on duration and number of requests
fargate
serverless computer engine for containers
lightsail
quickly launches all resources needed for small projects
benefits of lightsail
-deploy preconfigured applications like wordpress
-simple screens for people with no cloud experience
-includes VM, ssd-based storage, data transfer, DNS -managements and static IP
-low monthly fees (3.50)
Outposts
allows you to run cloud services in your internal data center
Benefits of outposts
-supports workloads that need to remain on-premises due to latency or data sovereignty needs
-delivers and installs servers in internal data center
-used for hybrid experience
-have access to the cloud servers and APIs to develop apps on premises
Batch (aws)
allows you to process large workloads in smaller chunks (or batches)
benefits of batch
-runs hundreds and thousands of smaller batch processing jobs
-dynamically provisions instances based on volume
S3
storage service
what are files stored in?
buckets and objects
attributes of objects in S3
-can be public or private
-can be uploaded via the console, the CLI, or programmatically from within code using SDKs
options to grant individual objects in buckets
-access control lists
-bucket policies
-access point policies
what can help prevent accidental deletion of a file
enable versioning
what do s3 access logs do
track access to your buckets and objects
what does durability mean
you can expect your data to be there
availability
access to the data
S3 standards
-general purpose storage
-data stored across multiple availbility zones
-low latency and high throughput
s3 intelligent-tiering storage class
-automatically moves your data to the most cost-effective storage class
-automatic cost savings
-no retrieval fees
-data stored across multiple availability zones
3 things about s3 standard-infrequent access storage class to keep in mind?
-data accessed less frequently but requires rapid access
-data stored across multiple availability zones
-cheaper than S3 standard
S3 glacier storage class
-long-term data storage and archival for lower costs
-data retrieval takes longer
-3 retrieval options 1-5 min, 3-5 hours, or 5-12 hours
-data stored across multiple availability zones
S3 glacier deep archive storage class
like S3 glacier but longer access times
-2 retrieval options: 12 hours or 48 hours
-cheapest of all S3 options
-data stored across multiple AZs
S3 outposts
-provides object storage on-premises
-single storage class
-store data across multiple devices and servers
What are four use cases of S3 usage in the real world?
-static websites
-data archive
-analytics systems
-mobile applications
EC2 root drives
-elastic block store (EBS)
-elastic file system (EFS)
can you attach EBS volumes to a single EC2 instance?
True
Are EBS drives persistant?
True
What does it mean for it to be a persistent drive?
can stop or terminate the instance and or even deattach and reattach
Are Instant store drives persistent?
false, they are ephemeral
Benefits of ephemeral drive
lower latency, downside: data is lost if is stopped or terminated
EFS (elastic file system) can be thought of as what?
share drive
What is EBS in EBS volumes
ELASTIC BLOCK STORE
What is one drawback of an EBS volume
Can only be attached to one instance in the same AZ (only one AZ)
3 Benefits of EBS
-quickly accessible data
-running a db on an instance
-long-term data storage
What is an EC2 Instance Store
local storage that is phyically attached to the host computer and cannot be removed
Biggest EC2 Instance Store drawback
-storage is temporary
Biggest advantage of EC2 instance store
-faster with higher I/O speeds
EC2 instance store is recommended for:
-temporary storage needs
-data replicated across instances
Highlights of EFS
-Supports Linux file system only
-accessible across different AZs in the same region
-More expensive than EBS