Good day!
I have been handed-over a cloud application which consists of an ec2 instance, I need to attach an ec2-instance-profile role to that ec2 instance but I am not sure what access does this ec2 instance have with other services like s3, Jenkins, RDS DB etc.,
How can I figure out what relationship this ec2 instance have with other aws services, so that I can draft a fresh IAM policy and attach the policy to a role for ec2 instance profile.
Note: I do not have a document to know the architecture of this application, but my only task is to assign an instance profile to this ec2 instance, that is the challenge. As this application is working without any instance profile, my new instance profile should not impact the application.
Any help is highly appreciated.