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

learn more… | top users | synonyms (1)

-1
votes
0answers
29 views

Access AMI using public DNS

I am trying to run RStudio on EC2. For this I obtained an AMI ami-c78875a7 from community AMIs. In EC2 console, I can see that my AMI is running, but I still cannot access it using public DNS. How ...
0
votes
1answer
54 views

Amazon route 53 + cloudfront + s3 -> with angularjs2 app in ec2

I am really confused about the setup I need for my angularjs2 app. It's simply a SPA application with html5 mode urls and all I want is: requests to www.mydomain.com/blabla... will be redirected ...
0
votes
0answers
7 views

cloud-init fails to reboot server

I am launching CentOS 7 EC2 instances in AWS and have the following cloud-init config: manage_etc_hosts: true package_upgrade: true final_message: "The system is ready after $UPTIME seconds." ...
1
vote
0answers
9 views

Setup email for specific domain using EC2 and Route53 [closed]

I've set up postfix running on an EC2 instance with myhostname and mydomain changed appropriately. I've also made sure that my A and MX record are pointing to the EC2 instance. However, when I send ...
1
vote
1answer
62 views

Keepalive setting for Gunicorn behind ELB without Nginx

Our app's REST API is served by Gunicorn (not behind Nginx) running on AWS EC2 instances with a typical auto-scaling/load balancing setup. The load balancer's idle timeout is 60 seconds, and Gunicorn'...
1
vote
0answers
35 views

I'm struggling to install darkstat on an Amazon EC2 server running Amazon Linux. Any tips?

Hello and thanks in advance for reading through this question. Disclaimer: I'm still quite a newbie when it comes to managing a server. I'm running an Amazon EC2 server (which is running Amazon Linux) ...
0
votes
2answers
56 views

How do I cancel previous PPK file of amazon ec2?

I am in a big problem. actually I have given server details to third party extension support, in which I have provided them SFTP host xx.xx.xx.xx and username as ubuntu and PPK file. Now I want to ...
0
votes
0answers
15 views

AWS Windows SQL EC2/EBS application consistent snapshot

Has anyone found a way to take a EBS snapshot for a Windows Server that maintains Application Consistency? In my case it's with SQL and I'd like to maintain SQL app consistency. Either via quiescing ...
1
vote
0answers
20 views

ProxyPass on Amazon EC2 behind a load-balancer

I am using ProxyPass on my local machine with following directive in apache conf and it works fine: ProxyPass /v2/ http://localhost:1337/ I need to do the same on Amazon EC2 instances which are ...
0
votes
1answer
24 views

Sysprep for EC2 instances

AWS' documents on creating a custom image reference using sysprep as one of the steps in the creation process. They don't actually specify if it's a required step or if it is run automatically as ...
0
votes
1answer
35 views

Identifying Traffic from Amazon to EC2 Instance

I have an EC2 instance behind CloudFlare and whilst utilising the flow log to ensure any traffic that isn't coming from CloudFlare is being blocked, I saw requests coming from an Amazon IP which is in ...
0
votes
1answer
23 views

how to map my app to my domain in AWS

I am very new to AWS. I have a java app which runs in AWS instance and I am able to run that using following myIp:8080/myApp Also I have my domain (mydomain.com) registered with S3bucket, Now this ...
0
votes
2answers
29 views

How to allow inbound traffic for internal machines only on EC2?

I have an EC2 machine with Elasticsearch installed. I need to get port 9200 open so other internal machines on the same region could access this port. I have no intention to keep this port open ...
1
vote
1answer
22 views

Why is an EC2 AWS instance showing an extra block device?

I'm using aws cli's autoscaling to create EC2 instances. Despite only having two device mappings in my launch config, the resulting instances have an additional device. The pertinent map Json: "...
0
votes
0answers
18 views

Best practice/way to manage Elasticsearch cluster nodes in EC2 cloud with Ansible

