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
0answers
24 views

IPsec: hide private IP behind Gateway IP

I have an IPsec Gateway to a customer, and the VPN tunnel is up, the problem is that they don't allow me to use my private address because it used by another VPN they use. Our gateway is an EC2 ...
0
votes
1answer
60 views

Automatically start an AWS EC2 instance from network request (wake-on-LAN)

I'd like to start an EC2 instance on-demand, and to take it down when it is idle for some period of time (e.g. no network activity for >= 1 hour), but I can't tell what a standard way of doing this in ...
0
votes
0answers
36 views

Amazon AWS load balancer sending me to wrong instances

I'm very new to AWS, and am trying to forward internet-facing traffic to two EC2 instances that are up and running with a load balancer. I already have one LB running (let's call it the "first" LB) ...
2
votes
1answer
40 views

Can I verify the integrity of an amazon instance?

If my Amazon EC2 credentials are stolen at time D, can I verify the integrity of the root volume by: Lookup the instance in EC2 API, check the time the primary network interface was attached, and ...
0
votes
0answers
13 views

aws ec2 instance memory utilization in cloudwatch

I have been trying to get memory utilization for aws ec2 instances through an IAM role with permissions to read and write memory utilization metrics to cloud watch. So can any one help in creating a ...
0
votes
1answer
71 views

Route53 not resolving domain name to an ec2 instance

Elastic IP associated with an EC2 instance I had made a transfer of domain name from one aws account to a another, the domain name worked with my previous account and it resolved to an S3 bucket ...
0
votes
1answer
21 views

AWS: How can we avoid EBS outages on a constantly updating ec2 files (ie, not a static AMI)

Recently we experienced Ec2 downtime due to AWS EAST outages. I was told that only RDS allows "multi-az" failover, and they have no plans for that feature for EBS storage. So the question is now: ...
0
votes
1answer
31 views

After change, puppet now runs as the “ubuntu” user, and auditd is freaking out

This is a very strange question and I don't even know how to Google for it, so I'm posting here to see if anyone has encountered this sort of situation before. I have multiple Ubuntu 14.04 systems ...
4
votes
1answer
142 views

AWS ELB Latency issue

I have two c3.2xlarge EC2 machines with Ubuntu environment both in us-west-2a AZ. Both contains same code with mySQL database from AWS RDS (db.r3.2xlarge). Both instances are added to an ELB. Both has ...
0
votes
0answers
37 views

Too Many database connections on Amazon RDS dropping connection

I need to import a large user base in my application. But while stress and load testing I found that, after 200-300 concurrent requests, mysql starts rejecting the calls and gives the below error. ...
0
votes
1answer
41 views

Running nginx on AWS is sending back 'ERR_CONNECTION_TIMED_OUT' responses

