Questions tagged [amazon-ec2]

Amazon Elastic Compute Cloud (EC2) provides self-service, on-demand, pay-for-what-you-use computing infrastructure resources.

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

Can you exceed 1 gigabit from an EC2 instance to an AWS Aurora MySQL instance?

I'm importing a terabyte of data into an AWS Aurora MySQL table from an EC2 instance. Because our service will be down while migrating prod, I care a lot about the import speed. Currently I can't ...
Seth's user avatar
  • 171
0 votes
1 answer
43 views

SSH access to my AWS EC2 container

C:\Users\javac>ssh -i "DemoServer.pem" [email protected] The authenticity of host 'ec2-52-15-253-230.us-east-2.compute.amazonaws.com (52.15.253.230)'...
Larry Gray's user avatar
0 votes
1 answer
233 views

How to enable IMAP PHP extension on AWS EC2 instance Amazon Linux 2023?

This question is related with the following one: How to enable IMAP php extension on aws EC2 instance but they are completely different. I use PHP 8.1 and Amazon Linux 2023, this version does not have ...
Carlos's user avatar
  • 101
-2 votes
1 answer
54 views

Windows application listens on IPv4 but not IPv6 UDP

I have setup a Windows Server 2022 AWS EC2 instance. I installed and am testing an application that only runs on Windows. When setting up the EC2 instance I enabled both IPv4 and IPv6. AWS requires ...
Aaron's user avatar
  • 97
0 votes
0 answers
49 views

Trying to use HTTPS to multiple host ports

I'm trying to configure Nginx to serve my application on both port 443 and 5501 with SSL. I have the following Nginx configuration: upstream pixel { server pixel.example.com:8080 weight=1; ...
Henrique Hefler's user avatar
-1 votes
0 answers
64 views

postfix/smtp[1353]: connect to gmail-smtp-in.l.google.com 25 Connection timed out on aws ec2

I already clear the restriction for port 25 from AWS side our domain Officielcrm.in. our mail server domain mail.officielcrm.in and Public IP is 43.205.38.228. We are not able to send mail outgoing ...
Naman Dixit's user avatar
0 votes
1 answer
28 views

Guaranteeing two EC2 instances on different hypervisors in same AZ

As part of a security evaluation we've been asked if we can set affinity so that two EC2 instances in the same AZ are not hosted on the same physical machine. Obviously it's very unlikely that two of ...
WaldenL's user avatar
  • 1,260
0 votes
0 answers
41 views

How to initialize cockpit on CentOS8?

I am trying to access my public IP of the EC2- box on port 9090 to access centOS8 cockpit but I am unable to get to my centOS8 cockpit. My security group from the server is Security group This is what ...
Nisarg Shah's user avatar
0 votes
0 answers
21 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
122 views

How-to install docker-compose on al2023

The docker documentation states the compose plugin is installed automatically with the latest docker version. I built a new EC2 instance running al2023 and installed docker. But received this error: $ ...
D.Fitz's user avatar
  • 162
0 votes
0 answers
19 views

Wordpress behind AWS ELB: constant 302, or not found

I have just installed a new WP under EC2, behind ELB. ELB itself is secured, however, EC2's httpd is not. Crazy Wordpress doesn't recognize it's being served on HTTPS, and installs itself in HTTP mode,...
Daniel's user avatar
  • 191
0 votes
2 answers
91 views

Nginx Server Block Configuration Issue - Conflicting Domains

I have a clean installation of Nginx, specifically version 1.24.0, on my Amazon Linux 2023 server, and I'm facing an issue with the server block configuration. I have three server blocks set up for ...
Sina Nouri's user avatar
0 votes
1 answer
89 views

How to access RHEL non-UBI content when the host is an EC2 instance

The Red Hat Universal Base Image (UBI) FAQ claims that 8. Will applications built on UBI have access to the same content as images built on a non-UBI base image? Yes, but accessing non-UBI content ...
neirbowj's user avatar
  • 338
0 votes
1 answer
95 views

Why would mounting / unmounting an XFS filesystem make it bootable again?

I’ve got some EC2 instances running Amazon Linux 2 and 2023 which use XFS as their root volume. Occasionally, after several reboots, the instance refuses to boot and gives a kernel panic, because it ...
Corey Larson's user avatar
0 votes
1 answer
144 views

How to install a Python library in a t2.micro what requires high memory usage?

Tested with t2.micro/t3.micro and Ubuntu 22.04.3 LTS. At first I thought it was a storage limit but I increased to 30GB. The steps to reproduce it: Create the instance Perform update and upgrade of ...
Angel Luis's user avatar
0 votes
0 answers
177 views

Install FreeIPA on Amazon Linux 2023

The goal is to install "freeipa" on Amazon Linux 2023 AMI. Amazon Linux 2023 doesn't officially support the package by default, due to this AMI is made of Fedora 34, 35, 36, and CentOS 9 ...
Igor Ferretti's user avatar
0 votes
0 answers
41 views

