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
28 views

Connect to RDS from EC2 instance in a different Availability Zone (AZ)

OK, so I have a VPC with three app servers and an instance of Postgres in RDS. I have a security group called 'rds-staging' that allows inbound connections on port 5432 from a security group called '...
0
votes
0answers
5 views

Server stack for PHP and remote Oracle [on hold]

I have to deploy PHP web app on EC2 server which connects remote AWS Oracle RDS. I know that I will have to install Oracle Instant clients and OCI8 extension to connect Oracle with PHP. Which OS ...
0
votes
2answers
2k 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 inbound/...
-1
votes
0answers
9 views

AWS Webuzo OSTicket AMI backup

I am trying to backup an AWS EC2 instance running OSTicket configured using the AMI for Webuzo OSTicket on Amazon marketplace. I have successfully created a snapshot of the volume mounted on the ...
0
votes
1answer
7 views

Cannot load modules/mod_ssl.so into server: /etc/httpd/modules/mod_ssl.so: undefined symbol: ap_array_str_contains

I am trying to run Apache on Amazon Linux with SSL for my website and I configured all ssl prerequisites. But when I start the Apache it throws the error saying: Starting httpd: httpd: Syntax error ...
0
votes
0answers
7 views

how to configure cloudwatch log agent without associating IAM role with instance in amazon web services

I have Ubuntu instance already running on aws without any IAM role associated to it. Now i want to configure cloudwatch log agent . As per requirement on aws on below link http://docs.aws.amazon.com/...
1
vote
3answers
207 views

Deploy active directory ONLY on the cloud and join workstations to it WITHOUT VPN (No DCs on premise, No RODCs etc.)

The company does not have any offices. All users are remote. However, they need an Active Directory to which workstations can be joined and users can be centrally managed. One suggestion is to ...
0
votes
0answers
30 views

AWS EC2 network latency or something else [on hold]

I have an AWS EC2 instance(8cpu, 32GB RAM) which serves an API consumed by an web and hybrid app. Only around 100 devices were using it and it was working fine and fast. But as the numbers are getting ...
4
votes
2answers
3k views

How do I associate an ssh key pair with the instance created by a stack in Amazon CloudFormation?

Previously I have created an EC2 instance based on an image. During the creation process the Amazon wizard created a key pair and then provided it to me so I could connect. Now I am trying to use ...
1
vote
1answer
600 views

504 Gateway Timeout on HTTPS but not HTTP

I configured an AWS Load Balancer. It is working find on HTTP, but when I try over HTTPS I get a 504 Gateway Timeout Error. I tried all the suggestions on AWS's help page (increase idle timeout), but ...
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
1answer
20 views

cannot access server when i change inbound rules in security group

I have installed mark logic server on public subnet, now the mark logic ui opens at http://publicip:8001 when the source of the security group is 0.0.0/0 Now i am trying to restrict the traffic and ...
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 ...
0
votes
1answer
45 views

AWS - Allowing user to start and stop an EC2 instance

I'm in trouble creating an IAM policy to an specific user to grant privileges to start and stop EC2 instance. I had tried several ways but I cant find the errors. This is my policy: { "Version": "...
-2
votes
2answers
26 views

Not able to ssh login to my aws ubuntu server [on hold]

I did something stupid today and I'm left wondering what to do! I have an ubuntu ec2 machine and I wanted to mount an ebs volume to the /home directory of the instance. I did that and provided an ...
-1
votes
2answers
42 views

Designing a VPC: Subnets inside subnets

This question is exactly similar to this one. It appears the OP didn't get a satisfactory answer — because he didn't accept the sole response that he received. We are basically following instructions ...
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: http://simplygenius.com/...
2
votes
3answers
926 views

crontab fails, cannot find aws executable [duplicate]

I am trying to run a backup script on my ec2 amazon server (ubuntu 14.04), to automatically create a snapshot of amazon ebs volumes. Therefore I am using the aws-missing-tools script: https://github....
5
votes
1answer
3k views

What is the difference between a plain Amazon ec2 instance and beanstalk?

