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

learn more… | top users | synonyms (1)

2
votes
1answer
7 views

How to find out when an EC2 instance was shutdown?

I have hundreds of instances in the EC2 web console. Some are shutdown. They seem abandoned and forgotten for a while. I can see that they were created many months or years ago. It's hard to tell if ...
0
votes
0answers
9 views

Is it possible and sensible to use IBM MQ without a local queue manager?

My team is in the process of building an application that will be deployed on AWS EC2, and will communicate with on-premise legacy systems via IBM MQ (formerly known as WebSphere MQ, formerly known as ...
0
votes
0answers
14 views

AWS ec2 has 30:1 Network IN due to Wordpress Hack Bot Scripts, Any way to stop?

My aws instance has 30:1 ratio of network IN to network OUT; this is likely due to various countries pounding the hell out of all my multisite domains. My setup is aws ec2, elasticip aws rds ...
0
votes
0answers
7 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 ...
1
vote
2answers
44 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 '...
-1
votes
0answers
11 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
11 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
9 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/...
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 ...
-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 ...
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 ...
0
votes
1answer
31 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
34 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-...
2
votes
1answer
47 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
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 ...
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
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
1answer
24 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
22 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 **...
0
votes
0answers
27 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
1answer
26 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 ...
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 ...
0
votes
1answer
14 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
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 ...
1
vote
1answer
31 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
1answer
46 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": "...
-1
votes
2answers
40 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 ...
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?
3
votes
1answer
33 views

Web Server on AWS EC2 Auto Scaling Storage

So I'm trying to learn more about AWS EC2 Auto Scaling and trying to figure out how exactly storage works between instances. When creating new instances it looks like a new EBS volume for each ...
0
votes
1answer
18 views

Static IP address EC2 network attach

I heard (perhaps wrongly) that using an Amazon Elastic IP "EIP" on a network interface and attaching that to an EC2 instance might be a quicker way of bringing up (or switching to) a new machine. ...
0
votes
1answer
18 views

Cant connect to rds from ec2 , but can connect from my own computer

I have an rds and ec2 instance in tokyo region. I just set up an rds server to test stuff from my ec2 server. When I type mysql -h remdev-experimental-BLEH-northeast-1.rds.amazonaws.com -P ...
0
votes
1answer
27 views

Red Hat 7 - Amazon EC2 - Could not retrieve mirrorlist https://None/pulp

SELinux is running in permissive mode yum update is yielding: Loaded plugins: amazon-id, rhui-lb, search-disabled-repos Webmin | 1.0 kB 00:00:00 Could not retrieve mirrorlist https://...
0
votes
1answer
21 views

Amazon EC2: Public IP changes at reboot

Im using Amazon EC2 to host a few websites on a single instance. From time to time I need to rescale my instance type. This requires a shut-down of the instance, and after relaunch the instance have ...
1
vote
1answer
39 views

Best manner to access files in S3 Bucket from EC2 instance

I have tried several packages (goofys, s3fs, fuse) and have not been able to find a solution to my problem. I have an S3 Bucket with several thousand files currently in it and will continue to grow. ...
0
votes
2answers
24 views

Trigger AWS auto scaling when load balancer has no healthy instances

I currently have an elastic load balancer with some servers behind it. I want them to scale as traffic moves up and down. I currently have a scaling policy to add instances whenever CPU util is over ...
0
votes
1answer
36 views

Does my EC2 environment idea make sense?

I want to host a 5 domains and 2 mySQL databases on an EC2 server. I already know the basics and can manage servers but I've never worked with EC2. I've read that when there's a shutdown or a restart, ...
0
votes
2answers
49 views

How to boot EC2 with preset hostname?

With Digital Ocean, I'm able to set a fully qualified domain name before starting it and I sorely miss this feature with AWS EC2. Currently I manually go into a newly started Ubuntu 16.04 LTS ...
1
vote
0answers
14 views

AWS EC2 IAM User Policy Error

I'm trying to create a user policy which allows specific users access to only the following permissions within a specific VPC: Create Instances Start Instances Stop Instances Terminate Instances I ...
1
vote
0answers
88 views

install mysql 5.7 to linux 6 - yum tries to install 5.7 el7?

I'm following the instructions here to install MySQL-Community-Server onto a linux 6 aws instance. Basic commands: wget http://dev.mysql.com/get/mysql57-community-release-el6-8.noarch.rpm sudo yum ...
0
votes
0answers
8 views

How to properly set up laravel group/owner permissions in Elastic Beankstalk?

At the moment, there are two owners, and two groups: root and webapp. I am able to go to test files placed inside of document root /var/app/current/public (also /var/www/html/public), but cannot ...
1
vote
0answers
20 views

Cannot connect to anything above port 6000

I have an instance of Windows Server 2012 R2 running on Amazon Web Services. I am not able to make a TCP connection to the server on any port higher than 6000 for some reason. All ports below 6000 ...
1
vote
2answers
28 views

Managing SSH access for rolling teams to many AWS instances

We have a team of 20+ interns that join and leave us every 3-6 months. They each have individual SSH logins setup on 10-15 shared AWS instances, some of which have been running for years, others run ...
0
votes
0answers
14 views

Amazon EC2/ELB and AD FS Proxy Not Working in HTTPS Mode

We run a AWS ELB for two AD FS Proxy servers (also hosted in AWS). For some reason, when I set it up as HTTPS mode it doesn't work. When I set it up as TCP mode, it works with no issues, however it ...
1
vote
1answer
33 views

How to automatically update EC2 Linux instances without downtime by switching between two instances?

In short - OS Amazon Linux or Ubuntu. One EC2 instance (or OpsWorks instance?) is running. Once a day start second instance, update it with latest security updates, install my app. Shutdown first ...
0
votes
1answer
26 views

upgrade m3.large instance to c3.xlarge without rebooting or making any changes to the existing server

I have an Amazon EC2 m3.large instance. I want to upgrade this instance to c3.xlarge without rebooting or making any changes to the existing server. This is our production environment, so what is the ...
0
votes
1answer
17 views

Implemeting Nginx as reverse proxy on an EC2 instance, for an Eclipse Che farm

Looking for scaling Eclipse Che (a cloud IDE), I'm implementing a Che Farm. In short, a group of Eclipse Che instances behind a reverse proxy. Ok, I'm implementing the reverse proxy using Nginx on ...
0
votes
0answers
22 views

Do I need to block my application port(In security group) for the security in Linux EC2 instance

What I DID I have two Play framework web applications which runs in 9001 and 9002 ports in AWS EC2 instance. I am using the Nginx proxy server to routing the two applications. I have configured the ...