Introduction to Compute & Networking Flashcards
(17 cards)
EBS volumes exist outside of _ and replicated within _ for high durability.
- EC2
- Availability Zone
You can attach EBS volume to a single instance at a time within same AZ.
When you launch an EC2 instance, a root _ volume is typically created by default. This volume contains the operating system.
Root EBS Volume
By default, the root volume is deleted when the instance is terminated, but you can change this behavior. Additional data volumes attached to an instance are not deleted by default upon instance termination.
RV is deleted when instance is terminated but u can change this behavior
Cross-AZ or cross-Region durability of an EBS volume is possible through _
snapshots
You can create new EBS volumes from snapshots.
AWS service for automating the creation, retention, and deletion of EBS snapshots
Amazon Data Lifecycle Manager (DLM)
Incremental EBS snapshots are stored in _.
Amazon Simple Storage Service (Amazon S3)
they are stored in AWS’s internal S3 infrastructure, managed by the EBS service, and not in an S3 bucket.
When you restore a volume from a snapshot, AWS reconstructs the full volume based on all the necessary incremental snapshots.
The simplest way to reduce boot/launch time of new instances in an Auto Scaling Group is through
Amazon Machine Image (AMI)
_ provides the template for the OS and applications on the root volume of EC2 instance.
AMI
AMIs also provide configuration of additional volumes to mount when an instance launches.
if you want your EC2 instance to be reachable from the public internet without having its own public IP, the most common and robust approach is to place it behind a Public _. If you primarily need your instance to initiate connections to the public internet (and not receive unsolicited inbound connections), then a _ is the way to go.
- Load Balancer (ALB or NLB)
- NAT Gateway
https://g.co/gemini/share/77e74c4e264f
Unlike public dynamic IP, _ is tied to the AWS account and not to the EC2 instance.
Elastic IP
Unlike the primary _, you can detach a secondary _ from one EC2 instance and later attach it to another.
Elastic Network Interface (ENI)
You can attach multiple network interfaces (ENIs) to an EC2 instance
_ protect traffic entering and exiting an instance’s network interface. They act as a stateful firewall.
Security groups
To make network connections to your instance, you must set security group rules to allow the connection.
_ EC2 instances provide remote access through Secure Shell (SSH), and _ EC2 instances provide remote access through the Remote Desktop Protocol (RDP)
- Amazon Linux
- Amazon Windows
Default user for Amazon Linux instances is _.
Default user for Amazon Ubuntu instances is _.
Default user for Amazon CentOS instances is _.
Default user for Amazon Windows instances is _.
- ec2-user
- ubuntu
- centos
- Administrator
You’ll use it while connecting (e.g., ec2-user@instance-public-ip)
AWS allows you to configure SSH key access at instance creation time by associating an _ with the default login user.
EC2 key pair
When you try to connect via SSH, your local SSH client uses your private key to prove your identity to the EC2 instance, which has the corresponding public key. It’s like a highly secure digital handshake.
AWS doesn’t create a new key pair for each instance launched by an ASG in the traditional sense (where you download a new .pem file). Instead, you “pre-configure” the key pair that new instances should use as part of the ASG’s setup through _.
Launch Template (previously Launch Configuration)
When you create a Launch Template, you specify the name of an existing key pair that you have already created and uploaded to AWS.
For any instance launched using this template, place the public key associated with this name on the instance.” The private key, which you hold, is then used by you to connect to those instances. The best practice is to keep that private key file (.pem) on your local machine, protected by a strong passphrase, and with strict file permissions.
_ is a feature of AWS Systems Manager Service that provides a browser-based interface to your EC2 instance, allowing you to log in without requiring to maintain SSH key-pairs or requiring to open inbound port 22 by modifying inbound rules of Security Group.
Sessions Manager
_ provides a secure, temporary (time-bound) access to your EC2 instance using SSH, without permanent keys.
EC2 Instance Connect
It simplifies key management by allowing you to push a temporary SSH public key to the instance’s metadata. So, no need to manage permanent keys.