Back to All Commands
Most Viewed
Favorites
Recently Viewed
aws Commands
S3
aws s3 cp
Copies a local file or S3 object to another location.
aws s3 cp
Examples:
Upload a file to an S3 bucketaws s3 cp my-local-file.txt s3://my-bucket/
aws s3 cp s3://my-bucket/data.csv .
aws s3 cp ./my-app s3://my-bucket/my-app --recursive
aws s3 sync
Syncs directories and S3 prefixes. Recursively copies new and updated files.
aws s3 sync
Examples:
Sync a local directory with an S3 bucketaws s3 sync . s3://my-website-bucket
aws s3 sync s3://my-data-backup ./local-backup --delete
Ec2
aws ec2 describe-instances
Describes one or more of your instances.
aws ec2 describe-instances
Examples:
Describe all instancesaws ec2 describe-instances
aws ec2 describe-instances --filters "Name=instance-state-name,Values=running"
aws ec2 describe-instances --instance-ids i-1234567890abcdef0 --query 'Reservations[*].Instances[*].[PublicIpAddress, Tags]'
Iam
Lambda
aws lambda list-functions
Returns a list of your Lambda functions.
aws lambda list-functions
Examples:
List all Lambda functionsaws lambda list-functions
Rds
aws rds describe-db-instances
Returns information about provisioned RDS instances.
aws rds describe-db-instances
Examples:
Describe all RDS database instancesaws rds describe-db-instances
aws rds describe-db-instances --db-instance-identifier my-db-instance
Cloudformation
aws cloudformation deploy
Deploys an AWS CloudFormation template by creating and then executing a change set.
aws cloudformation deploy
Examples:
Deploy a CloudFormation stack from a local templateaws cloudformation deploy --template-file my-template.yaml --stack-name my-new-stack --capabilities CAPABILITY_IAM