Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[+Region/Zone] AWS Cloud Driver Implementation #909 #928

Merged

Conversation

MZC-CSC
Copy link
Contributor

@MZC-CSC MZC-CSC commented Sep 20, 2023

[+Region/Zone] AWS Cloud Driver Implementation #909

특이사항

  1. DescribeRegions SDK 필터 지원

    • RegionsInput 에 regionName을 적용하여 특정 region을 sdk 에서 필터링 할 수 있음.
  2. region 응답에 다음과 같은 항목들이 제공됨
    https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-regions.html

"Endpoint": "ec2.ap-south-2.amazonaws.com",
"OptInStatus": "not-opted-in",
"RegionName": "ap-south-2"

- OptInStatus 제공(링크 참조)
- aws 개인설정에서 OptInStatus 적용 상태 값(opt-in-not-required | opted-in | not-opted-in)을 볼 수 있음.
- AllRegions 옵션 값은 기본적으로 false지만, true 값으로 위의 세개 값 모두 응답받을 수 있음. 사용자 설정값에 따라 다름
- false 인경우 not-opted-in을 제외한 region 만 응답
  1. zone 응답에 다음과 같은 항목들이 제공됨
    https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeAvailabilityZones.html

"GroupName": "ap-south-1",
"Messages": null,
"NetworkBorderGroup": "ap-south-1",
"OptInStatus": "opt-in-not-required",
"ParentZoneId": null,
"ParentZoneName": null,
"RegionName": "ap-south-1",
"State": "available",
"ZoneId": "aps1-az1",
"ZoneName": "ap-south-1a",
"ZoneType": "availability-zone"

@powerkimhub powerkimhub self-requested a review September 20, 2023 06:06
@powerkimhub powerkimhub linked an issue Sep 20, 2023 that may be closed by this pull request
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • drvCapabilityInfo에 RegionZone 추가 부탁 드립니다.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • drvCapabilityInfo add RegionZoneHandler
  • drvCapabilityInfo에 RegionZone 추가했습니다.

raccoon-mh and others added 2 commits September 21, 2023 08:41
- drvCapabilityInfo add RegionZoneHandler
- drvCapabilityInfo에 RegionZone 추가했습니다.
@powerkimhub powerkimhub merged commit 91b5e0d into cloud-barista:master Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[+Region/Zone] AWS Cloud Driver Implementation
3 participants