Skip to main content

Questions tagged [aws-ec2]

The tag has no usage guidance.

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

AWS CloudFormation Adding Security Group

Below is a sample of how our team creates new EC2 instances using CloudFormation with AWS. I'm just getting started myself with AWS, but one problem I have is when I need to create a new Security ...
Kyle's user avatar
  • 143
0 votes
0 answers
15 views

Public IP should not be changed when aws eks cluster and managed nodegroup is upgraded

We have used the eks cluster(current version 1.20) and managed nodegroup and used the public IPs of the nodes for our purpose so now when we upgrade the eks cluster and nodegroup with version 1.21 all ...
basava022's user avatar
0 votes
1 answer
31 views

Best approach for HSTS with a redirect to a new domain

Situation: A site we manage got migrated to a new hosted solution and will also have a new domain name. The clients want to keep the old domain name and have it redirect to the new domain name at the ...
zip_000's user avatar
0 votes
0 answers
963 views

FailedScheduling too many pods. Preemption: 0/2 nodes are available: 2 No preemption victims found for incoming pod

I configured eks and when performing a deployment, the pod is always in pending state. FailedScheduling appears. My node group is created with 2 node - T2.micro - 20gb. Even the simplest deployment ...
Nazim Razac's user avatar
1 vote
0 answers
81 views

eksctl and AsgInstance launch failures due to account quota limit

I was trying to launch an eks cluster using eksctl tool. The cluster is launched but the nodegroup fails to launch. The following error is displayed in the cloudformation of the nodegroup. Error ...
R-R's user avatar
  • 111
0 votes
0 answers
15 views

How to define which AWS services to use and how to use them when deploying an ACS server? [duplicate]

I want to use AWS for deploying an open source ACS software that uses mongodb to manage my CPE devices. I want it to manage thousands-tens of thousands of devices with minimal interruption. What ...
idk_im_a_junior's user avatar
0 votes
0 answers
78 views

Redhat RHE9 ansible raising Invalid repo ID while the repo is listed on the system

I'm running Linux Redhat 9 on one of my AWS EC2 and I'm trying to install OpenVPN server. For that I want to enable codeready-builder repository. Here is the ansible task that enable the repo : 15 - ...
nixmind's user avatar
  • 111
0 votes
2 answers
70 views

MySQL database deleted on AWS EC2 instance [closed]

I have a AWS EC2 Windows instance with XAMPP and a database. To enable global access to the database, I made its IP global. Additionally, I added a password to my phpMyAdmin. However, someone is ...
Mustafa Ahmad's user avatar
0 votes
2 answers
101 views

SSH to EC2 times out, but other instances in the same security group are reachable

Something really weird happened to one of my EC2 istances. So I have a security group and a bunch of instances associated with that group. I can SSH into all of those intances. I created a new ...
Gino Pane's user avatar
  • 101
0 votes
1 answer
118 views

AWS SSL Certificate for Laravel on EC2 instance

I have Laravel application on EC2 instance on Ubuntu, also I have Application Load Balancer and verified AWS SSL certificate. But logically I can’t run Laravel without, NGINX or Apache. I can adjust ...
Богдан's user avatar
0 votes
1 answer
77 views

What exactly is aws load balancer "Protocol : Port"?

I have never been able to figure out what this configuration is or does when creating load balancers. The documentation says Choose a protocol for your target group that corresponds to the Load ...
Rb C's user avatar
  • 1
0 votes
0 answers
41 views

Unable to join EC2 worker to VirtualBox master

Im deploying a Hybrid Cloud(VirtualBox-AWS) Kubernetes cluster. What I have done so far: Set the control-plane on Ubuntu Server 22.04 LTS via VirtualBox 6.1. Change network adapter to bridged Ran the ...
Mabadai's user avatar
  • 101
0 votes
2 answers
125 views

Aws ubuntu nginx installed. IP cannot be reached

