Skip to content
This repository was archived by the owner on Aug 9, 2023. It is now read-only.

Commit a015682

Browse files
authored
Merge pull request #121 from tthyer/add-ssm-policy
Add AWS-managed ssm policy to Ec2InstanceRole
2 parents 7519e3f + c8b24bf commit a015682

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docs/orchestration/cromwell/cromwell-overview.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,8 @@ This value can also be supplied as a Java command line variable.
210210

211211
### Accessing the Cromwell server
212212

213+
The Cromwell EC2 instance may be accessed using the [AWS Session Manager](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/session-manager.html). Please note that by default this will log you in as user `ec2-user` in the directory `/usr/bin`. You may prefer to become the ec2-user with the command `sudo su - ec2-user` which will switch you to that user's home directory.
214+
213215
### Stop / Start / Restart the Cromwell service
214216

215217
The CloudFormation template above installs Cromwell as a service under the control of `supervisorctl`. If you need to make changes to the `cromwell.conf` file you will want to restart the service so that configuration changes are included.

src/templates/cromwell/cromwell-resources.template.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,8 @@ Resources:
222222
Ec2InstanceRole:
223223
Type: AWS::IAM::Role
224224
Properties:
225+
ManagedPolicyArns:
226+
- "arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore"
225227
Policies:
226228
- PolicyName: !Sub CromwellServer-BatchQueue-Access-${AWS::Region}
227229
PolicyDocument:

0 commit comments

Comments
 (0)