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

Aws EC2 status check 1/2 and docker container stop [closed]

I have deployed React app to ec2 instance and after sometime the status check is 1/2 and the container running in the ec2 instance stopAnyone know the error please let me knowThanks

View Article


Certbot Amazon Linux error can't generate ssl cert

I am trying to run certbot on an Amazon Linux EC2 instance to generate an ssl cert. I have turned off both nginx and apache to make port 80 available for certbot to bind to. I am running certbot with...

View Article


Create tar folder in AWS instance using ssh command

Here I am trying to creating tar for existing folder in AWS instance (eg: abc folder and its path is /home/ubuntu/first/abc) and copy to the local system path (/home/venky/myfolder/). Again copy this...

View Article

AWS - Snapshot creation from one EBS type and restore as another EBS type

Can we create a snapshot of EBS volume of Type - Gen Purpose SSD and later create a EBS volume of Type - Provisioned IOPS SSD from that snapshot?I am thinking to do this to speed up my...

View Article

Can I use create a share between an EC2 instances and my local machine?

Just to give you a context... I'm new to the aws world and all the services that provides.I have a legacy application which I need to share some binarys with a client, and I was trying to use a ec2...

View Article


Nodejs on Amazon Linux EC2: Error: EACCES: permission denied

We are hosting a nodejs application on amazon linux EC2 instance and we generated the private key and certificate with certbot-auto as the ec2-user for standalone. Our node application currently runs...

View Article

Jenkins EC2 Windows Slave agents with time-outs

I have Jenkins infrastructure with one master and 4 slaves hosted in local CPD working fine. I need to add more windows slave agents and for this purpose I installed de Amazon EC2 Plugin for Jenkins....

View Article

How to ssh to amazon centos via ssh-node

Stupid question, trying to connect to my amazon centos instance using node-sshat terminal connecting: ssh -i myCert.pem centos@10.10.10.10let fs = require('fs') let path = require('path'); const...

View Article


Decrypting Windows Password in terraform

I'm trying to set up a Terraform script to deploy a windows server. When running terraform apply I get an error message referencing below Error: Invalid reference on main.tf line 44, in resource...

View Article


What is scp -t response mean? [duplicate]

When I try to scp a file to an amazon ec2 instance, the file is not copied and I get the below error. I am able to ssh to the instance with username ec2-user though. What does the scp -t option mean?☹...

View Article

EC2 cannot access S3 object via IAM role

I created an IAM role as follows and attached to my EC2 instance:{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "s3:Get*", "s3:List*" ], "Resource": "*" } ] } Also added...

View Article

Why am I getting "Could not resolve hostname" while trying to connect to my EC2

I am trying to connect via SSH to my EC2 Instance. This works:ssh ubuntu@ec2-1-111-111-111.eu-central-1.compute.amazonaws.com However, when I try to alias my connection by adding this to my ~/.ssh...

View Article

There's problem if remove one kernel from centos 7

have problem with install Symantec agent in amzn2 ec2 , need to remove the kernel version kernel-4.14.152-127.182.amzn2.x86_64 , there's problem if delete it

View Article


How to define ssh host key on EC2 to avoid failed verification when connecting?

We have a bastion host and we want to practice immutable infrastructure. That means, when we update the host machine we simply replace it instead of running updates on it. Now, replacing a EC2 machine...

View Article

How to graceful shutdown an application on EC2

I want to do a fire and forget api call when an EC2 is terminated by an auto scaling group.So far, I simply used the graceful shutdown pattern by listening to OS signals but it looks like it's not...

View Article


cURL php in live server Amazon Web Service not working

I don't know what's the problem with this. But my curl doesn't work. I tried everything research everywhere and my last option is this, I tried to remove all my code and remain only thisecho "before...

View Article

Why does an AWS application load balancer require two subnets?

When trying to create an application load balancer on aws (up until now I was using the classic ones just fine), I get the following message:At least two subnets must be specifiedWhy would an ALB...

View Article


How to get the AmazonEC2 instances pricing details for different regions...

Using Aws bulk pricing API, I can download the JSON for only one region so I am looking for getting the pricing detail for all the regions programmatically using Python.Thanks in advance.

View Article

AWS Code Deploy Expanding a war file issue

I have a springboot web application (java classes and a couple of html files) which i am storing on CodeCommit. I build it with maven and generate a war file. I created a code pipeline which builds a...

View Article

Beanstalk php blue-green deployment is returning a 503

I'm doing a blue-green deployment to migrate my wordpress application to a new php version (from 7.0 to 7.3). Somehow after launching the new beanstalk environment the application returns a...

View Article
Browsing all 29245 articles
Browse latest View live


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