i have launched aws ec2 intance with ubuntu ami & inbount rule of all traffic. inbound rule all traffic .connected to instance and entered code below to install nginx sudo apt update sudo apt ...
MUHAMMED SWADHIQ VK's user avatar
0 votes
0 answers
82 views

Install SSL Certificate for Docker Container on EC2

We are running an NGINX Server on a Docker Container which is hosted on an EC2 instance. Our Domain is registered with Amazon Route 53 but it seems like, there is missing an SSL Certificate on Docker ...
Flo Sojer's user avatar
-1 votes
2 answers
600 views

Unable to access Url from Internet through WireGuard VPN tunnel

I am trying to access a router settings web page from Internet. I have setup a WireGuard VPN on AWS EC2. The handshake between the router and the WireGuard server looks good, but I am not able to ...
TechGuy's user avatar
0 votes
0 answers
45 views

How do i nessus scan to the EC2 server which is behind load balancer

I have a EC2 server which is running behind a load balancer. Load balancer URL has been mapped as A record in route53. Audit team is asking for the public ip address. How do i give them? ALB URL even ...
Ravi Teja RVN's user avatar
0 votes
0 answers
186 views

Got read permissions but not write permissions in aws SFTP in EC2

I'm a bit new to aws and especially SFTP but I'm trying to set up an EC2 instance with SFTP so I can access it with FileZilla and I've set it up and can copy files from it into my own directories but ...
Fitchings's user avatar
0 votes
0 answers
165 views

Why is EC2 instance store volume not mounted?

I created an AWS EC2 instance of type g5.2xlage with Deep Learning Base GPU AMI (Ubuntu 20.04). This instance type has an instance store volume. After first start, the ephemeral instance store was ...
dur's user avatar
  • 101
3 votes
0 answers
109 views

Spread IPsec decryption over multiple CPUs

All IPsec traffic being decrypted is processed on a single CPU, despite having multiple IPsec tunnels (SAs.) How can I get the load shared across multiple CPUs? I'm running Strongswan IPsec on Ubuntu ...
Jeff Learman's user avatar
0 votes
1 answer
45 views

Debugging Lambda Connectivity to EC2

I have a simple Lambda deployed into my VPC that is making a call to an EC2 host in the same VPC (and subnet). They both share an SG and I've used the Reachability Analyzer (from the Lambda ENI to ...
Gandalf's user avatar
  • 63
0 votes
0 answers
75 views

AWS EC2 Ubuntu instance launches WildFly (Java / Jakarta EE server) but seems inaccessible via browser

I am trying to setup AWS for a JBoss WildFly 31.0.0.Final to get a demo webapp up and running. So I found this tutorial: https://kamalmeet.com/cloud-computing/amazon-ec2-step-by-step-guide-to-setup-a-...
Kawu's user avatar
  • 101
0 votes
1 answer
115 views

duplicate cron process - python pm2

Our setup consists of a Python Flask application deployed on AWS EC2 with autoscaling, and it utilises a MySQL database. We also have jobs scheduled on a separate Linux system, which triggers every 10 ...
mahendra's user avatar
2 votes
2 answers
453 views

AWS Instance cannot connect after resizing volume and reboot

i am facing connectivity issues with my AWS EC2 instance after resizing its volume. Here's what I did: I had an EC2 instance running Ubuntu in a container with a full storage. I modified the volume to ...
Shaugi's user avatar
  • 131
0 votes
0 answers
141 views

Why is my worker node kubelet service not starting?. kubelet[8094]: Insecure values: TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256

Following Kelsey Hightower's KTHW on AWS EC2 instances and got to boot strapping the worker nodes and somehow kubelet seems to be fubarred. NOT USING KUBEADM or DOCKER. Getting the following error now....
twinone4478's user avatar
0 votes
0 answers
66 views

Random timeout between ec2 instances in same az

My elastic-based monitoring system will quite often report timeout on an http check where target is the AWS EC2 instance. Check is performed from another EC2 instance in same region, same AZ, same ...
Marko Todoric's user avatar
0 votes
0 answers
177 views

