All Questions
Tagged with amazon-web-services amazon-ec2
22,512
questions
-1
votes
1
answer
17
views
make request from a static IP address to an API in AWS
I have an API that I need to host in AWS that makes requests to an API that requires IP whitelisting. In other words every request I make from my AWS server/service must have the same IP, or an IP ...
0
votes
1
answer
11
views
Why is encryption data at rest and encryption in transit data must be disabled when migrating the ec2 cache to AWS Elasticache?
I had launched the ec2 instance where i have installed redis, and added some data in it. and then after that i wanted to migrate that cache from ec2 redis to aws elasticcache cluster, so for that i ...
-1
votes
0
answers
16
views
How to keep AWS EC2 ssh connection alive
I use ssh to create a tunnel for my local server as below:
ssh -D 1234:localhost:1001 user@my-remote-AWS-EC2-server
then I run my local app.py which will expose the port:
Running on local URL: http://...
0
votes
0
answers
8
views
How to connect Athena ODBC using AWS learner lab
I downloaded the Athena ODBC to connect to amazon athena. When I go to configure a data source in ODBC data sources 64bit on my own computer, I can't seem to get the correct secret access key or ...
0
votes
1
answer
24
views
AWS ECS auto scale up causing temporary ALB 504 timeouts
we have a service which is a ECS + EC2 setup. With the ECS, we configured service auto scaling. We noticed when auto scaling policy trying to scale up more tasks, we sometimes see transient 504 ...
0
votes
0
answers
23
views
Unable to use implicit IAM/role-based auth when using Boto3 inside Docker on EC2
I've run into a frustrating edge case that I'm now having to either introduce custom logic to work around or solve properly.
I'm running a Django application inside a Docker container on EC2. I'm ...
0
votes
0
answers
12
views
Getting error while hosting MERN Project on AWS: .env file error
Upload the file on the aws ec2 instance using GitHub so after that I use pm2 to start the server file, but it shows an error that the server is running on an Undefined port and a mongodb error,
but ...
-2
votes
0
answers
15
views
Can not read excel and upload data to database in es2 instance
I have a vm on ES2 instance with ubuntu, I run my project in this VM, so my code should go through excel .xlsx file (which I copy with scp command from my computer to es2 instance) and change ...
-2
votes
0
answers
27
views
Node js CORS error only on /admin route only [closed]
I am facing this issue with only one route which is /admin.
I have deployed the Node js Code on the EC2 instance.
No Nginx is used, Domain is mapped using Load Balancer.
There is no issue with the ...
0
votes
0
answers
31
views
Best way to navigate EC2 metadata http://169.254.169.254/
Given that http://169.254.169.254/ is structured like s3 or a simple file system. There has to be an easy way to navigate it.
Like with cmdline commands in a terminal with at least these 3 commands cd....
0
votes
0
answers
19
views
Auto-configure instance routing table on AWS instance with two network interfaces
I'm trying to set up a system on AWS that requires something not dissimilar to what the AWS docs show for a "Management Network" environment on this page:
https://docs.aws.amazon.com/AWSEC2/...
0
votes
0
answers
17
views
Configure AWS for assuming role with web identity in EC2
I'm trying to run this command from an EC2 instance:
aws sts assume-role-with-web-identity --role-arn "arn:aws:iam::123456789012:role/EC2-Role" --role-session-name "test-session" --...
0
votes
1
answer
20
views
AWS auto scaling group - Health check grace period value reset
In AWS we have an autoscaling group setup for a load balancer. We were getting error messages when the auto scaling group tries to add another windows ec2 instance. (ELB health is failing or not ...
-2
votes
0
answers
10
views
not able to connect consumer in aws[ec2] [closed]
WARN [Consumer clientId=console-consumer, groupId=console-consumer-43368] Bootstrap broker 3.69.241.146:9092 (id: -1 rack: null) disconnected (org.apache.kafka.clients.NetworkClient).
not able to ...
-1
votes
0
answers
31
views
EC2 instance ssh: connect to host ipaddr port 22: Operation timed out on MacOS
new developer here!
I just signed up for my EC2 Windows2022 instance and would like to connect it from my Mac (M2, Sonoma14.5) terminal using SSH, but all trials failed with the error: "ssh: ...