What is the difference between Amazon SNS and Amazon SQS?

SNS is a distributed publish-subscribe system. Messages are pushed to subscribers as and when they are sent by publishers to SNS. SQS is distributed queuing system. Messages are not pushed to receivers. Receivers have to poll or pull messages from SQS. Messages can’t be received by multiple receivers at the same time. Any one receiver … Read more

“UNPROTECTED PRIVATE KEY FILE!” Error using SSH into Amazon EC2 Instance (AWS)

The problem is having wrong mod on the file. Easily solved by executing – chmod 400 mykey.pem Taken from AWS instructions – Your key file must not be publicly viewable for SSH to work. Use this command if needed: chmod 400 mykey.pem 400 protects it by making it read only and only for the owner.

Downloading an entire S3 bucket?

AWS CLI See the “AWS CLI Command Reference” for more information. AWS recently released their Command Line Tools, which work much like boto and can be installed using sudo easy_install awscli or sudo pip install awscli Once installed, you can then simply run: aws s3 sync s3://<source_bucket> <local_destination> For example: aws s3 sync s3://mybucket . … Read more

Why do people use Heroku when AWS is present? What distinguishes Heroku from AWS? [closed]

First things first, AWS and Heroku are different things. AWS offer Infrastructure as a Service (IaaS) whereas Heroku offer a Platform as a Service (PaaS). What’s the difference? Very approximately, IaaS gives you components you need in order to build things on top of it; PaaS gives you an environment where you just push code … Read more

tech