Questions tagged with Amazon EC2

Content language: English

Sort by most recent

Browse through the questions and answers listed below or filter and sort to narrow down your results.

Hi, We have SQL 2017 ENT running on EC2 instances (i3.4xlarge) in Ireland. We are using Litespeed to do full and log backups to S3 in the same region. This is a very large Database. Through litespeed we are doing maximum compression and stripping the full backup to 7 files and each file size is ~430 GB. In the SQL server side, full backups are scheduled to always run in AG secondary replica, so it is only doing the backup work load nothing else. A full back usually completes in ~ 16 to 18 hours. But sometimes the full backup takes 30 to 40 hours and sometimes in worst cases it is taking 60 to 75 hrs to complete. For the slow running backups, at the moment we dont have a clue on where things are actually slowing down. One thing I notice from the litespeed backup summary - whenever backup throughput reduces, the backup time increases proportionally. How would I go about troubleshooting this to find out the root cause and what actions should I take so that full backup always completes in less than 20 hours? Thanks in advance.
1
answers
0
votes
15
views
asked 5 days ago
hi, i have a question. limit for EC t2(t3) of 750 hours is for each individual server, or 750 hours is the total hours for using all EC t2(t3). Are there any limits on the number of EC t2(t3) solutions I can create?
1
answers
0
votes
6
views
asked 5 days ago
My supervisor asked this question but I'm not sure how to scientifically measure it, currently I make several requests to a HTTP service and measure the `time_starttransfer` cURL statistic with the domain name resolving to the IP address of the ELB and the EC2 instance and subtract the numbers to provide an answer but I'm not sure this is the proper way to do so. I also checked the CloudWatch dashboard and unable to found similar metrics, is there any? I would like answers for either the NLB(OSI layer 4) and ALB(OSI layer 7), thanks in advance!
1
answers
0
votes
13
views
brlin
asked 5 days ago
Hi, I am using nlb for serving rtmp connections. Targets of nlb are multiple nodes in eks cluster and on nodes there are nginx-rtmp pods. When i stream multiple streams, i am getting connection dropped at client side, and getting "drop idle stream" log on nginx-rtmp. my idle timeout configuration on nginx-rtmp is 30 sec. I am using ec2 instances to generating load which have 5GB bandwidth. I am not able to found why this is happening. Multiple connections dropping in a single second. and sometimes all of them are on same node. Also when i am checking NLB access logs i found only two ips in target ip and i am not able to found both ip on any pod or node.
0
answers
1
votes
15
views
asked 5 days ago
Connection to my windows instance locate at Frankfurt, Zone A (eu-central-1a) is extremely slow recently. I tried, RDC and ping from using different ISP and also VPN but no luck. My internet connection is good, but RDC connection is either not established or freezes after a brief connection. My hosted website has also become also very slow. What could be the reason? I'm using, 512 MB RAM, 1 vCPU, 30 GB SSD Windows Server 2019 Frankfurt, Zone A (eu-central-1a)
1
answers
0
votes
13
views
asked 5 days ago
When I was trying to connect to instances i can't able to connect to it ,it shows me an error network error : connection timed out
1
answers
0
votes
13
views
asked 5 days ago
Hello, I would like to ask if tomcat10 available in the official repo of Amazon Linux 2023, or at least is there any way to install tomcat10 using yum? Thanks
1
answers
0
votes
27
views
Maan
asked 5 days ago
DISCLAIMER: I am still a noob in this area so forgive me in advance for any wrong concept I may have. A little bit of context of what I am trying to do...right now, we have an in-house big server with VMWare Workstation Pro and many VMs. Aside from that we have a hardware VPN. The VMWare VMs are all for internal usage (they are not accesses from outside) and the only way we connect to them is via the VPN and local IPs. We are now trying to move to AWS. For example, each VMWare VM will be replaced by a EC2 instance, etc. So far, I have a VPN setup following this [guide](https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/cvpn-getting-started.html#cvpn-getting-started-routes). I can connect to the VPN from my Mac and everything works perfectly (I can access each EC2 instance with their private IPs etc). Additionally, I can confirm also that both, my Mac as well as EC2 instances do have access to internet while connected to the VPN. However, for this to work, all my EC2 instances need to have a public v4 IP. And I don't really want them to have a public IP for these EC2 instances because of security reasons. I don't want these machines to be "seen" from outside as they are completely for internal usage and only accessed from the VPN. For example, as for right now, with the public IP I can still SSH/ping/whatever them. That's what I don't want. My first experiment was to remove the public IPs from the EC2 instance. This bring the security aspect I want and I can access the machine with the private IP and the VPN. However.... the EC2 instance cannot connect to Internet when I do this. From what I have been reading, I need a NAT Gateway. The problem is that I am not sure how to setup this in combination with the VPN setup I have. Currently, this is what I have: * I have a VPC with IPv4 CIDR 172.31.0.0/16 and 3 public subnets, one for each AZ (Availability Zone). That is, us-east-2a (172.31.0.0/20), us-east-2b (172.31.16.0/20) and us-east-2c (172.31.32.0/20). * All EC2 instances are created within the us-east-2a (172.31.0.0/20) subnet. * The VPC has an internet gateway attached. * I have a Client VPN endpoints with Client CIDR 10.0.0.0/22 and it has one of the subnets associated as "Target network associations". The one with us-east-2a (172.31.0.0/20). * The endpoint has a security group which does have a Outbound rules to allow all traffic. * The endpoint has a "Authorization rules" to allow all the VPC and Destination CIDR 172.31.0.0/16 and another rule for destination 0.0.0.0/0. * The endpoint has a "Route table" to allow all traffic for the selected subnet (172.31.0.0/20) Any help would be appreciated.
3
answers
0
votes
66
views
asked 5 days ago
In AWS EC2 when Launching an Instance from Template the search of the images does not find the image I want as well as the search in the Images page, I have to delete a chunk of the image name for it to find it, which takes up more time than it should and triggers me deeply. Have the AWS naughty devs caused this pain to somebody else? Any leads on how to fix it, who else we can ask or who else's communication platforms we can slap? Thanks!
1
answers
0
votes
23
views
mqs
asked 6 days ago
Hello gurus! I have two private subnets A and B in the same AZ. I have also created an EBS volume in the same AZ. When I create an EC2 instance in subnet A I am able to use aws-cli to attach the volume. However, when creating an instance in subnet B, the "aws ec2 attach-volume..." results in a "Connect timeout..." error message. Note: The EBS volume is not attached to the instance in A when trying to attach it to the instance in B. I am using Terraform for provisioning of the EC2 instance, including security group creation and instance profile. The only thing I am altering when trying subnet A vs B is the subnet. Nothing else is different. When looking at the two subnets in AWS Console, they are identical, except for the CIDR, They are connected to separate NAT GWs and routing tables "of their own" What am I missing? Best regards Vidar Evenrud Seeberg
5
answers
0
votes
42
views
asked 6 days ago
Hello there, i have currently** t3a.xlarge** instance running Ubuntu and would like to migrate to a **t4g.xlarge **to take advantage of performance of Graviton. I am running Java and MySQL db. How can I migrate it with minimal change? Thanks
1
answers
0
votes
9
views
asked 6 days ago
I have installed the reverse proxy with this config file in /etc/nginx/sites-available: server { listen 80; listen [::]:80; server_name example.com; location /drivers { proxy_pass http://127.0.0.1:5000; proxy_redirect http://127.0.0.1:5000/ http://example.com/drivers/ ; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade" ; proxy_read_timeout 20d ; proxy_buffering off ; } } When accessing http://127.0.0.1:5000, everything is working fine. But http://example.com/drivers leads to 502 error Thanks a lot for your help
0
answers
0
votes
4
views
asked 6 days ago