Run the below command from AWS CLI to print only the names of objects in an s3 bucket where bucketname
Continue readingCategory: How-To Guides
How to download multiple files from an S3 bucket
Create a list of files to be downloaded as below: aws s3 ls s3://bucketname/prefix/ | awk ‘{print $4}’ > $listfile
Continue readingHow to count Objects in an S3 bucket
Command to get the total number of objects in an s3 bucket recursively: aws s3 ls s3://bucketName/ –recursive –summarize |
Continue readingHow to Reboot an EC2 Instance
Login to AWS Management Console and navigate to EC2 dashboard. Search for the instance that you would like to reboot
Continue readingHow to Delete/Terminate an EC2 Instance
Login to AWS Management Console and navigate to EC2 dashboard. Search for the instance that you would like to delete
Continue readingHow to Start an EC2 Instance
Login to AWS Management Console and navigate to EC2 dashboard. Search for the instance that you would like to start
Continue readingHow to Stop an EC2 Instance
Login to AWS Management Console and navigate to EC2 dashboard. Search for the instance that you would like to stop
Continue readingHow to enable Termination Protection on an EC2 Instance
Login to AWS Management Console and navigate to EC2 dashboard. Search for the instance that you would like to modify
Continue readingHow to disable Termination Protection on an EC2 Instance
From AWS Management Console Login to AWS Management Console and navigate to EC2 dashboard. Search for the instance that you
Continue readingHow to delete unused EBS Volumes from AWS Management Console
Login to AWS Management Console and go to EC2 Dashboard. Choose ‘Volumes’ on the left pane. Filter volumes on ‘Attachment
Continue reading