37,078 questions
-1
votes
0
answers
18
views
Can not access NGINX by aws IP address on browser [closed]
I installed NGINX in AWS ec2 instance like below by using command 'sudo dnf install nginx -y'.
But when I hit public IP address of EC2 instance on browser I get 'refused to connect' issue.
I checked ...
0
votes
1
answer
19
views
GitHub self-hosted runner for other branches are not pulling the latest changes
I have the following YAML file. On every push to the branch, it should pull the latest code, build, and restart the service. It is running successfully on every push but when I SSH into the server, ...
1
vote
1
answer
17
views
YAML script to tag stopped EC2 instances using automation document in Systems Manager
I am trying to create an automation document in AWS for a maintenance task- which will add a tag to all the stopped EC2 instances in a region.
This is the yaml I'm working with:
schemaVersion: '0.3'
...
0
votes
1
answer
20
views
npm install hangs on elasticbeanstak ec2 instance
npm install hangs with no error
having some issue with npm on AWS/EC2 instance provisioned through Elastic Beanstalk
also, the same installation runs fine on non-aws ubuntu and macos
if I try to ...
0
votes
0
answers
20
views
Unable to access my server after pushing to ec2
I have dockerize my server app with nginx and ssl configuration. Below are what I am doing
I use github actions to run my workflow: I have my Dockerfile and docker-compose.yml setup below
FROM node:16-...
0
votes
0
answers
10
views
Can an EC2 instance read the SSMSessionRunAs variable without enabling "Run As" support for Linux instances in AWS Session Manager
I'm working with EC2 instances in AWS and I need to configure AWS Systems Manager (SSM) Session Manager for specific login behaviors.
I have multiple EC2 instances in a region, and I want one specific ...
-1
votes
1
answer
30
views
How to attach an Elastic IP to an EC2 instance in Terraform [closed]
I am trying to attach an EIP to an EC2 instance that is being deployed with Terraform. The stack has a launch template resource which is defining the instance and also a auto scaling group resource.
I ...
0
votes
1
answer
38
views
AWS Auto Scaling Group Stuck in 'Updating Capacity' During Scale-In
I’m using ECS Managed Auto Scaling with Target Tracking.
When the Target Tracking service performs a scale-out action, everything works as expected: the Auto Scaling Group (ASG) launches new instances ...
0
votes
1
answer
45
views
I am need to get total count of terminated EC2 instances from Jan 1, 2024 until today
I am trying to get all the terminated instances for the past year and there a particular Name that I want to omit from being included in the count. Here is the bash script that I tried and I am ...
0
votes
0
answers
52
views
PKIX path building failed - unable to find valid certification path to requested target - AWS EC2
I have two EC2 instances in the same VPN and subnet.
Instance one is running Keycloak in a Docker container in production mode. To configure HTTPS, I generated a self-signed certificate using OpenSSL ...
-2
votes
1
answer
33
views
getting http requests as a response when running the command "ls" [closed]
i connectes to my ec2 instance with ssh connection, I tried to run the ls command under ~ directory, and got the following response:
what are those http requests (get, host, accept etc.)? whay are ...
0
votes
0
answers
30
views
+50
how to secure BE with 2 micro frontend one to be accessed publicly and one to be accessed with static ip
I have 2 microfrontends in amplify
first FE-A needs to be used from specific area (static ip)
second FE-B needs to be used from everywhere publicly
my issue is if i set 0.0.0.0 in Security Group of ...
0
votes
1
answer
36
views
How to Keep a Plumber API Running on AWS EC2 or Explore Alternative Deployment Options?
I am new to AWS and currently working on deploying a Plumber API written in R. This API serves predictions using a pre-trained GAMLSS model. I have set up an EC2 instance with Amazon Linux 2 where R ...
-3
votes
0
answers
48
views
i am doing a project on AWS, i have encountered one issue related to the network connection [closed]
enter image description herei am doing a project aenter image description herend i have given access to the RDS data base to the instance and i have installed python and flask. when i given the ...
0
votes
1
answer
34
views
Can I reference snapshot_id from ebs_block_device?
I am creating AMIs from existing EC2 instance, that has 2 ebs volumes. I am using “aws_ami_from_instance”, but then the disk snapshots do not have tags. I found a way from hashi’s github to tag ‘...