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
10 views

How to make my own local elastic cloud computing server [closed]

I'm interested in creating a local version of Amazon EC2. My plan is to set up a rack of servers which could be used by spinning up one or more arbitrary Windows or Linux OS instances, then remoting ...
user avatar
  • 111
0 votes
1 answer
17 views

Extending File-system after EBS volume increase on M5 type EC2 with Ubuntu 16.04

Production AWS Instance: We have an m5 ec2 nitro instance that is in need of query optimization. However, we are in a time crunch and have decided to temporarily throw memory and storage at this until ...
user avatar
0 votes
0 answers
8 views

Deploying monorepo without SSH

Full Disclosure: I'm a DevOps noob. I am running a MERN mono repo on an EC2 instance. Originally, I would always SSH into my machine, pull from the repository, and build again. But there are problems ...
user avatar
0 votes
0 answers
9 views

How are mem_available_percent and mem_used_percent are related in aws linux

How are mem_available_percent and mem_used_percent are related in aws linux How can both available memory and used memory both be high. If used memory is high the should available memory be low? Also ...
user avatar
  • 379
0 votes
0 answers
20 views

In AWS how can I route outbound EC2 traffic through different Internet Gateways depending on the payload?

I have a weird scenario where I need to route certain outbound traffic from an app hosted on EC2 through different regional IP addresses. Long story short we have 2 clients with APIs that our app ...
user avatar
  • 103
0 votes
0 answers
10 views

How to prevent copying of executables included in AMIs?

When publishing and AMI on the Marketplace or sharing an AMI with another account, how would one go about protecting the executables from being copied out? I've looked into the documentation (https://...
user avatar
0 votes
0 answers
10 views

AWS Site-to-Site VPN ping working, TCP not

I want to establish a site-to-site IPsec VPN connection between an AWS EKS-Kubernetes-Cluster and a server from a different provider using AWS Site-to-Site VPN. Pings get through the VPN, but TCP ...
user avatar
  • 1
0 votes
1 answer
20 views

How do I extract a list of all folders of my AWS S3 storage bucket or directories?

Does Amazon provide an easy way extract a list of all folders that have files greater than 500 MB from a s3 bucket? want to limit the scope to the '/files/ftp_upload/' directories also This is so I ...
user avatar
0 votes
0 answers
14 views

Ec2 instance SSH access:not able to connect after the nginx installation

I am getting a weird issue in my EC2 instance. After the successfull creation i am able to login to server via ssh commad, but onece afte i installed the nginx , i m not able to access the server via ...
user avatar
0 votes
0 answers
14 views

Docker container eating space over time in my EC2

I've installed only Hasura and a Postgres database (yes yes, I'll change it) in 1 docker container each. The containers themselves don't use much space, but my overall storage space is rapidly being ...
user avatar
0 votes
0 answers
23 views

Access Denied with IAM Update

In my scenario I have created a new policy to grant access to a server in our instance but it doesn't appear to have taken effect. We granted read and list permissions with arn:aws:iam::657644469569:...
user avatar
  • 11
0 votes
0 answers
20 views

Outgoing Brute force attack from my Amazon EC2 [duplicate]

First of all, thank you for reading this. Today I receive an email from aws saying one of my fresh EC2 is being used for brute force attacks along with some details so I could fix the issue. ...
user avatar
  • 101
0 votes
0 answers
6 views

While connecting to one ec-2 instance to another permission is denier

enter image description here While connecting to ec2 using ssh permission is getting denied.. I have copy ssh key also and both machines are configure to each others... Ping between them is also ...
user avatar
0 votes
0 answers
10 views

SSL to Amazon EC-2 instance

First time using EC-2, and I have a hard time adding SSL, got stuck under CloudHSM, it won't connect to the IP, it's so complicated, 1000 steps using another 2 services, CloudHSM and AWS key ...
user avatar
  • 1
0 votes
0 answers
27 views

AWS Peering connection with ansible: "No route to host"

I have an EC2 instance in us-east-1 which would like to communicate with another instance in us-west-2. VPC-East CIDR: 172.16.0.0/16 VPC-West CIDR: 172.17.0.0/16 The used subnets in these VPCs are 172....
user avatar
  • 101
0 votes
1 answer
30 views

Why apache2 is using so much CPU power from a EC2 instance?

This is my case: i have a ec2 instance with 5 virtual hosts running apache2. Sometimes, randomly, the CPU goes over 80% utilization because of apache. The sites are not so elaborated, and not even get ...
user avatar
1 vote
1 answer
31 views

Max Age of a EC2 instance?

I have been using AWS EC2 as "normal" VPS hosting provider for the past 3 months - simply because it is well integrated to other AWS services as well as the price doesn't make a big ...
user avatar
  • 113
0 votes
0 answers
17 views

