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
0answers
9 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
16 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 ...
2
votes
1answer
34 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 ...
0
votes
1answer
31 views

Connecting OpenVPN client over Peering Connection to different VPC AWS

I am trying to connect the VPN client to VPC different than VPN server belongs to. That's my setup: Network diagram However I can't manage the VPN client 10.8.0.6 to be able to reach the instance in ...
0
votes
0answers
8 views

Skip login screen on boot of Windows Server on EC2

I want to be able to spin up a new machine and immediately VNC into it without having to enter a username or password. I've made a User-Script that starts a TightVNC server on boot, but when I ...
0
votes
1answer
23 views

AWS EC2: Secure configuration via IP access list

My company have a network with a fixed IP address/IP address range. Is it save when I configure my Security group that all traffic from this IP address will be accepted and everything else will be ...
0
votes
0answers
16 views

Windows Server 2012 R2 Windows update process running even though Automatic updates disabled

I came in this morning to a catastrophe as all our servers (AWS EC2 boxes) were pinned at 100% cpu. I remoted on to one of the machines to grab the iis logs and noticed in task manager that the ...
0
votes
0answers
12 views

Jsp on Tomcat https port displaying incorrectly

I have a tomcat 8 server with http and https ports. All the jsp files run fine on http, but on https the jsp tags are getting output to the page and I'm seeing something like this. <%@ page ...
0
votes
0answers
20 views

Websocket proxy on Apache connecting, but not returning data to client

I've almost got a working websocket to share port 443 with both WSS and HTTPS requests via Apache's mod_proxy module. The websocket client (in a browser) shakes hands, and connects. But then the ...
0
votes
0answers
21 views

How to add Virtual host on ec2 wiith Apache 2.4.18?

I'm trying to domain to point specific document root of EC2 instance. I've set Route 53 and and also set DNS to domain. Now domain points fine. I have also added host to host file of server. Now I ...
0
votes
2answers
24 views

Requests to domain using wrong domain name

