Questions tagged [amazon-ec2]

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

Filter by
Sorted by
Tagged with
24 votes
5 answers
46k views

How do I Install Intermediate Certificates (in AWS)?

I have installed private key (pem encoded) and public key certificate (pem encoded) on Amazon Load Balancer. However, when I check the SSL with site test tool, I get the following error: Error ...
getmizanur's user avatar
22 votes
3 answers
62k views

How to start and stop AWS EC2 instance based on a time based schedule

Is there an easy way to start and stop AWS EC2 instances at a given time each day? This could save me quite a lot of money for my development and test servers.
Tim's user avatar
  • 32.7k
22 votes
4 answers
31k views

How to use "Instance Store Volumes" storage in Amazon EC2?

According to AWS I got 850 GB storage with the Medium EC2 server. But when i create an Amazon Linux AMI, I am unable to use the 850 GB provided. While creating it does show in Storage Device ...
rahulg's user avatar
  • 417
21 votes
2 answers
19k views

Is the Amazon EC2 instance id unique forever?

We're using amazon EC2 and we want to keep track of instaces. Is the Amazon EC2 instance-id unique forever? i.e. If a VM has an instance id of i-12345678 is there a guarantee that when that instance ...
Amandasaurus's user avatar
  • 32.3k
20 votes
1 answer
88k views

How to add user with SFTP/ FTP access to '/var/www/html/website_abc' folder on Amazon EC2 Centos?

Possible Duplicate: Linux directory permissions I'm working with some third-party developers and I would like to grant SFTP (or FTP) access to the root folder for a website they're working on i.e....
ericn's user avatar
  • 553
19 votes
4 answers
16k views

EC2 drive not EBS volume size

I have an EC2 instance which I created a 500GB EBS volume for. Unfortunately, the EC2 instance shows only 8GB available. I have only one drive, which is right. [root@ip-10-244-134-250 ~]# ls -la /...
Christian's user avatar
  • 789
16 votes
4 answers
13k views

Auto-Attach EBS-volume to a New Spot Instance?

I am experimenting with EC2 spot instances, and am needing some data to be retained between terminations. Now as I understand it, when the current price goes above my max. bid, it will be ...
Jeff's user avatar
  • 263
16 votes
1 answer
940 views

can't type lower cased e in amazon ec2 (Amazon Linux)

After a few days of operation on my new ec2 build, the following happens: I log into SSH, everything is fine, I do my coding I return the next day, and log into SSH I cannot type a lower cased e ...
Kato's user avatar
  • 263
13 votes
1 answer
8k views

AWS EC2 migration to new instance type with SSD Drives

I have MySQL running on an m1.xlarge instance with a 100GB EBS volume holding the data files. I would like to migrate to a m3.2xlarge instance and place the data files on the new 2 x 80GB SSD drives. ...
paiego's user avatar
  • 253
12 votes
2 answers
15k views

How to use Amazon Elastic IP?

I get a new elastic IP, I attach it to an instance, but it doesn't work? I can't ping the IP from my local computer either? Am I missing something here? How do I use Amazon Elastic IP? When is a new ...
001's user avatar
  • 491
11 votes
3 answers
3k views

How to cap bandwidth usage on AWS EC2?

I'm planning to use AWS EC2 for my web application and I need control over the bandwidth usage (don't want the instances to be compromised and ramping up bandwidth cost crazily). There are many ...
Style's user avatar
  • 113
10 votes
2 answers
9k views

Can Elastic Load Balancers correctly distribute traffic to different size instances

Just been looking into Elastic Load Balancers. As I understand it they just do round robin, evenly distributing connections to the servers behind them. So what happens if you have different size ...
Sean Bannister's user avatar
10 votes
2 answers
15k views

amazon aws - regional data transfer - in/out/between EC2 Avail Zones

can anyone say what this charge item is from the account activity? $0.010 per GB - regional data transfer - in/out/between EC2 Avail Zones or when using public/elastic IP addresses or ELB i launched ...
b0x0rz's user avatar
  • 197
10 votes
2 answers
8k views

Running Windows domain on Amazon EC2

It is possible to run Windows Server 2003 instances on Amazon EC2. I was wondering is it possible for one or more of these machines to be a domain controller and the other machines you run to be a ...
Shiraz Bhaiji's user avatar
9 votes
4 answers
9k views

Is it possible to move an AWS EC2 AMI from one region to another region and if so how?

I have an AWS EC2 AMI in the EU region. I want to move it to the US region. The root device type is EBS and the OS is Linux. Is it possible to transfer the image to the US region and if so how?
Jan Deinhard's user avatar
  • 2,403
9 votes
1 answer
12k views

Flush processes consume too much of CPU

The Server is EC2 Instance, it stands for saving files to NAS (NFS) from HTTPD. The processes like flush-0:32 consume over %90 of CPU and load average: 65.50, 64.02, 66.59. According the graph, it's ...
Roman Newaza's user avatar
7 votes
4 answers
31k views

