์์ฆ ํด๋ผ์ฐ๋ ์ปดํจํ
์์ฅ์ด ๋น ๋ฅด๊ฒ ์ฑ์ฅํ๋ฉด์, ๋ง์ ๊ธฐ์
๋ค์ด ๋ฐ์ดํฐ๋ฅผ ์ ์ฅํ๊ณ ๊ด๋ฆฌํ ๋ฐฉ๋ฒ์ผ๋ก ํด๋ผ์ฐ๋ ์คํ ๋ฆฌ์ง๋ฅผ ์ ํํ๊ณ ์์ด์. ์์ ์๋ ์๋ฒ๋ฅผ ์ง์ ๊ตฌ์ถํ๊ณ ์ ์ง๋ณด์ํด์ผ ํ์ง๋ง, ์ด์ ๋ ํด๋ฆญ ๋ช ๋ฒ์ผ๋ก ์ฝ๊ฒ ๋ฐ์ดํฐ๋ฅผ ์ ์ฅํ๊ณ ๊ณต์ ํ ์ ์๋ ์๋๊ฐ ๋์ฃ ! ์ค๋์ ํด๋ผ์ฐ๋ ์คํ ๋ฆฌ์ง์ ์ข
๋ฅ์ ํจ๊ป, AWS์์ ์ ๊ณตํ๋ ๋ํ์ ์ธ ์คํ ๋ฆฌ์ง ์๋น์ค์ธ Amazon S3, Amazon EFS, ๊ทธ๋ฆฌ๊ณ Amazon EBS์ ๋ํด ์์๋ณด๋ ค๊ณ ํด์. ๊ฐ ์๋น์ค์ ํน์ง์ ๋น๊ตํด ๋ณด๊ณ , ์ด๋ค ๊ฒฝ์ฐ์ ์ด๋ค ์คํ ๋ฆฌ์ง๋ฅผ ์ฌ์ฉํ๋ฉด ์ข์์ง ์ ์ ํ ์ฌ์ฉ ์ฌ๋ก๋ ์ดํด๋ณผ๊ฒ์.1. ํด๋ผ์ฐ๋ ์คํ ๋ฆฌ์ง๋1-1. ํด๋ผ์ฐ๋ ์คํ ๋ฆฌ์ง์ ํน์ง ํด๋ผ์ฐ๋ ์คํ ๋ฆฌ์ง์๋ ๋ง์ ์ด์ ์ด ์์ต๋๋ค. ํ์ฅ์ฑ์ ์ ๊ณตํ์ฌ ํ์์ ๋ฐ๋ผ ์คํ ๋ฆฌ์ง ์ฉ๋์ ๋น ๋ฅด๊ฒ ๋๋ฆฌ..
1. Amazon EBS ๋ธ๋ญ ์คํ ๋ฆฌ์ง Ephemeral → EC2 Instance Store (์ธ์คํด์ค ์ข
๋ฃ ์ ๋ฐ์ดํฐ ์ฌ๋ผ์ง)Persistent → Amazon EBS (๋ธ๋ก ์ ์ฅ), Amazon S3 (๊ฐ์ฒด ์ ์ฅ) ์๋ง์กด ์ ์ฅ์ ์ค์ ๋ธ๋ญ ์ ์ฅ์(Amazon Block Storage)๋ผ๊ณ ํ๋ฉด ๋ณดํต Amazon Elastic Block Store (EBS)๋ฅผ ์๋ฏธํ๋ค. ๋ธ๋ก ์คํ ๋ฆฌ์ง ์๋น์ค๋ผ๊ณ ๋ถ๋ฅด๊ธฐ๋ ํ๋ค. ๋ธ๋ก ์คํ ๋ฆฌ์ง๋ ๋ค์ ephemeral(ํ๋ฐ์ฑ) ๊ณผ persistent(๋นํ๋ฐ์ฑ) ์ ์ฅ์๋ก ๋๋ ์ ์๋ค. Ephemeral Storage (ํ๋ฐ์ฑ ์ ์ฅ์)๋ EC2 ์ธ์คํด์ค๊ฐ ์ข
๋ฃ๋๋ฉด ๋ฐ์ดํฐ๊ฐ ์ฌ๋ผ์ง๋ ์์ ์ ์ฅ์์ด๋ค. AWS์์ ๋ํ์ ์ผ๋ก Instance Store๊ฐ ํ๋ฐ์ฑ ์ ์ฅ์์ด๋ค..
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..