1. Network Load Balancer (v2)Network load balancers (Layer 4) allow to:- Forward TCP & UDP traffic to your instances - Handle millions of request per seconds- Less latency ~100 ms (vs 400 ms for ALB)NLB has one static IP per AZ, and supports assigning Elastic IP(helpful for whitelisting specific IP)NLB are used for extreme performance, TCP or UDP trafficNot included in the AWS free tier시험문제에 고성..
My Tech Blog (instance)
1. The most likely reason your team member is unable to attach the EBS volume to an EC2 instance `in us-east-1b` is that EBS volumes are tied to a specific Availability Zone (AZ) upon creation. Since the volume was originally attached to an EC2 instance in us-east-1a, it is restricted to that AZ and cannot be directly attached to an instance `in us-east-1b`. us-east-1a에서의 EC2 인스턴스를 종료하여, 이 인스턴스에..
EBS vs EFS1. EBS(Elastic Block Storage)▶EBS volumesOne instance (except multi-attach io1 / io2) - 한 번에 하나의 인스턴스만 연결are locked at the Availability Zone (AZ) levelgp2: IO increases if the disk size increasesgp3 & io 1: can increase IO independently▶To migrate an EBS volume across AZTake a snapshotRestore the snapshot to another AZEBS backups use IO and you shouldn't run them while your application..
1. EBS Volume Types1-1. What is EBS Volume Types▶ EBS Volumes come in 6 typesgp2 / gp3 (SSD): General purpose SSD volume that balances price and performance for a wide variety of workloads.io 1 / io 2 Block Express (SSD): Highest-performance SSD volume for mission-critical low-latency or high-throughput workloadsst 1 (HDD): Low cost HDD volume designed for frequently accessed, throughput-intens..
1. What's AMI ?AMI = Amazon Machine Image▶ AMI are a customization of an EC2 instance▶ AMI(Amazon Machine Image)는 AWS에서 EC2 인스턴스를 생성할 때 사용하는 템플릿이다.▶ AMI는 EC2 인스턴스를 쉽게 생성하고 관리할 수 있도록 도와주는 OS + 설정 패키지로 운영 체제(OS), 애플리케이션, 실행 환경 설정 등을 포함한 EC2 인스턴스의 사본(이미지)이다.You have your own software, configuration, operating system, monitoring...Faster boot / configuration time because all your software is pre-p..
1. EC2 Instasnce Storage Section1-1 .What's an EBS Volume?An EBS (Elastic Block Store) Volume is a network drive you can attach to your instances while they runIt allows your instances to persist data, even after their termination- EBS 볼륨을 사용하면 인스턴스가 종료된 후에도 데이터를 지속할 수 있다. 인스턴스를 재생성하고 이전 EBS볼륨을 마운트하면 데이터를 다시 받을 수 있다. They can only be mounted to one instance at a time (at the CCP level)- But some..
1. You launched an EC2 instance to host a NodeJS application. After installing all the necessary software and configuring the application, you recorded the public IPv4 address of the EC2 instance for access. Then, you stopped the instance and restarted it to complete the application setup. However, after restarting, you were unable to access the EC2 instance and noticed that its public IPv4 addr..
Stop Instance vs Reboot Instance? 1️⃣ Stop Instance (정지)▶ 인스턴스를 완전히 종료(Shut down)했다가 다시 시작하게 됨▶ CPU, RAM 등의 리소스가 해제됨(할당 해제) → 과금이 중단되거나 줄어들 수 있음▶ 다시 시작하면 새로운 호스트에서 부팅될 수도 있음▶ EBS(Elastic Block Store) 볼륨에 저장된 데이터는 유지됨▶ 퍼블릭 IP는 변경될 수 있음 (탄력적 IP 할당 시 유지 가능)▶ 예) "AWS EC2 인스턴스를 밤에는 끄고, 낮에 다시 켜서 비용 절감하기" 2️⃣ Reboot Instance (재부팅)▶ 인스턴스를 다시 시작하는 것(Windows에서 ‘재부팅’과 유사)▶ CPU, RAM 등 리소스는 유지됨 → 과금 지속됨▶ 인스턴..