Shared File Systems between multiple AWS EC2 instances

I have a couple of windows server instances running on Amazon EC2 and would like to make them a bit more fault tolerant by running a duplicate instance with load balancers. The problem is the ...
Simone Nigro's user avatar
7 votes
4 answers
4k views

Hibernating Ubuntu on EC2 instance?

I've got an application I'd like to move to EC2. It will likely spend more than half the day completely dormant, so I'm trying to come up with a good solution for starting and stopping it as needed. ...
Dan's user avatar
  • 351
7 votes
2 answers
2k views

Production deployment to EC2 with minimal downtime

I have a simple web application deployed on a large instance with EC2. I now want to deploy the latest code to this server but I want to do this in a way which minimizes downtime and is a smooth as ...
jensendarren's user avatar
7 votes
4 answers
12k views

Why are Amazon EC2 Elastic IPs encouraged to be used with a CNAME rather than an "A" record?

I am setting up a server on EC2 that will be used by people that will be freaked out when they see ec2-111-111-111-111.compute-1.amazonaws.com in the URL bar. I know this would be solved by using an ...
Canuk's user avatar
  • 183
6 votes
4 answers
14k 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 ...
TomSchober's user avatar
6 votes
2 answers
5k views

Restrict the visibility of EC2 instances using IAM accounts

I'm looking for a way to restrict the visibility ec2 instances to certain IAM accounts. I'd really like a way for a particular account to only be able to see the instances that it has created i.e. ...
sgargan's user avatar
  • 235
5 votes
2 answers
4k views

Elastic IP address on EC2 instance interface without 1:1 NAT

I have a basic Amazon VPC set up with a public and private subnet. I have deployed a Vyatta router in the public subnet that does NAT for the private subnet. I have an elastic IP address assigned to ...
OneMillionMiles's user avatar
5 votes
2 answers
4k views

Confused by Amazon EC2 Spot Price and On-demand price, help needed

I am a little confused by Amazon EC2 Spot price and on demand price. For example, an On-demand windows instance's price is $0.07 per hour. If I bid on the "spot requests", Do I put down price lower ...
Leon's user avatar
  • 153
5 votes
5 answers
3k views

Lock Windows Disk for Backup (EC2 Snapshots)

I'm looking for a way to flush all pending writes to disk in Windows, then buffer all future writes until a command gives the go-ahead. I'd like to flush SQL Server writes and Windows system writes, ...
Chris Moschini's user avatar
4 votes
1 answer
13k views

AWS SES: "Email address is not verified" error with Postfix relay

I've setup Amazon SES, verified my domain, and have been approved for Production mode. When an email from the outside world is sent to an address in my domain, my server forwards it back out to a ...
Russell G's user avatar
  • 153
4 votes
3 answers
10k views

Recover EC2 .pem file?

I just reinstalled my machine and forgot to backup my ec2 .pem file... Is there any way to download this again from amazon? I can't find it anywhere.
dan's user avatar
  • 333
4 votes
2 answers
3k views

Setup Domain with Amazon EC2

I have domain from name.com and I want to add in Amazon EC2 server. I got Public DNS ec2-xxx-xx-x-xxx.compute-1.amazonaws.com Can I add A-Record in this DNS ? When I add Elastic IPs , I can't use ...
saturngod's user avatar
  • 837
4 votes
5 answers
5k views

How do I enable IPv6 in RHEL 7.4 on Amazon EC2

Amazon provides instructions on how to enable IPv6 on RHEL 7 and Centos 7: http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/vpc-migrate-ipv6.html#ipv6-dhcpv6-rhel These instructions work on RHEL ...
Aram Hăvărneanu's user avatar
4 votes
1 answer
928 views

Is it possible to obtain a copy of Amazon Linux for use outside AWS

How difficult (if at all possible) would it be run a copy of Amazon Linux on a private physical server or hypervisor (Virtualbox/KVM) ? (I am thinking something based in a office/home) I realise it ...
James Butler's user avatar
3 votes
1 answer
20k views

How do i view / enable kernel logs on an ec2 instance (amazon linux)?

I've got a amazon ec2 server that i'm playing around with TCP settings in the sysctl.conf to increase the number of concurrent TCP connections it can handle, and i want to be able to view the kernel ...
Chris's user avatar
  • 1,261
3 votes
2 answers
10k views

Conditionally rewriting From and Reply-To headers in Postfix

I've got a web app running on Amazon AWS and it's using Amazon SES to send emails. One of the things I really want this system to do is to be able to forward emails to certain addresses from anyone ...
bratsche's user avatar
  • 133
3 votes
2 answers
2k views

How to setup a domain that doesn't use www prefix on Azure/EC2

Suppose I have a domain, foo.com where I have a series of pages like foo.com/123 and foo.com/456 etc. I want to use the domain and provide links without a www prefix. These pages also will have ...
TMC's user avatar
  • 141
3 votes
2 answers
2k views

amazon ec2 instance gets timed out