Django on EC2 can't connect to RDS (Same VPC, same subnets)

i set up this environment on AWS: VPC: 1 Public subnet Route table with Internet Gateway 2 Private subnets Route table with NAT I created a subnetgroup with the private subnets and attached it to ...
ale_93_be's user avatar
0 votes
2 answers
348 views

extending EBS volume

I have extended an existing EBS volume from 2.5Tb to 3 Tb , However when i check disk managment I dont see the unallocted space , It shows as 3TB post extension in AWS console but not on my windows ...
Nick Hill's user avatar
0 votes
0 answers
156 views

IPv6 ICMP rules for AWS Security Group

I'm in the process of configuring IPv6 ICMP rules in my AWS Security Group, specifically for an EC2 instance. I need to allow ICMP traffic for the PTMUD protocol and other related protocols. In the ...
xhci's user avatar
  • 1
0 votes
2 answers
646 views

95% of root file system is in use but cannot see disk space issue

1st of all, I'm a linux & AWS amateur, so I feel as if I'm searching in the dark here. I seem to be getting issues with my Elastic Beanstalk environment. After a few days I get notifications of ...
thunk's user avatar
  • 101
1 vote
0 answers
35 views

Cant login to AWS EC2 instance with IGW/VPC

Used this q's 2nd answer checklist Hello, I am trying to login to an AWS Linux EC2 instance without much success. I am doing this via cloudshell/android phablet. The VPC has an IGW and a seeming ...
ArrowInTree's user avatar
0 votes
0 answers
64 views

Proxy Error - Java Web Applications / Glassfish / MySQL / Apache

I have some Java Servlet Web applications running on Glassfish, on an AWS Linux server. The applications are integrated with a MySQL database, installed on the same server. Also, access management is ...
EduOK's user avatar
  • 1
0 votes
1 answer
152 views

How to create a VPC endpoint to access SQL DB hosted inside EC2 instance?

I have a lambda in VPC-1 trying to access a SQL database which is hosted inside an EC2 instance in VPC-2. How should I establish a connection between Lambda(VPC-1) and SQL DB (VPC-2) using VPC ...
Anuj Kadam's user avatar
0 votes
1 answer
150 views

API Error labels all over AWS management console (EC2 Dashboard)

After deploying a VPC using terraform, I get this: What causes this / how can I debug this? the terraform validate always succeeds... Often when I refresh the whole browser window, the issue is gone ...
yen's user avatar
  • 117
0 votes
0 answers
8 views

DR Test: How to modify AWS EBS volume to make it "impaired"?

We are designing some disaster recovery tests (ISO 27301) and one of the tests has a branch where the underlying cause is an AWS EBS 'impaired' volume. Does anyone know how we can 'impair' an AWS EBS ...
Konchog's user avatar
  • 101
0 votes
1 answer
372 views

Best method to copy image files from AWS EC2 instance to S3 bucket based on query

What is the most efficient method to copy selected image files from a EC2 instance (Ubuntu 20.04) in production to a S3 bucket while checking if the file exists in EC2? This is a one-time operation. ...
GUIJS's user avatar
  • 1
1 vote
1 answer
406 views

How do I create an Elastic Beanstalk example?

I have tried to create and deploy on Elastic Beanstalk. It never works. I have spent over 14 hours trying to get EB to work over the course of 1 month. I have followed online tutorials in addition to ...
BigMistake's user avatar
2 votes
1 answer
365 views

How Do I Use The <VirtualHost> Directive To Host Multiple Sites Using An EC2 Instance, ELB, And CloudFront?

I've been really struggling with this for the past few days, and I'm at a lost. Here's what's going on. I have an EC2 instance (Amazon Linux 2023) behind an ELB and a CloudFront distribution that I ...
wholelottabob's user avatar
0 votes
0 answers
127 views

CPU Credits in AWS EC2

