Course 2 Week 1 > Graded Programming Assignment 1: Troubleshooting Database Connectivity on AWS Issue

I got this message when trying to add an inbound roule in the security group of the RDS instance>

"It is possible lack of IAM policies allowing ModifySecurityGroupRules: You are not authorized to perform this operation. User: arn:aws:sts::590184027166:assumed-role/voclabs/user3522442=Mario_Recalde_Recalde_Bravo is not authorized to perform: ec2:ModifySecurityGroupRules on resource: arn:aws:ec2:us-east-1:590184027166:security-group/sg-06e2ba21fc83bac7e because no identity-based policy allows the ec2:ModifySecurityGroupRules action. Encoded authorization failure message: LGxvHrf2Y-cZy_NvruizqfvLvSmXZVG4aj_MuJF7B8vOhe7FoyrWhUzPh1ujXf1Kh821zKdQUpw7m7UkLfGQ1z9fCf8LdFOAtskehJXBwiX2_IkR1C9_9j9X-QIwsHWtOnLbRL8GubnnEV5GJnePHIVS1luzmeHlm5HENIVE2Sn0e2vzKkko1DqpnbZr0s3bfhjVgh7G-waBmScCWVBh2PCyoGdY3Dv9ZN7pEAZbwSGThtkjLXS_oPBDvhnayzj6PCJ1SiySDa42tpGuqwIlcPJd1jylboUKTasyj4MzQXkIZQOkDk1XMT1RzHLWQScVQ_9Fw7o6_cHYZaTAVqgv8F6eQ6lMsPq4AUXh2AfRdftYLbx13FSUPgV-9fOz7hFEnGw3ZNgKFnxqWZOmiO0NGDdXiid3wL-jJ2wmYqp0KUYaDk-FIXQ82O-_4Bs89mtW6VuiBDPqYLem_g2Fc7B5gdKvotu2867v_0HiSibCfNbFO9IZZL52Wi2npsp2nMjNV_oIfavxfNmFH3ALkEA2FRB2q6GmJX2UpOF2hihc-uUX8cCxBR5oa2oxypxJqbmM7uyepnh1Ht4FcKGekjGfIYO8z22qPeYXycwxbJdzKXNJXS41S1guMGJHtUCfdR-ePbFRF2G5Dnno1WlIdSusfoq7gTE9JXx0Y4tfLH5p3Yc6s3MTBTnZ7AtKZITyPDRioToydZfwJsns6r0FHPQfZ-5bCiaWmjzvFLiXsYh_Xf-obEJJUfKwDw35Dc1bRAJNprRisYw4D1BIBZAwmVgFSKfKOKLOkzNHrHbxXGoAe6Vuj98zBaG7P2L-sfhnQ8eGGKGdE9hoqZOL1gXa-8MxdDSO7kpofiH4jl7f7JLGoCaQlsYSbAHc3ZX48b3xRHNXqz8BvVxv0inR2eXJFb1q6w "

Please help

Hello @mhrecaldeb I am trying to reproduce the error. Is the lab open and you are in the Vocareum step 2.13? If not you can just create the instance in step 2.4 with the correct VPC setting for simplicity and skip to 2.12.
It seems I can add any rules or delete them so I can’t reproduce it.
Also the EC2 instances should look like this if you followed the instructions:

Hello @mhrecaldeb I could reproduce the error if I try to modify instead of add. So add a new rule then delete the other instead of modifying should work:

Thanks @Georgios, my problem resolved by itself just waiting for the lab time to expire and launching it back again. Then I followed the instructions just like in the first time and it worked fine. Thanks anyway for taking the time to help. Regard Mario

1 Like