1 Answer
- Newest
- Most votes
- Most comments
1
Hi, Go to these pages;
- https://docs.aws.amazon.com/cloud9/latest/user-guide/troubleshooting.html
- https://docs.aws.amazon.com/cloud9/latest/user-guide/ec2-ssm.html#cfn-role-and-permissions
and create the role suggested by those pages manually to see if it helps
Excerpt from 1st page above
Error message reporting "Instance profile AWSCloud9SSMInstanceProfile
does not exist in account" when creating EC2 environment using AWS
CloudFormation
Issue: When using the AWS::Cloud9::EnvironmentEC2 AWS CloudFormation
resource to create an EC2 environment, users receive an error message that
Instance profile AWSCloud9SSMInstanceProfile does not exist in account.
Cause: When creating a no-ingress EC2 environment, you must create the
service role AWSCloud9SSMAccessRole and the instance profile
AWSCloud9SSMInstanceProfile. These IAM resources enable Systems Manager
to manage the EC2 instance that backs your development environment.
If you create a no-ingress environment with the console, AWSCloud9SSMAccessRole
and AWSCloud9SSMInstanceProfile are created automatically. But when using
AWS CloudFormation or AWS CLI to create your first no-ingress environment, you
must create these IAM resources manually.
Recommended solution: For information about editing your AWS CloudFormation
template and updating IAM permissions, see Using AWS CloudFormation to create
no-ingress EC2 environments
Hope it helps
Didier
Relevant content
- asked 2 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a year ago