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..
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์์ ์ ๊ณตํ๋ ๋ํ์ ์ธ ์คํ ๋ฆฌ์ง ์๋น์ค์ธ 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. 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. 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..
1. Private vs Public IP (IPv4)โถ Networking has two sorts of IPs. IPv4 and IPv6: - IPv4 : 1.160.10.240 - IPv6: 3ffe: 1900:4545:3:200:f8ff:fe21:67cf โถ AWS supports IPv4 and IPv6 bothโถ IPv4 is still the most common format used online.โถ IPv6 is newer and solves problems for the Internet of Things (IoT).โถ IPv4 allows for 3.7 billion different addresses in the public space.โถ IPv4: [0-255].[0-255].[0-2..
EC2 ์ธ์คํด์ค๋ฅผ ์คํํ ์ ์๋ ๋ชจ๋ ๋ฐฉ๋ฒ1. Spot request1-1.How to check Pricing historyEC2 Dashboard > [Spot requests] > [Pricing history] ์์ EC2 Instance์ ์ต๊ทผ ์๊ธ ๋ด์ญ ํ์ธ ๊ฐ๋ฅ ๊ทธ๋ํ์์ ๊ฒ์์ ์ ์ด On-demand ๊ฐ๊ฒฉ 1-2. How to request Spot Instance?EC2 Dashboard > [Spot requests] > [Request spot Instance] ๐ฉ Launch parameters (์ธ์คํด์ค๋ฅผ ์์ํ ๋ ์ค์ ํ๋ ๋ฐฉ์)- Manually configure launch parameters- Use a launch template โถ Manually configur..