Questions tagged [amazon-ec2]

Amazon EC2 stands for "Amazon Elastic Compute Cloud". It is a part of Amazon Web Services (AWS) and allows users to rent virtual machine instances. You can create instances, launch and manage them through a central interface, through a web API or through a console.

Filter by
Sorted by
Tagged with
0 votes
0 answers
10 views

Monitor requests going from JBoss installed in EC2 instance

I have two EC2 instances both have JBoss installed there are same application installed on JBoss server. In the application it use com.captcha.botdetect.web.servlet.SimpleCaptchaServlet to get captcha....
Sandaru Akalanka's user avatar
0 votes
0 answers
7 views

aws ssm agent - AWS-RunPowerShellScript - how to run the script as admin user of a active directory

I have an active directory created I have created a EC2 windows instance and is joined with the active directory created above. Also the windows EC2 instance is joined with the ssm. Now I have a ...
Santhosh's user avatar
  • 10.4k
1 vote
0 answers
13 views

High CPU Utilization on EC2 of a Spring MVC micro service with authentication disabled

One of the services is giving high CPU utilization. I analysed the thread dump and found the following stacktrace to be the culprit of the problem. But I am not able to identify how to fix it. This is ...
Karthik sharma's user avatar
0 votes
0 answers
8 views

Deploying a Full Stack Project to EC2 (Springboot, React)

I am having a hard time deploying my app to an EC2 instance, I have my Jar file listening to port 8080 and my React app running on Nginx. I don't know if this is the optimal way to deploy projects and ...
Miguel Celos's user avatar
-1 votes
1 answer
11 views

How to fix nginx error connection refused on AWS EC2 instance?

I get ERR_CONNECTION_REFUSED error when trying to access nginx on an AWS EC2 instance via the public IP address. I launched an ubuntu t2.micro EC2 instance and installed nginx on it. Then set inbound ...
Mena's user avatar
  • 1,921
0 votes
1 answer
39 views

Issue is with alb listener rules now- Task is to add a target grp to each service, target grp attachment, ALB, ALB_listener and rules (terraform aws)

I have 3 microservices (heating, lighting and status), with each one in an ec2 and each ec2 is in a public subnet. I am trying to use path-based-routing with one application load balancer only. I will ...
RendezYT's user avatar
0 votes
0 answers
24 views

Best/easiest way to embed an HTTP site within an HTTPS site?

I have spun up a Shiny Server on an Amazon EC2 instance. The webpage pointing to this app is an unsecured HTTP site (see here). I also have a Wordpress site that has an SSL security certificate. I'd ...
smsarkar's user avatar
0 votes
0 answers
7 views

Unable to deploy next js app on AWS Elastic beanstalk

I am trying to deploy Next.js app on AWS elastic beanstalk but encountering below errors: Thanks in advance.
Akshay Seth's user avatar
  • 1,244
0 votes
0 answers
53 views

ec2 instance is hanging when we move the larges files to tmp directory

