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
2 answers
99 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
271 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
30 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
329 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
14 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
30 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
14 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
156 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
243 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
60 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
120 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,433
0 votes
1 answer
265 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
81 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
173 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. ...
Praveen Sivakumar's user avatar
0 votes
1 answer
52 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
70 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
258 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
423 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
45 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
481 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
159 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
  • 109
0 votes
1 answer
772 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
88 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
2 votes
1 answer
8k 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
247 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
214 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
  • 355
0 votes
1 answer
1k 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
318 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
69 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
662 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
181 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
329 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
0 votes
0 answers
90 views

What is the stable DNS name of an EC2 instance?

Given an EC2 instance spun up in AWS, does AWS provide a stable, predictable, DNS name that resolves to both the public IPv4 and public IPv6 addresses of that instance? If so, where can I find this ...
Graham Leggett's user avatar
2 votes
1 answer
65 views

What is the corresponding AWS EC2 level for this specification?

We'd like to use AWS to build code. Below is the specification for the build server, is there any corresponding hardware level for AWS EC2? Ampere AC-1GB06A1S5 - Mt. Snow SATA DVT L6 2U Altra Server ...
skyline's user avatar
  • 123
0 votes
1 answer
203 views

Moving from Apache2 to NGINX configuration

I have been trying to get my website up after moving from apache2 to nginx on my AWS Ubuntu 20.04 server. I have translated the relevant files from apache2 over to my nginx configuration, however I ...
jabroni's user avatar
  • 103
0 votes
0 answers
86 views

AWS AppStream is unable to push session script logs to s3

I have configured session scripts to log stdout and stderr to s3 bucket as described in https://docs.aws.amazon.com/appstream2/latest/developerguide/use-session-scripts.html#enable-S3-bucket-storage-...
MPP's user avatar
  • 1
1 vote
0 answers
262 views

Elastic Beanstalk deploy app in private VPC without public ip address for EC2

I'm currently developing a NodeJS application that I want to deploy in Elastic Beanstalk (EBS). To isolate & secure my cloud resources I'm using VPCs where I deploy the EBS app and also my ...
Marc Becker's user avatar
0 votes
1 answer
694 views

AWS EC2 ssh: connect to host, port 22: Operation timed out, nothing has changed?

I'm sure a number of you were seeing red and ready to hit that downvote button as soon as you saw this question popping up again. It really does pain me to be asking a question that was seemingly ...
joeybab3's user avatar
  • 101
0 votes
1 answer
1k views

Installing ODBC 18 driver on Amazon Linux

I see instructions from MS site on how to install ODBC drivers on various Linux distributions but not for Amazon Linux. https://learn.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-...
Meringros's user avatar
  • 101
0 votes
0 answers
56 views

Shared drive for Windows EC2 intances launched within an autoscaling group

I am looking to be able to share a single network storage between my fleet of Windows EC2 instances that are used as application webservers running IIS. These instances need to be able to access the ...
JDT's user avatar
  • 1
3 votes
1 answer
305 views

Unifi UDMP - Weird connectivity issue, routing/DNS, multiple WAN IPs?

We are experiencing an odd issue, seemingly related to routing or DNS. We have a "hub and spoke" topology using Unifi equipment (UDMP's). Each site connects via IPSEC tunnel to an AWS EC2 ...
boog's user avatar
  • 240
0 votes
0 answers
93 views

Certbot Google-DNS Failing from AWS EC2

I am trying to retrieve an SSL Cert using Certbot from an Unbuntu 22 instance on AWS and it keeps getting the following error: Simulating a certificate request for studiojb-demo.com and *.studiojb-...
GESmith's user avatar
0 votes
0 answers
129 views

Setting up HA NAT instances on AWS

Question: Anyone have experience running HA NAT instances and how to set them up? Basically, I would need to have my own NAT instances with automatic failover in case something breaks. I've ran years ...
eof's user avatar
  • 141
1 vote
1 answer
239 views

Apache Server Error After Setting Up SSL Configs

I am running an EC2 Linux 2 AMI and was following an AWS tutorial to enable HTTPS on my server. But when I try to restart Apache, error seen in the logs: Apr 10 06:56:40 <maskediphere> systemd[1]...
gakshat's user avatar
  • 11
4 votes
1 answer
2k views

Fresh EC2 instance pending Kernel Upgrade

Just spin up an EC2 instance with Ubuntu, if it is a new fresh instance, isn't supposed the Kernel to be up to date? After I run a sudo apt update && sudo apt install <any-package>, I ...
Arrow Root's user avatar
0 votes
1 answer
870 views

Why is the Microsoft Management Console empty on my EC2 instance?

This is a brand new Windows Server 2022 EC2 instance. I am Administrator. I'm trying to use NICE DCV. I have it installed, I guess, but I don't see it anywhere. Amazon's instructions are to start it ...
user875234's user avatar
0 votes
0 answers
55 views

AWS EC2: adding IP from a separate private block

I have an existing VPC with a CIDR in the 10.0.0.0/16 block. I now have to create a VPN connection to an external service, who want us to use IPs in 192.168.0.0/16 block. Unfortunately, AWS does not ...
NullPointer's user avatar
0 votes
1 answer
22k views

EC2 after reboot: how to resolve host ip-xxx-xx-xx-xxx: Resource temporarily unavailable

I rebooted my Ubuntu EC2 and I now can't do anything. I get the following error on trying pretty much anything: sudo: unable to resolve host ip-xxx-xx-xx-xxx: Resource temporarily unavailable where ...
user984003's user avatar
0 votes
0 answers
381 views

EC2 instance Status Check failed and server stopped working

I am using an AWS EC2 instance (t3.xlarge) running on Ubuntu server 18.04.6 LTS, which was working fine. But suddenly I encountered an error where the instance status check failed "Instance ...
Surya H's user avatar
  • 21
0 votes
1 answer
242 views

Do firewalld rich-rules apply irrespective of the allowed services in a zone?

Context: I have firewalld running on an AWS EC2. Goal: I want to add a rich rule to the default zone (public) that allows traffic from a certain CIDR range/IP address range/subnet over port 443 (HTTPS)...
Prithvi Boinpally's user avatar