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
8 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" ...
0
votes
1answer
9 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 ...
0
votes
0answers
7 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
2answers
1k views

cannot connect to MS FTP 7.5 on Windows 2008 on Amazon EC2 instance

I have just installed the MS FTP 7.5 upgrade on my Windows 2008 Server (Service Pack 2) running on an Amazon EC2 instance. In the FTP Firewall Support settings for the server in IIS Manager I have ...
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 ...
0
votes
0answers
15 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 ...
1
vote
0answers
12 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
votes
0answers
10 views

How to recover from failed AWS CodeDeploy deploy when using ASG lifecycle scripts?

We just started using CodeDeploy with ASG and ELB, and we achieve zero downtime when we use register_with_elb.sh and deregister_from_elb.sh which are provided by AWS. Today I simulated a situation ...
0
votes
1answer
27 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
0answers
17 views

Synchronize local folder into folder on remote server Amazon EC2 using lsyncd ubuntu

I am straggling all day now trying to setup automatic synchronizing process folder from my local computer (Ubuntu 14.04) to my remote server (Amazon EC2) using lsyncd. This is the error message I ...
0
votes
1answer
33 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 ...
-1
votes
1answer
26 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
1answer
13 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 ...
0
votes
0answers
27 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 ...
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 ...
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: ...
8
votes
1answer
2k views

Can I SSH into my Amazon EC2 server instance if I don't have .pem file from when instance was created?

I am working with some Amazon EC2 servers that are up and running, and I need to SSH into the servers. I don't have any keys that were generated when the servers were first set up (someone else did it ...
0
votes
0answers
15 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
4answers
2k views

How to SFTP on Amazon EC2

I installed Amazon AMI 1.0 and logged in as ec2-user with key. Then I ssh and set a password with sudo passwd ec2-user But now when I connect via SFTP I get: Disconnected: No supported authentication ...
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 ...
-1
votes
3answers
48 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 ...
50
votes
5answers
66k views

How to delete Instances in Amazon EC2 ? Change Pair Key?

How to remove Instances ? I test some Instances and now I terminate it. So, I want to remove it. I can't find delete or remove action. I just found terminate. How to change the pair key ? I don't ...
6
votes
2answers
127 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 ...
17
votes
4answers
7k views

updates in amazon-ec2 ubuntu 10.04 server

I keep getting this message when I logged into my server in ec2 via ssh think this is called MOTD 43 packages can be updated. 22 updates are security updates. but I have already done sudo ...
0
votes
0answers
13 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
0answers
19 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. ...
2
votes
1answer
179 views

AWS Site-to-Site VPN and Remote-Access VPN Server using Pritunl

I was looking at the Pritunl Enterprise edition product and wondered if we could set up the following scenario using it: Our AWS environment consists of a number of VPCs in different AWS regions. We ...
0
votes
1answer
32 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
1answer
25 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
25 views

What Linux Kernel Versions are Acceptable for AMI Import to Amazon Web Services?

I have a stock image of Ubuntu Server 16.04 exported as an OVA from VirtualBox. After the proper permissions are set up to import that OVA into AWS EC2 as an image, and it's loaded into S3, the ...
0
votes
0answers
19 views

Tomcat instance inadvertently down in amazon ec2

I am running a tomcat instance in my ec2-instance, and it is frequently down for some reason. I checked the logs at {tomcatinstance}/logs/ , like catalina.out, localhost*.log, myapplication.log; but ...
-2
votes
1answer
30 views

MySQL Issue with Wordpress Running on EC2 Instance

This past week, my Wordpress site that's installed on a EC2 instance has become unresponsive and began displaying the message "Error establishing a database connection." I eventually discovered that ...
1
vote
1answer
29 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
34 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 ...
2
votes
2answers
50 views

Amazon Lambda for video and image processing?

The service I am building the architecture for has a video processing part in it. Basically, some people can upload videos (stored in S3) that will be split into frames with high resolution. From ...
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 ...
0
votes
0answers
20 views

Amazon ec2-bundle-vol - unbootable image

Here are the steps I've done: Source: Enterprise Linux 6 running on EC2 Target: Centos4 Image to run on EC2 Created a new 10GB volume, with ext3 FS and mounted on /centos4 Created directories for ...
0
votes
0answers
29 views

clamav installation with pcre in Amazon Linux

When we install ClamAV in our Amazon Linux ElasticBeanstalk instance with yum install clamav it gets installed without PCRE support, although the libraries are present in the instance. LibClamAV ...
0
votes
2answers
34 views

Recovering an EC2 instance

I was running an ubuntu EC2 instance for about an year and I lost SSH connectivity to it after installing the latest updates. I was running a Rails application with automated capistrano deployment ...
0
votes
1answer
34 views

Moving Data to Amazon EC2

I've got an Amazon EC2 instance running and I'm trying to move files from another web server to the EC2. I'm using wget on the EC2 to fetch and 30GB Zip file. It's running at 100KB/s to 150KB/s on ...
0
votes
0answers
11 views

why is ifcfg-lo renamed to vmimport.ifcfg-lo when importing a linux image to AWS EC2?

I notice that when importing a linux image to EC2 via vmimport, the file /etc/sysconfig/network-scripts/ifcfg-lo will be renamed to vmimport.ifcfg-lo, which results failure in local traffic, i.e. you ...
23
votes
2answers
17k views

AWS, Bandwidth and content delivery

My question is about Virtual Machines and delivering their content over the servers connection to the internet. I have an Ec2 windows instance, and its network connection appears to be 100mbps If I ...
0
votes
0answers
37 views

AWS Encrypted EBS Boot Volumes for Windows Instances

Is it possible to create an encrypted ebs boot volume for a windows ec2 instance? This AWS example shows how to copy an unencrypted boot volume, creating an encrypted boot volume: aws ec2 copy-image ...
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 ...
0
votes
1answer
28 views

enable to access public dns in browser amazon aws

I am a newbie here in this server and networking things. I have signed up in amazon aws and went through some basic documentations. There I could create security groups, instance, and web servers. I ...
12
votes
2answers
20k views

How can I upgrade to Java 1.8 on an Amazon Linux Server?

I tried sudo yum update but it just keeps java "1.7.0_75". I need 1.8 for it to work with another application but can't figure out how to upgrade it. Do I need to manually install it somehow? There's ...
1
vote
1answer
46 views

Can connect to port 80 only in EC2 instance

I started an EC2 instance and am trying to listen to different ports now. But I can connect only through port 80, ie., i can access the server through the elastic IP, telnet ONLY to port 80. Telnet ...
0
votes
0answers
41 views

Unable to RDP into new and old Windows instances

Since this morning, I'm unable to RDP into my new and old Windows EC2 instances. Below are the things I have tried already: I've tried creating instances using: a. Windows Server 2012 R2 Base b. ...
0
votes
1answer
79 views

How to install mariadb on amazon linux

I referred to the link https://blog.adminfactory.net/mariadb-and-galera-on-aws-amazon-linux.html to install the mariadb on my amazon linux, since I did not find any other resource related to amazon ...