amazon

AWS EC2 Instance Limits

穿精又带淫゛_ 提交于 2019-12-11 16:59:48
问题 i have a new account on AWS and by default i can create only 1 VM on demand on US EAST N. VIRGINA us-east-1. This appear to me very strange, i have sent an email to tyhe support to allow me to create more instance but i bet taht i have to configure something. Can someone help me to understand if this is normal? following a screenshot of the error that i see when i launch a new instance on-demand 回答1: Follow the link and ask that the limit be increased. Once that is done, you won't have to ask

How to SSH to Amazon EC2 redhat instance without using keypair?

一个人想着一个人 提交于 2019-12-11 13:23:40
问题 I have an app I'd like to use that requires an SSH connection to the server. Unfortunately there are no settings to use my keypair - only un/pw authentication. Does anyone know a workaround? I've already tried editing ssh_config, setting PasswordAuthentication yes and reloading. Thanks for any tips! 回答1: Editing ssh_config and enabling PasswordAuthentication has always worked for me on my instances. If you application doesn't need to authenticate as root, be sure to create a new user for it.

How can I open port 2195 and 443 on my amazon ec2 server?

眉间皱痕 提交于 2019-12-11 13:15:11
问题 I have set up an Amazon ec2 server but I want to open port 2195 and 443. I already added ports from security group in Amazon console. When I listen port using netstat -anltp | grep LISTEN I got only two ports 23 and 80. I also checked if ubuntu firewall is blocked or not. Please help me. 回答1: After you add the ports in EC2 Security Group, they are ready to be used by any process. Restarting your EC2 instance is also not needed. netstat -anltp | grep LISTEN will start showing the new ports as

Amazon S3 upload fails using boto + Python

自古美人都是妖i 提交于 2019-12-11 12:13:17
问题 Hi I am unable to upload a file to S3 using boto. It fails with the following error message. Can someone help me, i am new to python and boto. from boto.s3 import connect_to_region from boto.s3.connection import Location from boto.s3.key import Key import boto import gzip import os AWS_KEY = '' AWS_SECRET_KEY = '' BUCKET_NAME = 'mybucketname' conn = connect_to_region(Location.USWest2,aws_access_key_id = AWS_KEY, aws_secret_access_key = AWS_SECRET_KEY, is_secure=False,debug = 2 ) bucket = conn

NoSuchBucket error when running Kubernetes on AWS

不羁的心 提交于 2019-12-11 09:58:01
问题 Downloaded Kubernetes 1.1.8 from: https://github.com/kubernetes/kubernetes/releases/download/v1.1.8/kubernetes.tar.gz Followed the instructions at: https://github.com/kubernetes/kubernetes/blob/master/docs/getting-started-guides/aws.md And got the following error: kubernetes-1.1.8 > ./kubernetes/cluster/kube-up.sh ... Starting cluster using provider: aws ... calling verify-prereqs ... calling kube-up Starting cluster using os distro: vivid Uploading to Amazon S3 Creating kubernetes-staging

allow others to see your Sinatra local server through amazon instance

安稳与你 提交于 2019-12-11 09:38:27
问题 It's really difficult to explain. But basically, I have an amazon instance, and I want to ssh into it and run a local server on it with sinatra. so I would ssh into the amazon instance, git clone my repo, and run ruby config.ru. Then I want someone else to be able to see that exact local server that is being ran. One of the things I've done is added a security group, port 4567 HTTP so that I can access it via public dns. It works on a rack app but it doesn't work on the sinatra, I've even

getBalance in Amazon Turk gives error [closed]

橙三吉。 提交于 2019-12-11 09:30:14
问题 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 5 years ago . Do you know why the following executable gives error and how to fix it? aaron@aaron-desktop:~/Desktop/aws-mona/aws-mturk-clt-1.3.1/bin$ echo $JAVA_HOME /usr aaron@aaron-desktop:~/Desktop/aws-mona/aws-mturk-clt-1.3.1/bin$ chmod 755 getBalance.sh aaron@aaron-desktop:~/Desktop/aws-mona/aws-mturk-clt-1.3.1/bin$ .

Packets of length 1400 not being received from a specific server

牧云@^-^@ 提交于 2019-12-11 09:27:53
问题 This is regarding the amazon hosting. Sometimes, the server doesn't respond with packets greater than a specific length (about 1400 characters). So any operation would work if it involve downloading/reading of packets within that length; while the requests greater than these lengths are not received by the client. Every other website works. For example, if you are making a WinSCP connection, authentication etc. will be done but it won't be able to execute the commands as simple as "ls" or

Amazon s3 upload fail

三世轮回 提交于 2019-12-11 08:41:26
问题 I have been working on some code to submit an uploaded image to PHP from C# and then storing the image on Amazon S3, I have got as far as I have wanted uploading it to localhost, but I'm just unable to upload it to Amazon S3. Just wondering if you guys can give me a little help? No worries if your not willing to. I'm using an amazon s3 PHP class found here Here's my code. <?php if (!class_exists('S3'))require_once('S3.php'); if (!defined('awsAccessKey')) define('awsAccessKey', 'CHANGEME'); if

REST xml answer - Jaxb - Amazon product API

偶尔善良 提交于 2019-12-11 08:14:21
问题 I'm currently (trying) to work with the amazon product API to search thourgh items. I have the response in XML, but i have an exception in jaxb, maybe i missed something.. Here is the XML : XML response from Amazon I want to extract items informations, but i'm getting some trouble. Item class: @XmlRootElement(name="ItemSearchResponse") public class AmazonItem { private String name; private String asin; private String price; public AmazonItem() { } @XmlJavaTypeAdapter(CollapsedStringAdapter