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
48 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
2answers
36 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
35 views

Moving Data to Amazon EC2 [closed]

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
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 ...
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 ...
0
votes
0answers
71 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
30 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 ...
0
votes
0answers
44 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
0answers
26 views

How can I copy an AMI between regions in AWS?

We are having difficulty copying an AMI we have created in our California VPC to our Oregon VPC as the AKI and ARI are not available in Oregon. The AKI/ARI we are using in California are as follows. ...
0
votes
2answers
19 views

Unable to browse tomcat from web browser in EC2

I have configured Security Groups, my tomcat is running in 8080 port. But I am unable to browse from web browser. Please anyone there to help me ? Public IP is : 52.39.220.183 When I do curl http://...
0
votes
0answers
26 views

Auto associate an elastic ip to a ec2 instance started by ecs task

There is a way to auto associate an elasticip to an ec2 instance that was started by an ecs task? I'm trying to create a mongodb cluster with replicaset (3 nodes) and I would like to "plug" a new ec2 ...
0
votes
1answer
23 views

How can I ensure auditability and least privilege based on AWS users inside an EC2 image?

I'm interning at a company which runs in an AWS environment and is starting to look into locking down user privileges, so I'm looking into ways to secure EC2 instances. Specifically, I want to find a ...
0
votes
1answer
190 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 ...
0
votes
1answer
48 views

Mysql DB can't establish connection

I run a viral news site, it's running on a 30 dollar digitalocean vps currently, with wordpress and apache. The other day my post went viral and i was getting 250 pageviews per minute. After a ...
0
votes
1answer
28 views

ec2 instance time drift

Recently I've encountered 2 instances which are in a VPC that have time drifted issue. What I've noticed is that the time servers does not have * and + prefix compared to another instance with ...
1
vote
1answer
22 views

New instance registering with ELB too soon, how can CI signal if instance provisioning was successful?

I am using CloudFormation template that creates launch configuration and auto scaling group. User data script for this launch configuration calls CI web-hook to deploy application into this instance. ...
1
vote
1answer
51 views

Installing SSL Certificate

I am trying to install an SSL certificate on my Apache server that's hosted on an EC2 instance from AWS. I originally intended to go with AWS Certificate Manager and put the SSL on a Load Balancer but ...
-1
votes
2answers
38 views

How to list ec2 instance using aws cli [duplicate]

How can I get the list of amazon ec2 instance using aws command line tool? I checked various available commands but could not fount one suitable for this purpose.
0
votes
0answers
22 views

AWS EC2 Instance Metadata service fails to respond