I have installed nginx on an Ubuntu AWS (EC2) node and confirmed it is running via ps -aef | grep nginx. In the server section I have: server { listen 8080; server_name ...
2
votes
1answer
15 views

Wordpress - images not syncing in AWS EBS

I think I know the answer, but I'd like to confirm. I've a 2-servers load balancer that's hosting a Wordpress website. When the content managers create new content, specially IMAGES: intermittently ...
0
votes
1answer
35 views

My server went offline only for few regions?

I am using Amazon AWS service for hosting my website, as of my website is hosted in EC2 free-tier with 1GB ram only. It has been working fine for a while, but today suddenly my website was not ...
1
vote
1answer
36 views

Copying an EBS Snapshot to S3 for low-cost storage

Goal: Be able to copy an EBS snapshot to S3 and have it be treated like an arbitrary object that I could download to a local on-prem machine if I so wished. I understand that EBS Snapshots are ...
0
votes
0answers
27 views

Amazon EC2 public DNS not working, getting nginx needs to be configured screen

I have successfully deployed a Django project. The Both the IP address and the domain name work. The Amazon EC2 public DNS doesn't work. When I navigate to ...
0
votes
0answers
34 views

How to Export Amazon EC2 Instance to Local Server running Xen Project Hypervisor

I'm interested in the possiblity of exporting an AWS EC2 Instance running linux OS to completely open source Xen Project Hypervisor ( See http://xenproject.org/ : Also Just to be clear this is NOT the ...
1
vote
0answers
11 views

MariaDB on Amazon RDS - Initial setup user grants and permissions

I'm trying to learn more AWS, and have an EC2 setup and an RDS setup running MariaDB. When I created the RDS instance, it asked for user/pass for the initial user, and created 'rdsadmin'@'localhost' ...
0
votes
1answer
34 views

Programmatically Check AWS EC2 CPU and Memory usage

Does boto3 make it possible to access EC2 CPU and Memory usage? I looked here, but couldn't find anything in the docs. How do I programmatically check memory and CPU usage on an EC2 server running ...
1
vote
1answer
26 views

Amazon Lambda for video and image processing?

The service I am building the architecture for has a video processing part in it. Basically, some people can upload videos (stored in S3) that will be split into frames with high resolution. From ...
3
votes
1answer
86 views

Questions on Elastic Beanstalk application in VPC

I am trying to deploy a rails application on Amazon's Elastic Beanstalk. I am not very well-versed in network/server environments, so I picked up some knowledge along the way by reading documentations ...
5
votes
4answers
8k views

SSH access problem: debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY

We have a server XXX ON Amazon EC2. SSH is running on a standard (22) port. I placed my pubkey at the /.ssh/authorized_keys file The fun thing is that YESTERDAY it was working great! But today, I ...
0
votes
0answers
243 views

Starting httpd: AH00526: Syntax error on line 7 of /etc/httpd/conf.d/modsecurity.conf:

I installed mod_security and mod_evasive in the Amazon EC2. Initially it needs the components libxml2 libxml2-devel, httpd-devel, pcre-devel, curl-devel. But my site uses PHP56, so I used the ...
13
votes
2answers
6k views

How to resize Amazon EC2 instance?

Is it possible to resize an Amazon EC2 instance, e.g. convert from a small instance to a large instance? If so, what is the easiest way to resize Amazon EC2 instance? Like Rackspace Cloud Servers do ...
0
votes
1answer
71 views

Setting up Open VPN client on Amazon EC2

There are various pages that advise on setting up an Open VPN Server on Amazon EC2, but all I need is to setup a client (so any internet access is routed through the VPN rather than coming directly ...
1
vote
1answer
37 views

Simple docker application - how to deploy easily?

I have a relatively simple web application that consists of two Docker containers working together. One container hosts the web server and the other one hosts a image rendering software. On my ...
0
votes
0answers
18 views

Boto3 error on authorize_security_group_egress

When I try to update egress rule using boto3. I get the following error: client.authorize_security_group_egress(GroupId=group_id,CidrIp="0.0.0.0/0",IpProtocol='tcp',FromPort=from_port,ToPort=to_port) ...
4
votes
3answers
7k views

Does anyone know the bandwidth available for different EC2 Instances?

Hi I have heard that the small EC2 instances are limited to around 35mbit/s. Does anyone have any figures for the different instance types and the size of their pipes? We will be planning on using ...
-1
votes
2answers
37 views

Preventing SFTP access to Amazon AWS

I have an Amazon EC2 instance, and I need to prevent access for a user. Right now the team (we're amateurs) shares a PEM key that is used to access the server through SFTP. I'm looking through AWS and ...
0
votes
0answers
10 views

Tomcat 8 debug enable on EC2 instance

Im trying to debug my war application on EC2 instance of amazon. Amazon provides own tomcat where the structure inside folders is different. As before I tried creating the setenv.sh in the bin ...
1
vote
1answer
2k views

How do I shrink an EBS volume on Windows Server 2008?

I have a Windows Server 2008 instance on EC2. I need to shrink one of the drives (non-root) to a certain amount. Is there are well defined way of doing it? Thanks
0
votes
1answer
29 views

AWS: Public vs. Private Subnets for multi-tiered web applications [closed]

Is there a recommended "best practice" for deploying multi-tiered web applications into AWS as it relates to public and private subnets? Most of the documentation, including AWS' suggest public for ...
0
votes
0answers
20 views

Trying to clone one disk to another but one starts up with a parition and the other doesn't

I've got an Amazon EC2 m1.small that I am trying to migrate over to t2.small. I'm aware that because of the virtualization type being different on both types that there is no direct upgrade path. ...
4
votes
4answers
2k views

Disable THP and THP defrag on CentOS 7 EC2 instance

I want to disable transparent_hugepage (THP) on a CentOS 7 EC2 instance, which is enabled by default: # cat /sys/kernel/mm/transparent_hugepage/enabled [always] madvise never # cat ...
2
votes
1answer
34 views

AWS Data Pipeline Schedule to run Monday to Friday

I'm using AWS Data Pipeline to shut down my EC2 servers on a daily basis as described here but I would like to start them up only during the working week which is Monday to Friday. The schedules in ...
1
vote
0answers
21 views

How do I get the ec2 tag Name from my ec2 hosts?

I'm wanting to extract the "Name" tag from ec2 instances. How do I do that? It doesn't seem to be part of ec2_facts
2
votes
2answers
72 views

EC2 - Hardware Failure

I use EBS storage on a Debian instance. I set the instance to not terminate at shutdown. I'm wondering what happens in case of Hardware failure (RAM, CPU, HD etc). which type of Alarm should I ...
0
votes
0answers
44 views

setting up ssl on amazon ec2 linux instance

I have been struggling to setup ssl on my amazon ec2 server from 2 days. I have gone to aws docs for setting it up. I have generated private key and csr and got ssl certificate from www.ssl.com. I ...
1
vote
3answers
2k views

vsftpd not starting on EC2

I am running Ubuntu 13.10 on an EC2 micro instance (want to keep running on free tier until I am more confident on EC2). I have successfully installed the LAMP stack, but I'm having problems setting ...
10
votes
9answers
30k views

Amazon EC2 - No SSH After Reboot, Connection Refused

I've replicated this two or three times, so I'm guessing there's something wrong with what I'm doing. Here are my steps: Launch new instance via EC2 Management console using: Ubuntu Server 13.10 - ...
0
votes
2answers
128 views

Create a sub-domain using Amazon AWS vs Creating the sub-domain from within the server - What's the difference?

I have an instance on Amazon AWS (Ubuntu server). I want to create a sub-domain for my website: tools.example.com for people in the office I work in, and build tools (using PHP) so employees can ...
-2
votes
1answer
29 views

EC2 pricing for multiple stop-start within the same hour [closed]

In http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html, it says, Each time you start a stopped instance we charge a full instance hour, even if you make this transition multiple ...
0
votes
1answer
41 views

EC2 - How to route outbound traffic through a single public IP

I have 3 web servers (ec2 instances) in a vpc public subnet, and they all have EIPs. I have the usual Internet Gateway with the route to ensure those instances will be able to call external services, ...
0
votes
2answers
23 views

ElasticSearch cluster move to new node type

I have a cluster of 8 nodes in ec2. 4 per AZ with cluster.routing.allocation.awareness.attributes: aws_availability_zone I want to migrate all the shards to a different node type. So I set up to new ...
-4
votes
1answer
92 views

Why can't I restart my Apache Amazon EC2 server? [closed]

I'm trying to restart my amazon EC2 Apache server, and I'm getting an error message that says (13)Permission denied: AH00058: Error retrieving pid file /var/run/httpd/httpd.pid AH00059: Remove ...
0
votes
2answers
332 views

Is it not possible to use keepalived in EC2

The problem is two of my EC2 instances (ha proxy) need to bind a single virtual IP if I want to use keepalived, but they are not possible in EC2 as only a single instance can use a elastic IP at a ...
1
vote
2answers
79 views

Add existing wildcard SSL certificate to Amazon EC2 Nginx

I'm trying to add a pre-existing wildcard SSL certificate to a single Ubuntu instance on Amazon EC2, where the webserver is Nginx, and I run a single subdomain. I have - from the original vendor who ...
0
votes
2answers
2k views

Enabling VNC Server Mode on an Amazon EC2 Windows Instance

I have installed RealVNC on my Amazon EC2 Windows Instance. I want to use the free version, so I have to use the VNC Authentication option, where a password is set in the VNC config. BUT: I can only ...
2
votes
3answers
2k views

EC2 Ubuntu 14.04 instances: running `apt-get update` results in “Hash Sum mismatch”

Every time I create a new AWS EC2 instance with Ubuntu 14.04 (using ami-a182b391, as found from here) and then immediately run sudo apt-get -y update, it gives me an error. Here's the OS info: $ ...
1
vote
0answers
71 views

Speeding up GlusterFS in AWS

I needed a good NFS storage cloud in AWS, and since EFS is just in preview mode, I did some research, and GFS looked like it would be the best bet. Currently, I have two servers that are part of one ...
4
votes
3answers
4k views

How to delete EC2 AMI

I know that the command ec2-create-image instance-id will be creating an image of the ec2 instance, creating snapshots file and registering as an AMI. But what is the equivalent command to delete the ...