Questions tagged [amazon-ec2]
Amazon Elastic Compute Cloud (EC2) provides self-service, on-demand, pay-for-what-you-use computing infrastructure resources.
6,592
questions
0
votes
1
answer
115
views
Opening ec2 ports using security groups
I'm trying to open all ports up to a micro instance that I have set up, but it doesn't seem to be working. This is what I have:
https://i.stack.imgur.com/Omnjp.png
Using paping, I find that port 22 ...
0
votes
1
answer
233
views
AWS loopback approach and mounting an EBS Volume
In order to deploy your appliance on AWS, I think the loopback approach is true IaaS and I am not in favor of installing my software on an existing AMI. I see a potential problem of using loopback ...
16
votes
2
answers
20k
views
Wrong time on my Ubuntu Amazon EC2 instances
I have three Ubuntu EC2 instances on Amazon AWS (EU/Ireland), all set up as web server. I noticed the system date/time is incorrect in two of them (timezone is always set to UTC for my choice). Here ...
-1
votes
1
answer
270
views
What type of amazon ec2 instance should i take ? And how many of them? [duplicate]
I will be hosting a website . Our initial target will be around 50,000 unique visitors a day . Files are served using apache/php and the realtime events (likes,comments) are handled using a nodejs ...
0
votes
2
answers
3k
views
Dig -x equivalent for AWS Route 53
I have an IP number associated with an AWS Elastic IP (EIP). I'd like to know, what DNS records in my Route 53 domain are associated with that A record's IP.
In a traditional DNS service, I would ...
5
votes
1
answer
7k
views
Installing WSGI on EC2 micro instance
How do I install Apache with WSGI on my Amazon AMI EC2 micro instance?
I tried
sudo yum install httpd libapache2-mod-wsgi
but I got this error message
no package libapache2-mod-wsgi available
...
2
votes
1
answer
597
views
Default ubuntu user deleted, unable to access EC2 Instance via SSH
This is my first foray into using EC2, and I created my first instance using an Amazon AMI running Ubuntu 12.04. I created a keypair and downloaded the .pem file to my local machine. I was able to ...
1
vote
1
answer
464
views
VirtualMIn Failed to detect operating system on Amazon Linux AMI release 2013.03
I've just done a fresh install of Amazon Linux AMI release 2013.03 on CentOS and run VirtualMIn as follows
wget http://software.virtualmin.com/gpl/scripts/install.sh
sudo sh install.sh
but I get an ...
1
vote
2
answers
4k
views
Connecting to a new RDS instance from an EC2 instance
I am having trouble connecting to my RDS instance from my EC2 instance. I added the elastic IP address for the EC2 instance to the RDS security group. as follows: xx.xxx.xx/32
I am using a PHP script ...
1
vote
1
answer
210
views
Using ionice on Amazon Linux
My cronjob consumes 100% cpu even using ionice.
Did I do something wrong?
for db in ${databases}; do
ionice -c 3 nice -19 mysqldump -h localhost...
wait
done
PS. Amazon Linux
0
votes
1
answer
50
views
EC2 firewall scope
When I setup EC2 firewall settings, what is the scope of the firewall? Suppose I don't open port 8080 to the public, but I would like to be able to push SNS messages to a EC2 HTTP endpoint on 8080, is ...
0
votes
1
answer
456
views
Unable to access Server : Permission Denied (Public key)
I am unable to access the server, getting a "Permission denied (publickey)." Error
I am able to access it on one system using the same .pem file, but it is giving error on my system.
$ sudo ssh -v -...
25
votes
5
answers
86k
views
Why can't I ping my freshly set up amazon web service EC2 instance?
I was following this tut on how to set up a EC2 instance on Ubuntu but qhen trying to execute ssh command on my IP address, I had an operation Timeout.
So I tried to ping it but no chance neither.
...
2
votes
1
answer
2k
views
What is your general strategy to backup S3 buckets?
We are starting a project which involves storing large data quantities in S3. S3 is good at scaling and we've expect to have up to 5TB and million of files in bucket. While i may trust Amazon in ...
0
votes
1
answer
1k
views
AWS EC2 Mailserver Failover Strategies done right
I'm researching in this topic really hard the last few days and i just want to discuss this with a few specific questions - i did not find any suitable thread here that is covering my needs and ...
11
votes
5
answers
14k
views
AWS: Multi-region setup using single RDS instance
I'm trying to scale our web application (PHP, MySQL, memcache) in a multi-region scheme. Currently we are using a setup with two EC2 instances behind an ELB and an RDS instance, all of them in US-EAST ...
0
votes
1
answer
343
views
ssh to Amazon EC2 Ubuntu server behind firewall
I ssh to an Amazon EC2 server and have just enabled the ufw firewall. This terminated my connection and now I can't ssh back in. I assume the firewall is preventing access.
I tried rebooting but no ...
2
votes
1
answer
93
views
Autoscaling with AWS load-balancer
I want to use Amazon's load balancer with autoscaling. I found that I need to make an autoscaling group and then need to launch instances with that, but can't I use existing instances in autoscaling? ...
0
votes
1
answer
712
views
Why does amazon ec2 have downtime after deploy when other identical servers do not?
This has puzzled me for the past few months...I'm admittedly new to server administration and I took a stab running a production rails app over at EC2. While I've learned a lot and feel pretty ...
6
votes
1
answer
35k
views
Extract certificate chain from .pfx
I have a .pfx file that I exported from Windows Server 2008. It includes the private key and certificate chain.
Using openssl I've been able to extract the private key and public certificate but I ...
0
votes
1
answer
392
views
EC2 piops instances terminating immediately after launch, non-piops fine
I'm running into an odd issue when launching EC2 instances via boto and the Python API. Everything is fine so long as I don't attempt to launch provisioned iops instances, even if I set other volume ...
-1
votes
1
answer
3k
views
Blank CodeIgniter Home Page on Amazon EC2 [closed]
My CodeIgniter app is working fine in WAMP using http://localhost/myapp
However, I'm getting a blank page on my Amazon EC2 micro instance using http://xxx-xxx-xxx-xxx-xxx.compute-1.amazonaws.com/...
0
votes
1
answer
763
views
Errors uploading CodeIgniter Website to Amazon EC2
I tried to transfer my CodeIgniter website to /var/www/html located within my Amazon EC2 micro instance using FileZilla. However, the transfer was unsuccessful as I received hundreds of transfer ...
1
vote
1
answer
327
views
ebs durability clarification
I am confused as to the durability of the EBS volumes on AWS.
As an example, volumes that operate with 20 GB or less of modified data since their most recent Amazon EBS snapshot can expect an annual ...
0
votes
3
answers
839
views
Swap space in EC2 m1.small & m1.medium
I have a customized AMI, and when I launch instance from this AMI, if I choose m1.small, I will have a 895MB swap space; when I choose m1.medium, I will have 0 swap space, why is that?
If I want my ...
0
votes
1
answer
143
views
ssh not honoring -i switch
I have a bunch of keys in .ssh folder in my home. If I try to log into an ec2 instance using the below
ssh -2 -vvvv -i ~/.ec2/boogoo.pem [email protected]
I see this ...
0
votes
2
answers
825
views
File Transfer across AWS Instnaces
How can I transfer files across AWS Linux instances? Both the instances use a password file for authentication.
Is there any specific way to do this?
Please suggest me in this regards.
Thanks!
1
vote
1
answer
579
views
IIS site slows down even though there is lots of CPU and RAM left? speeds up if users are split
I have a .net web application on IIS and the site was running very slow(on AWS EC2 medium server 2012). CPU usage and RAM usage are both down very low.
I started up another EC2(medium server 2008) ...
0
votes
1
answer
132
views
Disk Writes to Mounted EBS Volume Not Logged in Monitor
I have an EBS volume specifically dedicated to storing remote backups via rsync. This volume is attached and mounted to an EC2 instance. The user mediating backups has access to this volume via a ...
1
vote
2
answers
812
views
chef knife ec2 server create: error when spinning up new ec2 servers
I'm trying to use knife ec2 server create to automatically launch ec2 instances for the first time, but I'm getting "ERROR: Excon::Errors::BadRequest: Expected(200) <=> Actual(400 Bad Request)".
...
4
votes
1
answer
13k
views
Python, "you don't have permission to access that port" [closed]
I'm setting up my first Django project on a server
When I do python manage.py runserver .0.0.0.0:80, it tells me
You don't have permission to access that port.
When I do python manage.py runserver ...
1
vote
0
answers
1k
views
EC2 SSH Prompting for Password
When I spawned an instance with the Parallels Plesk with PowerPanel, running on CentOS, I attempted to ssh into it. For some reason, it's prompting for a password. I'm telling it where the keyfile is, ...
3
votes
1
answer
7k
views
rsync as root to /var/www failing with "protocol version mismatch"
I'm trying to set up a one command way to move website code from a dev machine up into my Ubuntu EC2 instance and have it be copied straight into the /var/www/mywebsite folder where nginx expects to ...
4
votes
1
answer
5k
views
cross region security amazon ec2
At the moment, because it isn't possible to specify a security group from another region when allowing port access using amazon ec2's security groups, we have had to insert each individual IP into the ...
0
votes
2
answers
145
views
Can i give ftp access to default user (ubuntu in my case)?
By default in amazon ec2 ubuntu instances, a "ubuntu" user is created without password (only with amazon security passkeys).
If i create a password to this user, will it destroy my instance ?
1
vote
2
answers
3k
views
No such file or directory
I'm building an EC2 LAMP server for the first time, and so far so good.
Except I can't seem to get the
require 'vendor/autoload.php'; working right
I get this error message whenever I write that ...
0
votes
1
answer
96
views
Troubleshooting a connection to a new LAMP setup
So, I just set up my first LAMP server. I think.
I followed this guide and then proceeded to connect to it using Filezilla, so that means that it exists, at least.
I made an index.html and placed ...
1
vote
2
answers
778
views
How to reduce I/O on EC2 micro instance running wordpress
I have been running a very small wordpress site on Amazon EC2 for about 2 months, using the free tier micro instance.
I have been getting billed a few dollars each month for going over the disk I/O ...
1
vote
1
answer
790
views
my IP address is different to remote address at EC2
I have been trying to restrict access to a port on an EC2 box to a single remote computer (my desktop).
The various "what is my IP" services around on the Internet all consistently report an IP ...
0
votes
1
answer
4k
views
preventing squid forwarding loop with IPtables
I have a web application, and I'd like to limit file upload size.
I thought I'd try using squid for this, via its directive request_body_size_max.
I have my webserver running on port 8080, and I've ...
6
votes
3
answers
5k
views
Is it possible to audit the Amazon AWS console?
We had a situation recently where an elastic IP address assigned to a production server mysteriously became disassociated from that server. We have had this same thing happen in the past to other (...
8
votes
2
answers
5k
views
Launch Public AMI from one EC2 region in another
I'd like to install this public AMI (NCBO Appliance v1.1) on EC2 in the AWS US-East region. But it's available only in the US-West.
I see only options to launch it in the US-West, and don't find it ...
0
votes
1
answer
720
views
I just cannot understand EC2 pricing for on-demand instances
OK,
I am feeling really dumb right now.
I just can't figure out this thing..
I intend to run a server which will be on constantly 24/7 (no stopping/terminating on my side).
However the actual resource-...
0
votes
1
answer
309
views
Mapping godaddy domain with AWS EC2
I have a word-press website running on EC2. I have a domain registered with godaddy. I used the elastic IP from AWS EC2 to set up A record.
The problem is, only the main page shows www.domainname....
0
votes
2
answers
2k
views
How to export Parallels Win 7 VM into AWS EC2?
Is there any elegant way to transfer a complete Win 7 server installation from a Parallels Desktop (Mac) VM into an AWS EC2 instance?
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 ...
0
votes
1
answer
664
views
expand the size of EBS volume in EC2 of AWS (Centos 6.3)
I have a Linux Centos instance with the following volume partitions:
/ - 5 GB
/logs - /2 GB
/data - 4 TB (4 volumes, each 1 TB).
I would like to add more disk space (3 TB = 3 X 1TB volume) to my /...
2
votes
1
answer
3k
views
Copy an Amazon EC2 Instance to use locally
Ok, so we have a spare server I have installed Debian Wheezy on, and setup Xen on for virtual machines. It has better performance than all our ec2 instances combined, and will cost less to run (for a ...
2
votes
1
answer
3k
views
Django - cant connect to local MySQL Server through socket
I’m using Django Bitnami Stack on Amazon EC2. I’m attempting to sync the database for the initial setup but I am having problems.
When running the following command I receive an error message:
...
0
votes
1
answer
280
views
To run python script when my Amazon instance boots up
Where should i place my script in amazon instance such that my script should run when my instance boots up?
I tried placing it in rc.local but it didnt help.
My script is about connecting to Amazon ...