Once you have created a S3 bucket and if you would like to the Metadata of that S3 bucket using the AWS CLI command, Using the HEAD action able to retrieves metadata from an object without returning the object itself.

Continue Reading

If you want to synchronises the content of s3 bucket with a directory it is possible with 's3 sync' command. --delete object with sync command is used to delete the files from the destination directory and not present in the source directory.

Continue Reading

The CloudFront cache response in the edge location based on the cache control header. The CloudFront monitor the cache expires time and serves cached files until the cache expires. We can immediately invalidate the cache from the CloudFront directly by the AWS CLI command or the AWS CloudFront console.

Continue Reading

The AWS Command Line Interface (CLI) is an open source tool to access the AWS services using the command your terminal window. The AWS CLI version 2 is the latest version of the AWS CLI, some functionaries are not working in AWS CLI version 1, so you should update to AWS CLI version 2.

Continue Reading

If you received an error when login into AWS EC2 instance or any virual machine using the PEM file, WARNING: UNPROTECTED PRIVATE KEY FILE! Permissions 0644 for 'your_pem_file.pem are too open It is recommended that your private key files are NOT accessible by others.

Continue Reading

Yes, we have options to download all the objects from an S3 bucket to your local machine. Before we do, make sure that the AWS-CLI package is installed in your local machine and configured with credentials are Access Key and Secret Key.

Continue Reading

Yes, It's possible syncs directories or objects from your local to S3 bucket using the AWS CLI command, the command is aws s3 sync. By default does not delete files. It simply copies new or modified files to the destination.

Continue Reading