Hello - I’m currently using Open OnDemand in AWS.
With the correct instance role attached to the EC2 where OoD is running I should be able to run an AWS CLI command when a user logs in.
Example - When a user logs in run the command ‘aws s3 ls’ and provide that output somewhere in the OoD console.
In the console like in the shell app? Maybe add it to /etc/profile.d or maybe set it as the Message of the Day in /etc/motd (I’ve never setup a shell’s MOTD, so I’m not 100% sure how to do that).
If anyone would like to do the same. Adding the below to /etc/motd did the trick. This will show 3 months AWS of costs for the logged in user, including the current month.