Environment, system details, and tools: AWS EC2 EC2 Instance Metadata service (i.e. http://169.254.169.254/latest/meta-data/) Cloudwatch wget bash Ubuntu 14.04 Has anyone ever seen this? We have a ...
1
vote
1answer
48 views

Confusion about Amazon EC2 and S3

Planning to host a PHP website with MySQL DB in Amazon Web Services, which AWS components should I choose? The website is just a dynamic website with a custom CMS, though a large amount of data are ...
2
votes
1answer
43 views

AWS - How to limit outward traffic amount? [closed]

I want to exploit the AWS free tier to learn and do some personal projects. However what worries me is the bandwidth limitation. Specifically, the AWS free tier FAQ states that "15 GB of bandwidth out ...
0
votes
1answer
36 views

Why does an AWS EC2 instance need public and private DNS?

I am creating my own VPC and was reading some documentation. AWS documentation for DNS with VPC (click here to view) says To enable an EC2 instance to be publicly accessible, it must have a ...
0
votes
2answers
53 views

How to get public IP of instance in CloudFormation template when using LaunchConfig

I have a CloudFormation template with LaunchConfig. In UserData I need to reference public IP of the instance being created. I wanted to use Fn::GetAtt, but it requires logical name and I'm not sure ...
0
votes
2answers
57 views

How can I get the VPC CIDR range from within an AWS Instance?

I'm trying to programatically set the routes that a vpn should push to clients, one of the main ones being the VPC network. Is there a way to get the VPC CIDR block from within my vpn instance?
0
votes
1answer
30 views

Adding a second SSL for a second domain on a server - second domain is still using the first SSL Cert

I need to add an ssl cert to a second domain on my server (AWS Amazon Linux) I thought I enabled SNI correctly? although probably not... domain1 already has a functioning SSL cert. First attempt I ...
0
votes
0answers
48 views

Is it Possible to Configure Receive-Side Scaling on an EC2 Instance Running Windows Server 2012 R2

Currently, I am experiencing some problems on getting a server to run efficiently on an EC2 instance. On my local machine everything runs as expected, but on AWS the servers experience some latency, ...
0
votes
0answers
25 views

Amazon EC2 openVPN instance connection issues

Currently trying to connect to an openVPN server set up on an EC2 instance that is also running a web application. My client establishes a connection with the server and I can ping the gateway (10.8....
2
votes
1answer
80 views

Laravel EC2 Nginx PHP 7 scripts downloaded instead of executed

The php scripts are downloaded on Amazon ec2 server with nginx installed instead of being executed. This is my nginx conf file: user nginx; worker_processes auto; error_log /var/log/nginx/error.log; ...
0
votes
0answers
37 views

ERR_CONNECTION_REFUSED Amazon EC2 instance with node.js backend

I have a website running in Elatic Beanstalk. In default-environment url, it is working totally fine. But, when I try to access it with my domain from GoDaddy it is showing ERR_CONNECTION_REFUSED. I ...
1
vote
1answer
44 views

Drive not showing up in EC2 Console, but shows up when I do lsblk

I've inherited a sever that lives on EC2. When I do the following: lsblk I get: xvda 202:0 0 40G 0 disk └─xvda1 202:1 0 40G 0 part / xvdb 202:16 0 30G 0 disk /home/dbt ...
-4
votes
1answer
35 views

AWS security concerns

I need to have a freelancer I hired to access an aws ec2 instance to set up an env on the host. What security I need to set up on that host and aws console so that he will not destroy my system and ...
0
votes
2answers
35 views

Does upgrading a server improve performance on low traffic site?

I wish to use migrate to a Amazon's AWS EC2 instance for a basic Wordpress site running woocommerce. However, I am torn between t2 and m3 instances: https://aws.amazon.com/ec2/instance-types/ My ...
1
vote
1answer
85 views

Can't send mail from amazon ec2 instance

I am using an Amazon EC2 instance for two projects which have their own domain name. I need using mail services so I created two email accounts on Zoho and I have been able to receive emails from my ...
0
votes
1answer
90 views

all of a sudden can't connect to aws ec2 instance (Server unexpectedly closed network connection)

everything waas working great with my instance, and all of a sudden i can no longer connect thru ssh or sftp, with an error "Server unexpectedly closed network connection". My colleagues have the ...
0
votes
1answer
34 views

How to avoid duplicate scale-in with step scaling policy?

With EC2 auto scaling, when using a step scaling policy (as opposed to a simple scaling policy) that scales in due to an alarm that is based on an AWS/EC2 metric (e.g. CPUUtilization <= 30%) with ...
0
votes
0answers
28 views

Webserver always too slow in AWS EC2 instance

I started a simple python server on port 4444 in one of my ec2 instance.and tried to access it by curl. It takes more than 5 seconds for server to respond. Below is the tcpdump output on port 4444 ...
-1
votes
3answers
53 views

Permission denied (publickey) for my AWS EC2 instance from another computer

I have a public key file say dummy.pem and i copied this to another computer from where i need to access my EC2 instance. But it says @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ ...
0
votes
3answers
45 views

How to add IP to EC2 firewall

We run a number of different servers that are hosted in a local data centre however our Dev server is hosted on AWS and I'm having trouble accessing it. The EC2 server is running a LAMP stack, I can ...
0
votes
0answers
28 views

Can't connect Cisco 2621 to AWS EC2 Openswan site to site vpn

I am configuring Site-to-Site vpn between my home Cisco 2621 router and Amazon EC2 instance running openswan. I keep on getting the following message on the openswan server: " NO_PROPOSAL_CHOSEN " My ...
0
votes
1answer
38 views

One domain, multiple apps, multiple load balancers on AWS?

The current setup looks like On a single EC2 instance, foo.web http/https traffic is handled by nginx, and routed based on: foo.web/bar/* requests are handled by app #2 all other foo.web requests ...
1
vote
4answers
150 views

How to determine AWS EC2 network performance?

I am using an AWS EC2 Ubuntu instance that was set up and configured by someone else (i.e. I do not have access to the management console). This instance is primarily used to download files and sync ...
1
vote
1answer
26 views

Why is there a delay with executing queries on my RDS instance

I have an application running on an ec2 m3 instance and mysql running on an dRDS instance. They're both in the same, region, VPC hwoever they appear to be in different availability Zones. The issue ...
0
votes
1answer
76 views

how to install bittorrent sync on amazon ec2 using nginx

I have been trying to install and configure bittorrent sync on ec2 instance running ubuntu 14.04 and nginx. I have followed this article https://www.digitalocean.com/community/tutorials/how-to-use-...
1
vote
1answer
50 views

auto instance type changer for amazon ec2?

Basically, I'd like to take large and x-large instances on EC2 and have them scale down to smalls during the late hours and on weekends automatically. A few minute downtime wi. I think this would ...
0
votes
2answers
113 views

Ubuntu 14.04 HVM on EC2 t2.medium

I've searched everywhere but can't find a definitive answer: Is there an official Ubuntu 14.04 AMI for HVM that runs on T2.medium? (Or T2.any, actually) It looks like the answer is "no". So the ...
0
votes
0answers
11 views

Linux “free” command gives different answer than AWS Memory Metric [duplicate]

When I run a "free -om" on our Linux server (hosted on Amazon), the total available is 7,483 MB and the used is 7,125 MB for a 95% usage. But the Amazon MemoryUtilization statistic shows 73%. Why the ...
0
votes
1answer
40 views

Handling highly CPU intensive process on server

I have a Windows server machine on Amazon EC2 (m4.2xlarge) which handles web requests, does some processing using an app A and returns the results. Problem is, this app A is highly CPU intensive and ...
0
votes
1answer
47 views

Amazon EC2 Snapshot corrupt

The snapshots for one of our AWS volumes are corrupt. We use these snapshots as backup, and in the past they have been a great help. (NB: This is not our only backup method!) A corrupt snapshot is ...
1
vote
0answers
32 views

How can I set up mongodb to scale it quickly on AWS

I want to deploy a database using mongodb on AWS, and I think this database will receive a lot of data making necessary to think on the possibility that one server is not enough, so my questions is: ...
1
vote
1answer
46 views

Unable to access Amazon EC2 Centos 6 web server with Elastic IP

I'm new to linux and AWS. What I've done: 1. I've setup a Centos 6 instance from the AWS store. 2. I just installed the web server and configured the web server with the basics. 3. I've setup the ...