Skip to main content
How are we doing? Please help us improve AWS. Take our short survey
Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

API Web Request using C# fails only in AWS EC2 Instance

I have a code (C# .NET Framework 4.8) that is trying to invoke an API to get some data and after that will do something with it: HttpClient client = new HttpClient(); client.BaseAddress = new Uri(&...
prueba prueba's user avatar
0 votes
0 answers
20 views

Fontconfig head is null, check your fonts or fonts configuration

I created a report in jaspersoft, I've an application in java that execute this report, my application run on linux debian the problem is that I am receiving error of fontconfig. I did the ...
Cezar Apulchro's user avatar
0 votes
0 answers
17 views

Is there any solution for the rsync permission denied for public key?

I am setting the CI/CD for AWS ec2 instance using github actions so that as soon as I push the code it reflects to the instance. I am developing a project in laravel. Trying to solve the error for ...
CoderAatmik's user avatar
-2 votes
0 answers
27 views

AWS EC2 Linux Instance - ModuleNotFoundError: No module named 'dateutil'

I am connecting to an AWS EC2 Linux Instance to run a Python script in the cloud. I am trying to pip install the libraries required for my Python script to run. After I pip install pandas and then try ...
user3092385429841's user avatar
0 votes
1 answer
27 views

Permission denied (publickey) when copying the key

When im trying to copy a key i generated from one ec2 to another im getting the error 'Permission denied (publickey).' i generated the key and then i did this command "ssh-copy-id -i ~/.ssh/...
Vikunth Perla's user avatar
0 votes
0 answers
13 views

Cannot RDP to AWS DRS Recovery instance

I have launched a recovery drill instance from AWS DRS. When I try to connect to it through RDP i am getting these two errors from AWS console You may not be able to connect to this instance as ports ...
Gakii's user avatar
  • 1
-1 votes
0 answers
29 views

Can't connect to EC2 Ubuntu instance from Next.js (JavaScript) via SSH

I'm trying to establish an SSH connection from my Next.js application to an AWS EC2 instance, but I'm encountering authentication failures. Here's my setup: Next.js application (JavaScript) AWS EC2 ...
Josh Mert's user avatar
-2 votes
0 answers
31 views

Issues with hosting web site on AWS EC2 [closed]

Trying to host my webpage using AMAZON EC2 and Apache Web Server the port is opening but am not able to see my web page which i uploaded on /var/www/html. On Amazon Linux I tried to do the process ...
Gaurav's user avatar
  • 1
-1 votes
1 answer
17 views

Unable to open .pem file in MacOs

When I'm trying to set up EC2 instance on AWS, I'm unable to open the password certificate after downloading on macOs. It says "error occurred.unable to import an item". How to fix this? The ...
Pranjali Srivastava's user avatar
0 votes
0 answers
14 views

Intermittent connection issues to RabbitMQ from Python application running in Docker [closed]

I have a Python application running in a Docker container that connects to a RabbitMQ instance using aio_pika (connect_robust). RabbitMQ is hosted on an EC2 instance. Most of the time, the application ...
coolio's user avatar
  • 41
1 vote
0 answers
48 views

Unable to create EKS Cluster with Terraform [ Instances failed to join the Kubernetes cluster ]

Terraform code below provider "aws" { region = "us-west-2" } resource "aws_eks_cluster" "example" { name = "example-cluster" role_arn = ...
learner's user avatar
  • 2,810
-4 votes
0 answers
13 views

On-prem to AWS migration [closed]

What are the value adds we can provide to a customer during the assessment phase of on-prem to aws migration. Other than TCO, migration strategy and PPT, What additional values or stuffs we can ...
Nirmal Kumar's user avatar
0 votes
0 answers
26 views

Why is my AWS Elastic Beanstalk website showing a "dangerous website" warning despite using SSL and a custom domain?

I have deployed my website on AWS Elastic Beanstalk with a custom domain and SSL certificate, but when I access the site, it shows a "dangerous website" warning. I have tried using Google ...
harsha lohana's user avatar
0 votes
2 answers
56 views

How to Access API on Private Subnet from React App through Application Load Balancer in AWS VPC?

Please refer to the VPC design image below. https://i.sstatic.net/JpZCLQO2.png I’m working on a React web application hosted on AWS, with the following architecture: React Web App: Hosted on an EC2 ...
Omri Zaher's user avatar
0 votes
0 answers
24 views

Flask nginx 404 not found in prod

I deployed my simple flask app in AWS EC2 ubuntu (it's my first time). The home page is okay (example.com). But if I navigate in other path (example.com/page2/) is says 404 not found. Here are my ...
Dmathz's user avatar
  • 57
1 vote
1 answer
53 views

Jenkins Docker Agent Stuck "Offline" Despite Image Being Available Locally

I'm setting up a Jenkins master on an EC2 instance and am trying to use Docker to spin up agents based on a specific image for my builds. I’ve configured everything according to the documentation, but ...
Saad Out03's user avatar
0 votes
1 answer
39 views

Get metadata from an aws ec2-flask instance

I need to build an html that has a certain title, my name, and then the following metadata of the instance itself: Instance ID, Availability Zone, Private IPv4 Address, and Subnet ID. I have to host ...
Javier García Fernández's user avatar
-1 votes
1 answer
30 views

Easiest way to Attach EBS volume multi-attach to Auto Scaling Group

Could anyone suggest the easiest way to Attach EBS volume multi-attach to Auto Scaling Group? I think the EFS slower than EBS. I tried with this command it's work fine: aws ec2 attach-volume --volume-...
ปลาวาฬทราย's user avatar
0 votes
0 answers
13 views

Using python3.11 on an AWS login node via Slurm

I can install python3.11 on the AWS cluster ok, see this post. However, running a python script submitted via Slurm ends up using python3.9. I created a virtual environment and ensured it uses python3....
apg's user avatar
  • 101
-1 votes
1 answer
35 views

How to keep the connection between a domain name and an ec2 instance after IP change?

I am running an EC2 instance with dynamic IP, the IP address changes each time the instance is stopped/restarted. I noticed the Public ipv4 domain of the instance is simply ec2-[ip].compute-1....
SamTest's user avatar
  • 463
-1 votes
1 answer
28 views

Can't connect to my MySQL container from another container all running in the same EC2 instance [closed]

I am running docker on an EC2 instance. One container is MySQL 8.0 and the other is running a Spring Boot app. On my local Mac machine, when I start both containers, the Spring Boot app is able to ...
kailoon's user avatar
  • 2,149
0 votes
0 answers
37 views

Rails 7 - ExecJS::RuntimeError: SyntaxError: Unexpected token: operator (=) - production assets:precompile error

Upgrading chart.js from version 2.9.4 to 4.4.4. Locally(Machine is MAC OS), rails app is generating charts with upgraded version. When deploying to AWS EC2, Jenkins build is failing with this error ...
Mansi Shah's user avatar
0 votes
1 answer
28 views

Can Jenkins EC2 Plugin connect master and slave nodes across different networks?

I'm setting up Jenkins in a local environment, where the Jenkins master node is local, and I'm using the EC2 Plugin to provision slave nodes on-demand in AWS. The setup is intended to connect the ...
Riccardo's user avatar
0 votes
1 answer
50 views

Could not read from remote repository (Ruby on Rails)

I used to deploy code from Github to AWS via Github Actions without any issue. But now, the same code suddenly stopped working. its giving Could not read from remote repository error. I'm still trying ...
kashif's user avatar
  • 1,137
0 votes
0 answers
25 views

AWS test image before add it to ECR

I'm working on AWS, i work on a new architecture. I work with github pipeline to build a container of my current app code and send it to ECR. After that, i create a EC2 into a ECS with this build ...
Maeyx's user avatar
  • 1
0 votes
0 answers
41 views

How to get Pytubefix to work on ec2 instance?

I have setup an EC2 instance and I am running this code try: yt = YouTube(video_url, on_progress_callback=on_progress) transcript = yt.captions['a.en'].generate_srt_captions() ...
Slim Downing's user avatar
3 votes
0 answers
36 views

ECS CapacityProviderReservation Triggers Unnecessary EC2 Instance Launch in ASG Despite Low Task Load

I'm currently experiencing an issue where my Auto Scaling Group (ASG) is launching a second EC2 instance automatically, even though only one task is running, and CPU consumption is low. I need help ...
Hafsa tata's user avatar
-1 votes
0 answers
30 views

aws: lost access to internet from NIC(subnet) moved to linux netns

I've 3 NIC's on one instance each attached to separate subnets. 1 public, 2 private. I could ping internet from all 3 interfaces and get correct response back (to same source NIC). in AWS Console ...
bua's user avatar
  • 4,848
-1 votes
0 answers
22 views

"Unable to connect / An error occurred during a connection" when deploying Node.js app to EC2

I have a Node.js app using ExpressJS for routing that runs fine on my local computer at port 8080. I've been able to deploy it to an Ubuntu EC2 instance, but I can only access it by going to, for ...
garson's user avatar
  • 1,605
-2 votes
1 answer
59 views

How to access SSH of AWS EC2 Instance(ubuntu) without pem file [closed]

I tried a solution but that doesn't work. Login into your instance with the .pem file cd / (just incase) Edit, vim /etc/ssh/sshd_config and edit PasswordAuthentication yes Restart sshd service, ...
kwangkyu's user avatar
0 votes
0 answers
14 views

delay module execution until EC2 userdata cp command completes

As part of my app rollout I need an EFS volume with files on it. I spin up an EC2 instance and in the userdata function of the instance, I mount a source & destination EFS volume and copy over ...
Daniel Owen's user avatar
0 votes
0 answers
24 views

Windows Powershell - How to start an unattended GUI session from EC2 SSM Powershell

Problem: I need to launch an AWS EC2 Windows instance that needs to startup with a GUI with a gui program that is running before any user manual user interaction. My program must run in a UI session ...
eshalev's user avatar
  • 3,233
2 votes
1 answer
38 views

Interating with for_each, need a modified subnet list for each iteration

I have a for_each loop in which I pass a subnet list to a module for creating AWS ASGs. I'd like the subnet list to be different for each iteration in order to assure that each ASG runs on different ...
Not J Tapper's user avatar
0 votes
0 answers
25 views

Increate RAM usage when parsing json dataframe column

tl;dr - My RAM consumption is huge and I don't know why. I have This function To calculated the RAM usage on my server: def log_memory_usage(): memory_info = psutil.virtual_memory() ...
Shkolar's user avatar
  • 412
-1 votes
1 answer
26 views

AWS EC2 Failed Reachability Check

I have an EC2 instance running Ubuntu 22.04. It was a t3.medium, and I stopped the instance, upgraded to a t3.large, and then restarted. Upon restart, the status checks said initializing for a long ...
hyphen's user avatar
  • 3,308
-1 votes
0 answers
41 views

how to get captions of unlisted youtube video

I am trying to get the caption of the youtube video which is unlisted. The video have auto Generated captions and I want that captions programmatically using nodejs. the Things that i tried are ...
nir doshi's user avatar
-1 votes
1 answer
23 views

Is there a way to install Redisearch on EC2 Instance?

I have installed my Redis on my EC2 instance, now my goal is to create a RAG using this Redis instance. But when I try my "ft.create" command, it says unknown command 'FT.CREATE', with args ...
Rishabh Tripathi's user avatar
-2 votes
1 answer
39 views

Terraform Amazon Machine Image script

I am deploying Amazon Linux 2023 with Terraform. I would like to automate the installation of Kubernetes and Helm so that I can restart my VM and have all the pieces up and running. The following code ...
David Sagang's user avatar
0 votes
1 answer
38 views

Vertex AI on AWS EC2- Unable to reach Vertex AI from .NET 8 app. Works fine with .NET 4.8 app

I am trying to reach vertex ai using Google.Cloud.AIPlatform.V1 for a Predict response but I am getting the following error: Grpc.Core.RpcException: Status(StatusCode="Unavailable", Detail=&...
Nitin A's user avatar
0 votes
1 answer
29 views

Not showing up activmq admin page

I have installed apache-activemq-5.18.5 on Amazon Linux on EC2 instance. When I run command systemctl start activemq.service, I get below output- But when I hit url to open activemq broker page, I ...
Balaji's user avatar
  • 25
0 votes
1 answer
21 views

Issues Receiving API Responses in APK Build of Expo React Native App

I'm experiencing a problem with my Expo React Native app. When I run the app and scan the Expo QR code, everything works fine, and I receive the expected API responses. However, after creating an APK ...
Mohammd Ali Shaikh's user avatar
0 votes
0 answers
34 views
+50

How to improve aws_s3.table_import_from_s3 function performance?

We have two environments where we are using aws_s3.table_import_from_s3 function. In one, we are able to upload data from s3 bucket into tables in 20 min, whereas in another env, the same step takes ...
Vijay Kumar Chauhan's user avatar
0 votes
0 answers
45 views

Python Script using Selenium and Chrome webddriver failing on EC2 Linux Instance

I'm trying to automate a python script on AWS EC2 instance using Selenium and Chromedriver, but it's failing for some reason. I have a python script which takes in an excel file, filters data from it, ...
Heet P's user avatar
  • 1
-1 votes
0 answers
48 views

Short Polling in Infinite Loop Python on AWS

I have a Python script that continuously polls an API in an infinite loop. In each cycle, it makes 30 separate API calls, one after the other. After completing these calls, the script waits for about ...
Rahil Essani's user avatar
0 votes
0 answers
17 views

OSError errno 5 login/logout error on AWS

The error image I have deployed my Django project to the AWS server. The projects runs fine for the first few hours but then starts giving this OSError errno 5 login/logout error. The project runs ...
Wardah Khan's user avatar
0 votes
1 answer
60 views

Nginx Not Loading Custom Configuration After Migrating WordPress from Amazon Linux 2 (AL2) to Amazon Linux 2023 (AL2023)

I’ve been running a WordPress site on AWS EC2 instances with Amazon Linux 2 (AL2). Since AL2 will reach End-of-Life in June 2025, I’m migrating the site to Amazon Linux 2023 (AL2023). The deployment ...
Mahbub Rahman's user avatar
0 votes
0 answers
9 views

AWS CodeDeploy fails AllowTraffic with 502

I hava 2 identical EC2 instances in a target group, with a load balancer in front. They have previously worked fine (one of them still do). When i use CodeDeploy to install a new version of my node.js ...
Peter's user avatar
  • 33
-1 votes
2 answers
64 views

Is it safe to store hashed password in /etc/cloud/cloud.cfg of cloud-init? [closed]

I am creating a custom AMI for my AWS EC2 Instances. I am trying to configure a user's password via cloud-init. I am doing it using passwd in cloud-init's config. I was surprised to find out that ...
Yury Hrytsuk's user avatar
-1 votes
1 answer
41 views

How to use boto3 to find IOPS specs for AWS instance store volumes

I'm having trouble programmatically finding the IOPS specs for AWS instance store volumes, such as im4gn or m7gd. Seems like it should probably be found in the ec2 describe_instance_types method, ...
Craig Nelson's user avatar
0 votes
1 answer
28 views

Issue Compiling Tesseract OCR on AWS SageMaker: GCC Version and Filesystem Error

I’m trying to compile the latest version of Tesseract OCR on AWS SageMaker (Amazon Linux 2), so I can use PyMupdf OCR functions. After successfully installing Leptonica 1.85.0 from source, I attempted ...
Al Brown's user avatar

1
2 3 4 5
742