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

learn more… | top users | synonyms (1)

0
votes
1answer
20 views

How do you include your own software in an Amazon AWS EC2 HVM AMI (eieio)?

When creating an Amazon AWS EC2 HVM AMI (TLA!!!!), how do you include your own software, when on the same partition as the root volume, but not necessarily in /usr? (in this way more efficiently use ...
0
votes
0answers
30 views

EC2 instance seems to have gone back in time

I received an e-mail last week with the following: We have important news about your account. EC2 has detected degradation of the underlying hardware hosting one or more of your Amazon EC2 ...
0
votes
1answer
23 views

ec2 volume and data

I am new to EC2 and following their tutorial. I created a t2.medium server and would like to install java/tomcat/mongodb. I read in Best Practices "Use separate Amazon EBS volumes for the ...
0
votes
0answers
32 views

Rails 4: Restarting Unicorn + Nginx doesn't update application on Ubuntu on Amazon EC2

Every time I update my Rails application and upload the files to Ubuntu on Amazon EC2 I need to reboot Ubuntu to get the app updated. I always upload files manually through SFTP. I believe ...
0
votes
0answers
89 views

curl: (60) SSL certificate : unable to get local issuer certificate

When I try curl -Iv https://yahoo.com I get an error as unable to get local issuer certificate in the result. However if I try curl -Iv --cacert /etc/ssl/certs/ca-certificates.crt https://yahoo.com I ...
0
votes
1answer
66 views

AWS VPC Public Private Subnets - EC2 Instance cannot reach RDS instance

Following rposcibed pattern here: Scenario 3: VPC with Public and Private Subnets and Hardware VPN Access Summary Description: I have configured a VPC with 1 public Subnet and 2 private Subnets Each ...
0
votes
1answer
25 views

Handle sessions with Amazon Elastic Load Balancer

I plan to have 2 t2.micro Linux instances with 1 MySQL DB db.t1.micro and 1 Elastic Load Balancer on Amazon Web Services. I will run PHP programs on it. My question is: Do I need to write session to ...
1
vote
1answer
62 views

CentOS 7 on Amazon ec2 hangs on reboot

I have a CentOS 7 server on Amazon ec2, I'm using the AMI from CentOS. It takes about 10min to restart the server, I got this line from the messages log: Nov 19 14:26:35 XXXXX systemd: Startup ...
0
votes
0answers
54 views

Why do I get ERROR: Failed to run install_amazon_linux_ami_git_deps() when provisioning via salt from Vagrant?

I am unable to provision an Amazon ec2 linux instance (using the Amazon AMI) via salt from Vagrant. I get this error: The following SSH command responded with a non-zero exit status. Vagrant assumes ...
0
votes
0answers
24 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 = ...
0
votes
0answers
62 views

Stopping openfire service breaks start on Ubuntu EC Amazon machine

I have installed OpenFire on an Ubuntu Amazon EC machine. After installing, the openfire service seems to run fine, but on occasion (since this is a development machine), I need to stop or restart the ...
0
votes
0answers
9 views

amazon ec2 iis new site displaying iis home page instead of custom site

I am trying Amzon EC2 windows 2012 R2 instance. i have tried following steps Installed IIS server in EC2 instance Allow HTTP 80 port for this instance Add DNS record for prayaslearning.com on my ...
0
votes
0answers
55 views

Is there a way to create AWS autoscaling lifecycle hooks with CloudFormation without a race condition?

I am trying to use AWS autoscaling lifecycle hooks in a template that encapsulates the following things: AWS::AutoScaling::AutoScalingGroup with associated scale up/down policies, launch ...
0
votes
0answers
6 views

Amazon EC2 + deployd create collection getting permission denied

I created deployd on EC2, when I run http://ec2-54-xx-xx-xx.compute-1.amazonaws.com:port/dashboard/ I cant create any COLLECTION. Getting error: COULD NOT CREATE RESOURCE EACCES: permission denied, ...
1
vote
0answers
22 views

AWS ELB: cloudwatch metric for open connections?

I'm setting up ELB, and I'm having trouble finding a suitable metric to use to adjust the size of the pool. RequestCount doesn't work because some requests are much cheaper than others. Latency ...
0
votes
1answer
34 views

Is there a benefit to assigning a static IP to an instance instead of DHCP

We are creating a Windows AD instance in our AWS VPC and we're wondering if there is any benefit to assigning a static IP to that instance instead of using the default behavior of a subnet which is to ...
1
vote
1answer
54 views

AWS, NodeJS - Connecting app to Mongodb on another EC2 instance

I am trying to connect my app, running on one EC2 instance, to MongoDB, running on another EC2 instance. I'm pretty sure the problem is in the security settings, but I'm not quite sure how to handle ...
0
votes
1answer
27 views

Cross Account EC2 Role Access to Read S3 Bucket

I've been trying to get cross account ec2 role authorisation working for a while now but seem to be hitting a bit of a dead end. We currently have cross account user authentication which is working ...
2
votes
0answers
49 views

Bootstrapping Windows EC2 instance with cfn-init command failing due to 1641 exit code

I'm having trouble with my EC2 instance cfn-init script. I'm attempting to have it install Powershell v5. When I execute the command: "command" : ...
0
votes
1answer
23 views

Setting Host Fingerprint on New EC2 Instances

TL;DR Can I tell AWS EC2 to launch an instance from AMI but keep the host keys -- the ones in /etc/ssh that were saved with the AMI -- instead of generating new keys and overwriting the ones saved ...
0
votes
0answers
64 views

New EC2 vsftpd installation will not start, giving code=exited, status=2

I am trying to implement an FTP server on an EC2 instance. I cannot get the FTP server to start and it gives me very little idea of what is wrong. I'd appreciate any information on either how to ...
1
vote
0answers
57 views

EC2 automatic windows updates disabled by default on Windows Server 2008 R2 - why?

I spun up an Amazon virtual instance for Windows 2008 R2 Datacenter Edition and when I went into Windows Updates in control panel, automatic updates were turned off. I turned them on and checked for ...
0
votes
1answer
17 views

How to delete ec2 instances from Nagios configuration automatically

I am able to add ec2 instances in nagios using puppet but how can I delete the instances from nagios configuration after instances get terminated. I am looking for something, whenever any node gets ...
0
votes
1answer
63 views

Using Multiple SSL Certificates on AWS Elastic Beanstalk

Our multi-tenant app runs on Elastic Beanstalk. Our wildcard cert is on the Beanstalk load balancer (ELB). For clients that have their own domain name and certificate, we are installing those on ...
0
votes
0answers
26 views

Redirect from within vhost for multiple sites

Note: My question is similar to one here but I'm trying to achieve something slightly different. A. I would like to create two vhosts on a ec2 instance that has a elastic ip attached. B. Each of ...
0
votes
2answers
39 views

Routing between the instances in AWS

I have two instances in the same VPC: Linux (172.31.25.177) and Windows (172.31.26.178). I opened all ports in the security group for both IP addresses and they can to connect to each other. Windows ...
0
votes
0answers
9 views

EC2 Instance for Rails + Node.js App [duplicate]

What Amazon EC2 instance type should I use for my application built on Rails and Node.js, I need something that can handle many concurrent request, please adise. Note: I will use Passenger with ...
0
votes
0answers
42 views

Nginx worker process this many is normal?

I have EC2 m4.2xlarge running Nginx 1.6.1 and serving static HTML files. Recently my server started to give 503 server temporary unavailable. When I check the server process the CPU was all 100% load. ...
0
votes
0answers
67 views

Install and Run OpenOffice 4.1.2 on Amazon Linux

After installing Open Office 4.1.2 on Amazon Linux (http://www.openoffice.org/download/common/instructions.html#other_linux) , I run it in the background soffice -headless ...
0
votes
1answer
27 views

Meaning of Amazon web services (AWS) API operation labels in cost explorer

Trying to understand costs for my aws grouped by API operation. Some API operation labels are rather cryptic. What is the difference between API operation RunInstances, RunInstances:0002 and ...
0
votes
1answer
17 views

Is it possible to share single instance profile between multiple aws ec2 instances?

Is it possible to share single instance profile between multiple aws ec2 instances? When I launch instane I can pass instance profile arn/name to it. Can I use single instance profile for different ...
1
vote
0answers
27 views

How to setup a security group on AWS that allows incoming traffic only by certain Elastic Beanstalk servers?

we have the following setting on AWS: 8 Elastic Beanstalk environments (4 QA, 4 PROD) read and write data. Typically, 1 environment (the API) always reads data from DynamoDB and RDS and 1 environment ...
1
vote
0answers
24 views

Is there a way to use Route 53 as a DNS failover, that activates a dormant (i.e. cheaper) EC2 instance that takes over?

Is there a way to use Route 53 as a DNS failover, that activates a dormant (i.e. cheaper) EC2 instance that takes over? My idea is to use a different provider to host most of the time, but if there ...
1
vote
1answer
24 views

Distributed image processing on AWS: how to know the address of master node?

Context: I am building a mobile application that will let users apply advanced filters to their pictures. Since the processing can't be done on the phone, it will be offloaded to EC2 instances. I ...
0
votes
0answers
33 views

OpenVPN on AWS: ec2 instance not able to see connected clients

I have 3 ec2 Instances on my AWS environment all in same VPC and same public gateway. 1 of the instances is OpenVPN instance and other 2 are normal linux machines. to demonstrate: ec1 machine local ...
0
votes
0answers
32 views

EC2 Nginx PHP-FPM Debian Unusual Monitoring graph

I am currently administering a stack of servers composed of a big MySQL DB (~500gb dataset). That is fead and read by http rest api servers on nginx with php fpm. The all lot of it is hosted on EC2 ...
2
votes
1answer
34 views

Is there a command to list AWS instances that results in short output?

I have my AWS CLI set up and can use aws ec2 describe-instances to get the json object returned that describes all the known details of my instances. Is there an easy way to get just a short list, ...
0
votes
0answers
148 views

Setting up softether with dnsmasq on aws server

I am following this guide http://blog.lincoln.hk/blog/2013/05/17/softether-on-vps-using-local-bridge/ to setup softether vpn in bridge mode with dnsmasq on an aws ec2 server. I got this working fine ...
2
votes
1answer
133 views

PHP and MYSQL on Amazon EC2 server

I am trying to set up an amazon server to display my php files for a final for one of my classes. I followed this tutorial for setting it up and when I try to run my code I get "Fatal error: Class ...
0
votes
1answer
21 views

Reduce EBS root device size

I want to reduce the size of the root volume of a Windows server EC2 instance . 1) Stop the running instance (instance 1) 2) Detach its root EBS device 3) Create new instance with any volume ...
0
votes
1answer
23 views