When I move around 100gb files to /tmp directory with allocating 300gb, When I tried using ansible for move file to tmp directory then I am getting below error {"changed": false, "...
Umesh 's user avatar
  • 15
0 votes
0 answers
7 views

Does enabling hourly granularity for cost usage data in AWS provide realtime cost?

We would like to enable Hourly Granularity for Cost/Usage in AWS. However, by enabling this can we get real time cost day? Question 1: Let us say, I run the cost report by Dec 2nd at 4 PM. Can I get ...
Sunil's user avatar
  • 355
0 votes
0 answers
11 views

Issues with measurement performance in AWS when measurement times change

This is the model we set up to measure performance (tps value). The client will send a number of requests from small to large (maximum 3000 requests at a time) to the server. Performance is calculated ...
anh_hang's user avatar
0 votes
0 answers
9 views

Authenticate user / group created with AWS Identity Center (not IAM)

We have created a user with AWS identity center (not IAM). What we want is to authenticate this created user to excecute or trigger an API. In simpler words only those users which has been created ...
Sagar Nakade's user avatar
0 votes
0 answers
17 views

EC2 autoscaling taking too long to scale out for target tracking policy

Have configured an autoscaling group attached to a load balancer. It uses a target tracking autoscaling policy with load balancer request count per target as the metric. I have updated the warmup ...
Suneel's user avatar
  • 31
0 votes
0 answers
16 views

conda kernel not being selected or changesd from default in aws sagemaker

I've imported a custom conda environment(python 3.7) into my notebook instance in amazon sage maker and did the setup. The kernel is being detected. However, When I try to run the kernel python 3.10 ...
WinterSolstice's user avatar
0 votes
0 answers
17 views

OpenSSL::Cipher::Ciphererror on Ruby on Rails 7

I am trying to deploy my rails 7 app using capistrano to aws EC2 instance. When I run cap production deploy, my deployment failed with this errors: Here is my Capfile: # Load DSL and set up stages ...
noname's user avatar
  • 551
0 votes
1 answer
23 views

EC2 instance with Docker Container connecting to RDS Database from shell but not from website

I created an application that I wanted to deploy online. The app is stored in a directory app and I have another directory called nginx which contains an nginx server that I use as a reverse proxy to ...
Thomas Ravetto's user avatar
0 votes
1 answer
21 views

Connect to Neptune DB from Rest API .NET C#

I am trying to connect a .NET C# Service to my Neptune DB Instance. Through command lines, I am able to query the Database by connecting to an EC2 Instance and running a Gremlin client in that ...
Ben Tan's user avatar
  • 13
-1 votes
0 answers
38 views

Cron job scheduling issue [closed]

I am facing the below error when I am running the script from crontab When I execute this ./test3.sh it works fine crontb command is */1 * * * * root ./test3.sh Here I am reading domain names from a ...
deepak PATRA's user avatar
-2 votes
0 answers
49 views

SQL ODBC Driver issue on EC2 Linux machine

I am getting the following error, when I am trying to fetch data from SQL Server through Linux machine running on AWS EC2 instance the same code works well on my pycharm, I initially got file not ...
user23041925's user avatar
-1 votes
0 answers
99 views

CannotPullContainerError: pull image manifest has been retried failed to resolve ref xxxxx.dkr.ecr.us-east-1.amazonaws.com/xxx-proxy:latest: not found

After reading through docs I still cant seem to resolve this myself. The proxy image does have the tag of "dev" which ive tried to add and was thrown a seperate error saying failed to ...
im_up's user avatar
  • 1
-1 votes
0 answers
15 views

How to create PHP-FPM instances connected to a nginx proxy in AWS EC2?

I have to create 4 aws ec2 instances, one with a nginx server as a proxy, two with PHP-FPM and the last one with NFS to connect the proxy with the PHP-FPM instances. The proxy has to show a php file ...
Jhomiu's user avatar
  • 1
0 votes
0 answers
25 views

Can I Run a Docker Container for Batch Processing from AWS Glue

Getting started with AWS Glue at my new workplace (I previously used AirFlow). My colleagues are running scheduled jobs via Glue, but they usually put a python script in the Glue editor, then adjust ...
Della's user avatar
  • 1,304
-1 votes
0 answers
11 views

Nohup npm start & directs my server to port 3000, how do i redirect it to port 8080 on aws ec2

im trying to deploy my website and im using aws ec2 instance, im using the command nohup npm start & and then cat nohup.out to deploy my website but it directs it to port 3000, how do i redirect ...
TWICEONCE's user avatar
0 votes
1 answer
28 views

Fetching data from 2 different AWS Neptune clusters with different IAM authentication

I have a requirement where I want to fetch the data from 2 different AWS neptune endpoints, which are configured with different IAM roles/users. I will be having different access key and secret key ...
Arpit Dongaonkar's user avatar
-3 votes
1 answer
42 views

why localhost with axios is not working on vue.js to nodejs in AWS? [duplicate]

sorry for my english. I'm trying to deploy my vue.js website on an AWS instance. I use axios to consume my nodejs APIs, but I have a problem. When accessing the browser with the public address, in ...
nearzlee's user avatar
0 votes
0 answers
28 views

AWS EC2 java program memorry map issue

I have a java program where a file around 800MB is memory mapped via java.io.RandomAccessFile. I'm hosting it in an EC2 m5.8xlarge (32 CPUs, 128GB RAM) instance with JVM OPTS set to -Xms64g -Xmx64g. ...
waynewingorc's user avatar
-1 votes
0 answers
37 views

Deploy EC2 (AWS) [closed]

I'm trying to copy my application into the virtual machine (EC2) and permission is denied. https://prnt.sc/xumoi5cpqyot I've already tried: Using chmod commands Generating new key pairs Creating ...
Carlos Daniel's user avatar
0 votes
1 answer
12 views

One AWS instance can call Google Cloud Run service using WIF, but another can't

Related to/following on from this question: Invoking Google Cloud Run service using Workflow Identity Federation I'm finding one instance can successfully call the Google Cloud Run service using ...
BenTaylor's user avatar
  • 452
-4 votes
0 answers
25 views

Unable to Connect to database using MySQL Workbench and AWS RDS [closed]

I created an ec2 and then created a db using AWS and am struggling to connect using MYSQL Workbench. I followed the steps from the AWS docs and adjusted the security group to allow traffic from all ...
Noura Zekry's user avatar
0 votes
0 answers
16 views

Not able to connect my wordpress instance in public subnet to the MySQL database instance in private subnet

I am doing a project in which My WordPress resides in an EC2 instance, which sits in a public subnet and has a route to an Internet gateway. And a MySQL database which is set up in an EC2 instance in ...
Monk_1o1's user avatar
-3 votes
1 answer
31 views

How to determine the best AWS EC2 instance for hosting WooCommerce website using Worpress Bitnami Package [closed]

I am planning to host my woocommerce website on Amazon EC2. My website usually have around 50,000 monthly users. I want to use Wordpress Bitnami Package for the same. Can anyone help me to figure out ...
Mr Maverick's user avatar
0 votes
0 answers
36 views

Download the Latest Version of Golang on an AWS Instance [closed]

I am trying to download the latest version of go on my AWS instance, and want to know the best way to do it. So far I found either: $ sudo apt-get golang-go or $ wget https://go.dev/dl/go1.21.4....
dalewb's user avatar
  • 19
0 votes
1 answer
28 views

Dialogflow API Permission Issue on EC2: Service Account Key and Roles Confirmed

Question: I'm encountering permission issues when attempting to make Dialogflow API calls from my Node.js(NestJs) application deployed on an EC2 instance. Notably, the service account key and roles ...
user3338348's user avatar
0 votes
0 answers
24 views

AWS EC2 - SQLNonTransientConnectionException

Working with aws ec2 locally. An error occurs, but I'm not sure why. Could not create connection to database server. Attempted reconnect 3 times. Giving up. I opened port 3306 and deleted DB-related ...
seok's user avatar
  • 1
0 votes
0 answers
22 views

How can I know what operators use local resources on a cloud environment?

I'm fairly new to apache airflow, I've some dags running on AWS (Using MWAA) and created a python code to extract data from athena to S3 and use it on redshift. Now, we are migrating to an EC2 ...
Fábio Elias Reis Ritter's user avatar
0 votes
0 answers
16 views

How to build Rubberband Library for AWS Lambda

I want to run rubberband cli in AWS Lambda, I tried the macos version of rubberband command-line utility using Layers but getting "cannot execute binary file". I need help on how do i build ...
Hisham Syed's user avatar
0 votes
0 answers
16 views

Failed to delete snapshot. snap-0a55ef2a57ce45e17: The snapshot snap-0a55ef2a57ce45e17 is currently in use by ami-0de0d1c34cd7d29d5

I have deleted the instance, volume, security groups, AMIs and left the snapshots last, now it does not allow me to delete I get this error, help I want to delete it Failed to delete snapshot. snap-...
XeanN's user avatar
  • 1
0 votes
0 answers
26 views

Getting the HTTP error 504 (Gateway timeout) with Node.js and Kong API Gateway on EC2 instance

I'm having problems when trying to call the route of my HTTP GET request. The same program works when I try to make the same communication with a VM which hosts Kong API Gateway. Then I tried to host ...
dav0977's user avatar
  • 13
1 vote
1 answer
65 views

Specific PHP request fails mysteriously with 500 after seemingly innocuous change

I have a PHP 8.2.7/laravel 10/inertia/vite/typescript/react app running on EC2. After a recent change to a .tsx file, one particular page route has started failing with a 500 response. The error does ...
ChaseMedallion's user avatar
0 votes
1 answer
26 views

Circular dependency with Terraform AWS EC2 / CodeDeploy

Question How do I get a re-built EC2 instance to trigger a new AWS CodeDeploy? Note: The problem is NOT the first deployment of the EC2 instances. The problem happens when the EC2 instances are re-...
A. Rick's user avatar
  • 678
0 votes
0 answers
23 views

NGINX is unable to connect to the Docker container running the Nest.js server on an EC2 instance

I have been trying to figure it out for more than two weeks now but nothing seems to help. I'm have two EC2 instances: Instance 1: Hosts Docker containers for the server, Nginx, and the database. ...
Nikita Lafinskiy's user avatar
0 votes
0 answers
15 views

EC2 and SSL certificate error: None of the common names in the certificate match the name that was entered

I have a running ec2 instance associated with an elastic IP which points to my domain. however, after getting ssl_handshake eror, I checked the Elastic IP from sslshoper.com to see if my ssl was ...
Muhammed Aboo_Anas's user avatar
0 votes
1 answer
27 views

AWS EC2 connection between load balancer and target group with target type instance

I learn how to upload node.js server with ECS ECR. When I choose Fargate type my target group suppose to be IP address and everything work fine. When I choose EC2 type my target group suppose to be ...
mr_robot's user avatar
  • 467
0 votes
0 answers
16 views

Redirect www to non-www url

I have deployed my NextJs-app on AWS ec2 instance using nginx. I have got ssl from letsencrypt. Here is the nginx config for the app Nginx Config:- The site is working correctly and the http traffic ...
Udit Mishra's user avatar
-2 votes
0 answers
27 views

How to handle ORION 10000 requests every minute config environment? [closed]

We have an IoT platform environment on AWS EKS that uses a fiware stack comprising iotagent, Orion (version 3.4.0), and Draco. We are doing load testing of 9660 requests every 1 minute. This includes ...
Satheeshkumar Govindaraj's user avatar
0 votes
0 answers
35 views

Django file uploading function can run in localhost but can't run in EC2 instance of AWS

So I'm trying to create a chatbot webapp that can do data analysis from an excel, csv, google spreadsheet, and all sorts. It's good when I ran it in the local anaconda environment, and now I want to ...
Dhika Arya's user avatar
0 votes
1 answer
43 views

Gitlab Runner unable to assume IAM role --The config profile (default) could not be found

I am using EC2 to create a gitlab runner. The runner is registering without any problem. I am trying to assign a role to the ec2 using the userdata. Here is the code -- cat << EOF >> /home/...
Judi's user avatar
  • 759
0 votes
1 answer
43 views

How to Change default password for aws ec2 instance remote desktop connection

I have a Windows AWS EC2 instance. I can connect to my windows server using Remote Desktop with password using the Decryption of aws ec2 key pair. Now my question is, how do i change the password ? Do ...
Daily Food ASMR's user avatar
0 votes
0 answers
10 views

AWS Auto Scaling Groups with Multiple AMI

Here is out scenario. We have around 12 web servers that are active in a target group today. Those servers are always running. We monitor those servers with prometheus / grafana. Each server is ...
RedIrishMike's user avatar
-2 votes
0 answers
29 views

Odoo 17 on aws ec2 with ubuntu - cannot access odoo folder via filezilla

How to change the rights to access odoo folder on aws ec2 instance to upload new modules on addons_path=/odoo/odoo-server/addons ? Permission denied in Filezilla enter image description here How to ...
Alain Perrenoud's user avatar

1
2 3 4 5
735