Questions tagged [amazon-ec2]
For questions about using Amazon Elastic Compute Cloud in DevOps, including deploying, monitoring and scaling applications in EC2. For questions specifically about monitoring EC2 with [aws-cloudwatch] use that tag. For the EC2 container service use the [amazon-ecs] tag.
180 questions
0 votes
1 answer
37 views
AWS Instances pingable issue
I have two instances on AWS first one control noda and second is managed node both of them in the same security group but when i try to ping from control node to managed node it ‘s not pingable , ...
0 votes
0 answers
28 views
Deploying nested VMware on AWS for testing
Has anyone deployed nested VMware/ESXi on AWS? I'm getting conflicting answers from what I've seen online. This answer says yes it is possible. This answer says it is not--although this person is a ...
0 votes
0 answers
26 views
Reinstating AWS post suspension
I have an AWS account where Route53, Elastic Beanstalk (running php) Cloudfront S3 & RDS runs. Now that the account has been reinstatiated, and i have access to all services. But still email and ...
0 votes
1 answer
64 views
Why does health check fail on my EC2 target in AWS?
I'm running the Jupyter Notebook service on port 8888 on an EC2, which I registered to an AWS target group, and have an ALB forward HTTP:80 traffic to that service. However, health checks are failing ...
0 votes
1 answer
32 views
build docker of COTS App running on Wind EC2
We have a COTS application running on an EC2 Windows server at AWS. This is a .net application that uses RDS Oracle DB as the back end. If we create an ami from the running EC2 instance, can we use it ...
0 votes
1 answer
54 views
How to protect the Nginx servers from AWS Abuse Report?
I have 2 Nginx servers, each of which serves around 30k domains. For each of the domains, we have SSL certificate present on that server, generated using Let's Encrypt. I map each of the domain there ...
0 votes
1 answer
97 views
issue when trying to use ssh-copy-id to copy your SSH public key to a remote EC2 instance
I need to use SSH-Copy-ID instead of manually copying the public key from one ec2 host instance to the remote ec2 instance. but copying key using this command always fails due to Permission denied (...
2 votes
0 answers
184 views
How to deploy dockerized MERN stack app on AWS EC2 instance?
I dockerized my MERN stack app (Next js, node js, MongoDB) and tried to deploy it on the AWS EC2 instance. When I try to access my backend on port 5000 via AWS Public IP, it works fine but when I try ...
0 votes
1 answer
99 views
How to design AWS infrastructure for my online course selling website?
I am designing an AWS architecture for hosting a website that sells online courses and merchandise products. For the purpose, I am planning to use the following architecture design: 1 VPC 1 ...
1 vote
1 answer
519 views
Beginner Uptime Calculations Based on ELB?
Is there a clear way to calculate starting uptime metrics from AWS ELB? I need to start running uptime calculations. I'd like to start by just using AWS services for monitoring the uptime and then ...
0 votes
0 answers
121 views
Load balancing between Slurm clusters
What strategy of load balancing in k8s would be recommended between Slurm (think SGE) clusters? The reason I raise this is Slurm has a Pythonic API governing the queuing system. Information can freely ...
0 votes
1 answer
76 views
EC2 instances cannot connect over Elastic IPs
I have 2 EC2 instances and I am trying to get them to connect over port 44874 (it's a layer 1 cryptocurrency like dogecoind). Both are running Ubuntu 22.04 AMI Both are in the same subnet Both are in ...
0 votes
1 answer
300 views
How to scrape only some targets of EC2 based on tag
I have a requirement, where I have enabled NGINX metrics and I am trying to plot metrics with Prometheus. I am trying to plot metrics for NGINX EC2 server which has a tag named test=nginx or by ...
0 votes
1 answer
43 views
Why does AWS wrap roles with instance profiles?
In AWS EC2, a machine is assigned privileges using instance profiles. Specifically: the desired permissions are articulated as an IAM policy, that policy is attached to an IAM role, that role is ...
0 votes
2 answers
891 views
why does my Ansible playbook throw "Found existing installation: requests 2.25.1\n\n:stderr:ERROR: Cannot uninstall requests 2.25.1"?
I'm trying to run an ansible playbook that installs docker and docker-compose and runs a compose file on a ec2 t2.micro. To use the docker modules in ansible, I need to have docker and docker-compose ...