I build amazon ec2 instance as following steps given on http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-LAMP.html Also followed this: http://imperialwicket.com/aws-building-a-lamp-...
user2129623's user avatar
3 votes
1 answer
1k views

Changed AWS EC2 firewall rule and locked out of ssh

I have an AWS EC2 instance using SLES15. I manually edited /etc/sysconfig/SuSEfirewall2 to open some ports. I messed up the FW_SERVICES_EXT_TCP because I thought I am adding on top of what's already ...
Richard's user avatar
  • 155
3 votes
2 answers
14k views

Cross Region S3 bucket policy

I would like to allow EC2 servers based in us-east-1 to read content from a bucket in us-west-2. Every time I try I get a "The Bucket you are attempting to access must be addressed using the ...
Martin's user avatar
  • 563
2 votes
1 answer
2k views

M-M or M-S replication of EBS volume across multiple EC2 instances

I would like to share EBS backed file system of size up to 20GB in 200K files across multiple EC2 instances. Master-master would be ideal, but I'd be happy with master-slave solution too. I know that ...
vartec's user avatar
  • 6,237
2 votes
1 answer
3k views

Can I use IAM Roles for Ansible

Apparently the AWS Access Key and Secret Key are optional parameters for the AWS Cloud Modules, however the places where the ansible would pick up those values are from Environment variables. Can we ...
Naveen Vijay's user avatar
2 votes
3 answers
7k views

ERROR: The partition with /var/lib/mysql is too full!

I am running in a problem here I have a linux instance running on EC2. All was working fine till last night. Today morning it showed me some error stating that there was no disk space to write of ...
jimy's user avatar
  • 177
2 votes
1 answer
158 views

Site hosted on EC2 / Amazon held hostage with private key

I have a new client whose previous developer has left her high & dry with her site on Amazon/EC2. He holds the private key to the instance, and though she has full access to the Amazon control ...
Michelle's user avatar
  • 123
2 votes
2 answers
1k views

Amazon EC2, fastest way to get a node into an existing cluster

I'm new to Amazon AWS. A lot of the time I hear about people folks spawning instances and almost instantly putting them behind a load balancer and into an existing cluster. In the traditional world ...
imaginative's user avatar
  • 1,981
2 votes
1 answer
2k views

Cannot connect to ec2 instance

I've created a new ec2 instance based on the php cloudformatino image ami-6fc2f61b and attached my existing key to it. Security group allows ssh and http. Yet, I'm unable to connect: $ ssh -v -i /...
andig's user avatar
  • 171
2 votes
3 answers
2k views

What is the best practise for assigning an EC2 EIP after starting an instance?

I would like to auto-assign an EIP to an instance when it is started. I know I can write a script to stop/start the instance and assign the EIP I want using the EC2 tools, but that depends on me ...
jdw's user avatar
  • 3,855
1 vote
1 answer
1k views

Send email through Gmail SMTP to avoid local delivery attempts?

Background We use Google Apps for email with our domain example.com: [ec2-user@example ~]$ dig MX example.com … ;; ANSWER SECTION: example.com. 300 IN MX 1 aspmx.l.google....
feklee's user avatar
  • 505
1 vote
2 answers
174 views

Linux EC2 Instance Security Consideration

I am going to host a web site in Amazon EC2 instance which would be a Linux instance. My web application will be developed using PHP, Apache and MySql. As I am new to Linux and Amazon EC2 environment, ...
Amzath's user avatar
  • 165
1 vote
1 answer
279 views

Can't access EC2 hosted website

For some reason, I am unable to access our website www.doccaster.com (Bad request nginx). We are hosted on amazon EC2 with elastic IP associated to it. The weird part is I can access it through the ...
Himanshu Page's user avatar
1 vote
4 answers
478 views

Setup Apache in Amazon AWS

I tried to setup apache 2.2 in amazon aws using amazon ami. i did installed httpd and php and congirue http.conf to use /var/www/html. Then put file index.html on that folder. But when i tried to use ...
hudarsono's user avatar
  • 123
1 vote
1 answer
319 views

Can I use the metadata API to check if an instance is being terminated?

Using Windows server 2016 instances. I want the instance to run a local command before it terminates. I can have a script run when windows is shutting down. I would like the script to check if the ...
red888's user avatar
  • 4,243
1 vote
1 answer
4k views

Amazon EC2 Move On Demand instance to Reserved

Am moving a Win2003 server onto Amazon. I'd like to build it on the On Demand instance first, then if all goes well, move to a Reserved. Question: Is there any way to move from On Demand to ...
Dave Mateer's user avatar
0 votes
1 answer
544 views

EC2 Instance Store to EBS Can't connect to SSH

I followed every line on this tutorial: http://webkist.wordpress.com/2010/03/16/creating-an-amazon-ec2-ebs-ami-from-a-running-instance/ to create a EBS instance using a AMI based on a Instance Store ...
James Gu's user avatar
  • 195

1
2
3 4 5
9