Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [amazon-ec2]

Amazon Elastic Compute Cloud (EC2) provides self-service, on-demand, pay-for-what-you-use computing infrastructure resources.

49 votes
7 answers
64k views

How can I prevent a DDOS attack on Amazon EC2?

One of the servers I use is hosted on the Amazon EC2 cloud. Every few months we appear to have a DDOS attack on this sever. This slows the server down incredibly. After around 30 minutes, and ...
cwd's user avatar
  • 2,793
48 votes
8 answers
91k views

Why can't I connect to Amazon RDS after setting it up?

So, I just created the Amazon RDS account. And I started an instance of database. The "endpoint" is: abcw3n-prod.cbmbuiv8aakk.us-east-1.rds.amazonaws.com Great! Now I try to connect to it from one ...
Alex's user avatar
  • 8,651
47 votes
5 answers
100k views

Why can't I reach my Amazon EC2 instance via its Elastic IP address?

The server works fine via the Amazon assigned DNS entry, but I cannot reach it (using a browser) via the Elastic IP address Amazon assigned the box. Ping does not work either. I am trying to confirm ...
Guido Anselmi's user avatar
45 votes
2 answers
25k views

EC2: is an instance's public DNS stable? Can I rely on it not changing?

I've launched my first instance, and am using it as a web server. I see that it has a public DNS (a public URL), e.g.: ec2-123-45-6-789.compute-1.amazonaws.com I can successfully go to this server ...
Aseem Kishore's user avatar
45 votes
3 answers
40k views

What's best practice for communication between Amazon EC2 instances?

I've been setting up Amazon EC2 instances for an upcoming project. They are all micro instances, running Ubuntu Server 64bit. Here's what I've setup so far: Web Server -- Apache Database Server -- ...
ks78's user avatar
  • 859
42 votes
4 answers
31k views

Do I need to run ntpd in my EC2 instance?

I'm working on getting some servers running in the EC2 environment and I'm noticing some errors with ntpd trying to sync (using CentOS). I was reading on this site and the impression I get is that I ...
ahanson's user avatar
  • 1,744
42 votes
2 answers
27k views

Safe to Use an Amazon EBS Volume While Snapshot in Progress?

Is it safe to use an EBS volumne while a snapshot is being created? I've currently got a 100Gb EBS volume mounted. I am in the process of snapshotting it. Goodness it's slow!! It's going to end up ...
Justin Noel's user avatar
42 votes
5 answers
104k views

Bandwidth limits for Amazon EC2

I have a micro instance on Amazon EC2 cloud. Also the instance is small and it has vary low CPU and EAM usage but it generates a lot of content, so it can be considered like a web server serving ...
Artyom's user avatar
  • 754
41 votes
1 answer
130k views

"500 Illegal PORT command" using command-line ftp [closed]

Has anyone figured out how to ftp a file down to a EC2 AMI using ubuntu on the command line? I am able to connect to ftp.drupal.org (I'm trying to dowmload a Drupal module) and then I can't even ...
chuckboycejr's user avatar
41 votes
5 answers
40k views

Create an AWS HVM Linux AMI from an Existing Paravirtual Linux AMI

Is it possible to create a hardware virtual machine (HVM) AMI from an existing paravirtual (PV) AMI. My initially thought was to start a new PV instance and use the ec2-create-image command to ...
javacavaj's user avatar
  • 513
40 votes
2 answers
61k views

How do I access the attached volume in Amazon EC2

I just attached another ebs volume to running instance. But how do I access the volume? I can't find the /dev/sda directory anywhere. Where should I look?
Maca's user avatar
  • 1,063
38 votes
6 answers
31k views

"A new version of /boot/grub/menu.lst is available" when upgrading Ubuntu on an AWS server

I just tried to do a sudo do_release_upgrade on an AWS EC2 Ubuntu 13.10 server to upgrade to 14.04. All was going well until I got the following message: A new version of /boot/grub/menu.lst is ...
Mark Amery's user avatar
37 votes
6 answers
16k views

Vagrant box most similar to Amazon EC2 instances

Are there any 'boxes' available to download for Vagrant that closely mirror the Linux version and packages available for Amazon EC2 instances? I am testing locally using Vagrant, currently using the ...
Danack's user avatar
  • 1,216
36 votes
2 answers
48k views

Fundamental difference between t3 and t3a EC2 instances

Both T3 and T3a instances offer the same configuration, CPU credits and network performance. The only difference that I find is T3 uses Intel processor while T3a uses AMD processor, while both are ...
Abhinav's user avatar
  • 813
35 votes
5 answers
30k views

Most long-running commands instantly killed on Amazon EC2 (Ubuntu 10.04)

When running any sort of long-running command in the terminal, the program instantly dies and the terminal outputs the text Killed. Any pointers? Maybe there is a log file with data explaining why the ...
Dan Loewenherz's user avatar

15 30 50 per page