Banner

My Tech Blog (AWS)

1. Scalability & High AvailabilityScalability(ํ™•์žฅ์„ฑ) means that an application / system can handle greater loads by adapting.There are two kinds of scalability  - Vertical Scalability - Horizontal Scalability (=elasticity) ํƒ„๋ ฅ์„ฑ, ์ˆ˜ํ‰ ํ™•์žฅ์„ฑScalability is linked but different to High Availability ( ํ™•์žฅ์„ฑ != ๊ณ ๊ฐ€์šฉ์„ฑ)2. Vertical Scalability - ์ˆ˜์ง ํ™•์žฅ์„ฑVertically scalability means increasing the size of the instanc..
โš ๏ธ ๋ฌธ์ œdefault security groups ๋งŒ ๋‚จ๊ธฐ๊ณ  ๋ณด์•ˆ ๊ทธ๋ฃน์„ ์ œ๊ฑฐํ•˜๋ ค๊ณ  ํ•˜๋Š”๋ฐ, ์•„๋ž˜์™€ ๊ฐ™์€ ๋ฉ”์„ธ์ง€๊ฐ€ ๋œจ๋ฉฐ ์‚ญ์ œ๊ฐ€ ์•ˆ ๋˜๋Š” ํ˜„์ƒ Some security groups can't be deleted.The following security groups can't be deleted. They are either default security groups, referenced by other security groups, or they are associated with instances or network interfaces. ์—ฌ๊ธฐ์„œ ์ข‹์€ ์ ์€ ๊ฐ ๋ณด์•ˆ๊ทธ๋ฃน ์•„์ด๋””๋ณ„๋กœ Reason ๋ž€์— ์‚ญ์ œ๋˜์ง€ ์•Š๋Š” ๊ตฌ์ฒด์ ์ธ ์ด์œ ๊ฐ€ ๋‚˜์˜จ๋‹ค๋Š” ๊ฒƒ์ด๋‹ค.์ธ์Šคํ„ด์Šค์™€ ์—ฐ๊ฒฐ๋œ ๊ฒฝ์šฐ, ๋„คํŠธ์›Œํฌ ์ธํ„ฐํŽ˜์ด์Šค๋ž‘ ์—ฐ๊ฒฐ๋œ ๊ฒฝ์šฐ..
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..
์•„๋งˆ์กด AWS์—์„œ EBS ๋ณผ๋ฅจ์— ๋Œ€ํ•ด์„œ ๊ณต๋ถ€ํ•˜๋‹ค๊ฐ€ ์šฐ๋ฆฌ๊ฐ€ ์•Œ๊ณ  ์žˆ๋Š” MB(๋ฉ”๊ฐ€ ๋ฐ”์ดํŠธ)์™€ MiB/s, MiB ๋“ฑ์˜ ์ฐจ์ด์— ๋Œ€ํ•ด ๊ถ๊ธˆํ•ด์ง€๊ฒŒ ๋˜์–ด์„œ ์ •๋ฆฌํ•˜๋Š” ๊ธ€์ž…๋‹ˆ๋‹ค.  ์šฐ๋ฆฌ๊ฐ€ ํ”ํžˆ ์•„๋Š” ๋ฐ์ดํ„ฐ ๋‹จ์œ„์—๋Š” ๋ฐ”์ดํŠธ(Byte), ํ‚ฌ๋กœ๋ฐ”์ดํŠธ(KB), ๋ฉ”๊ฐ€๋ฐ”์ดํŠธ(MB), ๊ธฐ๊ฐ€๋ฐ”์ดํŠธ(GB), ํ…Œ๋ผ๋ฐ”์ดํŠธ(TB), ํŽ˜ํƒ€๋ฐ”์ดํŠธ(PB) ๋“ฑ์ด ์žˆ์Šต๋‹ˆ๋‹ค. ์ €๋Š” ์–ด๋ ธ์„ ๋•Œ ์ปดํ“จํ„ฐ ์‹œ๊ฐ„์— ์„ ์ƒ๋‹˜๊ป˜์„œ ์•ž๊ธ€์ž๋งŒ ๋”ฐ์„œ '๊ฐˆ๋งค๊ธฐํ„ธ๋นผ(KMGTP)' ๋ผ๊ณ  ์™ธ์šด ๊ธฐ์–ต์ด ๋‚ฉ๋‹ˆ๋‹ค.  ๋ฐ”์ดํŠธ์˜ ๋‹จ์œ„๋Š” 1,024๋ฐฐ์”ฉ ์ปค์ ธ 1ํ‚ฌ๋กœ๋ฐ”์ดํŠธ(KB)๋Š” 1๋ฐ”์ดํŠธ์˜ 1,024๋ฐฐ, 1๋ฉ”๊ฐ€๋ฐ”์ดํŠธ(MB)๋Š” 1ํ‚ฌ๋กœ๋ฐ”์ดํŠธ์˜ 1,024๋ฐฐ, 1๊ธฐ๊ฐ€๋ฐ”์ดํŠธ(GB)๋Š” 1๋ฉ”๊ฐ€ ๋ฐ”์ดํŠธ์˜ 1,024๋ฐฐ, 1ํ…Œ๋ผ๋ฐ”์ดํŠธ๋Š” 1๊ธฐ๊ฐ€๋ฐ”์ดํŠธ์˜ 1,024๋ฐฐ์ž…๋‹ˆ๋‹ค.1. ๋ฐ”์ดํŠธ(Byte)= ๋ฐ์ดํ„ฐ ๋‹จ์œ„ ..
์š”์ฆ˜ ํด๋ผ์šฐ๋“œ ์ปดํ“จํŒ… ์‹œ์žฅ์ด ๋น ๋ฅด๊ฒŒ ์„ฑ์žฅํ•˜๋ฉด์„œ, ๋งŽ์€ ๊ธฐ์—…๋“ค์ด ๋ฐ์ดํ„ฐ๋ฅผ ์ €์žฅํ•˜๊ณ  ๊ด€๋ฆฌํ•  ๋ฐฉ๋ฒ•์œผ๋กœ ํด๋ผ์šฐ๋“œ ์Šคํ† ๋ฆฌ์ง€๋ฅผ ์„ ํƒํ•˜๊ณ  ์žˆ์–ด์š”. ์˜ˆ์ „์—๋Š” ์„œ๋ฒ„๋ฅผ ์ง์ ‘ ๊ตฌ์ถ•ํ•˜๊ณ  ์œ ์ง€๋ณด์ˆ˜ํ•ด์•ผ ํ–ˆ์ง€๋งŒ, ์ด์ œ๋Š” ํด๋ฆญ ๋ช‡ ๋ฒˆ์œผ๋กœ ์‰ฝ๊ฒŒ ๋ฐ์ดํ„ฐ๋ฅผ ์ €์žฅํ•˜๊ณ  ๊ณต์œ ํ•  ์ˆ˜ ์žˆ๋Š” ์‹œ๋Œ€๊ฐ€ ๋์ฃ ! ์˜ค๋Š˜์€ ํด๋ผ์šฐ๋“œ ์Šคํ† ๋ฆฌ์ง€์˜ ์ข…๋ฅ˜์™€ ํ•จ๊ป˜, AWS์—์„œ ์ œ๊ณตํ•˜๋Š” ๋Œ€ํ‘œ์ ์ธ ์Šคํ† ๋ฆฌ์ง€ ์„œ๋น„์Šค์ธ Amazon S3, Amazon EFS, ๊ทธ๋ฆฌ๊ณ  Amazon EBS์— ๋Œ€ํ•ด ์•Œ์•„๋ณด๋ ค๊ณ  ํ•ด์š”. ๊ฐ ์„œ๋น„์Šค์˜ ํŠน์ง•์„ ๋น„๊ตํ•ด ๋ณด๊ณ , ์–ด๋–ค ๊ฒฝ์šฐ์— ์–ด๋–ค ์Šคํ† ๋ฆฌ์ง€๋ฅผ ์‚ฌ์šฉํ•˜๋ฉด ์ข‹์€์ง€ ์ ์ ˆํ•œ ์‚ฌ์šฉ ์‚ฌ๋ก€๋„ ์‚ดํŽด๋ณผ๊ฒŒ์š”.1. ํด๋ผ์šฐ๋“œ ์Šคํ† ๋ฆฌ์ง€๋ž€1-1. ํด๋ผ์šฐ๋“œ ์Šคํ† ๋ฆฌ์ง€์˜ ํŠน์ง• ํด๋ผ์šฐ๋“œ ์Šคํ† ๋ฆฌ์ง€์—๋Š” ๋งŽ์€ ์ด์ ์ด ์žˆ์Šต๋‹ˆ๋‹ค. ํ™•์žฅ์„ฑ์„ ์ œ๊ณตํ•˜์—ฌ ํ•„์š”์— ๋”ฐ๋ผ ์Šคํ† ๋ฆฌ์ง€ ์šฉ๋Ÿ‰์„ ๋น ๋ฅด๊ฒŒ ๋Š˜๋ฆฌ..
1. Amazon EFS(Elastic File System) Managed NFS (network file system) that can be mounted on many EC2EFS works with EC2 instances in multi-AZHighly available, scalable, expensive (3x gp2), pay per use Use cases: content management, web serfing, data sharing, WordpressUses NFSv4.1 protocolUses security group to control access to EFSCompatible with Linux based AMI (not Windows)Encryption at rest us..
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..
์ธ์ ˆ๋ฏธ์˜€๋˜๊ฒƒ
'AWS' ํƒœ๊ทธ์˜ ๊ธ€ ๋ชฉ๋ก
์ƒ๋‹จ์œผ๋กœ