I would like to unserstand better how AWS cpu-credit usage give me some insight about cost savings. AWS costs may be extremely complicated to understand. CPU size, cpu-credits, and so on. I try to get ...
Flavio Lenz Cesar's user avatar
0 votes
1 answer
185 views

Validation fails for kops cluster : "kops-controller" is pending

I'm trying to create a Kubernetes cluster on AWS using kops tool. After the cluster is created I run a command to validate it and it's not valid. $ kops validate cluster Using cluster from kubectl ...
Siarhei Vouchak's user avatar
0 votes
1 answer
6k views

The connection to the server 172.31.58.39:6443 was refused - did you specify the right host or port?

I have created 3 nodes on aws ec2. In these three nodes, I have one master node with type t2.medium and 2 worker nodes with type t2.micro I'm facing an issue The connection to the server 172.31.58.39:...
Spiral's user avatar
  • 101
0 votes
1 answer
520 views

Get AWS role name from EC2 instance list using CLI

AWS CLI requests "ec2 describe-instances" and "ec2 describe-iam-instance-profile-associations" include instance profile in the "IamInstanceProfile" property. This ...
Richlv's user avatar
  • 2,393
0 votes
0 answers
17 views

AWS Elastic Compute Cloud EC2 pricing issue

Description Usage Quantity Amount in USD Amazon Elastic Compute Cloud T4GCPUCredits USD 10.90 ↳ $0.04 per vCPU-Hour of T4G CPU Credits 272.513 vCPU-Hours USD 10.90 Can anyone tell me what is this ...
Faizan Anwer Ali's user avatar
0 votes
0 answers
385 views

How is "Global-DataTransfer-Regional-Byte" transfer calculated?

I started a EC2 t2.micro instance in Canada(Central) region. I've installed WireGuard and Pi-hole in it. Upon VPN Connection, I did some network test using iperf3 between my computer and the instance....
user1843654's user avatar
1 vote
1 answer
189 views

What steps can I take to troubleshoot why my server is not accessible over HTTPS after enabling SSL with Certbot?

I'm looking for assistance in diagnosing and resolving this issue. What steps can I take to troubleshoot why my server is not accessible over HTTPS after enabling SSL with Certbot? Are there any ...
Sri's user avatar
  • 23
1 vote
1 answer
83 views

Aws workspace can't access website hosted in aws ec2

I have a website hosted in an ec2 instance. It works ok from outside, for example from my home network. However, i can't access this website from my aws workspace. Both ec2 instance and workspace's ...
Trong Lam Phan's user avatar
2 votes
0 answers
107 views

Unable to connect to AWS EC2 instance public IPv4 using http tcp/80

Referring to an instructional book, I am setting up an EC2 instance on AWS using an IAM role. However, when I try to access the URL using the EC2 instance's public IP address, I am unable to establish ...
Scatt's user avatar
  • 21
2 votes
1 answer
385 views

W32Time doesn't respect MaxPosPhaseCorrection settings

I'm having a problem with W32Time service on Windows Server 2019 not respecting the default limit on positive time offsets (MaxPosPhaseCorrection/MaxNegPhaseCorrection = 15 days). The server is ...
kirill_l's user avatar
  • 237
0 votes
1 answer
820 views

Re-route all incoming traffic to my home computer over the wireguard interface

I have setup a server in AWS with WireGuard server installed on it. I configured the server and the client and the vpn connection is up and running. I am able to ping from my local computer to the ...
Tim B.'s user avatar
  • 117
3 votes
2 answers
2k views

AWS NAT Instance Setup

This question was originally posted to stack overflow, they suggested I repost it here (https://stackoverflow.com/questions/76715004/aws-nat-instance-setup). I am currently learning the AWS cloud and ...
lobis's user avatar
  • 31
5 votes
1 answer
753 views

AWS server completely shutting down because of the insufficient CPU memory (server-kernel: out-of-memory )

WordPress website(4years old) have been recently migrated from shared server to the AWS server (2cpu, 4GB ram,80 SSD).After migration website was working fine but in the night between 2am and 6am the ...
Rakshith k's user avatar