I`m getting strange requests to my domain using different domain host header -> as.eu.angsrvr.com . The requests are coming from all different ip addresses, different os, different browsers and seems ...
0
votes
1answer
19 views

Installing cmu-sphinxbase on AWS EC2 ubuntu instance

I've setup an app on EC2 using Elastic Beanstalk. It's a Ubuntu instance and I'm running a Rails app on it which depends on sphinxbase and pocketsphinx. I've ssh'd into the EC2 instance to install ...
0
votes
1answer
24 views

Can't connect MySQL EC2 master to RDS slave

I am having issues setting up replication between a MySQL RDS instance and an external master on EC2. As far as I can tell, everything is set up correctly but the slave never reaches the master and ...
0
votes
1answer
24 views

How to find ec2 instance that is processing my request that is forwarded by an Elastic Load Balancer

We use on amazon Elastic Beanstalk with autoscaling. The autoscaling gives us 10 EC2 instances working behind a load balancer. Now if i am right the load balancer adds a cookie "AWSELB" to forward ...
0
votes
1answer
33 views

EC2 custom AMI in autoscaling group not running user data script

Similar to this question, My user data is: #!/bin/bash echo 'test' > /home/ubuntu/user-script.txt Using a standard Ubuntu AMI, this works fine. I have a custom AMI that I have created by ...
0
votes
1answer
35 views

AWS: Is my VPC isolated from other clients/accounts

When I create a EC2 instance it gets a private IP address. I'm wondering if this address is from the subnet shared with other EC2 instances of other AWS clients. Would it be possible for other EC2 ...
0
votes
0answers
27 views

How to keep ec2 instance running in auto-scaling group for at least an hour?

In ASG it makes no sense to terminate an on-demand instance until it runs (1, 2, n) hour(s) 59 mins because you pay for time to full hour anyway. How to configure termination to make sure that billed ...
0
votes
1answer
58 views

EC2 and Apache HTTPD no access via IP but via DNS name

I have some trouble with my EC2 instance. I have a normal Amazon Linux with the standard Apache HTTPD. My problem is that I can't access the HTTPD via IP address (e.g. http://123.123.123.123/), but ...
0
votes
0answers
13 views

How to update a running CoreOS instance's user-data through AWS CloudFormation?

I have a running CoreOS instance triggered by AWS CloudFormation. I updated the CloudFormation template via CF designer, but found out that user-data of the existing instance was not updated. Is there ...
0
votes
1answer
20 views

Unable to Activate Windows EC2 instance via KMS

I have an EC2 Instance Windows Server Datacenter 2008, and I'm getting an "Unable to Activate Windows" message. Even after following through the instructions here
0
votes
1answer
21 views

IAM Policy to create a single ec2 instance

How can I create a policy that will allow a single user in a group to create a single ec2 instance in a particular VPC and AZ. and it can be destroyed by the same user or destroyed when idle for more ...
0
votes
1answer
26 views

How to execute some commands before the user scripts in cloud-init

I'm trying to run some scripts and config using a multipart config. Content-Type: multipart/mixed; boundary="MIMEBOUNDARY" MIME-Version: 1.0 --MIMEBOUNDARY Content-Disposition: attachment; filename="...
0
votes
0answers
36 views

Difference in telnet of amazon ec2 instance using internal and public IP

I have a 4 node hadoop cluster on ec2. We have configured Hortonworks Hadoop (HDP version 2.4) through Ambari. I have opened all traffic for our all four instances internally and the office external ...
1
vote
1answer
32 views

t2.micro instance is always below baseline CPU usage but still consumes CPU credits - why?

I have a t2.micro instance running Ubuntu Linux on ec2 in Ireland, it's running batch jobs and I've tuned them so that the max CPU is pretty low - it never exceeds 10%. The docs say that: When a ...
1
vote
0answers
74 views

How do you properly deploy Angular application?

I'm writing an angular2 application, and want to deploy it on an EC2 instance. This is how I've currently set it up. Used gulp on the server to build typescript and scss. Then I setup nginx to setup ...
0
votes
1answer
45 views

What is minimum IOPS for AWS EC2 General Purpose SSD (gp2)?

A while ago I read, that you get 3 IOPS per GB for gp2 SSD volumes. For example, that would be 24 IOPS for 8 GB volume. Now I read the documentation (https://docs.aws.amazon.com/AWSEC2/latest/...
0
votes
0answers
19 views

Does Data Pipeline supports schema transformation/evolution between RDS postgrey and amazon Redshift? Does it alter tables in Redshift accordingly?

I see Redshift is used as a data warehouse infra for large data set and I want to load postgrey sql data to Redshift for analytics. To copy the data I followed script method. What my script does is? ...
0
votes
0answers
14 views

Change the root folder in a ubuntu server, using nginx with serverpilot [duplicate]

Right now there is a ubuntu server using amazon EC2 and serverpilot to build. The web files structure is like this: 1) /srv/users/serverpilot/apps/**site_a**/public/wp-content .. 2) /srv/users/...
-1
votes
2answers
25 views

How do I enable certain Availability Zones in AWS EC2?

I am trying to launch a t2.nano instance running Debian in the us-east-1a region, but Amazon is only allowing me to choose from between us-west-2a, us-west-2b and us-west-2c which are all in Oregon ...
-2
votes
1answer
19 views

Does every EC2 instance has “Instance Store Volume”?

Does every EC2 instance has "Instance Store Volume"? When I am trying to create a t2.micro instance, I could not able to add "Instance Store Volume"
0
votes
1answer
40 views

Error mounting ebs in amazon ec2

I have accidently changed permissions for my /etc/sudoers and /etc folders and thereby I am unable to access anything through sudo. After that I detached my ebs volume from the instance and attached ...
0
votes
2answers
53 views

Internet is very slow because of many unknown connections from and to some amazonaws EC2 servers, Dropbox?

We are currently having issues with the internet speed at work. We asked for a global report to our ISP in order to understand what was happening, and in their report (in the "conversation report" ...
0
votes
3answers
107 views

How to SSH to all instances in EC2 cluster?

I just created a cluster using spark-ec2. I followed steps here http://spark.apache.org/docs/latest/ec2-scripts.html . Now I want to configure all slaves (150), i.e., install Java 8 for both master ...
1
vote
0answers
29 views

Access database using Public External IP - Bandwidth

In an amazon EC2 instance, we pay for each GB of data transfer in/out. Which means, when are sent to server, it's data transfer in. When a user access some website hosted there, data is being ...
0
votes
0answers
22 views

AWS EC2 Policy - Describe own properties

When creating AWS Policies, is there a way to create a policy that, when assigned to an EC2 Instance, allows querying its own tags without granting access to other instances tags? Is there a sense of ...
2
votes
2answers
61 views

Ansible, AWS, other host based on tag

I am creating Ansible playbooks which create our system's infrastructure in AWS. Obviously dynamic inventories using ec2.py are involved. I first create a utility server, then a web server, and I ...
1
vote
1answer
16 views

User specific network IP/Port permissions for Open VPN

We are using Open VPN to give secure access to our remote team to access our EC2 instances hosted on AWS. Usually we create one open VPN account for each team and give that account to the team. By ...
0
votes
0answers
11 views

Connect an EC2 instance to your office/home gateway [duplicate]

I am wondering what the process is for connecting an Amazon Web Services EC2 instance to your router to make the instance act as if it is on the LAN. I have been reading about AWS VPC, but have just ...
0
votes
0answers
40 views

How to restrict access to EC2 from outside but allow from Elastic Beanstalk instances?

This is the situation: We have an EC2 server which runs Elasticsearch and an Elastic Beanstalk (EB) environment. They both are in the same VPC. This is my goal: Allow access to EC2 (9200 port) only ...
0
votes
1answer
63 views

Failover server for EC2

I have one Amazon EC2 instance of Windows Server which is running application with SQL server. Our users from On-premise use RDP to login into this server using Elastic IP and do their work. I want to ...
0
votes
2answers
69 views

How to find online support for Amazon Linux AMI

I am a beginner to Linux, but am currently deciding on a distro for my AWS EC2 web server. My question is how to find online support to Amazon Linux AMI should I decide to use it? I know that it is ...
2
votes
1answer
28 views

mdadm, raid1: write to multiple devs but read (mostly) from one?

Is it possible to prioritize which devices are for writes/reads in mdadm RAID1 setup? I'd like to write to both devices for fault tolerance (AWS EBS and local storage SSD), but read mostly from local ...
1
vote
1answer
49 views

How to install secrets safely on EC2 instances?

Context: Setting up an infra with some Auto-scaling groups and some non-scaling self-standing VMs. Some roles need secrets (private keys) which should be restricted to root or to specific users. ...
0
votes
1answer
35 views

EC2 instance rebooting after stop

I have an EC2 instance that I'm trying to stop by going to Running instances -> Actions -> Instance State -> Stop but after a few minutes it starts automatically. Is there a reason for this ...
1
vote
1answer
77 views

How to reverse-lookup an IP address back to a service?

I work for an organization that has tens of thousands of services deployed to EC2. One of these services is making requests to my server. I have its IP address, but I have no idea who it belongs to. ...