Browse through the questions and answers listed below or filter and sort to narrow down your results.
Instance Type to Use
Hello, I am currently using a T3 small instance with 2 vcpu and 2 GB ram for a school web application (LAMP) . It is working fine and handles the load well. I wish to replicate the web app for 4 other schools. I thus want to upgrade the same instance to cater for the need. When I checked the price calculator for 2 VPUs and 16 GB Ram, it recommends me a r6g.large instance. I am just wondering why propose r6g type when there is t3.xlarge with almost the same spec. Am i missing something here? I believe there could be a max of 5000 users per day accessing the web app during school hours. Traffic during school holidays (2 months per year) would be very low (maybe 200 users per day)
ec2 nordvpn dns
hi i have lost my connexion since i have set nordvpn dns on my ec2 instance network can i get back my connexion if i set the dns nordvpn how to do that ![Enter image description here](/media/postImages/original/IMP3gvQ0YOShyx4cK5RLADGQ) https://support.nordvpn.com/Connectivity/Windows/1088041672/Change-your-DNS-servers-on-Windows.htm god bless you
Abuse phishing report
I got an email with this title and Description but i don't know how to fix it? is anyone can help me? Sep 08, 10:50 AM UTC We've received a report(s) that your AWS resource(s) listed in the 'Affected resources' tab has been implicated in hosting content that resembles a phishing website. Hosting a phishing website is forbidden in the AWS Acceptable Use Policy (https://aws.amazon.com/aup/). We've included the original report below for your review. Please take action to stop the reported activity. You would have also received an email notification from firstname.lastname@example.org with this same report. Please reply directly to that email with details of the corrective actions you have taken. If you do not consider the activity described in these reports to be abusive, please reply to that email with details of your use case. If you're unaware of this activity, it's possible that your environment has been compromised by an external attacker, or a vulnerability is allowing your machine to be used in a way that it was not intended. We are unable to assist you with troubleshooting or technical inquiries. However, for guidance on securing your instance, we recommend reviewing the following resources: * Amazon EC2 Security Groups User Guide: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html (Linux) https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/using-network-security.html (Windows) * Tips for Securing EC2 Instances: https://aws.amazon.com/articles/1233 (Linux) https://aws.amazon.com/articles/1767 (Windows) * AWS Security Best Practices: https://d0.awsstatic.com/whitepapers/Security/AWS_Security_Best_Practices.pdf If you require further assistance with this matter, you can take advantage of our developer forums: https://forums.aws.amazon.com/index.jspa Or, if you are subscribed to a Premium Support package, you may reach out for one-on-one assistance here: https://console.aws.amazon.com/support/home#/case/create?issueType=technical Please remember that you are responsible for ensuring that your instances and all applications are properly secured. If you require any further information to assist you in identifying or rectifying this issue, please let us know in a direct reply to the email you received from email@example.com. Regards,
My server core is under attack
[ 1.254805] MDS CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/mds.html for more details. [ 1.258692] TAA CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/tsx_async_abort.html for more details. [ 1.262691] MMIO Stale Data CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/processor_mmio_stale_data.html for more details. Please tell me how to deal with this kind of attack
Is there a reason why port forwarding isn't working?
I just got a new install for a linux ubuntu free tier vm on EC2 and cant connect or open ports. ![IMG1](/media/postImages/original/IMnkZTI1OzRAKx77Kip52T9w) ![IMG2](/media/postImages/original/IMe3xHAkb8SrWC5lLeRKMG8A) you may test the ports yourselfs not sure what is going on.
How to fix the error Failed to connect to your instance?
Unable to connect the instance after restarting the server by using the command ***sudo systemctl reboot***. When I'm trying to login into the instance using EC2 Instance Connect it is failing to make the connection to the instance and throwing an error ``` We were unable to connect to your instance. Make sure that your instance network settings are configured correctly for EC2 Instance Connect. For more information, check Task 1 under the Setup EC2 Instance Connect AWS documentation. ``` After following the [doc](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-connect-set-up.html#ec2-instance-connect-setup-security-group) I have added an Inbound rule that allows inbound SSH traffic on port 22 from your IP address to the security group attached to my instance. But still, it shows the same error and also fails the Instance reachability check. Any help in guiding me that how can I make a connection to my instance will be much appreciated. Thanks
Possible to prevent Application Load Balancers from routing direct-IP access to target groups?
When we all launch ALBs, they can be resolved by IP - that's just how the internet works (I get it). In our case, however, all legitimate traffic will have an FQDN in the host header, e.g.: valid request ``` GET https://validdomain.com/foo ``` invalid request ``` GET https://10.23.122.110/foo ``` I've pulled up the ALB listener rules, and it seems that while it is able to examine the Host header, it is not possible to use regular expressions in the condition - which makes it useless in this scenario. Had it accepted regex, I'd have been able to block IPV4/6 patterns and respond with a fixed 400. Has anyone solved ensuring that requests have a domain in the host request? Thanks! Alex
Connection Stalled while putting multiple file say more than 4 files at a time to an S3 bucket but the same is working fine with EC2.
Hi , we have a mirroring setup ( get and put the file between two server by comparing on the either side wherever missing) by using the perl module . With Traditional Unix/linux server it is working good but when we try to use S3 for same file transfers it didn't worked at all. After multiple search got to know the below Change we have to do to make it work . my $sftp = Net::SFTP::Foreign->new('firstname.lastname@example.org', queue_size => 1); we have added the above queue_size parameter in our code but it is working for very few files not more than 4 . If we try to put more files the connection starts stalling, the exact error is "Connection to remote server stalled" . when we are using the EC2 username and URl for file transfer it is working fine with any number of files like as we are doing with Linux/unix Datacenter based server. I want to know why S3 is not working properly . what is the difference between S3 and AWS . we have Network Packet capture done but no issue found as no packet loss was there . please help.
Powershell script to retrieve all EC2 instances across all accounts
Hi Everone, I'm trying to get all EC2 instances across all accounts using powershell. I would appreciate your assistance in resolving this issue. It may be that I am not familiar with the use of powershell. Set-AWSCredential -AccessKey AAAAAAAAAAAAAA -SecretKey BBBBBBBBBBBBBB -StoreAs MyNewProfile Initialize-AWSDefaults -ProfileName MyNewProfile Set-AWSCredential -ProfileName MyNewProfile Set-DefaultAWSRegion -Region ap-southeast-1 Get-EC2Instance In the event that something has to be aggregated, I would like your assistance in determining how to use aggregate in PowerShell
My instance is accessible from ipv4 address and public DNS. I want it to be accessible from domain name only.
Hello, I installed WordPress on Amazon AWS (EC2 Instance) The problem is that my website is accessible from ipv4 address, public DNS and domain name. Like for testing purpose i used decodewithdude.ga The domain is accessible from http://188.8.131.52/ https://ec2-13-233-253-149.ap-south-1.compute.amazonaws.com https://decodewithdude.ga I want the instance only be accessible to public from domain name. Thankyou