Detaching an EBS secondary volume

I am using an instance that has an EBS volume attached to it . This volume is used as secondary volume ( mounted to xvdf ) . So usually to detach the volume i go to volume section of the AWS EC2 ...
0
votes
3answers
110 views

Can i run multiple web apps on a single EC2 instance

I need to lower my AWS costs and looking for ways to reduce my AWS usage. I currently have a single java/tomcat webapp which I run multiple EC2 instances of with different configurations. I have ...
2
votes
1answer
36 views

AWS Close Ports on Specific Elastic IP Addresses for EC2 Instance

I have a Windows Server in AWS EC2. I have opened ports 80 and 443 to 0.0.0.0/0, and RDP to a private IP address for VPN access. The instance has 4 total elastic IP addresses, each mapping to a ...
1
vote
0answers
22 views

How do I setup my cloud-init instance to fully conform to that of amazon-ec2 platform?

How do I setup my cloud-init instance to fully conform to that of amazon-ec2 platform? (shown @ http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html) We already made the ...
3
votes
0answers
201 views

Running service with systemd as default user via ansible in ec2 (requests password)

I'm trying to employ the following Ansible script (part of a playbook) to run unicorn via systemd for a rails app on EC2 (micro) instance: --- - name: restart unicorn command: psql -h {{ db_host ...
0
votes
0answers
21 views

