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

API that returns price list of the given spec list #1226

Open
seokho-son opened this issue Jul 4, 2024 · 2 comments
Open

API that returns price list of the given spec list #1226

seokho-son opened this issue Jul 4, 2024 · 2 comments
Labels
enhancement New feature or request new feature

Comments

@seokho-son
Copy link
Member

What would you like to be added

Spec list 를 array로 제공하면, 각 Spec의 price 정보를 리턴하는 API 제공
(CSP별 다양한 Spec 리스트가 동시에 포함될 수 있도록 처리 필요.)

Why is this needed

현재 CSP의 리소스(서비스)별 각종 price를 제공하고 있으나,
해당 API로 Cloud-Barista 내에 주요 price 요소인
VM spec의 price를 획득하는데는 어려움이 있음

신규 API 제공을 통해, 간단히 VM spec 들의 price를 조회할 수 있는 방안 마련 필요

VM spec의 경우, pricing 정책에 따라 여러가지 형태의 표기가 있을 수 있음.

  • 기본은 온디멘드 시간당 과금
    • 커런시: 조정없이 커런시 표기를 정보로 제공
  • 다른 방식은 옵셔널하게 정보 제공 (AWS의 경우, reserved, spot 등)
@seokho-son seokho-son added enhancement New feature or request new feature labels Jul 4, 2024
@seokho-son
Copy link
Member Author

@powerkimhub
현재 SP의 price api 를 의미있게 활용하려면, 상기 기능이 필요할 것 같은데, 혹시 현황/계획 공유 가능하실까요?

@powerkimhub
Copy link
Member

@seokho-son


  • 자주 사용되는 조건에 대해 API로 제공하면 좋겠지만,
  • 현재 시점에서는 특정 조건에 대한 API를 랩핑하기는 무리가 있습니다.
  • 이런 용도로 사용하기 위해서 Filter를 제공하고 있습니다.
  • 일단 Filter 활용으로 해결 가능하지 가능성 타진 해보시고 의견 주시기 바랍니다.

[참고]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request new feature
Projects
None yet
Development

No branches or pull requests

2 participants