- Newest
- Most votes
- Most comments
Hello,
For enabling EMR WAL below are the pre-requsites which are required as mentioned here
Please add the below policies to EMR-EC2 instance profile role if you have not added yet. Also, just in case missed, please ensure that your region is part of supported list.
Policy 1 -
====================
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Statement1",
"Effect": "Allow",
"Action": [
"emrwal:DeleteWal",
"emrwal:CreateWal",
"emrwal:CreateWorkspace",
"emrwal:AppendEdit",
"emrwal:ReplayEdits",
"emrwal:GetCurrentWalTime",
"emrwal:CompleteWalFlush"
],
"Resource": [
"*"
]
}
]
}
====================
Policy 2 -
====================
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"iam:CreateServiceLinkedRole",
"iam:PutRolePolicy"
],
"Resource": "arn:aws:iam::*:role/aws-service-role/emrwal.amazonaws.com*/AWSServiceRoleForEMRWAL*",
"Condition": {
"StringLike": {
"iam:AWSServiceName": [
"emrwal.amazonaws.com",
"elasticmapreduce.amazonaws.com.cn"
]
}
}
}
]
}
====================
I can't create that first policy. I get an error for all the Actions, saying:
Invalid Service In Action: The service emrwal:DeleteWal specified in the action does not exist.
Those don't appear to be valid services that I'm allowed to put in the policy. My understanding was that the AWSServiceRoleForEMRWAL service role would automatically have those emrwal:* service permissions and that the AWSServiceRoleForEMRWAL would be automatically created for me because I have Policy #2 already attached to my ec2 instances. However, that role isn't being created.
Relevant content
- Accepted Answerasked 4 months ago
- asked 3 years ago
- asked 8 months ago
- How can I access an Amazon EMR cluster through an application if the cluster is in a private subnet?AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 3 years ago