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

learn more… | top users | synonyms (1)

1
vote
1answer
1k views

Amazon EC2 Socket connection not being accepted

I am trying to run a java application on my EC2 instance. The application accepts socket connections on port 54321. If I try and connect to it, it times out. My Security Group is set as: TCP Port ...
0
votes
2answers
35 views

How can I get the VPC CIDR range from within an AWS Instance?

I'm trying to programatically set the routes that a vpn should push to clients, one of the main ones being the VPC network. Is there a way to get the VPC CIDR block from within my vpn instance?
1
vote
1answer
32 views

Drive not showing up in EC2 Console, but shows up when I do lsblk

I've inherited a sever that lives on EC2. When I do the following: lsblk I get: xvda 202:0 0 40G 0 disk └─xvda1 202:1 0 40G 0 part / xvdb 202:16 0 30G 0 disk /home/dbt ...
1
vote
0answers
209 views

customize instance store Centos7 AMI

I am attempting to customize a base instance-store Centos7 AMI. Image I am using is: RightImage_CentOS_7.0_x64_v14.1.4_HVM - ami-d34b02e3 (instance store hvm) I start the instance, I customize it, I ...
0
votes
2answers
1k views

How can I resolve a “Connection closed” issue on an EC2 instance?

I've run into this issue before and rebooting the instance, I assumed, reset the /root/.ssh/authorized_keys and the /home/ubuntu/.ssh/authorized_keys files. I've reboot the instance twice now and ...
0
votes
1answer
23 views

Adding a second SSL for a second domain on a server - second domain is still using the first SSL Cert

I need to add an ssl cert to a second domain on my server (AWS Amazon Linux) I thought I enabled SNI correctly? although probably not... domain1 already has a functioning SSL cert. First attempt I ...
2
votes
1answer
2k views

Timeouts while trying to connect to DynamoDB endpoint

We were performing a test deployment of an application, that utilizes DynamoDB for persistency. A number of tables was created in the us-east region. Then we ran some tests against the application, ...
2
votes
0answers
3k views

EC2 Linux AMI with ffmpeg (no yasm?)

I'm running a Basic 64-bit Amazon Linux AMI 2011.09 (AMI Id: ami-953b06e1) and I want to install ffmpeg into it so I can use it convert video. These are the commands I run after firing up a new ...
0
votes
1answer
31 views

In OpenStack, what is the equivalent an Amazon AWS snapshot?

I'm an Amazon Web Services specialist. (AWS = Amazon's cloud computing platform.) I understand the workflow for taking backups in AWS. What's the equivalent in OpenStack, and is it as robust? Here is ...
0
votes
1answer
53 views

Access s3 bucket from Ec2 service

I'm new to AWS and was looking for a bucket policy to enable my ec2 servers access to the S3 buckets on the same account. I tried using this policy which enables the account: { "Sid": ...
5
votes
3answers
12k views

Could not call sign: Could not find certificate request for puppet

I'm getting started with puppet on ec2 using the following guide. https://help.ubuntu.com/12.04/serverguide/puppet.html In the very last step when I try to sign the puppet client from the puppet ...
0
votes
0answers
37 views

Is it Possible to Configure Receive-Side Scaling on an EC2 Instance Running Windows Server 2012 R2

Currently, I am experiencing some problems on getting a server to run efficiently on an EC2 instance. On my local machine everything runs as expected, but on AWS the servers experience some latency, ...
1
vote
2answers
1k views

Unexpected behaviour when dynamically add node in HAproxy server

