비용 견적을 위해 CostExplorer를 사용하여 TagName별로 필터링했습니다. 내 기계 (아일랜드)의 비용을 요청하여비용 탐색기에서 끝점 URL에 연결할 수 없습니다.
time_period = {'Start':'2017-12-18', 'End':'2017-12-19'}
filters = {
"And":
[{
"Tags": {
"Key": "TagName",
"Values": ["Test1"]
}
}]
}
print aws.get_cost_and_usage(TimePeriod=time_period, Granularity='DAILY', Metrics=['BlendedCost'], Filter=filters)
는, ce.eu-west-1.amazonaws.com에 연결할 수 아니라고 오류가 표시
Traceback (most recent call last):
File "test.py", line 22, in <module>
print aws.service.cloudwatch.client.get_cost_and_usage(TimePeriod=time_period, Granularity='DAILY', Metrics=['BlendedCost'], Filter=filters)
File "/usr/local/lib/python2.7/dist-packages/botocore/retryhandler.py", line 359, in _check_caught_exception
raise caught_exception
botocore.exceptions.EndpointConnectionError: Could not connect to the endpoint URL: "https://ce.eu-west-1.amazonaws.com/"
아일랜드에서는 아직이 서비스를 이용할 수 없습니까?
여기 "비용 탐색기"/ "청구"/ "원가 관리"찾을 수 없습니다 : 내가 사용 http://docs.aws.amazon.com/general/latest/gr/rande.html#awssupport_region
을 :
boto3의 == 1.5.2
botocore을 == 1.8.16
엔드 포인트 가용성은 내가 생각하는 공급 업체와 이야기함으로써 결정됩니다. – jdv