Apache mod_wsgi serving rest api and static website on virtualhost

So I have an ec2 instance running debian with apache and mod_wsgi to serve my flask rest api and I also have a static web page using react which makes calls to the api to abstract the database logic. ...
user avatar
0 votes
0 answers
122 views

Amazon Linux 2023 AMI Permissions

I'm setting up a new EC2 Instance with AMI Linux 2023. (I'm super new to Linux/AMI). I followed this tutorial on the AWS website: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-lamp-amazon-...
Luke's user avatar
  • 101
0 votes
2 answers
57 views

AWS CIDR Address is not within CIDR Address from VPC

In AWS have created VPC which CIDR is 10.0.0.24.I want to creates its two subnet.its public-subnet is in us-west-1a - IPv4 CIDR 10.0.0.0/24 thenwhen I create private subnet is in us-west-1b - ...
Developer.Sumit's user avatar
1 vote
1 answer
108 views

MariaDB randomly crashes

I've encountered a peculiar issue related to my MariaDB database instance (version 10.2) that causes my MariaDB service to stop unexpectedly. I've attempted to investigate the problem by regularly ...
Harry Potter's user avatar
0 votes
0 answers
23 views

AWS EC2 public access to service running on private IP

I am running deepracer for cloud, on an EC2 instance. This is creating a video stream on the instance's private IP on port 8001. But I cannot view it. I get the html content when I curl the port from ...
Teh__docco's user avatar
0 votes
1 answer
197 views

FreeIPA on Amazon Linux 2023

I want to install the FreeIPA client on Amazon Linux 2023. Unfortunately, Amazon Linux 2023 doesn't officially support the package. As a workaround I installed the Fedora repositories and managed to ...
Michael Angel P.'s user avatar
0 votes
0 answers
11 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 Rupani's user avatar
0 votes
0 answers
24 views

How to point wildcard subdomain to matching ec2 instance with tag name?

I have a use case where I need to create/delete ec2 instances (~30 instances). To access those instances I need to set up a subdomain but creating 30 subdomains and pointing each to their respective ...
HeyArviind's user avatar
0 votes
0 answers
12 views

Duplicating an EC2 instance for creating a development platform for Wordpress site

I have an EC2 instance running Ubuntu hosting a Wordpress site on Apache. I've used LetsEncrypt's CertBot to create an SSL certificate and everything's working fine. I also have direct IP to domain ...
The Feadow's user avatar
0 votes
2 answers
90 views

Unable to access apache2 from outside

I'm hosting a default site for apache2 server on AWS EC2 (Ubuntu) with Elastic IP. Security group set to open all inbound (testing purposed). I can access the server via SSH using public IP but I can'...
Artur Kedzior's user avatar
-1 votes
1 answer
92 views

AWS EC2 instance running out of memory running NodeJs application, cannot identify root cause because of log suppression

As stated in the title we have a NodeJS application running on an EC2 instance on AWS which sporadically runs out of memory and kills the process. Business wise it is not really a hindrance since ...
treskilion's user avatar
0 votes
0 answers
34 views

iptables as proxy server for IoT devices similar to socat

I am able to forward incoming TCP traffic from IoT devices hitting a port towards another destination server using socat using this command socat TCP-LISTEN:5050,reuseaddr,fork TCP:some-random-host-in-...
ShamsRKhan's user avatar
2 votes
0 answers
75 views

NVIDIA Grid / Gaming drivers licensing issues AWS EC2

I'm following https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/install-nvidia-driver.html#nvidia-gaming-driver in order to install NVIDIA Gaming drivers to unlock higher resolutions on AWS EC2 ...
Tommy B.'s user avatar
  • 1,423
0 votes
1 answer
98 views

How to download binaries for MS ODBC18 Driver?

I need to install the MS ODBC 18 Driver into Amazon Linux 2 (for EC2). The steps here cannot be completed due to network restrictions: Microsoft ODBC 18. Also the package needs to be installed while ...
FerverSault's user avatar
0 votes
0 answers
80 views

What AWS architecture would be mosted suited for a SaaS that uses uses git repositories as data storage?

I am currently working on an application that is dealing with frontmatter markdown files 99% of the time (some things have to communicate with a DB like RDS). Locally, I have a folder that stores all ...
spaceemotion's user avatar
0 votes
0 answers
97 views

Squid Proxy - allow http for specific url

I'm learning about squid proxy in a Windows environment. I have verified that the list of allowed urls in a notepad file and add it to squid.config file as path of allowed url is functioning well. ...
techiies's user avatar
0 votes
1 answer
48 views

Domain sharing to another server

We have domain that registered in a cloudflare by alb dns CNAME record and hosted in windows server as prod server. on other hand we also had an ubuntu server infront of windows server. My question is ...
Praveen Sivakumar's user avatar
0 votes
0 answers
52 views

SvelteKit app and Wordpress Blog under one domain

