Podcast
Questions and Answers
What is the primary purpose of Amazon EC2?
What is the primary purpose of Amazon EC2?
- To provide a database management system in the cloud
- To provide a virtual storage service in the cloud
- To provide resizable compute capacity in the cloud (correct)
- To provide a content delivery network in the cloud
What is an Amazon Machine Image (AMI)?
What is an Amazon Machine Image (AMI)?
- A virtual server instance in the AWS cloud
- A preconfigured template for launching EC2 instances (correct)
- A security group for EC2 instances
- A type of EC2 instance with high processing power
What is the purpose of EC2 compute units (ECUs)?
What is the purpose of EC2 compute units (ECUs)?
- To measure the networking capacity of an EC2 instance
- To measure the storage capacity of an EC2 instance
- To measure the memory capacity of an EC2 instance
- To provide a relative measure of the integer processing power of an EC2 instance (correct)
What is the default setting for public IP assignment when launching an EC2 instance?
What is the default setting for public IP assignment when launching an EC2 instance?
What is the purpose of instance types in Amazon EC2?
What is the purpose of instance types in Amazon EC2?
What is termination protection in Amazon EC2?
What is termination protection in Amazon EC2?
What is the purpose of key pairs in Amazon EC2?
What is the purpose of key pairs in Amazon EC2?
What is the default monitoring period for EC2 instances?
What is the default monitoring period for EC2 instances?
What is the primary purpose of the Elastic Fabric Adapter (EFA)?
What is the primary purpose of the Elastic Fabric Adapter (EFA)?
Under what circumstance can you modify an EC2 instance's attributes?
Under what circumstance can you modify an EC2 instance's attributes?
Which of the following is NOT a feature of Enhanced Networking using Elastic Network Adapter (ENA)?
Which of the following is NOT a feature of Enhanced Networking using Elastic Network Adapter (ENA)?
What is the default network interface created when launching an EC2 instance?
What is the default network interface created when launching an EC2 instance?
What is the benefit of using BYOIP (Bring Your Own IP)?
What is the benefit of using BYOIP (Bring Your Own IP)?
When can you attach a network interface to an EC2 instance in a different subnet?
When can you attach a network interface to an EC2 instance in a different subnet?
What happens to manually added network interfaces when an EC2 instance is terminated?
What happens to manually added network interfaces when an EC2 instance is terminated?
What is the main difference between an Elastic Network Adapter (ENA) and an Elastic Fabric Adapter (EFA)?
What is the main difference between an Elastic Network Adapter (ENA) and an Elastic Fabric Adapter (EFA)?
What is the primary purpose of using a placement group in AWS EC2?
What is the primary purpose of using a placement group in AWS EC2?
Which of the following is NOT a valid placement group configuration in AWS EC2?
Which of the following is NOT a valid placement group configuration in AWS EC2?
What is the recommended way to achieve the best performance when communicating between instances within a placement group?
What is the recommended way to achieve the best performance when communicating between instances within a placement group?
Which of the following is a benefit of using IAM roles for EC2 instances instead of access keys?
Which of the following is a benefit of using IAM roles for EC2 instances instead of access keys?
What is the purpose of a bastion host in AWS EC2?
What is the purpose of a bastion host in AWS EC2?
Which of the following statements about EC2 status checks is TRUE?
Which of the following statements about EC2 status checks is TRUE?
What is the maximum number of IAM roles that can be attached to an EC2 instance at any given time?
What is the maximum number of IAM roles that can be attached to an EC2 instance at any given time?
Which of the following AWS services can be used as an alternative to bastion hosts for managing EC2 instances?
Which of the following AWS services can be used as an alternative to bastion hosts for managing EC2 instances?
What is a recommended approach for rebooting an EC2 instance?
What is a recommended approach for rebooting an EC2 instance?
What is the purpose of AWS CloudTrail?
What is the purpose of AWS CloudTrail?
What is the maximum number of tags that can be assigned to an AWS resource?
What is the maximum number of tags that can be assigned to an AWS resource?
What is the purpose of Amazon Route 53 health checks?
What is the purpose of Amazon Route 53 health checks?
What is the purpose of VM Import/Export?
What is the purpose of VM Import/Export?
What is AWS Server Migration Service (SMS) used for?
What is AWS Server Migration Service (SMS) used for?
What is a benefit of using Reserved Instances?
What is a benefit of using Reserved Instances?
What is the purpose of the unified CloudWatch agent?
What is the purpose of the unified CloudWatch agent?
When an EC2 instance is stopped, what happens to its public IPv4 address?
When an EC2 instance is stopped, what happens to its public IPv4 address?
Which pricing model allows users to pay a discounted rate for instances in exchange for committing to a certain usage period?
Which pricing model allows users to pay a discounted rate for instances in exchange for committing to a certain usage period?
What is the maximum number of On-Demand instances that can be run across an instance family in a single region?
What is the maximum number of On-Demand instances that can be run across an instance family in a single region?
What is the purpose of an Elastic IP address?
What is the purpose of an Elastic IP address?
What is the difference between dedicated instances and dedicated hosts?
What is the difference between dedicated instances and dedicated hosts?
What is the primary difference between EBS volumes and Instance Store volumes?
What is the primary difference between EBS volumes and Instance Store volumes?
When are EC2 instances billed?
When are EC2 instances billed?
Which type of IP address is assigned to EC2 instances by default?
Which type of IP address is assigned to EC2 instances by default?
Flashcards
EC2 Instance
EC2 Instance
A virtual server instance running on the AWS cloud. It's created using pre-configured templates called Amazon Machine Images (AMIs).
Amazon Machine Image (AMI)
Amazon Machine Image (AMI)
A pre-configured template used to launch an EC2 instance. It contains the operating system, software packages, and other configurations needed for the instance.
Instance Type and Size
Instance Type and Size
Each instance type offers one or more sizes, allowing you to scale your resources. This helps you select the right amount of CPU, memory, and storage based on your application's needs.
IAM Role
IAM Role
Signup and view all the flashcards
Termination Protection
Termination Protection
Signup and view all the flashcards
EBS Volumes
EBS Volumes
Signup and view all the flashcards
Instance Store Volumes
Instance Store Volumes
Signup and view all the flashcards
Amazon Elastic File System (EFS)
Amazon Elastic File System (EFS)
Signup and view all the flashcards
On-demand Instance Pricing
On-demand Instance Pricing
Signup and view all the flashcards
Reserved Instance Pricing
Reserved Instance Pricing
Signup and view all the flashcards
Spot Instance Pricing
Spot Instance Pricing
Signup and view all the flashcards
Public IPv4 Address
Public IPv4 Address
Signup and view all the flashcards
Private IPv4 Address
Private IPv4 Address
Signup and view all the flashcards
Elastic IP Address
Elastic IP Address
Signup and view all the flashcards
Elastic Network Interface (ENI)
Elastic Network Interface (ENI)
Signup and view all the flashcards
Enhanced Networking (ENA)
Enhanced Networking (ENA)
Signup and view all the flashcards
Elastic Fabric Adapter (EFA)
Elastic Fabric Adapter (EFA)
Signup and view all the flashcards
Placement Groups
Placement Groups
Signup and view all the flashcards
Cluster Placement Group
Cluster Placement Group
Signup and view all the flashcards
Spread Placement Group
Spread Placement Group
Signup and view all the flashcards
Partition Placement Group
Partition Placement Group
Signup and view all the flashcards
CloudWatch
CloudWatch
Signup and view all the flashcards
CloudWatch Alarms
CloudWatch Alarms
Signup and view all the flashcards
Unified CloudWatch Agent
Unified CloudWatch Agent
Signup and view all the flashcards
AWS CloudTrail
AWS CloudTrail
Signup and view all the flashcards
Tags
Tags
Signup and view all the flashcards
Resource Groups
Resource Groups
Signup and view all the flashcards
Up-to-date AMIs
Up-to-date AMIs
Signup and view all the flashcards
Horizontally Scalable Architectures
Horizontally Scalable Architectures
Signup and view all the flashcards
Auto Scaling
Auto Scaling
Signup and view all the flashcards
Elastic Load Balancing
Elastic Load Balancing
Signup and view all the flashcards
Study Notes
Amazon EC2 Overview
- Amazon EC2 provides resizable compute capacity in the cloud
- Launch virtual server instances (instances) on the AWS cloud using preconfigured templates (Amazon Machine Images, AMIs)
- Each AMI includes information needed to launch an EC2 instance (operating system, software packages, etc.)
EC2 Instances
- Each instance type includes one or more instance sizes, allowing for scalability
- Choose an AMI, instance type, and configure settings (e.g., public IP, IAM role, monitoring)
- Instances can be assigned to IAM roles for access to AWS resources
- Termination protection can be enabled to prevent accidental termination
Storage Options
- Additional volumes can be added to instances
- Choose volume type (e.g., EBS, instance store)
- Use Amazon Elastic File System (EFS) for mounting a shared filesystem to multiple EC2 instances
- Root and non-root volumes can be encrypted
Billing and Provisioning
- On-demand, Reserved, and Spot pricing models available
- On-demand instances are charged by the hour or second
- Reserved instances provide a discount for committed usage
- Spot instances are discounted, but can be interrupted by AWS
Networking
- Three types of IP addresses: public IPv4, private IPv4, and IPv6
- Elastic IP addresses are static public IP addresses that can be remapped between instances
- IP addresses can be assigned, reassigned, or detached from instances
- Elastic Network Interfaces (ENIs) represent virtual network cards
- Enhanced Networking (ENA) provides higher bandwidth and lower latency
- Elastic Fabric Adapter (EFA) enables high-performance inter-node communications
Placement Groups
- Placement groups are logical groupings of instances for low-latency communication
- Three types: Cluster, Spread, and Partition
- Recommended for applications that benefit from low latency and high bandwidth
IAM Roles
- IAM roles provide secure access to AWS services
- Roles can be attached to instances at launch or later
- Only one IAM role can be attached to an instance at a time
Monitoring and Logging
- EC2 status checks detect problems with instances
- System status checks detect problems requiring AWS involvement
- Instance status checks detect problems requiring user involvement
- CloudWatch alarms can be triggered by status checks
- Unified CloudWatch Agent enables logging and monitoring
Security and Auditing
- AWS CloudTrail provides a record of actions taken in AWS
- CloudTrail captures API calls for EC2 and EBS as events
- Trails enable continuous delivery of events to an S3 bucket
Tagging and Resource Management
- Tags are labels assigned to AWS resources for metadata
- Tags can be used for cost allocation, security, automation, and more
- Resource groups are mappings of AWS assets defined by tags
High Availability Approaches
- Up-to-date AMIs are critical for rapid fail-over
- Horizontally scalable architectures are preferred for spreading risk
- Reserved instances guarantee resource availability when needed
- Auto Scaling and Elastic Load Balancing work together for automated recovery
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Description
Test your knowledge of Amazon EC2, including its features, instance types, and configuration settings.