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

How to sort_by to get latest object using jq

So I run this: aws ec2 describe-snapshots \ --region xxxxxxxxx \ --owner-ids xxxxxxxxxxxx \ | jq '.Snapshots[] | select(.VolumeId=="vol-xxxxxxxxxxxxx")'And I get this https://jqplay.org/s/SnT8lDwycYHow...

View Article


SSH to Elastic Beanstalk instance

I just signed up for Amazon's new Elastic Beanstalk offering. What I can't figure out is how to SSH to a Beanstalk instance. I don't have a private key because Beanstalk generated the instance on my...

View Article


AWS EC2 instances keeps killing and spinning up the instances for infinite...

I have a rest api hosted on EC2 instance, one of the restapi endpoint is used in order to check aws application load balancer health check. In addition, an auto scaling group is configured for...

View Article

How to assign IAM role to users or groups

I know how to create user, group and role in AWS IAM. I can also attach policies to each of them. For example, after selecting a group, you can go to permissions tab, and attach some policies to...

View Article

API calls error on TestFlight (only with iPhone 11 Pro)

My project works well on development mode. It also works on release mode.And even works well on TestFlight below iPhone 11. It only crashed on iPhone 11 with TestFlight.It crashes when I call my own...

View Article


Nodetool status connection refused

I've installed Cassandra via a service on an EC2 instance running Ubuntu 16, and I can't, for the life of me, understand why I can't get nodetool status working.I've heard that I should change the...

View Article

Aws auto scaling group terminated one ec2 instance with Instance status check...

Auto scaling group in Aws terminated one ec2 instance with Instance status check fails and re launched another instance which is running fine.. Is there any way to check which causes my ASG to...

View Article

How to bootstrap an AWS EC2 instance from on-premise chef workstation?

With the help of knife ec2 plugin I have created an instance in AWS.knife ec2 server create -I ami-04763b3055de4860b -f t2.micro -Z us-east-1a -N testEC2 -x ubuntu --sudo --associate-public-ip Now I...

View Article


Unit nginx.service could not be found

I just connected to my EC2 instance and have Nginx installed, I want to just check on how the server is doing but whenever I run sudo systemctl status nginx I get "Unit nginx.service could not be...

View Article


Issue with AWS Route 53

We have hosted one application in Aws Ec2 and deployed by using DNS of Route 53 with SSL cert.Still facing an error “Not Secure” when I hit the URL.It is a single instance with an ELB.Any pointers?

View Article

Connecting AWS RDS from sqlalchemy via EC2

I am trying to connect to AWS RDS (postgres) from EC2 machine with the following code. This works perfectly when I run it from my local machine and creates the table in the database. But when I run it...

View Article

Changing the value key in pom.xml on ec2 instance

We have a springboot app deployed in CloudFoundry and the settings/configuration are located in the EC2 instance (pom.xml).I need to change a portion of the configuration file (service ip) pointing to...

View Article

Migrating old aws instance to current generation ec2 instance

I am trying to change my instance type from old generation which uses paravirtual virtualization to hvm (current generation instance), I am following this forum to do stuff, from aws forums This...

View Article


Image may be NSFW.
Clik here to view.

AWS CloudWatch alarm is in "insufficient data" state when metrics are pushed...

Alarm is on insufficient state for long time.Graph of the metric:This is the code that creates the alarm:import boto3 # Create CloudWatch client cloudwatch = boto3.client('cloudwatch') # Create alarm...

View Article

What is the default Jenkins password?

I'm using a EC2 server instance. Used the following to install Jenkins:wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add - sudo sh -c 'echo deb...

View Article


amazon ec2 instance unable to resolve host

I have a bunch of amazon ec2 instances. Today, for no reason I can determine, three of them became unable to resolve a specific url. When I try curl <url>, those three instances say "curl: (6)...

View Article

Changing the auto-hibernate settings on a AWS Cloud9 EC2 Instance

While setting up the AWS Cloud9 EC2 instance, I selected 30 mins for auto-hibernation. I would like to change this to Never. How do I do that?

View Article


java.io.Exception Unexpected End Of Stream on com.android.okhttp

I'm currently working on Android Studio. Just trying to make an app to register account and save data on database using LAMP stack. The code I was using worked for localhost (I'm using XAMPP), it...

View Article

Image may be NSFW.
Clik here to view.

AWS Glue classifier for multi-delimiter not working

I am trying to run a crawler on CSV file located in s3 where |~| is the delimiter. I gave the delimiter as below:I ran the crawler but it is not able to read the data and creates an empty table. I have...

View Article

How to properly set AWSElastic Beanstalk default template to Grails (Gradle)...

New to DevOps so bare with me... I am trying to setup up a continuous delivery structure for a Grails web-app with AWS using Jenkins. Jenkins is running on an AWS EC2 instance, its pipeline is build...

View Article
Browsing all 29537 articles
Browse latest View live


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