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

Error when connecting from a web server to a remote MySQL DB Server

I have been struggling to connect from a Ubuntu version 16.04 web server (running on 1 AWS instance, with PHP 7.0.33 and Apache 2.7.18) communicating with a data base server using MySQL 8.0.19 running...

View Article


Log API Gateway Events before EC2 Execution

We're working with AWS and wish to log all incoming http requests from our API Gateway to the EC2 box in their entirety (i.e. not truncated at 1024 bytes). As we know the logging for API Gateway is not...

View Article


Redirect all www and http ==>> non www https on AWS Elastic Beanstalk with...

I currently have this in place to redirect all http traffic to https.RewriteEngine On RewriteCond %{HTTP:X-Forwarded-Proto} !=https RewriteRule ^/(.*)$ https://%{SERVER_NAME}/$1 [R=301,L] The above is...

View Article

Choosing microservice using AWS EC2 and ECS

I am trying to develop a spring cloud micro services. And I planned to deploy into AWS cloud. When I reading AWS resources I found that ECS providing configuration less environment for deploying...

View Article

How to invoke a million Lambdas efficiently?

I have a Lambda function which I'm currently invoking from EC2. But I'm invoking it sequentially in a loop. So, if there are 1000 items to be processed, I'm using a simple loop to iterate over them and...

View Article


AWS Windows EC2 Instance is not connecting to internet

I am having a EC2 Windows instance in my AWS account. I have used 2019 base to create my machine, I am able to connect to my machine and I do not have internet connectivity in the instance. I am new to...

View Article

Provide SSH Access on AWS EC2 Instance with a private key

I have a AWS EC2 Instance running with a PEM file kept at a safe place. Now I want to give sftp access to one of the user to a particular directory. For this they have given me the private key file of...

View Article

how can i enable connections from outside of the local subnet in winrm on my...

when trying to execute a remote command on my ec2 instance using winrs -r:serverip cmdWinrs error:WinRM cannot complete the operation. Verify that the specified computer name is valid, that the...

View Article


Trying to login to ECR fails with -no-include-email error

I am using this command to login to docker on my EC2$(aws ecr get-login --registry-ids xxxxxxx --region us-west-1 --no-include-email) when I do that, I get following error:Unknown options:...

View Article


How do you add swap to an EC2 instance?

I'm currently running an ec2 micro instance and i've been finding that the instance occasionally runs out of memory.Other than using a larger instance size, what else can be done?

View Article

Disk limit increased but ignored with docker in aws [closed]

I have an ec2 instance with docker.By default, the docker disk limit is 10 G but I need to have at least 20-30 G to investigate some issues.For that I increased the /dev/mapper to 100 G and...

View Article

Image may be NSFW.
Clik here to view.

How to remove default certificate (need to change to different certificate)

I can't remove the current cert because it's the default. So uh..how do I make the other one the default so I can remove the current default?Note in the screenshot it says:Select the certificates to...

View Article

Is there a way to use the aws_ec2 ansible inventory plugin to define a...

I'm trying to configure a prometheus server working with ansible. I want to monitor some aws instances (ec2) but I'm stuck with the targets of prometheus. I probably should use a json file to define my...

View Article


Image may be NSFW.
Clik here to view.

Port 80 closed on RHat enterprise server 7.7 EC2 image all of a sudden

one of our EC2 instances got broken all of a sudden and we couldn't reach it. It's running a Spotfire Server (i.e. Tomcat web app). I ran nmap -Rn- <IP-address> I found out that the only open...

View Article

Amazon EC2 Linux - Azure devops Agent installation throws an error while run...

./config.sh: line 85: ./bin/Agent.Listener: cannot execute binary file

View Article


How to redirect IP or AWS default hostname based traffic to public DNS?

I have one agular app deployed on AWS instance under apache root directory (var/www/html). The app is currently accessed by https://IP, http://IP , https://ec2-.., and http://ec2-...Recently we...

View Article

CloudWatch / Route 53 : Restart an EC2 Instance If IP Requested (but shut...

I know how to shut down an EC2 instance that's idle, with this : https://aws.amazon.com/about-aws/whats-new/2013/01/08/use-amazon-cloudwatch-to-detect-and-shut-down-unused-amazon-ec2-instances/However,...

View Article


Image may be NSFW.
Clik here to view.

AWS Lambda unable to link the tesseract Executable

Tesseract OCR on AWS Lambda via virtualenvScroll to Adapatations for tesseract 4. I have used this link to create the executable and the dependency libraries for tesseract. I have zipped everything and...

View Article

EKS: verify connection between ec2 and rds instances and difference between...

I have setup a RDS instance and I am trying to see if i am able to connect from my EC2 instances(setup using EKS) to the RDS instances.All my EC2 and RDS instances are in the same VPC. There is a...

View Article

move files to s3 in EC2

I have S3 bucket in EC2 . I want to remove multiple files between s3 folders . however it showing deleted files but files are still therecommand:aws s3 rm...

View Article
Browsing all 29239 articles
Browse latest View live


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