w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
  Home » AMAZON » Page 1
Error dialing loggregator server: websocket: bad handshake
You are using very old version(146) of cf,please update it and retry pushing your app . The latest release can be obtained here. https://github.com/cloudfoundry/cli/releases I will also suggest to enable traces "CF_TRACE=true cf logs myapp --recent" and provide o/p if still you get some error.

Categories : Amazon

Amazon RDS Read Replica -- Skipping Replication Errors
You should never, ever skip a replication error until you have understood what is causing the error, repaired the underlying problem, and corrected any data inconsistencies between the master and replica. With each error you skip, the divergence increases between your master and replica's data sets, and any divergence is unacceptable. You have no real alternative but to create a new replica inst

Categories : Amazon

How to delete instance in EC2?
Terminating your instance is essentially deleting it, it will take some time to get reflected on your dashboard (meaning it won't appear on your instance list table) There is no use of terminated instances. Once you terminated your instances, it means you have completely lost that particular instance. But during the time of creation of your instance if have you had enabled the option called Pro

Categories : Amazon

AWS CLI command completion with fish shell
It's actually possible to map bash's completion to fish's. See the npm completions. However it's probably still better to write a real fish script (it's not hard!).

Categories : Amazon

Restrict Access to S3 bucket on AWS
When dealing with a private S3 bucket, you'll want to use an AWS SDK appropriate for your use case. Here lies SDKs for many different languages: http://aws.amazon.com/tools/ Within each SDK, you can find sample calls to S3. If you are trying to make private calls via browser-side JavaScript, you can use CORS.

Categories : Amazon

What is the need of .ppk file while connecting EC2 node through putty? can we access all other instances with same .ppk?
Actually its needed cause Amazon doesn't have password system for SSH accesss it uses key pair private and public so you need the key to loggin in EC2 via .ppk. No you can't login with this key in other instance unless you have selected it during deploying server http://www.cmsthisway.com/build-amazon-ec2-rds-mysql-server/

Categories : Amazon

Amazon AWS EC2 Instance intermittent timeouts
We found the reason behind the issue above. It turned out that there was a network config issue on the AWS. A firewall rule was restricting the range of ports that could be accessed externally. IP-ports are allocated randomly, so if we got a port in the correct range then we are able to access the service otherwise the access failed. Issue is now resolved and I hope this answer will help any one

Categories : Amazon

Can't clone from bitbucket repository
Are you specifying your repository credentials correctly? In the Source Code Management section of the job configuration, click the Add button to add a Credentials entry that uses the SSH key you added to your Bitbucket repo. I usually save my private key file on the filesystem where it's readable only by Tomcat, select the "From a file on Jenkins master" option in the Add Credentials dialog, and

Categories : Amazon

Best way to make Amazon AWS DynamoDB queries using Swift?
The easy answer to your question is : convert the JSON string returned into a Dictionary object. Something like this : let data = jsonDataItem.dataUsingEncoding(NSUTF8StringEncoding) if data != nil { var error : NSError? let dict = NSJSONSerialization.JSONObjectWithData(data!, options: NSJSONReadingOptions.AllowFragments, error: &error) as? NSDictionary if let e

Categories : Amazon

How to open Commoncrawl.org WARC.GZ S3 Data in Spark
There is an example code from the "Analyzing Web Domain Vulnerabilities" analysis that shows you how to access WARC files from Spark as Spark supports the Hadoop InputFormat interface. The code itself is hosted on GitHub. We're hoping to provide an example in the Common Crawl GitHub repository soon, as we do for Hadoop using Python and Java.

Categories : Amazon

What is the cost of Live streaming using Adobe Media Server in amazon cloudfront in Amazon web services
Based on the description, the origin server used by CloudFront would be your EC2 machine. Ec2 Server as the Origin Server ---(1)---> CloudFront ---(2)---> Users CloudFront is a Content Delivery service that works as this: When a request for certain content is received by a user, CloudFront checks its closest location for the presence of the content. If found, it is returned to the user

Categories : Amazon

Creating an EC2 + EBS instance for API + Storage, how much does performance matter for serving images?
Your description suggests that the application comprises a web UI, an API, a controller that somehow interacts with a database, and an image processor. This is a very typical use of AWS and your intuition to separate these components is wise. I'd suggest the following approach: Host the UI on a pair of instances behind an ELB Run the API and controller code (assuming these are integrated) on ano

Categories : Amazon

Error installing rhc: net-scp requires net-ssh (>= 2.6.5, runtime)
Snow Leopard comes with net-ssh 2.0.4 installed. Try running sudo gem update net-ssh in terminal to update net-ssh, then try installing rhc again. You may want to just run sudo gem update to get all of your RubyGems up to date.

Categories : Amazon

on Amazon EC2 Which metric should I put an alarm on so I don't go over the free tier limit
It is not possible to be notified when you are going to incur a charge. You will be notified when you have crossed a certain threshold. The threshold can be very small (if that helps). Go to : CloudWatch Alarms [Select appropriate region] You can either create an alarm on TotalEstimatedCharge or EstimatedCharge for individual services that you are using (EC2 and RDS in your case) Once the cons

Categories : Amazon

How to refresh the Google Plus bearer token when using the AWS JavaScript SDK
I'm surprised that gapi.auth.authorize doesn't work correctly in this case. Could you add cookiepolicy : 'single_host_origin', response_type: 'id_token token gsession', to the gapi.auth.authorize params? At what point are you starting to get errors? Is it when token expires (you can determine that by checking .expires_at property in the response)? Are you getting the same access_token when

Categories : Amazon

which centos image can I use on aws with vagrant?
Defaults requiretty is a default for sudo so you have to have an controlling terminal, and it has been deemed useless and will be removed someday. So you can remove that line using visudo. Source: http://unix.stackexchange.com/questions/122616/why-do-i-need-a-tty-to-run-sudo-if-i-can-sudo-without-a-password

Categories : Amazon

How much data transfer does a typical http request generate on EC2?
They will measure it at the boundary between the network and the datacenter. Which means that TCP/IP overhead is probably involved in the packet overall packet size. I don't think most people are looking at this as cost of processing and storing the data will become a concern long before bandwidth does.

Categories : Amazon

Amazon EC-2 Can't edit files in filezilla tried updating permissions in instance via putty
Well, if the file you want to edit is root-owned, you cannot edit it unless you have access to the root account on the instance in question. Assuming you do have that, one option, given your currently described access, would be to upload the new version of the file using SFTP (i.e. Filezilla) to any location, then move the file on the command line using SSH (i.e. Putty). So, upload the file to th

Categories : Amazon

Login And Pay With Amazon Automatic Integration Guide
You should be following the UK guide. http://docs.developer.amazonservices.com/en_UK/apa_guide/APAGuide_GettingStarted.html

Categories : Amazon

mechanical turk -- how to train a knowledge worker for a qualification?
Qualification Tests are, by definition, one page and non-dynamic. What you describe will require that you create a HIT as a training activity and then, based on performance on that, assign qualifications that will allow satisfactory workers to complete the actual HITs. The QuestionForm structure that needs to be used for creating a QualificationTest is simply not flexible enough for your needs. Th

Categories : Amazon

Show a loader while a Meteor CollectionFS and S3 image downloads?
I figured it out. I was searching for the wrong thing on Google. The question is really how to use JQuery to listen for when an image has loaded. So you can just add your loader in your template, then hide it once the load event fires on the image. This simple code works great in Meteor: Template.myTemplate.events({ 'load #whateverImage': function(event) { event.preventDefault();

Categories : Amazon

Cassandra Datastax Enterprise using Amazon Elastic IP
Three addresses avaliable in Cassandra.yaml Listen Address - This is the ip address other Cassandra nodes will use to talk to this node. You want this to be your internal AWS IP Address for performance. RPC Address - This is the address your client connects to, probably the one you want to configure to match your external AWS address if your client is not sitting in AWS or in the same AWS region

Categories : Amazon

S3 Default Lifecycle Expiration
By default, an object on S3 doesn't has a expiration date. If you don't specify a lifecycle rule, it will be there forever. You can upload a file to the bucket without the lifecycle rule, check the properties of object, the Expiry Date is none

Categories : Amazon

Possibility of taking snapshot of AWS EMR cluster or namenode
It is not possible to create a snapshot of an EMR cluster node and you cannot use a custom AMI when running a cluster. However you can install software on the cluster nodes at the cluster creation time using custom bootstrap actions. You can create your custom bootstrap scripts and use them every time you launch a new cluster. This way you can achieve a similar functionality with the one you are s

Categories : Amazon

What "desired instances" is needed for? AWS Amazon Webservices AutoScaling group
The ASG will always try to maintain the Desired Capacity. If you scale up or down, and the new number of instances is different than the Desired Capacity, the ASG will add or remove an instance to go back to the desired capacity. If you use scaling policies, and the policy condition is met, the ASG will change the Desired Capacity to match the result of your scaling policy. E.g., you have a Desi

Categories : Amazon

Hue install bootstrap error using AWS EMR with Boto
Example to install and run Hue in EMR AMI 3.3 import boto.emr from boto.emr.emrobject import InstanceGroup from boto.emr.bootstrap_action import BootstrapAction from boto.emr.step import ScriptRunnerStep conn = boto.emr.EmrConnection() jobid = conn.run_jobflow(name="Hue Example", ami_version = "3.3.0", log_uri="s3n://your-log-path-here",

Categories : Amazon

Can I set a policy for certain file in an S3 bucket?
Yes this works just fine. You can add this policy to your bucket permissions: { "Version": "2012-10-17", "Id": "123", "Statement": [ { "Sid": "", "Effect": "Allow", "Principal": "*", "Action": "s3:**", "Resource": "arn:aws:s3:::mybucket/public/*" } ] } Then add a file called test.html to your public fold

Categories : Amazon

Is there a way to have S3, Cloudfiles, etc download a file directly from a URL?
All modem cloud (object) storage service meet your requirement, I think. For exmaple, AWS S3, supports set canned ACL to public when putting object (uploading file). http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPUT.html

Categories : Amazon

How do I get the price listed ONLY on the Amazon product page with the API?
The operation you need to call is GetCompetitivePricingForASIN or GetCompetitivePricingForSKU The price showed to the costumer (and including shipping) is located here: .... <Price> <LandedPrice> <CurrencyCode>USD</CurrencyCode> <Amount>34.27</Amount> //<<<<<< this one!

Categories : Amazon

Amazon S3 Client setReadLimit
A little bit necroing, but you need to create a PutObjectRequest and use the setReadLimit on that: PutObjectRequest putObjectRequest = new PutObjectRequest(bucketName, key, fileInputStream, objectMetadata); putObjectRequest.getRequestClientOptions().setReadLimit(xxx); s3Client.putObject(putObjectRequest); If you look in the implementation of the putObjectRequest(String, String, InputStream, Ob

Categories : Amazon

Tagging EC2 machines in Pipeline's EMR Cluster (ImportCluster in the S3->DynamoDB example)
I could not find a solution for how to add tags to EMR(and how to set it to be visible to all users) so I have created a python script to run as bootstrap action. If its still relevant you can find it here

Categories : Amazon

SSH into a docker container from another container on a different host
For you to be able to ssh into the second container on port 22 you would need get the host ec2 vm's ssh daemon out of the way. One way is to change your host machine's ssh port by adding an entry in /etc/ssh/sshd_config to something like 3022. Now you can use -p 22:22 when you run your docker container(s) and be able to ssh between them. However, ssh`ing the ec2 instance is on 3022. If you woul

Categories : Amazon

How do I make bower install work with aws.push?
I have experienced the same problem when trying to publish my nodejs app in a private server running CentOs using root user. The same error is fired by "postinstall": "./node_modules/bower/bin/bower install" in my package.json file so the only solution that was working for me is to use both options to avoid the error: 1: use --allow-root option for bower install command "postinstall": "./node_mo

Categories : Amazon

Trying to Set Up a Cydia Repo With Amazon s3
I had the same issue, and found a workaround. Sync all files to s3://[your_bucket]/./ AmazonS3 is a simple KVS(Key-Value Store). Maybe Cydia requests http://[repo-url]/./Packages.gz, but S3 can't resolve /./.

Categories : Amazon

How do I set the beanstalk .ebextensions .config "sources" key "target directory" to the current bundle directory
You can use container_commands instead of sources as it runs after the application has been set up. With container_commands you won't be able to use sources to automatically get your files and extract them so you will have to use commands such as wget or curl to get your files and untar them afterwards. Example: curl http://[bucket].s3.amazonaws.com/utility.tgz | tar xz

Categories : Amazon

Persistent storage on Elastic Beanstalk
If your desire is to have a central data repository that all EC2 instances can access, then Amazon S3 would be your best option. Normal disk volumes are provided via Elastic Block Store (EBS). EBS volumes can only be mounted to one EC2 instance at a time. Therefore, to share data that is contained on an EBS volume, you will need to use normal network sharing methods to mount network volumes. How

Categories : Amazon

AWS VPC Private/Public Subnet
Yes, there is something that will prevent you from doing this... VPC won't let you do it. Instances are launched in a single subnet. If they have additional interfaces, those have to be in the same subnet as well. But, even if you could provision an instance this way, there would be no real point, or benefit, or justification, because IP networking in VPC is not exactly the same as in a phy

Categories : Amazon

Modify S3 API to access Ceph instead of Amazon S3 storage
Just let the S3 endpoint resolve to your ceph radosgw (ceph's S3 API interface.), via /etc/resolv.conf, dnsmasq, jets3t's config....many ways available. Many object storage claim that they are S3 compatible, but in fact they are not. I think ceph is one of them. If what you want is fully compatible, google cloudian.

Categories : Amazon

Delay job in AWS
Can you create individual Multiple Queues and put the queue items separately. Example 1: You can have 6 queues like Queue0, Queue1, Queue2, Queue3, Queue4, Queue5 and use a hash-function like hash(x) = current-hour % 6 - this function will return values from 0 to 5 and you can put the items in Queue_f(x) and read the queues individually based on current time. Example 2: If the current time is

Categories : Amazon




© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.