ice icon indicating copy to clipboard operation
ice copied to clipboard

chinese account

Open k0rb0 opened this issue 10 years ago • 10 comments

Hi we have some chinese accounts in my company.

Is there is a way to monitor it with ice?

k0rb0 avatar Jan 30 '15 16:01 k0rb0

What is "chinese account" and how is it different from a regular one?

vfilanovsky avatar Feb 03 '15 01:02 vfilanovsky

AWS started a new region recently in china, cn-north-1. That region use different accounts, have different endpoints and some differences in the apis. The cli works in it though.

I've looked at ice sources, I don't think it will be working in its current state.

k0rb0 avatar Feb 03 '15 08:02 k0rb0

You can try adding cn-north-1 region the same way eu-central-1 was added: 3711e3d5739dd4324573a8f42bbc2e3803a4357f 422c34d5f602452acd07599db5fba643217b1b80

Let me know if it worked for you.

vfilanovsky avatar Feb 04 '15 18:02 vfilanovsky

It doesn't work. I think ice isn't able to download the billing file in s3 for multiple reasons:

  • the file name doesn't follow the same pattern in china it's something like (accountnumber)-aws-billing-detailed-line-items-ACTS-2015-02.csv.zip
  • ice isn't able to find the bucket, since endpoints are not the same in china

I'm going to try, for now, to implement a dirty solution where i will try to sync the chinese bucket to a normal european one, change the names, and make ice analyse the copy.

k0rb0 avatar Feb 09 '15 10:02 k0rb0

I will look at this issue since I have a similar need.

orieg avatar Mar 26 '15 16:03 orieg

@k0rb0 have you resovled this issue?

tj13 avatar Aug 25 '16 07:08 tj13

hello no I didn't, the changes required to support chineses usage reports are too extensive for my skills/time. We now use in our company a SaaS based on a fork of ice that supports chinese usages. It's called teevity, I don't think they made their addition to ice publicly available (which is too bad).

k0rb0 avatar Sep 15 '16 12:09 k0rb0

any update for this?
does this tool support the aws cn-north-1 region now?

tj13 avatar Jun 26 '17 08:06 tj13

Hello. Nobody has made a PR for it yet. And we haven't pushed this from our SaaS version to the OSS version.

nfonrose avatar Jun 29 '17 08:06 nfonrose

@nfonrose I think I am facing a similar issue with my AWS Account. My account is registered with Amazon AWS India and files have AISPL in the end. 239874210271-aws-billing-detailed-line-items-with-resources-and-tags-AISPL-2017-01.csv.zip Because of this files are getting ignored. Any idea how can I solve this issue?

vishesh92 avatar Jul 31 '17 13:07 vishesh92