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

AWS EBS Load Balancer finds instances unhealthy

I know this question is not exactly suitable for stackoverflow but still, I have the most chances of getting answer here so posting it here. I have configured AWS EBS with Application Load Balancers...

View Article


Run a python code using CLI without pem file from an EC2 using AWS CLI

I have made and automation to process a particular file and save it. I have an EC2 machine. I want others to use this code to upload the file and download the output from my EC2 instance, without...

View Article


Script to disassociate and release all Elastic IP addresses from all regions...

I'm learning how to use AWS infrastructure and CLI tools. I had many EC2 instances with public IP that I have terminated using another CLI script authored by Russell Jurney Source.I tried to modify...

View Article

setup ftp client for use with aws ssm tunnel

We are experimenting replacing bastion hosts with aws ssm. This is working as expected for ssh sessions but we cannot identify a tutorial for setting up a ftp client such as winscp.according to the...

View Article

Modify existing resource in Clouformation

I have the next issue:I have one cloudformation stack and i creating an Listener Rule and a target group and i need in the same CF attach this listener with this target group to an existing LB....

View Article


How to deploy spring boot microservices on aws and along with eureka naming...

I have different microservices which is developed in spring boot. Along with i deployed eureka naming server on EC2 when i run microservice from my localhost and give proper eureka naming server url...

View Article

502 bad request on AWS Spring boot application

Hi I am new AWS and trying to deploy spring boot application in Elastic Beanstalk . Deployment is successful but not able to access application .Getting 502 Bad Request Gateway nginx/1.10.1 error....

View Article

Jenkins CLI download fails with 500 Error or 503 Error

I am using an EC2 instance to setup Jenkins. In the EC2 instance, I bootstrap the following script to download the Jenkins CLI in my EC2 instance.sudo wget...

View Article


Change public IP address of EC2 instance without stop/start or elastic IP

I'm running an ubuntu AMI on EC2. Is it possible to assign/request a new public IP address for a running EC2 instance without terminating it and starting it again? Note that I'm not interested in using...

View Article


reading in a file from ubuntu on local machine?

I have a python script which I'm running on AWS (EC2 instance with Ubuntu). This python script outputs a JSON file daily, to a directory in /home/ubuntu: with...

View Article

incorrect ephemeral data from meta-data/block-device-mapping in ec2

we're using Ansible to provision ec2 instances, deploy our application on them and then create an AMI based on that instance, update the launch config so the autoscaling group always launch a new...

View Article

terraform) how to stop instance after running script(inline)?

I create 30 instance to run crawl script, but I have no idea how to stop instances created by terraform command. Please see my main.tf code below:resource "aws_instance""crawl_worker" { ami =...

View Article

Slicing audio files using GET requests in Python on Elastic Beanstalk

Trying to spin up a simple Flask app on Elastic Beanstalk for slicing audio in chunks. First step to download the audio file using GET request:@application.route("/<path:url>", methods=['GET'])...

View Article


Launch Configurations Created using AWS-Console VS Programmatically

I would like to find out if there is an easy way to find out whether given launch configuration is created using AWS Console or Programmatically?Usecase: We are planning to avoid copying/creating...

View Article

CAN'T CONNECT TO SSH EC2 AWS CHANGE SOME FILE PERMISSION

OpenSSH_8.1p1, OpenSSL 1.1.1d 10 Sep 2019 debug1: Reading configuration data /usr/local/etc/ssh/ssh_config debug2: resolving "ec2-ip address.eu-west-2.compute.amazonaws.com" port 22 debug2:...

View Article


Image may be NSFW.
Clik here to view.

Can update Elastic Beanstalk from Single instance to Load balancer,

I had one environment in the application. I decided to clone that environment(I wasn`t able to clone as environment has a Load balancer and I switched it back to a single instance ). Now when I am...

View Article

Installing ssl on amazon ec2 (linux) running tomcat 7 cant reach site at port...

i'm faceing a problem trying to install ssl on my amazon ec2 instance running tomcat 7. everything is up and running at port 8080 but when i try to reach throgh port 443 i get cannot reach site...

View Article


Modify existing resource in Cloudformation

I have the next issue:I have one cloudformation stack and i creating an Listener Rule and a target group and i need in the same CF attach this listener with this target group to an existing LB....

View Article

how to find reason for 100% CPU utilization on AWS EC2?

I've fleet of EC2 instances : A and B (both are in same AWS account, same Linux OS version, same region, but different AZ and under different load balances ). when i give same load to fleet of EC2...

View Article

Configure Jenkins EC2-Plugin with Groovy

I am trying to configure the Jenkins EC2-Plugin via Groovy. Plugin code: https://github.com/jenkinsci/ec2-pluginI'm trying to setup the cloud with a name to get startedimport hudson.model.* import...

View Article
Browsing all 29444 articles
Browse latest View live


Latest Images

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