1/30
Flashcards covering AWS compute services (EC2, ECS, EKS, Fargate, Lambda, Elastic Beanstalk) and storage services (EBS, S3, EFS, S3 Glacier) based on IT2607 Handouts 06 and 07.
What cloud computing model does Amazon Elastic Compute Cloud (Amazon EC2) follow, and what are its virtual machines called?
Amazon EC2 follows an Infrastructure as a Service (IaaS) approach, and its resizable virtual machines are called instances.
What is serverless computing, and what AWS service is an example of it?
Serverless computing enables applications or functions to run without requiring customers to provision and manage servers, with AWS managing the underlying infrastructure; AWS Lambda is an example.
What are the roles of Amazon ECS, Amazon EKS, AWS Fargate, and Amazon ECR in container-based computing?
Amazon ECS provides container orchestration; Amazon EKS provides a managed Kubernetes environment; AWS Fargate provides serverless compute capacity for containers; and Amazon ECR provides a managed registry for storing and retrieving container images.
What is an Amazon Machine Image (AMI)?
An AMI is a template used to launch an EC2 instance that contains the initial software configuration and operating system required to create the instance.
What are the four EC2 instance type families identified in the notes?
General purpose, Compute optimized, Memory optimized, and Storage optimized.
What is the purpose of user data when launching an Amazon EC2 instance?
It supplies commands or scripts that can run automatically when the instance is launched.
What are the lifecycle states an Amazon EC2 instance can move through?
When launched, an instance enters the pending state and transitions to the running state. A running instance can be stopped, started again, or terminated (permanently deleted).
What is an Elastic IP address?
An Elastic IP address is a static public IPv4 address allocated to an AWS account until released, which can be reassociated with another supported resource to maintain a consistent public address.
What is EC2 instance metadata?
Instance metadata is information about a running instance (such as instance and network interface attributes) that applications or scripts on the instance can access without manually storing it on the instance.
What service integrates with Amazon EC2 to monitor instances and collect performance metrics?
Amazon CloudWatch.
What are the four focus areas of Amazon EC2 cost optimization?
Right-sizing resources, increasing elasticity, selecting appropriate pricing options, and optimizing storage choices.
What commitment is required for AWS Savings Plans and EC2 Reserved Instances?
A commitment to a consistent amount of compute usage or eligible instance usage for a 1- or 3-year term.
How do On-Demand Instances differ from Spot Instances?
On-Demand Instances provide capacity without long-term commitment for unpredictable requirements, while Spot Instances use spare EC2 capacity at steep discounts but can be interrupted by AWS when capacity is needed.
What is an Amazon EC2 Dedicated Host?
A physical server dedicated to a single customer that supports workloads with specific compliance or software licensing requirements.
What are the two primary compute options for running containers with Amazon ECS?
Amazon EC2 (provides greater control over underlying compute resources) and AWS Fargate (serverless compute where AWS manages the underlying infrastructure).
What are common examples of events that can invoke an AWS Lambda function?
Uploading an object to an Amazon S3 bucket, adding or changing data in an Amazon DynamoDB table, receiving a request through an application, or reaching a scheduled event.
Which platforms are supported by AWS Elastic Beanstalk?
Docker, Go, Java, .NET, Node.js, PHP, Python, and Ruby.
What type of storage does Amazon Elastic Block Store (Amazon EBS) provide?
Persistent block-level storage formatted with a file system that attaches to EC2 instances within the same Availability Zone.
What are the two main volume categories in Amazon EBS and their primary use cases?
Solid State Drive (SSD) volumes (designed for frequent read/write operations with low latency, such as boot volumes and transactional databases) and Hard Disk Drive (HDD) volumes (designed for throughput-intensive sequential workloads, such as log processing).
Where are Amazon EBS snapshots stored and how do subsequent snapshots handle data?
EBS snapshots are stored in Amazon S3 infrastructure and are incremental by default, storing only the blocks that have changed since the previous snapshot.
What are the four main components of Amazon S3 storage?
Buckets (globally unique containers in a specific Region), Objects (stored data), Object keys (unique identifiers within a bucket), and Metadata (properties like content type).
What level of durability is Amazon S3 designed to provide across its storage classes?
Designed for 99.999999999% (11 nines) durability of objects.
What is the function of Amazon S3 Intelligent-Tiering?
It automatically moves eligible objects between access tiers based on changing access patterns to optimize storage costs.
Can an Amazon S3 bucket return to an unversioned state after versioning is enabled?
No, once enabled at the bucket level, versioning can be suspended, but the bucket cannot return to an unversioned state.
What protocol and operating system workloads does Amazon Elastic File System (Amazon EFS) support?
It supports the Network File System (NFS) protocol and is designed for Linux-based workloads.
How does Amazon EFS differ from Amazon EBS regarding multi-instance access?
Amazon EFS provides a shared file system that can be mounted simultaneously by multiple EC2 instances, whereas an EBS volume is attached to an individual instance.
What are the three throughput options available for Amazon EFS?
Elastic Throughput, Provisioned Throughput, and Bursting Throughput.
What are the two primary file system types in Amazon EFS?
Regional file systems (store data redundantly across multiple Availability Zones) and One Zone file systems (store data within a single Availability Zone).
What are the three retrieval options and approximate completion times for Amazon S3 Glacier Flexible Retrieval?
Expedited retrieval takes approximately 1–5 minutes; Standard retrieval takes 3–5 hours; and Bulk retrieval takes 5–12 hours.
What are the retrieval options and completion times for Amazon S3 Glacier Deep Archive?
Standard retrieval typically completes within 12 hours, and Bulk retrieval typically completes within 48 hours.
How does object retrieval in S3 Glacier Instant Retrieval differ from Flexible Retrieval and Deep Archive?
Objects in S3 Glacier Instant Retrieval can be accessed directly in milliseconds without initiating a restore operation, whereas Flexible Retrieval and Deep Archive require a restore request before access.