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

Is it possible to register ec2 node in elbv2 target group via CF template?

I use AWS::ELBv2 with set of rules which redirect requests to different services running on several tcp ports on my EC2 instance. My application doesn't support scaling, so I can't use autoscaling...

View Article


Run / Stop / Change app working on elastic beanstalk

I have an app deployed through pipeline to elastic beanstalk - ec2 and I know it resides inside /var/app/current. And now I have to run some script there so I need to stop it, change it and finally run...

View Article


What is the best way to increase size MBR partitioned root volume of EC2 more...

We have deployed a MongoDb cluster and all the data is in the same instance. The partition is in MBR and the disk size is 2TB. Now there is no disk space left. What should be the best way to increase...

View Article

Mounting an Amazon EBS Volume to a file directory on Mac Terminal [closed]

I'm trying to mount an Amazon EBS Volume to my file directory for an exercise on GitHub (NYC 311 Data Analysis). I'm not sure what I'm doing wrong with the file path and device location so that the...

View Article

Is it possible to have an AWS EC2 scale group that defaults to 0 and only...

I am trying to setup a EC2 Scaling group that scales depending on how many items are in an SQS queue.When the SQS queue has items visible I need the Scaling group to have 1 instance available and when...

View Article


Amazon EC2 - Apache server restart issue

When i run this command sudo /etc/init.d/httpd restartit gives below errorStopping httpd: [FAILED]Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80 (98)Address...

View Article

Is it possible to selectively sync cookbooks with knife bootstrap?

I'm trying to get a server up and running via knife bootstrap via this command:knife bootstrap "<ip-address>" -x ec2-user -r recipe[connector],recipe[all-servers] -N "serv-name" -E staging -i...

View Article

pandoc document conversion failed with error 127

I'm not sure how to make a reproducible example of this, but I'm curious to hear if anyone else has encountered this problem. I have an R Markdown file hosted via shiny server on an EC2 instance...

View Article


Create different ec2 instance error: Minimum instance count must be greater...

I try to create few ec2 instance which are have different count and tag. 3 Webserver instance deploying. but one load balancer gives an error message:`TASK [createIns_ec2 : Provision instance(s)]...

View Article


Image may be NSFW.
Clik here to view.

How to update EC2 instance after pushing new image version

Currently I have a docker container running an image from an ECR repository.After doing the push commands to the repository, the image is updated successfully, however, the EC2 instance still runs the...

View Article

java.awt.robot is not working on EC2 windows environment

I'm trying to use java.awt.Robot in EC2 windows server environment, and ran into a weird issue - when I am connected to the remote server (meaning, via the Amazon supplied .rdp file) it works...

View Article

how I resolve this error SequelizeConnectionError: connect ETIMEDOUT...

SequelizeConnectionError: connect ETIMEDOUT 172.31.34.149:5432 my database is connected successfully before deployment of node on aws but after deployment of aws it gives me error.

View Article

Ansible. Create different ec2 instance error: Minimum instance count must be...

I try to create few ec2 instance which are have different count and tag. 3 Webserver instance deploying. but one load balancer gives an error message:`TASK [createIns_ec2 : Provision instance(s)]...

View Article


Issue running linux AWS CodeDeploy agent in non root context

I am using AWS CodeDeploy to deploy code to our AWS Amazon Linux instances. I followed this knowledge base article...

View Article

sparklyr on ec2: can't access spark web interface (4040)

I set up a local Spark context using sparklyr (sc <- sparklyr::spark_connect(master = "local", version = "2.3"). Connects just fine but can't access the corresponding web interface for some reason....

View Article


Lambda is sending previous event instead of "live"

I'm trying to fire a callback when a new EC2 instance is in the "running" state. I've created a Cloudwatch alert and connected it to my Lambda function.The problem is that the lambda function "is...

View Article

SSH: Connection timed out- Unable to SSH into EC2 instance

I had created an Amazon EC2 instance and was able to SSH into it previously. Now if I try to SSH into it, I get the error as below:ssh: connect to host [ip address] port 22: Connection timed out I've...

View Article


Which key is in use when ssh logging into my EC2 instance?

After a ssh-keyscan I opened my generated known_hosts file, and found that there are 3 instead of 1 key for my EC2 instance.**.**.**.** ssh-rsa ****** **.**.**.** ecdsa-sha2-nistp256 *** **.**.**.**...

View Article

How to start and stop EC2 instance from Jenkins pipeline

I have a requirement : I have 3 ec2 instance A, B, C in A instance i jenkins already installed in that jenkins i need to create a pipeline job which will start and stop instance B & C.Is it possible ?

View Article

IP Address specification in deployment of Spring Cloud microservice

I am trying to develop spring cloud microservice. I developed a sample demo of Spring Cloud project by using Zuul proxy, Eureka server and Hystrix. I added my developed service as a client of Eureka...

View Article
Browsing all 29250 articles
Browse latest View live


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