Hey team, I am using rudderstack open source with ...
# support
m
Hey team, I am using rudderstack open source with Data plane deployed on EKS using helm and cloud hosted control plane. I have a query, is there an upper ratelimit for the number of events I can send to rudderstack on a month level. Also in the config.yaml, there is a section of Ratelimit wherein I can set a max limit for events for a given time window, how is it different from overall limit. Thanks in advance
m
Hey There! πŸ‘‹ Your message has been received by the RudderStack team. Our standard customer support hours are 9-6 PM EST, but we will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
Hi Abhishek
is there an upper ratelimit for the number of events I can send to rudderstack on a month level.
For the self hosted data-plane there is no such limit.
m
@shy-kite-21035 okay, thanks
m
Also in the config.yaml, there is a section of Ratelimit wherein I can set a max limit for events for a given time window, how is it different from overall limit.
We use the Ratelimit above to set some limits for our customers. For the self-hosted case you can leave it blank.
m
okay, got it
@shy-kite-21035 I was wondering if you could help me with one more query, I am running data plane on EKS where in each POD gets a default aws role." While configuring the redshift destination, i am using another role, which is throwing and error
Copy code
{
  "Error": "AccessDenied: User: arn:aws:sts::470447649428:assumed-role/eks_access_role/i-02a537a1bf10faac4 is not authorized to perform: sts:AssumeRole on resource: arn:aws:iam::470447649404:role/dwh-optimus\n\tstatus code: 403, request id: 1d441008-e180-409f-b5fe-87bea6eawdw6bd"
}
what could be the solution here?
m
So does the role that you are using to write to the Warehouse have the necessary permissions? Did you follow this guide and create the role rudder with the necessary permissions?
m
that is what i want to understand, here there are two things 1. AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY to be provided in value.yaml file for helm deployement 2. IAM Role ARN* to supplied while configuring redshift destination on ruderstack hosted control plane. Which credentials require what permissions. Thanks in advance
m
Hi Abhishek so first was the EKS deployment successful? Are you able to send data to your data-plane? You can test this by using a simple Webhook destination.
m
yes i am testing it with a small python code snippet, i am able to see events in live feed from the source
but I am not able to see the same in redshift destination live feed. I am getting the error shown above.
Whereas if i deploy helm using my personal aws access key and secret key and provide the same while configuring the redshift destination, my events are flowing into redshift
but the thing is I cannot provide access key and secret key while in production
m
Oh ok so you are saying using access key and secret key is working while using IAM Role ARN the data is not sent?
m
yes
m
Copy code
-- create a user named "rudder" RudderStack can use to access Redshift
CREATE USER rudder PASSWORD '';

-- granting schema creation permission to the "rudder" user on the database you chose earlier
GRANT CREATE ON DATABASE "" TO "rudder";
And you have created the above user and granted him the above permissions?
m
yes
m
And you are using the above credentials in the destination config in RudderStack dashboard?
m
yes
but i am passing a role that has s3 full access in IAM role ARN
there is the error
m
but i am passing a role that has s3 full access in IAM role ARN
this is not the same role as above (rudder)?
m
hey @shy-kite-21035 i was able to write data to s3, i provided s3 bucket access to EKS defualt role so the pod got access to s3
but now i can see data present on s3 but the sync has failed, how can i see the logs of the failure
inside the pod or somewhere
m
You should be able to see a podfile.log
m
ok
Copy code
'getting temporary s3 credentials: AccessDenied: Cannot call GetSessionToken with session credentials status code: 403, request id: 2b31760a-a9ef-4332-aff8-607c07f07a93
m
Oh ok. I have shared the error with the team and will get update you once I have a response.
a
@many-florist-23287 Can u share the workspaceID?
m
Hey Akash, workspaceId: "2TeblmcFQfUJMWDxSLZus30s5Zt"
πŸ‘ 1
a
@many-florist-23287 Can u add
sts:AssumeRole
permission as well to the Role?
m
Do you mean something like this?
Copy code
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "",
      "Effect": "Allow",
      "Action": [
        "sts:AssumeRole"
      ],
      "Resource": ""
    }
  ]
}
a
Yes.
m
I have given this permission too, will connect eth you again tomorrow
πŸ‘ 1
@shy-kite-21035 @average-tailor-86667 I am getting the below error
Copy code
'getting temporary s3 credentials: AccessDenied: Cannot call GetSessionToken with session credentials status code: 403, request id: 0a398069-d9ed-498d-87ec-5db3ce7a5252'
my eks default role has admin access for this testing, even then got the same error
a
is eks default role different from what u are configuring in the destination?
m
in the destination i am choosing aws access key and secret key and keepinig it blank as my default aws eks role has all the access
it is able to upload the data in S3 but the above error is coming up when I check on the sync page
@average-tailor-86667 when I used my personal access and secret key both while deploying the helm and while configuring the destination, I was able to sync data to redshift successfully
but this is something that I cannot do in prod evn
a
Are u configuring
AWS_ACCESS_KEY_ID
and
AWS_SECRET_ACCESS_KEY
as well as part of deployment?
m
@average-tailor-86667 also the tables are getting created in redshift but there is not data.
a
Yeah, It’s failing during running COPY command.
m
@average-tailor-86667 I am leaving it blank and letting it take default eks POD role
πŸ‘ 1
a
Can u try with configuring the destination with the role which is present in eks.
m
okay let me try
@average-tailor-86667
Copy code
no load files generated. Sample error: uploading load file to object storage: uploading load file: AccessDenied: User: arn:aws:sts::4704476427w:assumed-role/prd-data-platform-eks_access_role/i-02a537a1bf10faac is not authorized to perform: sts:AssumeRole on resource: arn:aws:iam::4704476422:role/prd-data-platform-eks_access_role status code: 403, request id: 49d2d05d-98c0-45fc-959b-ecaaf2e5db4e
still no luck
a
Can u confirm if the role u configured has
sts:AssumeRole
permission?
m
yes it has
Copy code
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "",
      "Effect": "Allow",
      "Action": [
        "sts:AssumeRole"
      ],
      "Resource": "*"
    }
  ]
}
This is the policy attached to that role
@average-tailor-86667 do you have any update for me? Thanks