Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Browsing all 29449 articles
Browse latest View live

'ascii' codec can't encode characters in position 1-2: ordinal not in...

I'm trying to run my scrapy crawlers from an EC2 instance on AWS but I'm getting this error that occurs also on Scrapinghub:'ascii' codec can't encode characters in position 1-2: ordinal not in...

View Article


Setup EC2 Instance as a webserver

I was trying to setup Apache webserver and Mysql + Phpmyadmin on my EC2 Instance.. (For POC) & I've installed apache, Php, Mysql and Phpmyadmin on the EC2 machine successfully. But the problem is...

View Article


What's the difference between EC2 Reserved Instance Linux/UNIX (Amazon VPC)...

My instance is running on Linux (kubernetes deployed by kops). From the billing I saw they are classified as "Linux/UNIX", but I think it is deployed in VPC via kops.Now I want to buy reserved...

View Article

Import error even though file is clearly in path

I am running a script and I am getting the error: Traceback (most recent call last): File "common/tensorflow/run_tf_benchmark.py", line 30, in <module> from common.base_benchmark_util import...

View Article

STOPPED (CannotCreateContainerError: Error response from da)

I'm new to AWS ECS tools suite. I'm trying to create a service that runs a task (having a docker image) on an EC2 instance inside the ECS cluster.The service gets created, however, the task fails with...

View Article


Redis Cluster Create Replicas Bind Public IP

We have 6 redis servers running in ports (8001, 8002, 8003, 8004, 8005, 8006). On the redis.conf of every Redis server we bind the ip in different ways like:bind 0.0.0.0 bind PRIVATE PUBLIC bind...

View Article

I want to prevent access to my website through EC2 Elastic IP and Public DNS....

The EC2 is configured correctly, Elastic Ip is attached and the domain is pointing to EC2 linux machine.Everything is working perfectly fine. But the problem is that all 3 Elastic IP, The Public DNS...

View Article

Open a HTTP port on Amazon EC2

I have a Tomcat 7 instance running on port 8080, and would like to run Jenkins on a different port. Another alternative would be to change the Jenkins URL.How do I add an entry to the list of allowed...

View Article


Rails App configurations for AWS CodeBuild

I have a rails application that is deployed on AWS EC2 instance with CodePipeline. I have added the Build stage in the pipeline using AWS CodeBuild to build test my code.I have no idea about where to...

View Article


How to get general spot instances pricing history

I would like to get spot instances pricing history for different regions and instances. I found how to get my own requests pricing historyand found how to get the current spot instances pricing in the...

View Article

Reading package lists... Error! on EC2

I am running Ubuntu 14.04.1 LTS on a t1.micro on ec2. Just a moment ago I logged in, ran sudo apt-get update and got Reading package lists... Error!I also realized that I no longer can install packages...

View Article

How to get SSL certificate?

I purchased a domain with DNS management on Aruba and I pointed it to an ec2 instance using elastic IP. Now the questions are:-How can I get an SSL certificate for my website? -Should I ask Aruba or...

View Article

Why does my EC2 instance fail to launch, with no 'failure' items?

I'm trying to create an EC2 instance on AWS, but it fails to launch and returns an encoded message. When I decode the message, it shows "allowed":false, but it doesn't show any items that have failed....

View Article


Problems importing numpy in AWS Lambda function

I have several lambda functions and know the drill in terms of building and exporting python libraries to be utilized on the lambda environment. Unfortunately i have run into problems with numpy.So i...

View Article

Image may be NSFW.
Clik here to view.

amazon ec2 linux - why docker installation is getting failed in ec2 isntalce

How to enable extras in amazon linux ec2 instance. I am getting below error: sudo amazon-linux-extras install docker Installing docker Loaded plugins: extras_suggestions, langpacks, priorities,...

View Article


How to change IP server automatically?

I have Amazon and DigitalOcean servers. I have a proxy telegram installed for them, and after 15 minutes an IP will be blocked. I need to script to automatically change the IP so that my proxy is...

View Article

AWS EC2 IAM policy by default

I have a bastion host in a public subnet which I am going to use to login to another EC2 instance in a private subnet. I have set it up and everything is working fine (Linux ssh). But I am curious to...

View Article


EC2 t2.micro instance has no public DNS

EC2 t2.micro instance has no public DNSI lanunched an Amazon Web Service (AWS) EC2 Instance, t2.micro, which must be launced into a VPC. The VPC has Auto-assign Public IP set to Yes. DNS resolution:...

View Article

Image may be NSFW.
Clik here to view.

Python script on ubuntu - OSError: [Errno 12] Cannot allocate memory

I am running a script on AWS (Ubunut) EC2 instance. It's a web scraper that uses selenium/chromedriver and headless chrome to scrape some webpages. I've had this script running previously with no...

View Article

How to tell if my AWS EC2 instance is Amazon-EBS backed?

I have an Amazon EC2 instance (ubuntu) that I would like to resize to a larger size, but I don't want to have to rebuild the instance. I've been told if it's EBS-backed, then I don't have to rebuild...

View Article
Browsing all 29449 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>