mongodb, replicates and error: { “$err” : “not master and slaveOk=false”, “code” : 13435 }

I tried mongo replica sets for the first time. I am using ubuntu on ec2 and I booted up three instances. I used the private IP address of each of the instances. I picked on as the primary and below is the code. mongo –host Private IP Address rs.initiate() rs.add(“Private IP Address”) rs.addArb(“Private IP Address”) … Read more

Do on-demand Mac OS X cloud services exist, comparable to Amazon’s EC2 on-demand instances? [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Stack Overflow. Closed 9 years ago. Improve this question Amazon’s EC2 service offers a variety of Linux and Windows OS choices, but I haven’t found a service offering a similar “rent by … Read more

WARNING: UNPROTECTED PRIVATE KEY FILE! when trying to SSH into Amazon EC2 Instance

I’m working to set up Panda on an Amazon EC2 instance. I set up my account and tools last night and had no problem using SSH to interact with my own personal instance, but right now I’m not being allowed permission into Panda’s EC2 instance. Getting Started with Panda I’m getting the following error: @ … Read more

Using scp to copy a file to Amazon EC2 instance?

I am trying to use my Mac Terminal to scp a file from Downloads (phpMyAdmin I downloaded online) to my Amazon EC2 instance. The command I used was: scp -i myAmazonKey.pem phpMyAdmin-3.4.5-all-languages.tar.gz [email protected]:~/. The error I got: Warning: Identity file myAmazonKey.pem not accessible: No such file or directory. Permission denied (publickey). lost connection Both my … Read more

Setting up FTP on Amazon Cloud Server [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Stack Overflow. Closed 3 years ago. Improve this question I am trying to set up FTP on Amazon Cloud Server, but without luck. I search over net and … Read more

Add Keypair to existing EC2 instance

I was given AWS Console access to an account with 2 instances running that I cannot shut down (in production). I would, however, like to gain SSH access to these instances, is it possible to create a new Keypair and apply it to the instances so I can SSH in? Obtaining the existing pem file … Read more

Do you get charged for a ‘stopped’ instance on EC2? [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Stack Overflow. Closed 10 years ago. Improve this question Bit confused here, I have an on-demand instance but do I get charged even when I stop the instance? 4 Answers 4