How to run Apache Spark on Amazon EC2: EMR or Spark's native implementation?

It seems that there are two ways to run Apache Spark on Amazon's EC2. The first is to spin up Amazon's Elastic Map Reduce. The second is to spin up machines and use Spark's built-in support for EC2. ...
0
votes
1answer
55 views

installing GlusterFS 3.7.5 on AWS AMI

I am trying to install Gluster 3.7.5 on Amazon Linux AMI but cannot get passed error Error: Package: glusterfs-libs-3.7.5-1.el7.x86_64 (glusterfs-epel) Requires: rsyslog-mmjsonparse Error: ...
0
votes
1answer
30 views

Expanding C drive on amazon webservice

I am trying to expand the C disk size ( size is 50 GB) of a windows instance on amazon ec2 . I create an ami from the running instance . Then i created new instance using the new ami . while ...
0
votes
2answers
49 views

Coming from Azure to AWS, AutoScaling EC2 IIS & Deployments don't make sense

So we've been running a single server, and all has been well (in development). But now its time to setup some auto-scaling, and I'm a bit lost. We currently have publish profiles setup. When we build ...
0
votes
2answers
39 views

ec2 route53 + openwrt: openwrt as nameserver in ec2 vpc

I have an OpenWRT router with an IP reachable within an Amazon EC2 VPC. The router is running a dnsmasq server. Router IP is 192.168.13.1. A client is connected to the router with hostname 'iPhone' ...