13J. RDS DB ์ธ์คํด์ค ์ฑ๋ฅ ํ์ฅํ๊ธฐ
13J. RDS DB ์ธ์คํด์ค ์ฑ๋ฅ ํ์ฅํ๊ธฐ ๊ด๋ จ

DB์ ์ฌ์ฉ๋์ด ๋ง์์ ธ ๋ถํ๊ฐ ๋์ด๋๋ค๋ฉด DB ์ธ์คํด์ค์ ์ฑ๋ฅ์ ํ์ฅํด์ผ ํฉ๋๋ค. ์ฌ์์ ๋์ฌ ์ฑ๋ฅ์ ํ์ฅํ๋ ๊ฒ์ ์์ง ํ์ฅ(Vertical Scaling) ๋๋ Scale up์ด๋ผ๊ณ ํฉ๋๋ค.
- DB ์ธ์คํด์ค ํด๋์ค: ์์ ๋จ๊ณ ํด๋์ค๋ก ๋ณ๊ฒฝํ์ฌ vCPU์ ๋ฉ๋ชจ๋ฆฌ ์ฉ๋์ ๋๋ฆด ์ ์์ต๋๋ค. ๋ํ, ๋คํธ์ํฌ ์ฑ๋ฅ๋ ํฅ์์ํฌ ์ ์์ต๋๋ค.
- ์คํ ๋ฆฌ์ง ์ฉ๋: 3072GB(3TB)๊น์ง ์ ์ฅ ์ฉ๋์ ๋๋ฆด ์ ์์ต๋๋ค.
- Provisioned IOPS: IOPS ๊ฐ์ ๋์ฌ I/O(์ฝ๊ธฐ/์ฐ๊ธฐ) ์ฑ๋ฅ์ ํฅ์์ํฌ ์ ์์ต๋๋ค.
Provisioned IOPS
Provisioned IOPS๋ ์คํ ๋ฆฌ์ง ์ฉ๋์ด 100GB ์ด์์ผ ๋ ์ฌ์ฉํ ์ ์์ต๋๋ค.
RDS DB ์ธ์คํด์ค(exampledbinstance
)์ ์ฑ๋ฅ์ ํ์ฅํด๋ณด๊ฒ ์ต๋๋ค.

exampledbinstance
)๋ฅผ ์ ํํ ๋ค ๋ง์ฐ์ค ์ค๋ฅธ์ชฝ ๋ฒํผ์ ํด๋ฆญํ๋ฉด ํ์
๋ฉ๋ด๊ฐ ๋์ต๋๋ค (์์ชฝ [Instance Actions]
๋ฒํผ์ ํด๋ฆญํด๋ ๊ฐ์ ๋ฉ๋ด๊ฐ ๋์ต๋๋ค). [Modify]
๋ฅผ ํด๋ฆญํฉ๋๋ค.RDS DB ์ธ์คํด์ค์ ์ค์ ์ ๋ณ๊ฒฝํ์ฌ ์ฑ๋ฅ์ ํ์ฅ์ํต๋๋ค
- DB Instance Class: DB ์ธ์คํด์ค์ ํด๋์ค์
๋๋ค.
db.m1.small
์ ์ ํํฉ๋๋ค. - Allocated Storage: ์คํ ๋ฆฌ์ง ์ฉ๋์ ๋๋ค. 10์ผ๋ก ์ค์ ํฉ๋๋ค. ๋จ ์ฉ๋์ ์ค์ผ ์๋ ์์ต๋๋ค.
- Apply Immediately: ์ค์ ๋ณ๊ฒฝ ๋ด์ฉ์ ์ฆ์ ์ ์ฉํฉ๋๋ค. ์ด ๋ถ๋ถ์ ์ฒดํฌํ์ง ์์ผ๋ฉด ๋ค์ ์ ์ง ๊ด๋ฆฌ ์๊ฐ(Maintenance Window)์ ์ ์ฉ๋ฉ๋๋ค.

[Continue]
๋ฒํผ์ ํด๋ฆญํฉ๋๋ค.Apply Immediately
Apply Immediately๋ฅผ ์ฒดํฌํ์ฌ ์ค์ ๋ณ๊ฒฝ ๋ด์ฉ์ ์ฆ์ ์ ์ฉํ๋ฉด DB ์ธ์คํด์ค์ ์คํ์ด ์ค์ง๋๋ฏ๋ก DB์ ์ ์ํ ์ ์๊ฒ ๋ฉ๋๋ค.
db.m1.small
db.m1.small
DB ์ธ์คํด์ค ํด๋์ค๋ ํ๋ฆฌ ํฐ์ด์์ ๋ฌด๋ฃ๋ก ์ฌ์ฉํ ์ ์์ต๋๋ค. 1๋ถ์ด๋ผ๋ ์ฌ์ฉํ๋ฉด 1์๊ฐ ์๊ธ์ด ๋ฐ์ํ๋ฏ๋ก ์ฃผ์ํ๊ธฐ ๋ฐ๋๋๋ค.
์ค์ ํ ๋ด์ฉ์ ์ด์์ด ์๋์ง ํ์ธํฉ๋๋ค.

[Modify DB Instance]
๋ฒํผ์ ํด๋ฆญํฉ๋๋ค.Read Replica๊ฐ ์๋ DB ์ธ์คํด์ค์ ์ฑ๋ฅ ํ์ฅ
Read Replica๊ฐ ์๋ ๋ง์คํฐ DB ์ธ์คํด์ค์ ์คํ ๋ฆฌ์ง ์ฉ๋์ ๋๋ฆด ๋์๋ Read Replica ์ธ์คํด์ค์ ์คํ ๋ฆฌ์ง ์ฉ๋๋ ๋์ผํ ๊ฐ์ผ๋ก ๋๋ ค์ค์ผ ํฉ๋๋ค.
RDS DB ์ธ์คํด์ค(exampledbinstance
)์ ์ค์ ์ด ๋ณ๊ฒฝ ์ค ์
๋๋ค.


exampledbinstance
)์ ์ธ๋ถ ๋ด์ฉ์ ๋ณด๋ฉด DB ์ธ์คํด์ค ํด๋์ค์ ์คํ ๋ฆฌ์ง๊ฐ ๋ณ๊ฒฝ๋์์ต๋๋ค.์ด์ฒ๋ผ ํ์ํ ๋๋ง๋ค ์ธ์ ๋ ์ง DB ์ธ์คํด์ค์ ์ฑ๋ฅ์ ํ์ฅํ ์ ์์ต๋๋ค.