I have to deploy cluster for production environment in EC2 cloud and want to be able to: 1. Remove/Add nodes from/to cluster 2. Assign roles to nodes (dedicated master node, data node, and client ...
0
votes
1answer
15 views

Can't connect (RDP) to Amazon EC2 instance after making changes to allowed cipher suites

In an attempt to get a better SSL Labs rating on an Amazon EC2 instance, I made changes to the allowed Cipher Suites on my Windows Server 2012 R2 EC2 Instance. After making the change, I rebooted the ...
0
votes
2answers
58 views

Cron is retrying a job every 15 minutes

I have an Amazon Linux AMI with this in crontab: 0 7 * * 1 root /usr/bin/wget -q http://localhost/digest_weekly.php -O - >> /var/log/digest_weekly.log This calls the script digest_weekly.php ...
1
vote
4answers
50 views

How can I multiattach EBS volumes to more than one EC2 instance?

For using a cluster filesystem like OCFS or sharing read-only data between machines, one needs to attach the same SAN volume/LUN to multiple servers at the same time. How can I do that with EBS ...
-1
votes
1answer
25 views

error on ec2 volume mount

Am getting the following error while trying to mount a ec2 volume [ec2-user@ip-172-XX-XX-XX-XX ~]$ sudo mount /dev/xvdf /mnt mount: /dev/xvdf is write-protected, mounting read-only mount: unknown ...
0
votes
0answers
62 views

AWS hosted website: Connection Reset & Connection Timed Out Errors

I am facing an issue on my website since the last one month. There are intermittent 'Connection Reset/Connection Timed Out' errors. Screenshot: Sometimes the website works fine, most of the other ...
0
votes
0answers
46 views

Roundcube: AUTHENTICATION PLAIN: Authentication failed

I installed Postfix, Dovecot, Roundcube, Postfixadmin on Amazon EC2 Linux. I configured Postfix, Dovecot, Roundcube and Postfixadmin one-by-one, and I can create new mailbox via Postfixadmin. However,...
-1
votes
1answer
32 views

Add new email user in Dovecot

I installed Dovecot 2.2.10 & Roundcube in Amazon Linux (apparently it's a CentOS variant). If I want to add a new mailbox (e.g. info@mydomain.com) to IMAP, how do I add this mailbox? I read from ...
0
votes
0answers
28 views

AWS private hosted zone setup

I'm trying to set up a pair of VPC peers on Amazon. One of the VPCs has been in use for some time, and the other is a new VPC I've just set up. As part of this effort, I've associated an existing ...
0
votes
0answers
13 views

How to upload a certificate to Amazon ELB?

I've generated the pem files for a new certificate which we recently purchased from comodo, using this link as a guide: "https://guillaumemaka.com/2015/05/06/install-your-comodo-certificates-to-amazon-...
1
vote
1answer
39 views

SSH - Permission denied (publickey) - AWS EC2 [closed]

I am using Bitnami for a Ghost blog. Trying to SSH into the server so I can make changes to the theme via text editor (Atom) and I am having issues SSHing into the server. (MacOSX) $ ssh bitnami@ec2-...
0
votes
1answer
20 views

Which is more cost effective: Amazon EC2 snapshot or AMI?

I have an EBS based Amazon EC2 instance (m4.xlarge) up and running. This one, say example has been in use for a while and is in a state that we would like to have for all our future instances. Which ...
0
votes
0answers
60 views

Shrink aws ec2 instance root volume (ubuntu 14.4)

I read from some link and applied these things lsblk xvda 202:0 0 32G 0 disk / = this disk attahced to new instance from old one xvdb 202:16 0 80G 0 disk /mnt xvdc 202:32 0 80G 0 disk xvdg 202:96 0 ...
0
votes
2answers
41 views

How to convert a unencrypted EBS to be encrypted

I have a number of older EBS volumes that are not encrypted. In satisfying new corporate security measures, all data needs to be "encrypted at rest" so I need to convert all of the volumes to be ...
0
votes
1answer
46 views

is it safe to create a snapshot of a volume of a running ec2 instance

I'm running a MongoDB Cluster on 3 Instances on AWS Each instance has 2 EBS attached to it - / [8GB] - /data [50GB] To backup a cluster MongoDB recommends to create a snapshot of the /data driver ...
0
votes
1answer
31 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....
0
votes
0answers
22 views

samba - EC2 instance - Samba share fail

I have two EC2 instance Windows server with ip : xxx.xxx.xxx.xxx Linux server with ip : yyy.yyy.yyy.yyy I also install and config samba server on Linux server ,smb service start normaly On Linux ...
0
votes
0answers
35 views

Shrink Disk aws ec2

I used this link for shrink Volume. (Ubuntu 14.4) https://www.thatsgeeky.com/2011/11/shrink-ebs-root/#comment-446979 I have completed all the steps I used dd command and 13 GB data copied on /dev/sdg ...
0
votes
1answer
33 views

AWS EC2 Describe Instances - Filtering by Multiple EC2 Tags?

I'm attempting to dynamically create a hosts file mapping with all my ec2 instance private ip's, to use as the /etc/hosts on my ec2 remote ssh server. I have instances tagged with their normal "Name" ...
1
vote
1answer
32 views

Updating AWS CLI on Ubuntu 14.04

I installed awscli on my EC2 instance using apt-get install. The version is still aws-cli/1.2.9 and no longer updates if I use apt-get upgrade awscli. The latest release from what I Googled is 1.10....
0
votes
1answer
44 views

Changing /etc/passwd in SSH User

I've got an Amazon EC2 instance running. It's an Ubuntu 14.04. I connect using Putty SSH. I use the key/certificates I got when I created the instance to authenticate my connection. This is all done ...
0
votes
1answer
47 views

Amazon EC2 Public IP vs. Public DNS

We have an EC2 running at Amazon. It has a Public IP and Public DNS. We use the Public IP in our domain records by creating an A record for www.example.com. Then the site becomes accessible. If we ...
0
votes
0answers
35 views

How to configure ELB load-balancer over HTTPS for two sites deployed to the same pair of servers?

I would appreciate immensely if you shed some light into what we might be missing or doing wrong. I am not completely in charge of the configuration, and I'm not an expert on the subject, but have ...
-1
votes
1answer
31 views

AWS EC2 Instance rejected public key

I just launched a AWS EC2 Image today, I got to authenticate successfully and I did the following changes: sudo yum update Install Oracle JDK 8_92 using wget Remove all other java options export ...
0
votes
0answers
25 views

Slow file transfer using eclipse Saros RTC plugin with an openfire xmpp server

I set an Openfire xmpp server on Windows Server 2012 R2, using Amazon ec2. When trying to share file over an IM client (such as Psi) the file transfer speed between two clients can reach over 1Mb/s, ...
0
votes
0answers
24 views

Getting a custom package to install properly on Elastic Beanstalk

I'm trying to get an elastic beanstalk worker environment set up, but one of the packages in the project's requirements.txt file comes from a private pypi server that I've got set up on EC2. I can ...
0
votes
3answers
53 views

Verifying the reason why people say it's not a good practice to let an app connect to your db directly

I'm working with postgre (AWS RDS) for my db and using node (AWS EC2) for server side. I'm just starting out so I don't have much context. I always used other third party software like Parse for DB so ...
0
votes
0answers
47 views

Configure SFTP with OpenSSH and an AWS S3 Bucket mounted via S3FS on Amazon EC2

How do I allow multiple SFTP Users with S3FS and OpenSSH? Everything works, except SFTP Users don't have permission to write to their Chrooted Home Directory: remote open("/some_file"): Permission ...
0
votes
0answers
15 views

Webserver failed after restart

I run my web server in AWS on Centos 6.3 version. Recently I had a restart, After then,No response from a web server when I pinged. I have already allowed HTTP port open. Still I don't get a response. ...
0
votes
1answer
37 views

AWS CLI describe volume attachment information

In AWS CLI I am trying to get the ec2 volume "Attachment Information" I see how I can find the Instance information, but this does not include the Attachment Information. The information I am looking ...
0
votes
1answer
49 views

EC2 with AWS CloudFront?

IN SHORT How do I connect to the nearest EC2 instances using CloudFront to achive geolocation based Content Distribution? I want to do a geo-location based content distribution, so that the end user ...
0
votes
2answers
37 views

Node.js app on ElasticBeanstalk cannot access private key file on server

I have a node.js application running on ElasticBeanstalk. Part of it's configuration is a path to a .p12 key file. When the application attempts to use the key file, a permission denied exception is ...
1
vote
1answer
39 views

Encrypt on jenkins or S3 and decrypt on EC2 instance

I want to automate the deployment of new code on my application using AWS CodeDeploy. I'm using AWS to run my application. What I want to do is the following: Build the application in jenkins (runs ...
0
votes
0answers
93 views

EC2 Cloudformation - userdata using powershell to retrieve powershell scrips from GitHub

I have a AWS cloudforamtion - whih build my entire VPC with subnets etc - within this CF builds a windows 2012 server - we want to bootstrap this server under user data so it become a domain ...
7
votes
2answers
193 views

Immutable Server model with Docker/Ansible vs. Ansible, Puppet, and Foreman in AWS?

We are running into an interesting argument and are falling into two camps. I'm interested in any particular problems with either idea or gotchas we might be missing. Really, anything that can help us ...
0
votes
0answers
11 views

nginx not working on AWS Ubuntu server instance [duplicate]

I am new to aws and server setups and all. I wanted to try out Amazon AWS, so I got an Ubuntu 14.04 instance. I installed nginx using sudo apt-get install nginx. When I used the public DNS AWS ...