Amazon AWS ACL rules limit

I have an EC2 server in Amazon AWS. I need to set up ACLs on my public address, especially restrictions on incoming traffic. But I was surprised that the rule limit for each route is 20. For ...
user avatar
0 votes
1 answer
55 views

Is kernel 5.10 available for downloading for old Amazon Linux?

It appears i have an old Amazon Linux AMI, because i have Kernel 4.x version. I need to upgrade the kernel, i have tried with the ELRepo, but i get stuck installing the repository (an issue with glibc ...
user avatar
0 votes
1 answer
19 views

Root disk mbr and non-root gpt

I have an ec2 instance on aws running linux, with a root volume and another volume for data. Both are ext4. I need to increase the data volume size to more than 2 TB. However currently the ...
user avatar
  • 111
0 votes
0 answers
61 views

AWS CloudFront error 502 connecting to EC2 host

Community I have a web page served by Apache running on a EC2 AWS instance. I am using AWS Certificate Manager with CloudFront to manage SSL/TLS in order to access the web page using HTTPS My ...
user avatar
0 votes
0 answers
57 views

Setting up CloudFront with SSL/TLS certificate and EC2 instance

Community. I have a web page served by Apache running on a EC2 AWS instance. I am using AWS Certificate Manager with CloudFront to manage SSL/TLS in order to access the web page using HTTPS My ...
user avatar
0 votes
0 answers
20 views

user data scripts not working for me during starting of the EC2 instance

All, I have user data script like below. Content-Type: multipart/mixed; boundary="==BOUNDARY==" MIME-Version: 1.0 --==BOUNDARY== MIME-Version: 1.0 Content-Type: text/cloud-config; charset=&...
user avatar
0 votes
0 answers
17 views

Routing data/traffic through an ec2 instance that has a vpn tunnel

firstly sorry if I use the terminology wrong in this post. I am completely new to AWS and network stuff in general. Here is the problem that I am working on: I want my data generating application in a ...
user avatar
0 votes
0 answers
10 views

Post-Installation Configuration of SQL Server Instance on EC2

AWS Cloud Formation allows automated creation of EC2 instances in Windows Server Failover Cluster with SQL Server installed on top in Failover Cluster Instances. There is a lot of documentation about ...
user avatar
  • 101
5 votes
1 answer
204 views

AWS Root volume Encryption

In my scenario, I have some old EBS volumes that are not encrypted. To satisfy new corporate security measures, all data needs to be encrypted so I need to compile a plan to encrypt the unencrypted ...
user avatar
0 votes
2 answers
22 views

How to track specific logs in Ubuntu? (CPU)

We have this EC2 instance: T2.medium, running apache, with 4 virtual hosts (4 sites). Sometimes, out of nowhere, the CPU reaches very high levels, maybe an attack. I've seen some of our wordpress ...
user avatar
0 votes
1 answer
55 views

How do I set up a Let's Encrypt wildcard certificate for Apache on an Amazon Linux 2 AMI EC2 instance?

I have a domain (let's say example.com), and I currently have a Let's Encrypt certificate set up and properly working for example.com and www.example.com for Apache on an Amazon Linux 2 AMI EC2 ...
user avatar
0 votes
0 answers
35 views

Operation timed out on port 22 - SSH into EC2 instance

Whenever I try and connect to my EC2 instance using SSH, I get ssh: connect to host 35.xxx.xx.xxx port 22: Operation timed out. The weird thing is that this happens the majority of the time, but not ...
user avatar
0 votes
0 answers
32 views

OpenLiteSpeed server on EC2 times out on small ecommerce site

Hope you are doing well - I'm running a Wordpress site with Woocommerce on a OpenLiteSpeed web server that under heavy PHP usage starts showing Timed-out 504 errors. I'm hosting everything in AWS and ...
user avatar
0 votes
0 answers
24 views

Can't ftp on active mode from ec2 instance (as a client)

We need to ftp on "active mode" using Ubuntu ec2 instance as a client on a remote not ec2 ftp server. Unfortunately we can't use sftp functionality. And we are able to connect using passive ...
user avatar
0 votes
0 answers
13 views

Waiting for the initial commucation packet: 10060 - postgres RDS

I am trying to setup a environment in AWS where there are subnets (public and private ) in a VPC . The public subnet hosts a web application and the private subnet host my RDS - postgres. i have ...
user avatar
0 votes
1 answer
18 views

EBS root volume being mounted on /media/xvda instead of / (Alpine Linux)

I followed these instructions to install Alpine Linux on EC2. Everything went well and I was able to create an AMI from which I can launch new instances. My instance is supposed to act like a NAT ...
user avatar
0 votes
0 answers
24 views

EC2 instance crashing randomly early morning

I have a java application running on an ec2 instance. Nginx and mongodb is also running on the instance. The application is accessed through ELB which forwards requests to the instance. I have 2 ...
user avatar
0 votes
0 answers
40 views

Nginx, Cloudflare, Subdomain issues

NGINX Newbie here, I'm trying to configure what I find a bit challenging task. I need the following structure: www.example.com -- Website for Company. For now, both www.example.com and example.com ...
user avatar
0 votes
0 answers
26 views

Error connection refused MERN APP on EC2

I have MERN app on ec2 i am getting an error ERR connection refused when connecting localhost:8080/api/auth/sign with node api. Cannot make post calls. What should I do?
user avatar
0 votes
0 answers
26 views

AWS EC2 Next JS server stop responding after some time

I am running NextJS server on AWS EC2 instances. I use pm2 to manage my applications. The setup works pretty fine but the problem is after a few days the server stops responding with a 522 status code....
user avatar
0 votes
1 answer
20 views

How to connect EC2 instance from free wifi through putty

I can connect to AWS EC2 Instance using PuTTY at my home by laptop. But when I bring the laptop to some cafe that provides free Wifi, it ends up with timeout error. In order to solve this problem, I ...
user avatar
0 votes
1 answer
58 views

Route 53 "Too Many Redirects" but access from ELB works

I have an EC2 running pgadmin. There's a target group pointing to it on port 80. The TG is listening on port 443 but HTTP so it can redirect to the EC2 on port 80. (I previously had it 443 and HTTPs ...
user avatar
  • 121
0 votes
1 answer
27 views

How to fix the security group to the EC2 instance to allow specific IP address

I can connect to AWS EC2 Instance using PuTTY at my home by laptop. But when I bring the laptop to some cafe that provides free Wifi, it ends up with timeout error. In order to solve this problem, I ...
user avatar
0 votes
1 answer
26 views

How to fix the security group attached to the EC2 instance

I can connect to AWS EC2 Instance using PuTTY at my home by laptop. But when I bring the laptop to some cafe that provides free Wifi, it ends up with timeout error. In order to solve this problem, I ...
user avatar
0 votes
0 answers
14 views

How to Connect to AWS EC2 Instance using PuTTY through free Wifi at cafe [duplicate]

I can connect to AWS EC2 Instance using PuTTY at my home by laptop. But when I bring the laptop to some cafe that provides free Wifi, it ends up with timeout error. Even though the cafe's Wifi is ...
user avatar
0 votes
0 answers
33 views

Reach LAN Web Server from Amazon ec2 OpenVPN AS Instance. Possible?

Here's my desired end state: From a WAN connection (my phone, a PC that I happen to be using outside my home, etc.), I want to be able to enter an URL (https://example/myapp) that my web server (nginx)...
user avatar
0 votes
0 answers
44 views

Individual Local Accounts on AWS

I'm my scenario, Currently, we have all developers connect to ec2 instances using the ec2-user account. Is there a better way to do this so we can see which actions developers take on the machines? I'...
user avatar
0 votes
0 answers
33 views

AWS EC2 Instance connection timed out

I have tried all the solutions but its not connecting. The solutions applied are follow. Checked that the 22 port is already in the security group and enabled. In the VPC-> Route table the record ...
user avatar
0 votes
1 answer
46 views

How to update the AMI of the instance without loosing data? and the instance has two EBS volumes which EBS volume should i take snapshot?

How to update the AMI of the instance without loosing data? and the instance has two EBS volumes (root and secondary) which EBS volume should i take snapshot? to replicate the original instance.
user avatar
  • 1
0 votes
0 answers
31 views

Reducing server response time (apache 2.4, c5a.2xlarge ec2)

As the title says, I'm running an Ubuntu ec2 server with c5a.2xlarge instance type (8 vCPU and 16 GB Memory) with an apache web server on it and the site feels very slow even when trying to load an ...
user avatar
  • 133
0 votes
0 answers
22 views

High network egress from AMERICAS to EMEA on GCP compute and AWS EC2

Setup a 4 node Hadoop cluster (1 master, 3 workers) on both AWS and GCP. However experiencing, quite high Network egress for both platforms. AWS cluster apps: Hadoop, Yarn GCP cluster apps: Hadoop, ...
user avatar
0 votes
1 answer
26 views

Can't access EC2 on domain name, just on IP. Cname is correct, and can route this domain to lightsail server

Thanks for taking the time. I have ported a lightsail instance over to EC2 and am running a t.2 larger server. I am running a wordpress site and the homepage is just a blank white page. I have ...
user avatar
1 vote
0 answers
116 views

Remove the default Security Group assigned by Elastic Beanstalk

I have created a Elastic Beanstalk environment and have created this .config to edit the security groups which worked. Now my EC2s are attached to the new SG and the default one. option_settings: - ...
user avatar
  • 11

1
2 3 4 5
129