Questions tagged [aws-ec2]

86 questions
0
votes
0 answers

AWS EC2 CPU Spike for 1 minute

Im running a aws linux 2 EC2 instance and noticed throughout the month there will be sudden spikes in the CPU usage where it gets close to 90% and then drops off. However looking at the average over 2 week periods the average is usually less than…
Yeak
  • 103
  • 3
0
votes
1 answer

AWS: error on import of OVF/OVA file from a VMWare ESXi

My goal is to migrate a VM from VMWare to AWS EC2. I exported the "OVF+VMDK" file from VMWare ESXI 6.5. I also converted to an OVA file to be able to test both OVF and OVA format. I followed the tutorial provided by AWS to import a virtual machine…
0
votes
1 answer

How to check if Route53 will speed up my website?

I have an aws ec2 instance in N.Virginia, an Ubuntu machine with everything inside (mysql as well as apache). Basically all these while, I'm running it on one instance alone, with just image backups and sql backups, but no extra instances nor…
0
votes
0 answers

Custom domain pointed at elastic IP does not have correct SSL certificate

So i have this problem that is bothering me for some time. Now i created SSL certificate with LetsEncrypt and its for my custom domain. Lets say example.com. Now i have set this certificate for load balancer in EB and for listener in EC2. When i…
Axeror
  • 1
  • 1
0
votes
0 answers

How to route all incoming/outgoing traffic to eht1 instead of eth0 on aws linux 2 instance

I am new to the AWS Linux environment, I have added a new network interface (eth1) with my AWS Linux 2 instance. now I want to route all of my incoming and outgoing traffic through this interface(eth1) instead of eth0 which is the default network…
0
votes
1 answer

ssh: connect to host ec2-x-xxx-xxx-xx.compute-1.amazonaws.com port 22: Connection timed out

I connected to my ec2 instance successfully earlier. However, when trying to connect again, I got this error: ssh: connect to host ec2-x-xxx-xxx-xx.compute-1.amazonaws.com port 22: Connection timed out I checked Route table, Network ACL, Internet…
0
votes
1 answer

MYSQL server on EC2 is sometimes refusing to connect

I have hosted a MySQL DB on AWS EC2 instance(t2.micro, ubuntu, free tier). I am able to connect to it and store data. But most of the time, I am unable to connect to it via workbench or my app. But my configurations are correct since I am able to…
Nithur
  • 1
0
votes
0 answers

AWS ECS in private subnets with autoscaling not working without NAT gateway, why?

I have stack in cloudformation, containing ECS cluster with autoscaling EC2 instances, running in private subnets. ECS is covered by ALB (in public subnets). Container instances get images from AWS ECR. I created these VPC endpoints: s3 vpc gateway…
wtdmn
  • 63
  • 1
  • 5
0
votes
1 answer

What causes reachability check failure on EC2 instance?

I have an EC2 instance which is stopped at the end of each working day, and then started again the following morning via a Control-M job. Most instances start with no problems, however occasionally we are seeing an error as the instance reachability…
jh12298
  • 1
  • 1
  • 1
0
votes
0 answers

Launch new EC2 instance using shared private AWS AMI

I have a website running on t2.micro ec2 server (A). While it is running I created its AMI and shared it with another AWS account B. I went to the B AWS account and tried to launch an EC2 instance with the same configuration (t2 micro). After server…
paul
  • 103
  • 2
0
votes
2 answers

How to use ssh-copy-id on remote server?

I have an ec2 instance which I can connect using this command with the ssh_key.pem file I have. ssh -i ssh_key.pem ec2-user@54.174.85.61 I am trying to use ssh-copy-id to add the public key I have on my local machine to remote ec2…
0
votes
0 answers

How to mount volume type LVM2_member to EC2 instance

I'm trying to mount a volume taken from an old EC2 to a new EC2 instance, however, this volume has an "unknown filesystem type of "LVM2_member". I tried all this with the original volume, then I made a volume from the snapshot, thinking it would not…
0
votes
1 answer

Redis inside Docker Compose Permission Denied for RDB file Crontab

Hi I have following docker-compose.yaml file. version: "3.9" volumes: local_postgres_data2: {} local_postgres_data_backups2: {} services: postgres: image: postgres container_name: angel-postgres restart: always volumes: …
Mudassar Hashmi
  • 103
  • 1
  • 6
0
votes
1 answer

Benchmarking AWS outbound Internet bandwidth (egress) "up to 25 Gbps"

We conducted our tests on c6gn.2xlarge AWS instances located is us-east-1 region, which are advertised in AWS documentation to have a network performance of "Up to 25 Gbps" with a baseline bandwidth of 12.5 Gbps. We ran UDP tests with iperf3, from a…
Eric
  • 101
  • 2
0
votes
1 answer

MySQL Server Scaleing with AWS issues

MySql server doesn't seem to be scale up correctly when scaling up my AWS instance. Its almost like MySql is cacheing the instance sizes. This happens after a scale down the AWS instance and then when we scale back up the the AWS instance, the MySQL…
Tom
  • 101