Copying files from EC2 server to an S3 bucket

You can copy the files from your EC2 server to an S3 bucket via AWS CLI in following way: SSH into your EC2 instanceConfigure AWS CLI on your EC2 instance $ aws configure Make sure the EC2 instance has a role assigned which has permissions to read and write to S3 bucketTry running below command … Continue reading Copying files from EC2 server to an S3 bucket

JavaScript – Reading Excel file using node.js! Solved!

This post will show you how can you access the data in your excel sheet(.xlsx) file from your node.js code. Suppose this is our excel sheet: Here we are using an existing npm package known as xlsx. xlsx is a parser and writer for various spreadsheet formats. Installation: With npm: $ npm install xlsx Usage in node.js The above code … Continue reading JavaScript – Reading Excel file using node.js! Solved!