I wanted to use HAProxy for my web app for load balancing purpose. I am trying to add a new rabbitmq node dynamically in HAProxy server using command : haproxy -p /var/run/haproxy.pid -sf $(cat ...
1
vote
1answer
3k views

Amazon Linux AMI for NFS between multiple EC2 servers

So I've been trying to create a Dropbox like system to allow multiple EC2 instances to work with the same files. I'm writing the programs that actually modify the files myself, and I'm not worried ...
0
votes
0answers
19 views

Amazon EC2 openVPN instance connection issues

Currently trying to connect to an openVPN server set up on an EC2 instance that is also running a web application. My client establishes a connection with the server and I can ping the gateway ...
2
votes
1answer
38 views

Laravel EC2 Nginx PHP 7 scripts downloaded instead of executed

The php scripts are downloaded on Amazon ec2 server with nginx installed instead of being executed. This is my nginx conf file: user nginx; worker_processes auto; error_log /var/log/nginx/error.log; ...
1
vote
1answer
1k views

Using TntDrive to mount Amazon S3 on a Windows Amazon EC2 instance

I currently have 2 Amazon EC2 Windows Server 2008 instances setup with a load balancer. My problem now is that I need both instances to be able to access a single file system source (I'm trying to use ...
0
votes
0answers
18 views

ERR_CONNECTION_REFUSED Amazon EC2 instance with node.js backend

I have a website running in Elatic Beanstalk. In default-environment url, it is working totally fine. But, when I try to access it with my domain from GoDaddy it is showing ERR_CONNECTION_REFUSED. I ...
5
votes
5answers
10k views

Override DHCP hostname on RHEL5/CentOS/Amazon Linux

I'm running Amazon Linux (based on RHEL5) on EC2. I have my own domain name pointing to the instance's elastic IP. Amazon auto-assigns the instance a generic (and not visible on the Internet) ...
0
votes
0answers
28 views

Jenkins best practices for inter region connectivity in AWS [closed]

One of the new requirement that I have is trying to use my Jenkins server which is set up in my AWS us-east account to deploy code to the application servers(in a private subnet) in the AWS china ...
0
votes
1answer
1k views

How to use sendmail on amazon ec2 linux server

I am using amazon Ec2 instance with centos 6.4. I tried this and i got error echo "hello" | sendmail turnip21@gmail.com sendmail: Cannot open mail:25 How can i fix that error Some more info $ ls ...
1
vote
1answer
81 views

File downloads dry out?

Bare with me as I'm not even sure what to search for exactly. So couple of our users reported problems downloading zip files from our server. Downloads start but they dry out son. They basically stop ...
23
votes
2answers
9k views

What is the difference between PV and HVM virtualization types in ec2?

AWS EC2 offers two types of virtualization of Ubuntu Linux EC2 machines - PV and HVM. PV: HVM: What is the difference between these types?
0
votes
1answer
28 views

How to avoid duplicate scale-in with step scaling policy?

With EC2 auto scaling, when using a step scaling policy (as opposed to a simple scaling policy) that scales in due to an alarm that is based on an AWS/EC2 metric (e.g. CPUUtilization <= 30%) with ...
-4
votes
1answer
29 views

AWS security concerns

I need to have a freelancer I hired to access an aws ec2 instance to set up an env on the host. What security I need to set up on that host and aws console so that he will not destroy my system and ...
0
votes
2answers
30 views

Does upgrading a server improve performance on low traffic site?

I wish to use migrate to a Amazon's AWS EC2 instance for a basic Wordpress site running woocommerce. However, I am torn between t2 and m3 instances: https://aws.amazon.com/ec2/instance-types/ My ...
1
vote
1answer
41 views

Can't send mail from amazon ec2 instance

I am using an Amazon EC2 instance for two projects which have their own domain name. I need using mail services so I created two email accounts on Zoho and I have been able to receive emails from my ...
0
votes
0answers
36 views

all of a sudden can't connect to aws ec2 instance (Server unexpectedly closed network connection)

everything waas working great with my instance, and all of a sudden i can no longer connect thru ssh or sftp, with an error "Server unexpectedly closed network connection". My colleagues have the ...
0
votes
2answers
1k views

UDP/TCP ports on AWS ec2 public IP blocked

My goal is to receive/send UDP packet traffic on specific ports on my EC2 instance (on my eth0 private IP) via my public IP. I am asking because I have set my security group to allow all ...
0
votes
2answers
1k views

cannot connect to MS FTP 7.5 on Windows 2008 on Amazon EC2 instance

I have just installed the MS FTP 7.5 upgrade on my Windows 2008 Server (Service Pack 2) running on an Amazon EC2 instance. In the FTP Firewall Support settings for the server in IIS Manager I have ...
0
votes
0answers
22 views

Webserver always too slow in AWS EC2 instance

I started a simple python server on port 4444 in one of my ec2 instance.and tried to access it by curl. It takes more than 5 seconds for server to respond. Below is the tcpdump output on port 4444 ...
0
votes
3answers
36 views

How to add IP to EC2 firewall

We run a number of different servers that are hosted in a local data centre however our Dev server is hosted on AWS and I'm having trouble accessing it. The EC2 server is running a LAMP stack, I can ...
-1
votes
3answers
34 views

Permission denied (publickey) for my AWS EC2 instance from another computer

I have a public key file say dummy.pem and i copied this to another computer from where i need to access my EC2 instance. But it says @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ ...
1
vote
1answer
22 views

Why is there a delay with executing queries on my RDS instance

I have an application running on an ec2 m3 instance and mysql running on an dRDS instance. They're both in the same, region, VPC hwoever they appear to be in different availability Zones. The issue ...
2
votes
1answer
59 views

Why does this AWS instance provisioned by Vagrant terminate as soon as it comes up?

My Vagrant provisioned AWS instance will terminate as soon as it comes up. Here's my config file: config.vm.box = "aws-dummy" config.vm.box_url = ...
1
vote
1answer
1k views

Connecting jconsole using SOCKS to Amazon EC2

I'm trying to use jconsole to view stats on an EC2 instance by using a socks proxy created by SSH. I've tried the various scripts mentioned in the links below but to no avail: ...
1
vote
1answer
3k views

Can't install new database in OpenLDAP 2.4 with BDB on Debian

I'm trying to install an openldap server (slapd) on a Debian EC2 instance. I have followed all the instructions I can find, and am using the recommended slapd-config approach to configuration. It all ...
-1
votes
1answer
58 views

How can I easily backup multiple folders on EC2 to S3

I move dockers around a lot on EC2 instances. Each docker has a specific folder on the host where it stores it's data. I want to create a single backup script that will look for any of a list of ...
1
vote
4answers
117 views

How to determine AWS EC2 network performance?

I am using an AWS EC2 Ubuntu instance that was set up and configured by someone else (i.e. I do not have access to the management console). This instance is primarily used to download files and sync ...
0
votes
1answer
49 views

how to install bittorrent sync on amazon ec2 using nginx

I have been trying to install and configure bittorrent sync on ec2 instance running ubuntu 14.04 and nginx. I have followed this article ...
0
votes
0answers
23 views

Can't connect Cisco 2621 to AWS EC2 Openswan site to site vpn

I am configuring Site-to-Site vpn between my home Cisco 2621 router and Amazon EC2 instance running openswan. I keep on getting the following message on the openswan server: " NO_PROPOSAL_CHOSEN " My ...
0
votes
1answer
25 views

One domain, multiple apps, multiple load balancers on AWS?

The current setup looks like On a single EC2 instance, foo.web http/https traffic is handled by nginx, and routed based on: foo.web/bar/* requests are handled by app #2 all other foo.web requests ...
1
vote
1answer
34 views

auto instance type changer for amazon ec2?

Basically, I'd like to take large and x-large instances on EC2 and have them scale down to smalls during the late hours and on weekends automatically. A few minute downtime wi. I think this would ...
0
votes
2answers
776 views

Bringing up EC2 instances with vagrant-aws errors

I'm trying to automate acceptance testing by using vagrant to bring up machines with amazon's EC2 service, so I added the dummy box and copied the Vagrantfile off Github, but when I try to run vagrant ...
0
votes
2answers
58 views

Ubuntu 14.04 HVM on EC2 t2.medium

I've searched everywhere but can't find a definitive answer: Is there an official Ubuntu 14.04 AMI for HVM that runs on T2.medium? (Or T2.any, actually) It looks like the answer is "no". So the ...
1
vote
2answers
2k views

How to reduce AWS EBS root volume size?

Enlarging an EC2 instance is easy like a breath (for instance, create an AMI, launch an instance from it and then change the storage size). But reducing it becomes more difficult. I’d like to reduce ...
2
votes
3answers
4k views

Production Instance : CLOSE_WAIT Connection Issue

I am using 10EC2 Instances behind 1 ELB. And ELB configured 80 to 8080 and 443 to 8080 port. And all 10EC2 instances having installed with Apache Tomcat, total request on ELB around 8000 to 10000 in ...
0
votes
2answers
46 views

How to migrate all AWS services (including running instance, API, Snapsorts) to its sub account with consolidate Billing?

I have one master AWS account and have linked one subaccount with it. I want to migrate all AWS services (including running instance, API, Snapsorts, user group permissions, tags, etc) to subaccount ...
0
votes
0answers
10 views

Linux “free” command gives different answer than AWS Memory Metric [duplicate]

When I run a "free -om" on our Linux server (hosted on Amazon), the total available is 7,483 MB and the used is 7,125 MB for a 95% usage. But the Amazon MemoryUtilization statistic shows 73%. Why the ...
0
votes
1answer
32 views

Handling highly CPU intensive process on server

I have a Windows server machine on Amazon EC2 (m4.2xlarge) which handles web requests, does some processing using an app A and returns the results. Problem is, this app A is highly CPU intensive and ...