AWS & PowerShell - Can you run PowerShell for AWS in AWS Lamda or some other service

FikreDeneke used Ask the Experts™
Can you use AWS Lamda or some other service to run powershell or AWS CLI commands so you don't need a server?

aws ec2 describe-snapshots --filters Name=volume-id,Values=vol-abc123 --query Snapshots[*].{ID:SnapshotId} --output text >>c:\\AWS\snapshots.txt

aws ec2 describe-snapshots --query 'Snapshots[?StartTime >= `2018-01-01`].{id:SnapshotId}'
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Senior Platform Engineer
Not powershell commands specifically.  However, those describe-snapshot calls (for example) are available. With Lambda, you can currently choose either Node.js (javascript), Java 8, C#, or Python. Each language has an SDK where you can access the same commands that the AWS CLI provides.
PberSolutions Architect

No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Accept: Phil Phillips (https:#a42430637)

If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

Experts-Exchange Cleanup Volunteer

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial