Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Questions tagged [amazon-ec2]

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

0
votes
0answers
2 views

How to obtain ec2 AMI pricing info. using CLI/URL

I am struggling to understand how to obtain pricing info. programmatically (that is, via URL or aws CLI). I suspect I am missing the 'big picture'. I can estimate pricing manually on the web by, for ...
0
votes
0answers
8 views

Using ec2 instace in amazon as a proxy to s3 bucket [on hold]

I want to use ec2 instance as a proxy to connect to my s3 bucket. Does anybody knows how to do that with "apache"server? p
0
votes
0answers
11 views

Apache2 Server Not Responding Intermittently for Few Minutes [on hold]

I have a live site hosted on Amazon EC2 Ubuntu 16.04. The webserver are using Apache 2.4 which connected to MySQL server on Another Server (Amazon RDS). I experience a weird case where ...
0
votes
0answers
13 views

Could not access AWS EC2 Ubuntu 16.04 instance using nomachine client?

I have installed nomachine server on AWS EC2 micro instance. In the security group rules opened port 4000 for tcp access and udp 4111-4900 for media access. Tried connecting with nomachine client ...
0
votes
1answer
11 views

Amazon EC2 (Tokyo) Can't Access Amazon RDS (Frankfurt)

I have EC2 instance in Tokyo : and I also have RDS instance in Frankfurt : EC2's IP address already listed in RDS security groups : But why EC2 Tokyo still unable to connect to RDS Frankfurt? ...
0
votes
0answers
6 views

Apache webdav login works on browsers, but error on net use command / window explorer

I would like to set up a simple WebDAV service on my server, which runs on Linux (Amazon EC2) and provide users to save files and folders. After config-ed some files, I manage to get the service ...
0
votes
0answers
15 views

OpenSSL X509 PEM Lib error Proxying to AWS S3

I am using Vormetric Cloud Encryption Gateway to proxy to AWS S3. env | grep proxy http_proxy=http://10.91.3.37:3128 https_proxy=https://10.91.3.37:3128 Issuing the aws s3 ls to return a listing of ...
0
votes
0answers
18 views

IIS Sites are not listed

I have an IIS server installed on EC2 instance(Win server 2012). There are 5 sites running each on different ports. Some of them are http sites and 1 is an ftp site. Every 3 days, when Application ...
0
votes
2answers
24 views

Restarting a script after X interval of time

Not sure I am making sense or not: I run a script on multiple AWS instances under a screen session. The scripts are Python-based and stopped working after a while due to network issue of Amazon Arora ...
0
votes
0answers
8 views

EC2 Ubuntu Apaches ProxyPass not working

Amazon EC2 instance System = Ubuntu Server = Apache Tools-Other = Expressionengine, Codeingiter All mods for ProxyPass are installed based on Digital Ocean Issue: ProxyPass doing a 301 ...
0
votes
0answers
19 views

Ubuntu Server Hanged on EC2

i had Ubuntu 16.04 installed on AWS EC2, i was able to connect to it using Putty in the past, but before couple of days, i was unable to connect to the server using the Putty. when i checked the ...
0
votes
2answers
28 views

CNAME to CloudFront: Read actual browser URL server-side

I'm trying to read the actual browser URL server-side (Node.js), but is getting the EC2 instance url. I have a setup consisting of a Node.js application running on EC2 with a Cloudfront distribution. ...
0
votes
0answers
6 views

failed to create: [MyElastiCache] when trying to add ElastiCache to Elastic Beanstalk deployment

I'm trying to add ElastiCache to my rails deployment on Elastic Beanstalk. I've followed the instructions, but am getting the following error when trying to deploy: Uploading: [#######################...
1
vote
0answers
30 views

Amazon EC2 Web Server not Serving Content

I was using an EC2 Ubuntu 16.04 Server instance that was working fine but I had to reboot it briefly and since then I have been unable to connect via HTTP/HTTPS or ping it. I can SSH in and Telnet ...
0
votes
0answers
23 views
+50

Reserved Instance and AWS Marketplace AMI with Software License

How does billing work when purchasing a RI and launching an instance that runs a marketplace software that also charges for a software license (say the Cisco CSR1000v, $0.622/hr as of today)? Is the ...
0
votes
0answers
12 views

How do I point my EC2 instance to a new folder? [closed]

I've got a staging site that was built by another developer. The folder name where the site is housed contains a spelling mistake which is confusing our contractors and looks unprofessional. Can ...
0
votes
0answers
29 views

Live Server Replication [closed]

Are there any applications to perform a live synchronization between primary and redundant servers in AWS. Both servers should be online and better if it doesn't use AMIs.
0
votes
0answers
26 views

EC2 ssh 'authenticity of host can not be established'

There are a lot of questions on ServerFault and StackOverflow about the problem of 'authenticity of host can not be established'. For instance: https://stackoverflow.com/questions/2360842/ec2-ssh-...
0
votes
0answers
16 views

AWS EC2 Connection timeout with Public DNS [closed]

I setup ec2 for the first time. I have security group created with inbound from any to 80,443,53(DNS) and outbound rules for all. However, I am getting connection timed out. My public DNS is : ec2-...
0
votes
1answer
39 views

Synchronizing local Microsoft Exchange server with Amazon EC2 instance

We have Microsoft Exchange server running on local data center and we want to create EC2 replica and synchronize local and cloud instances, just in case local server goes down, to switch the traffic ...
0
votes
0answers
14 views

How to convert EC2 to ElasticBeanstalk and keep same elastic IP?

I have a service running on a manually created EC2 instance with an elastic IP. I would like to convert the EC2 to an elastic beanstalk deployment but keep the same IP address. I assume I can create ...
0
votes
2answers
42 views

Https not working on AWS EC2 with ssl certificate installed

I Have insatlled ssl on my aws but not able to load my site on https https://darkcloud.app (My site) Certificate load balancer Route 53 ubuntu@ip-172-31-8-134:~$ curl -v https://www.darkcloud.app ...
0
votes
0answers
13 views

Redirect ephemeral port to 80

I am starting in AWS and server management in general and just set up a deployment pipeline with ECS and some containers. My container : My host port is 0 and redirected to container port 4200 (...
1
vote
1answer
22 views

EC2 cant send SES mail behind an ELB

We run a wiki in an EC2 that sits behind an Elastic Load Balancer, the EC2 does not have a public IP and traffic from internet is routed to the ELB through Route53. We noticed that the wiki was not ...
1
vote
1answer
16 views

Create AWS Launch template from existing AWS EC2 instance of another account

How can I create an AWS Launch template from existing AWS EC2 instance of another AWS account? Something like if the account user can share his configuration file containing details such as AMI, ...
0
votes
1answer
14 views

Gerrit ssh users on EC2/ECS

I'm trying to deploy gerrit code review to AWS and am running into problems with trying to ssh in once it's deployed. When I've created a new user, what does work is SSH tunneling in like ssh -fNL ...
0
votes
1answer
47 views

docker has volume permission but docker-compose doesn't

I have installed Docker on an Amazon Linux server and given it permissions with sudo usermod -aG docker $USER. When I start my Jenkins docker containers (which have the home directories on an EBS ...
0
votes
1answer
24 views

Https not working on AWS EC2

I have website https://darkcloud.app which is giving me error "This site can’t be reached" but it works fine without https and google is forcing to redirect with https when i am on chrome .Please help ...
0
votes
0answers
21 views

Adding ACM SSL certificate to Load Balancer not working for EC2 instance

I have a Bitnami Wordpress EC2 instance. I want to add SSL certificate so that my blog can be accessed with https. I tried all the steps available in all the tutorials and AWS guide. Below is the ...
0
votes
0answers
38 views

Configure Nginx reverse proxy

I have setup a Linux AMI Node.js app with Nginx. App uses port 4100 for frontend and 3000 for backend. My frontend port 4100 works fine but I get an error for backend "'https://test.example.com/login' ...
0
votes
0answers
31 views

Allowing non-technical users to spin up EC2 instances

I'm looking for a simple (hopefully existing) solution to allow my sales guys to spin up EC2 instances for sales demos. I have an AMI setup, so the mechanics are in place. However, the AWS console is ...
0
votes
1answer
25 views

The requested URL was not found on this server

I am trying to enable SSL for port 4100 for an Amazon EC2 Instance. When I access the site https://test.example.com:4100/login, I get an error as follows - The requested URL /login was not found on ...
0
votes
2answers
41 views

How to allow SSH server to accept inbound traffic from 2 TCP ports?

Brief Allow the following TCP port numbers on SSH server 22 2222 Premises The machine uses an Amazon Linux AMI distribution The SSH installation is based on an SELinux system Details By default, ...
0
votes
1answer
20 views

Scheduling EC2 Instances in AWS

I have an EC2 instance that I use rarely, so it spends a lot of time in a stopped state. Because it's using an elastic IP, I want to schedule a very brief start and stop command once an hour, to avoid ...
1
vote
1answer
18 views

Database Connections Persist After Security Group Change

We've set up a system to send a message to a queue in SQS when there's an outage on a dependency. In order to simulate an outage and test the system, I blocked the outbound port to a database on the ...
0
votes
2answers
26 views

AWS EC2: Can't log into instance

A few days ago, I created a new key pair for a client's AWS EC2 instance. For some reason, I could no longer log in with the prior key pair I created. Immediately after creating a new SSH key pair, I ...
2
votes
2answers
214 views

Does it makes sense to configure iptables when you have configured AWS EC2 security groups?

We are using some Amazon EC2 instances with configured Security Groups (e.g. can SSH only from particular IPs -- sorry I cant post rules). Some time ago I checked iptables and it looked like there ...
0
votes
0answers
21 views

EC2 with NVMe instance storage - expected performance characteristics?

What performance characteristics should I expect from an EC2 instance with NVMe instance storage? I've switched to c5d.large. I've created the filesystem. Mounted the device etc. I'm testing it ...
0
votes
1answer
28 views

mstsc can't verify identity of the remote Amazon server

When I connect to a Amazon instance running Windows Server 2003 R2, mstsc says, that it can't verify remote server's identity. Like on this image: But in my case the certificate name is: i-...
0
votes
1answer
14 views

Can we host subdomains in nginx on AWS Centos instance?

Say my AWS domain name is ec2-1-2-3-4.ap-southeast-1.compute.amazonaws.com, can I create a domain name that is accessible from the outside world like app.ec2-1-2-3-4.ap-southeast-1.compute.amazonaws....
1
vote
1answer
36 views

Is there a way to name an EBS snapshot created with a Cloudwatch Rule?

Is there a way to name an EBS snapshot created with a Cloudwatch Rule? For instance, I have a cron-like rule: 31 10 ? * 3,6 * vol-0e743fcfd2f53198a Which will create a snapshot of the data volume, ...
0
votes
0answers
38 views

Artifactory rpm repositories and Amazon Linux Repo mirror list

what's the recommended approach for setting up remote rpm repositories to proxy Amazon Linux? The yum repo files on Amazon linux show a mirror list and then base URLs with UIDs. I don't know if I ...
1
vote
1answer
43 views

How to start and stop an Amazon EC2 instance based on traffic [closed]

Is there an easy way to start an Amazon instance when someone visits the web app and stop if the web app remains idle for a specified amount of time?
1
vote
1answer
37 views

AWS Elastic Load Balancer- two web applications in cluster in different autoscaled groups- one load balancer or two?

I'm wondering what the recommend practice would be in this scenario. If I have two web applications on the same VPC network (essentially in the same cluster) in two different autoscaled groups, would ...
0
votes
0answers
25 views

Link GoDaddy server with Amazom Instance

I now this could be a very typical topic. But, I'm trying to find a solutions and I already waste some hours trying to find a solution. I have my 1GoDaddy Domain and a Linux Server on Amazon EC2. ...
-1
votes
2answers
39 views

Nginx runs on .com/port but not on .com/

I may need a little help here. I feel I am almost there but missed something in my setup. I can connect to my .com/3000 to see my local node app running on server. To connect to .com directly I just ...
0
votes
0answers
28 views

Problems with jumpbox on AWS EC2 / Ubuntu

I have a strange problem with setting up jump boxes on AWS EC2. Strange in that one works perfectly and the other fails, but the second is a clone of the first with the only difference being the ...
0
votes
0answers
34 views

Cannot connect to EC2 instance in one line of command

I am trying one line setup command. ssh -i "$(cat kushal.pub)" kushal@ec2-18-216-221-164.us-east-2.compute.amazonaws.com "mkdir -p ~/.ssh && chmod 700 && touch ~/.ssh/authorized_keys &...
0
votes
0answers
23 views

Preventing Ubuntu EC2 server locking up with high CPU

I have a server that runs celery tasks. It runs a couple of worker threads with celery multi start 2, configured using systemd. Sometimes, it gets overworked and hits 100% CPU. When this happens, ...
0
votes
1answer
14 views

Add a security group to the list of existing ones to an EC2 using the the AWS CLI (one-liner)

This question is a follow up (not a duplicate) of How to add a security group to a running EC2 Instance?. I believe it deserves to have its own answer rather than a comment. How could I write a one-...