Amazon EC2 (Elastic Compute Cloud) is a web service that allows users to rent virtual computing capacity on which they can run their applications.

learn more… | top users | synonyms (1)

8
votes
3answers
5k views

how to make salt-minion generate new keys

I am playing around with salt and what my problem is launching instance from Amazon EC2 AMI results minion keys being the same. How do I refresh individual minion to get it's new identity (key)?
-1
votes
0answers
10 views

How can I permanently add virtual spot request server@amazon AWS to Teamviewer account?

I want create AMI image on Amazon AWS, which I want run on spot request instances. I need to connect to these instances (in one moment is always running only one) through TeamViewer. But every time I ...
7
votes
3answers
5k views

How do I change the resolution of an Amazon EC2 Windows Machine?

(I debated between posting this here, ServerFault, and StackOverFlow. Settled for this. Hopefully it's in the right place.) We run our UI testing suite using Selenium Grid 2 with an Amazon EC2 ...
-1
votes
0answers
11 views

Fatal: Network error: Software caused connection abort in psftp in cmd

i have already set connection keep alive 20 seconds in putty this psftp has opened connection with around (225 minutes) 3.75 hours when it opened for around 3 hours, i start to download a file, then ...
1
vote
0answers
244 views

Python taking too much memory on server,

I have a running EC2 instance on amazon AWS. and some time server gives me the memory maximum utilization above 97%. When i saw my server stats on newrelic That showed me the below running processes ...
9
votes
3answers
23k views

getting my domain name to point to my amazon ec2 instance

I'm trying to get my godaddy.com domain name pointed to my Amazon EC2 instance and am having some difficulty. I created a hosted zone for my domain name on route 54 and set the namesevers up as the "...
0
votes
1answer
28 views

Unable to mount Elastic File System on EC2 (mount.nfs4: Connection timed out)

I am trying to mount an EFS file sytem on an EC2 instance. Here is what I'm doing: Connect to EC2 instance using ssh -i "MyKeyPair.pem" ec2-user@ec2-52-39-14-85.us-west-2.compute.amazonaws.com. ...
0
votes
0answers
11 views

Downgrade linux kernel on EC2

I'm on an ubuntu 14.4 ec2 box. I need to downgrade the kernel version from 4.2... to 3.13... Can this be done? I don't understand what access I have to the bootloader, whether GRUB runs as normal, ...
0
votes
1answer
21 views

How to guarantee AWS EC2 snapshot restore time?

How to reproduce: At hour 0, take a snapshot of a 100GB disk. At hour 12: Create a new EC2 instance. Create a volume from the snapshot. Attach the new volume to the new instance. Leave the ...
0
votes
2answers
24 views

AWS EC2 Security Group rules: is specifying a security group as a source not considered more permissive than a specific IP address?

I wasn't sure if this is the right sub-StackExchange for this question so feel free to boot me somewhere else if need be. I am trying to work with two EC2 servers: one is a "workstation" and the ...
1
vote
1answer
41 views

Getting error “CreateStack failed: Size of the instance” when trying to launch g2.2xlarge on EC2

I'm tryign to launch a g2.2xlarge instance on EC2 from N. Virginia (us-east-1). I'm using an AMI which works on the older cg1.4xlarge GPU instance type. At the final stage of the creating a stack ...
0
votes
1answer
88 views

Would be great to send a large file to AWS EC2

Background: I have battled to install an rstudio server on AWS EC2 for some time (since November). It has been like the peeling back layers of an onion, always another hurdle. For a windows user ...
0
votes
0answers
10 views

How to configure AWS EC2 user data values and bash script

When launching a AWS EC2 instance, you can give a user data string that is interpreted either as key, value pairs with some configuration variables, or as a bash script, if it begins with a #!/bin/...
0
votes
1answer
9 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
0answers
16 views

AWS Bitnami Tomcat Stack: Connection refused on :8080

I installed KIE Server and Drools Workbench following this tutorial on an AWS EC2 instance based on a ready to use Apache Tomcat stack by Bitnami. The installation went well and so I'm able to start ...
0
votes
0answers
13 views

AWS EC2 Instance SCP: tput: No value for $TERM and no -T specified

Hello SuperUser Heroes, I have been using my system's terminal (Mac OS X El Capitan) and have never had issues with it. Today, wanted to upload some folders to some EC2 machines (which I used to do ...
0
votes
2answers
33 views

What does it mean On-Premises and Colocation? What is the difference between them

Sorry that I am not familiar with the Amazon Web Services (AWS). I saw these words when I read this document on AWS. But no sure what exactly they mean. So I put my understanding here. Hope get some ...
0
votes
2answers
74 views

How to fix broken “etc/sudoers” ownership on EC2?

Backstory: I was trying to get PHP to execute node, but ended up changing permissions / ownerships on probably more files and folders than I should of. At one point I stumbled upon someone's ...
0
votes
2answers
1k views

“Guest-specific operations were attempted on a machine that is not ready for guest communication.” exception when provisioning an AWS EC2 machine

I have used vagrant up to create a AWS EC2 instance. After I have stopped and restarted this instance, I want to rerun vagrant provision with updated provision clauses in the Vagrantfile. It failed ...
1
vote
1answer
37 views

Quickest way to set up a HTTP/2 webserver on Amazon EC2?

I'm looking to do some testing with HTTP/2 on Amazon EC2 and am wondering what the quickest way is to set up such a temporary server there. I was hoping that there would be some ready-to-go AMI ...
0
votes
1answer
45 views

Silent error when Terraform deploys to ECS

I’m new to Terraform and having problems setting up a very basic configuration. I want something that brings up my “docker-whale” image. From looking at Hashicorp and AWS docs, it seems I need an “...
0
votes
1answer
310 views

How to get list of ELB's in AWS using python boto3

Hi all I am new to python and AWS. I have been trying to get list of ELB in AWS using python boto3 and found that the limit is exceeding since their are a lot many nos. of elbs. Hence for the reason ...
1
vote
1answer
34 views

Unable to import my vmdk to EC2 [duplicate]

I am trying to import my vmdk to EC2 as a instance using S3 bucket I am using this syntax ec2-user@ip-10-0-x-x ~$ ec2-import-instance disk1.vmdk -f VMDK -t m1.xlarge -a x86_64 -b import-raj -o ...
1
vote
1answer
2k views

How can I import a VMDK disk image to an AWS EC2 t2.micro instance on us-east-1e region using an S3 bucket on us-east-1?

I've recently purchased a reserved EC2 micro instance on region eu-east-1e. I am having trouble importing a virtual machine using ec2-api-tools: ec2iin -t t2.micro "CentOS 7 x86_64-disk1.vmdk" -g my-...
1
vote
1answer
59 views

Can I install EC2 Amazon Linux OS on virtual machine?

I have few questions that I cannot find on google in my first hour of research Can I download and run any Amazon Linux os on my local machine? If yes then from where I can download this? and can I ...
1
vote
2answers
2k views

can I create a symlink from an ec2 disk to S3 bucket?

Is it possible to create a symlink from a file on the local disk of a Windows machine in ec2 so that it is actually stored in an S3 bucket? MSMQ wants to write our queue to a local disk and this ...
0
votes
0answers
26 views

Can't point Dreamhost DNS to Amazon EC2 instance

I first created a hosted zone on Amazon Route 53, and the config is as follow: example.com A 52.xx.xxx.xx example.com NS (already given) example.com SOA (already given) www.example.com CNAME example....
2
votes
2answers
71 views

Feasiblity to host Tor Hidden Service in Amazon EC2?

It seems that it is possible to host a Tor Hidden Service (like an Onion website) in Amazon EC2, but is it feasible to do so? Is Tor allowed to run in Amazon network service? Assuming I use Ubuntu ...
0
votes
0answers
30 views

AWS Ec2 sending out > 10TB a month

I have received some alerts from AWS that my instance is sending out large amounts of data to some websites. Close to and greater than 10TB a month. I have wordpress and apache installed on this ec2. ...
0
votes
1answer
45 views

Location of Server Document Root for Bitnami Ghost AWS Install

I have just installed Ghost Powered by Bitnami for an Amazon Web Service EC-2 instance. I'm trying to figure out where to place fonts so that they are in the "root" of my webpage. E.g: myhost.com/...
1
vote
1answer
47 views

Is it free to transfer data into an Amazon AWS EC2 instance? [closed]

I can't find a good price overview for the costs of transferring data into Amazon EC2 nodes. According to the price calculator linked below it is apparently free of charge to transfer any amount of ...
0
votes
0answers
52 views

EC2 Windows Server connection fails on VPN connection

I have an medium tier EC2 Windows Server 2012 R2 instance. It's just updated. I'm connecting to it through the latest Microsoft Remote Server on OS X 10.11. When I am connecting the instance to the ...
0
votes
0answers
7 views

Better AWS framework for scale out for both app servers and DB servers

This is my previous project's structure. As you can see the App servers could be scalabe very well but the DB server could not be scale up or out. Therefore I redesign this new scheme for a new ...
0
votes
0answers
25 views

Need to tunnel a AWS server using port forwarding

I am having a AWS server and I am connecting through a AWS router. I gave the example here, ssh -i ~/ecserver.pem ec2-user@ip -p 2222 Now I have to create a tunnel to the server for 9093 port in ...
0
votes
0answers
49 views

aws linuxAMI crontab ec2 to s3 backup command not working

I am new to Aws Platform and was trying to get Hands on experience on Command Line... but when i was configuring installed wordpress site...and syncing it to S3 bucket.. and for that my instructor was ...
0
votes
0answers
29 views

Getting “rpm: -–import: unknown option” when tryihng to import public key on Amazon Linux

I’m tryhing to install Google Chrome on Amazon Linux using this site — , and one of the steps is [davea@mydevbox ~]$ sudo rpm -–import linux_signing_key.pub Unfortunately, when I try this, I get ...
0
votes
0answers
26 views

How do I choose the right AWS EC2 instance type?

I read the AWS blog Choosing the Right EC2 Instance Type for Your Application, but I am still not sure how to choose the right one in terms of the cost-performance. I have several WordPress running ...
0
votes
0answers
12 views

Cloud service to on premise file sharing optimization

On AWS I have Windows 2012(file server) & Ubuntu(ipsec vpn) E2C instance. On premise I have a Ubuntu Server(file server & ipsec vpn ). What options do I have in order to optimize sharing ...
0
votes
0answers
12 views

Devicemapper Eating Up Storage

I have a Docker container running on an EC2 instance that writes a lot temporary JPG images. This is all happening within the context of processing jobs on a Resque queue. The issue is that after ...
3
votes
1answer
3k views

EC2 GPU Instance on Windows

I am having a lot of trouble installing CUDA Toolkit on Amazon EC2 GPU Instances. I tried using the HVM Windows 2008 Server AMI from Amazon and also the NVIDIA GPU image both launched on g2.xlarge ...
0
votes
0answers
16 views

How do I connect my AWS server to a VPN?

I have an AWS server that I SSH into. When I follow the steps to connect it to a VPN (using openVPN) as if it were a local machine, as soon as the connection occurs, my SSH connection no longer works. ...
2
votes
0answers
61 views

Why would a new EC2 East instance take me to www.google.com.tw?

I set up an EC2 instance in the U.S. East (N. Virginia) region. It's a Windows Server 2012 instance, and the very first time I visited Google in Internet Explorer, I got redirected to google.com.tw. ...
1
vote
0answers
37 views

Amazon ec2 instance w/ atached volume permission denied with sftp

I made an extra volume and then attached it like this... sudo mkfs -t ext4 device_name sudo mkdir mount_point sudo mount device_name mount_point The mount point was in my home directory as well. ...
2
votes
2answers
1k views

Issue with key pair while connecting to AWS EC2 Instance

I am trying to connect via ssh to my RHEL EC2 Instance, from a Linux Mint computer, and when I run this command: ssh ec2-user@SERVER_IP_ADDRESS I get this error: Permission denied (publickey,...
3
votes
2answers
3k views

Can phpMyAdmin be used to connect to a remote database?

I recently read this tutorial, which explains how one can easily reconfigure a local installation of phpMyAdmin to connect to a remote database. The functionality seems to be supported, but not ...
2
votes
1answer
3k views

Amazon EC2 prompt password when sudo

When I log into an ec2 instance via ssh using keypair (logged in as ec2-user user), I am able to execute sudo commands without typing a password. How can I configure ec2 instance to prompt for a ...
2
votes
1answer
567 views

Make hidden folders invisible sftp

My client needed sftp server for sharing files, so I created sftp server on a amazon ec2 ubuntu machine and added different users. Now their need is when user login to sftp server either via winscp ...
0
votes
1answer
26 views

Access hosts in different sites

I want to connect different hosts that are in different sites in EC2, in a way that they can communicate with each other. I know that there is VPC and it is used when you want to use IP sec tunnels. I ...
0
votes
1answer
75 views

SSH Permission denied (publickey)

I have 2 EC2 instances (ip-172-30-0-196 and ip-172-30-0-194). But I can't do ssh from 194 to 196, and vice-versa. The ssh error from 194 is here. Both hosts have the ssh files with the same ...
0
votes
1answer
35 views

Transfer file from local machine to port forwarded machine

I have to transfer a file from my local machine to remote server 2 from remote server 1. I have port forwarded the remote server1(Amazon Ec2) port 2222 to remote server2(Amazon Ec2). I am connecting ...