I have an AWS EC2 server running with a PHP website and a Wordpress blog in a subfolder, both served with apache. Structure: Website: https://website.com Blog: https://website.com/blog I would like ...
PimVanLommel's user avatar
2 votes
1 answer
203 views

How to get the data usage of a specific AWS service

I was trying to find how to check monthly data usage of a specific AWS service (eg. EC2) but I don't seem to get my head around it: I tried this dashboard: So for example, I was looking at the data ...
vishnu's user avatar
  • 135
0 votes
0 answers
253 views

Passing variable to next playbook in awx workflow

I'm having difficulties with the following setup: AWX deployed in a self hosted k8s cluster Playbooks are using the AWX-EE Playbooks are executed in a workflow template as follows: START -> 1. ...
Marc's user avatar
  • 26
0 votes
1 answer
32 views

EC2 instance not found from Management Console

I'd like to set up a very basic EC2 instance, connect it to a MySQL RDS database, and install Wordpress. I'm currently using this guide, and I've created both an EC2 instance and an RDS instance. ...
Aparna Maddala's user avatar
0 votes
1 answer
195 views

EC2 instance refuses to connect to ssh, and web server running in it does not handle any requests - how to troubleshoot?

I have two ec2 instances which run different applications on them, which is served through CloudFront. Tonight both became unresponsive at the same time. Any attempts to contact the apps through ...
Edy Bourne's user avatar
0 votes
0 answers
113 views

Is this AWS EC2 hardware (cpu, memory) too old?

Is this EC2 hardware too old? Is there a way to select newer hardware(e.g., faster CUP, Memory DDR5) when launching a new EC2 instance? *-cpu description: CPU product: Intel(R) ...
eastwater's user avatar
  • 111
0 votes
1 answer
428 views

Can't connect to EC2 SSH via Private IP

I was earlier able to SSH to the EC2 instance via the Private IP address of the instance using OpenVPN. But, recently I changed my internet provider and after that, I cannot connect to particular EC2 ...
Kinshuk Lahiri's user avatar
0 votes
1 answer
72 views

Are new AWS AMD instances using SMT

I recall when AMD EYPC was first released on AWS EC, it was not using SMT: one vCPU was one full physical core. Is this still the case for new AMD instances?
BeeOnRope's user avatar
  • 592
0 votes
1 answer
4k views

AWS 2023 AMI Linux installation of epel-release-latest-8

I'm trying to install the following on an EC2 instance and receiving the following error message: [ec2-user@ip-172-30-0-7 ~]$ sudo dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-...
Philoxopher's user avatar
0 votes
0 answers
167 views

Error 404 Not Found EC2

I am trying to deploy a flask application that I made with several pages and I'm following this tutorial to do it: https://www.youtube.com/watch?v=ct1GbTvgVNM&t=94s&ab_channel=AMonkinCloud%E2%...
CarlosCastrejon's user avatar
0 votes
1 answer
121 views

Restrict AWS SSM access to SSH only

I need to restrict some users AWS SSM access to SSH only. These users should only be able to start a SSH session via SSM like this: ProxyCommand sh -c "aws ssm start-session --target %h --...
Michael's user avatar
  • 345
0 votes
1 answer
628 views

Why shouldn't EC2 instances be public, if they can be protected with security groups?

It is considered bad practice to place machines that shouldn't be accessible from the internet in a public subnet, because such topology, other than being logically wrong (private instance in an ...
F. Alessandro's user avatar
0 votes
0 answers
205 views

AWS ECR Tag Based Access Control

$ docker pull {ACCOUNT-ID}.dkr.ecr.{region}.amazonaws.com/{repository-name}:ecr Error response from daemon: pull access denied for {ACCOUNT-ID}.dkr.ecr.ap-south-1.amazonaws.com/{repository-name}, ...
Arya Aniket's user avatar
0 votes
0 answers
53 views

Can access jenkins (ip:port 22) but not ssh

Before adding a rule, ssh was working fine. For Jenkins, I added the custom tcp security group rule (8080) so i could access it. Then jenkins was working fine. Now, ssh does not. Security Group rules ...
chris aimsworth's user avatar
0 votes
0 answers
444 views

AWS ECR Login error

AWS ECR Login error: command: aws ecr get-login-password --region ap-south-1 | docker login --username AWS --password-stdin {id}.dkr.ecr.{region}.amazonaws.com An error occurred (...
Arya Aniket's user avatar
0 votes
1 answer
109 views

AWS instance connect decrypt password is giving error as invalid private key, how to fix it?

I have cretaed an instance using terraform code and also its key pair for windows. To get the admin password I clicked on the below decrypt button and getting as invalid decrypt key. Please suggest ...
Meghana d's user avatar
0 votes
1 answer
173 views

How to change SQL Server sa password as part of ec2 userdata

I'm provisioning some development EC2 instances running Windows Server, with SQL Server installed. I use a custom Amazon Machine Image with the configuration we need, but as part of the provisioning ...
data princess's user avatar

1
2 3 4 5
132