AWS

Manage AWS resources via the aws CLI.

olasunkanmi-se c7905f1 679 B Updated

File contents

AWS CLI

Use aws to interact with Amazon Web Services.

Common Commands

S3

  • List buckets: aws s3 ls
  • List objects: aws s3 ls s3://<bucket-name>
  • Copy file: aws s3 cp <source> <destination>

EC2

  • List instances: aws ec2 describe-instances
  • Start instance: aws ec2 start-instances --instance-ids <id>
  • Stop instance: aws ec2 stop-instances --instance-ids <id>

Lambda

  • List functions: aws lambda list-functions
  • Invoke function: aws lambda invoke --function-name <name> output.json

Notes

  • Requires aws CLI to be installed and configured (aws configure).

olasunkanmi-se/codebuddy/tree/main/skills/aws commit c7905f1472

Frequently asked questions

npx skillmds@latest add olasunkanmi-se/aws