๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
๊ฐœ๋ฐœ์ƒํ™œ/Cloud

[AWS]Resource Explorer Research

by cocococo331 2024. 3. 14.

Resource Excplerer

๋ฆฌ์†Œ์Šค ๊ฒ€์ƒ‰ ์„œ๋น„์Šค

 

AWS ๋ฆฌ์†Œ์Šค ์ •๋ณด๋ฅผ ์กฐํšŒํ•ด์•ผํ•˜๋Š”๋ฐ ๊ฐ API ๊ฐœ๋ณ„ ํ˜ธ์ถœ์ด ์•„๋‹Œ Explorer๋กœ ๋Œ€์ฒด๊ฐ€ ๊ฐ€๋Šฅํ•œ์ง€ ์กฐ์‚ฌ 

ํ•„์š” ํ•ญ๋ชฉ์€ ๋‹จ์ˆœ ์‹๋ณ„ ์ •๋ณด ๋ฟ๋งŒ ์•„๋‹ˆ๋ผ ๊ฐ ๋ฆฌ์†Œ์Šค๋ณ„ ํŠน์ง•๋„ ํ•„์š”ํ•จ

 

์กฐํšŒ API

ListSupportedResourceType

- Resource Explorer ์ง€์› ๋ฆฌ์†Œ์Šค ํƒ€์ž…

 

ListIndexes

- ํ˜„์žฌ AWS Resource Explorer์— ๋Œ€ํ•œ ๋ฆฌ์†Œ์Šค ์ •๋ณด๋ฅผ ์ˆ˜์ง‘ํ•˜๊ณ  ์žˆ๋Š” AWS ๋ฆฌ์ „์˜ ๋ชจ๋“  ์ธ๋ฑ์Šค ๋ชฉ๋ก

- ์ˆ˜์ง‘ ๋ฆฌ์ „๋“ค์„ ์ œ๊ณตํ•˜๋Š” API๋กœ ๋ณด์ž„

 

ListViews

- ์ด ์ž‘์—…์„ ํ˜ธ์ถœํ•˜๋Š” AWS ๋ฆฌ์ „์—์„œ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋Š” ๋ณด๊ธฐ์˜ Amazon ๋ฆฌ์†Œ์Šค ์ด๋ฆ„(ARN)

- ํ˜ธ์ถœ ๋ฆฌ์ „์—์„œ ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ list ๋ทฐ

- AWS ๊ธฐ๋ณธ ๋ทฐ๊ฐ€ all-resources๋ผ๊ณ  ํ•จ

  - ๋ทฐ ์ถ”๊ฐ€๋Š” ๊ฐ€๋Šฅํ•˜์ง€๋งŒ ๊ธฐ๋ณธ ๋ทฐ ๋ณ€๊ฒฝ์€ ๋ถˆ๊ฐ€๋Šฅํ•จ.

  - ์•„๋ž˜ Search API์—์„œ view ์ง€์ •์„ ์•ˆํ•˜๋ฉด default view๋กœ ๊ฒ€์ƒ‰์„ ์ง„ํ–‰

 

Search *

- ๋ทฐ ์ง€์ • ์—†์œผ๋ฉด default View๋กœ Search (defaultView = all-region)

- ์‚ญ์ œ๋œ ๋ฆฌ์†Œ์Šค๋Š” ๊ฒ€์ƒ‰์ด ์•ˆ๋จ

- queryString์„ ๋ฌด์กฐ๊ฑด ๋ณด๋‚ด์•ผํ•จ

  - ์ž‘์—… Case์— ๋ณ„๋„ ์กฐ๊ฑด์ด ํ•„์š”ํ•˜์ง€๋Š” ์•Š์•„์„œ ๊ณต๋ฐฑ์œผ๋กœ ๋ณด๋‚ด๋ฉด ๋จ

  - ํŠน์ • ํƒœ๊ทธ Key, Value, ํƒœ๊ทธ๊ฐ€ ์—†๊ฑฐ๋‚˜์˜ ์กฐ๊ฑด์„ ์ถ”๊ฐ€๋„ ํ•  ์ˆ˜ ์žˆ์Œ

- Properties์— Array๋กœ ์—ฌ๋Ÿฌ ์š”์†Œ๊ฐ€ ์žˆ์„ ์ˆ˜ ์žˆ๋Š”๋ฐ ์‹ค์ œ ๋ฐ์ดํ„ฐ ํ™•์ธ์‹œ ๋ฐ์ดํ„ฐ๊ฐ€ ์—†๊ฑฐ๋‚˜ ํƒœ๊ทธ ์ •๋ณด๋งŒ ์žˆ๊ณ  ๊ทธ์™ธ์˜ ์ผ€์ด์Šค๋Š” ํ™•์ธ ๋ชปํ•จ

- Search API Response ์ •๋ณด๋Š” useL์ •๋ณด ์ •๋ณด์— ๋” ๊ธฐ๋ณธ์ ์ธ ์ •๋ณด๊นŒ์ง€

  - arn

  - accId

  - tags

  - region

  - rsrcType(ec2:volume)

  - service(ec2)

  - Name → (Nameํƒœ๊ทธ๋กœ๋งŒ ๋ณด์—ฌ์ค„ ์ˆ˜ ์žˆ์Œ)

- ๋ฐ์ดํ„ฐ ์˜ˆ์‹œ

๊ฒฐ๋ก 

- ๋ฆฌ์†Œ์Šค ์‹๋ณ„ํ•  ์ˆ˜ ์žˆ๋Š” ๊ธฐ๋ณธ์ •๋ณด๊นŒ์ง€๋งŒ ๋ณด์—ฌ์ฃผ๋Š” ์ •๋„๋Š” ์‚ฌ์šฉ ๊ฐ€๋Šฅ

- Resource ๊ด€๋ จ ์ถ”๊ฐ€ ์ •๋ณด ์ œ๊ณต ๋ถˆ๊ฐ€๋Šฅ (Detailํ•œ ์ •๋ณด๋“ค)

 

์ฐธ๊ณ  ๋ฌธ์„œ

https://docs.aws.amazon.com/resource-explorer/latest/apireference/Welcome.html

https://docs.aws.amazon.com/ko_kr/resource-explorer/latest/userguide/welcome.html

'๊ฐœ๋ฐœ์ƒํ™œ > Cloud' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€

[GCP] VM์˜ Disk, Memory ์ˆ˜์ง‘์„ ์œ„ํ•œ Ops Agent ์„ค์น˜  (0) 2022.07.30
[AWS] Aurora RDS MySQL 5.7 to 8.0  (0) 2022.03.15