I am a solo developer and the sites I'm deploying are very small, usually hobby sites and I have a few questions about the Amazon services. Is there a reason for me to use beanstalk or should I just ...
0
votes
2answers
168 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
1answer
30 views

Making port forwarded to EC2 machine available to other machines

I'm using Apache Zeppelin and having the port forwarded from the EMR master node to an EC2 instance (running Amazon Linux). When I RDP into the EC2 instance, I can connect to Zeppelin by going to http:...
-1
votes
1answer
32 views

Amazon EC2 - Forcing redirect of non-www http and https domains to “https://www” domain in httpd.conf [duplicate]

First and foremost, thank you for your time with my question. I am attempting to forward all traffic from http:// and https:// to "https://www.[domain].com/[etc]" I am currently able to ...
4
votes
1answer
125 views

Error updating Amazon AMI with yum

I am trying to yum update the EC2 server but fails. This is first time it happened what do i need to do to resolve this? --> Running transaction check ---> Package libXcomposite.x86_64 0:0.4.3-...
1
vote
1answer
1k views

Can Chef AWS cookbook query EC2 instance tags?

Chef has the official AWS cookbook (https://github.com/opscode-cookbooks/aws), which allows for spinning up of AWS resources, as well as updating of resource tags. Can the custom resources introduced ...
2
votes
1answer
44 views

Is it important to use localhost/127.0.0.1 rather than machine's own IP address?

I'm on Amazon AWS EC2 running Amazon Linux, though that may not be significant to the answer. Say I have three hosts, H1, H2, H3, with private IP addresses of 10.0.0.1, 10.0.0.2, and 10.0.0.3. This ...
0
votes
1answer
1k views

Elastic Beanstalk S3 access via .ebextensions

I have a simple file in my .ebextensions folder: 00-myconfig.config Resources: AWSEBAutoScalingGroup: Metadata: AWS::CloudFormation::Authentication: S3Access: ...
0
votes
1answer
45 views

Amazon Web Server EC2 - changes don't seem to stick

We have a Wordpress site hosted on an Amazon Web Services EC2 instance using elastic load balancing. I'm running into a frustrating problem where it seems like every time I refresh the browser, ...
0
votes
0answers
18 views

AWS CloudFront doesn't find my ELB as an origin in Mumbai region

I have my infra setup in AWS singapore region. Now I want to migrate to Mumbai region. I have launched 2 EC2 instances in AWS Mumbai region and deployed my web application and kept behind ELB which ...
14
votes
3answers
28k views

EC2/Route53: How do I assign my new domain name to an instance?

I have an EC2 instance. It's up and running with an Amazon IP that looks something like this: //ec2-xxx-xxx-xxx-xxx.compute-1.amazonaws.com/ I am sure it works fine. I bought a domain and then set ...
0
votes
0answers
12 views

Unable to see updated default IIS website on Windows instance on AWS through public DNS, but works with pubic IP

I have an Amazon EC2 Windows Server 2012 R2 Instance, which uses IIS to host my website. I updated the AddStudents.html, which is the default document of the website, by replacing it with a updated ...
0
votes
1answer
2k views

How do you get multiple ports working with nginx proxy_pass and Node Express?

I have multiple node instances running each on a different port. (8000, 8001, etc.) I also have nginx running on port 80. What I am trying to do is allow a user to enter my site via a single domain ...
1
vote
1answer
48 views

How to get the output of the python script executed in aws instance

I am trying to automate the aws instance setup using boto. I have a python script in which I will do the ssh to the instance. After ssh,I am executing a python function which is in remote python file ...
2
votes
4answers
2k views

Foreman installation on amazon ec2 instance

Hi there and thank you for reading, I am currently in the process of setting up a puppet service for our ec2 instances and decided to give foreman a try (node certificate management and automatic ...
0
votes
1answer
23 views

Port won't open on new EC2/AWS instance

I created a new instance, added the same security groups as before in EC2, selected the same VPC as before (everything exactly the same afaik), but now I get: ERR_CONNECTION_REFUSED when I try to ...
0
votes
1answer
21 views

Connecting to AWS EC2 Container Service docker fails

I am trying to set up EC2 Container Service. I use the following command: aws ecr get-login --region eu-west-1 which gives me a docker login which looks something like this: docker login -u AWS -p **...
3
votes
0answers
28 views

Authentication vsftpd account using remote LDAP user

I'm trying to authenticate vsftpd from LDAP logins which hosted remotely another server . vsftpd hosted on Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-48-generic x86_64) amazon aws . from the LDAP server ...
1
vote
1answer
28 views

Unable to establish network connection between two servers

I have 7 Ubuntu 14.04.4 servers running in EC2. One server is hosting memcached (port 11211) and the other 6 are clients. Of the 6 clients, 5 are able to connect and one is not (see note). I've ...
-2
votes
1answer
21 views

Remote Desktop Connection closes [closed]

I just signup with amazon cloud services and i installed windows 2012 server R2 on it. Now my problem is when i created a new user using the control panel. I encountered quite a no of problems and i ...
0
votes
1answer
25 views

Zero downtime deployment with two machines and docker-networking

Is it possible to wire up a small zero downtime deployment (*1) with two Amazon EC2 instances? I'd like to roll my services regularly to a new EC2 instance to avoid manual OS updates on the instances ...
0
votes
0answers
24 views

Can I create an AWS ECS cluster that uses a custom VPC?

So after much time trying to get an AWS ECS cluster to recognize my instances, I realized it was the because the cluster was in the default cluster for the account while the instances were in a custom ...
0
votes
3answers
745 views

How to prevent update from conflicting repo?

On EC2 / Amazon Linux AMI (Centos based), I created /etc/yum.repos.d/nginx.repo: [nginx] name=nginx repo baseurl=http://nginx.org/packages/centos/6/$basearch/ gpgcheck=0 enabled=1 Then I ...
0
votes
1answer
13 views

Forward hostname to EC2 instances behind Elastic Loadbalancer in elastic beanstalk environment

I'd like the applications running on EC2 instances to know which url the original request came from. Is this possible with an Elastic Loadbalancer? I'm assuming passing the hostname through would be ...
-2
votes
0answers
25 views

AD across regions?

I've got a pair of VPCs in AWS. One in us-east, one in us-west. They're bridged via OpenVPN (linux host in each). I'm also running a windows instance in each to host AD -- my app requires domain ...
1
vote
1answer
30 views

Amazon Web Services EFS doesn't seem to be saving files

So I'm trying to use AWS EFS with EC2 to have persistent storage between multiple instances. I'm mounting the drive using, sudo mount -t nfs4 -o nfsvers=4.1 $(curl -s http://IPADDRESSHERE/latest/meta-...
0
votes
2answers
42 views

Network timeout errors with Amazon EC2 instance after first 10 minutes?

I create a new instance. Happens for both Amazon Linux or Ubuntu instances. I didn't try a windows instance. Sometimes, I can log in once via ssh(putty). I do some cd .. and ls commands but that's it....
2
votes
1answer
920 views

amazon instance runs fine but extremely slow when logging in via ssh, webmail authentication

I'm running a large EC2 instance with ubuntu that is basically used to provide email services (IMAP, webmail access, etc) to some people. This server was previously hosted somewhere else but was ...
83
votes
6answers
54k views

How to change an EC2 instance's security group

I have created a new EC2 instance. It got assigned the default security group. I want to change that security group. How?
-1
votes
2answers
38 views

Connect to AWS EC2 SSH for public location best practice

I have recently been learning about how to set up and run a Linux server on Amazon and I have been wondering about the best practice for SSH into it from a public place. By public place I mean like a ...
1
vote
1answer
1k views

Issue with aborted MySQL connections (error code: 4)

Some of the connections between my application server (Ubuntu, Apache, PHP) and my DB server (Ubuntu, MySQL) are failing with error code 4. According to the documentation error code 4 is: OS error ...
0
votes
1answer
19 views

ec2 run-instances and associate static IP address in one step?

Is it possible to launch an EC2 instance and associate an IP address in one step? Or does one need to manually do it after it's up?