Questions tagged [amazon-ec2]

Amazon EC2 stands for "Amazon Elastic Compute Cloud". It is a part of Amazon Web Services (AWS) and allows users to rent virtual machine instances. You can create instances, launch and manage them through a central interface, through a web API or through a console.

0
votes
0answers
9 views

I have to create an organisation account on AWS

I have to create an organisation account on AWS from where I can manage some common Instances from multiple Account. The Root account creates an account (Child user)and provides full access to the ...
0
votes
1answer
10 views

aws traceroute btw two ec2 returns ***as first hop

I tried to traceroute from one ec2 to another ec2 and found that the first hop is [centos@ip- ~]$ sudo traceroute -T 13.114.151.20 traceroute to 13.114.151.20 (13.114.151.20), 30 hops max, 60 byte ...
-1
votes
0answers
4 views

mlxtend libary not working on AWS-Sagemaker after installing it

Inspite of installing the module "mlxtend" for Apriori ( Market basket analysis) in conda packages and updated it. Got the below error ModuleNotFoundError Traceback (most ...
0
votes
0answers
9 views

AWS RDS MySQL not reachable from EC2 Instance Apache Server

I have reviewed this post already but am still having an issue: Can't connect to RDS instance from EC2 instance I have an RDS MySQL Instance up and running. I can connect to it with MySQL ...
1
vote
1answer
20 views

AWS ALB vs Docker swarm

I have an application running on AWS EC2. In order to get high availability, we are planning to set up AWS Load balancer and host the application in a minimum of 2 EC2 instances. We also heard about ...
0
votes
1answer
5 views

Installing Torch on Amazon Linux

This took me an excruciatingly long time for me to figure out so I decided to save people the trouble. Trying to install torch on an ec2 instance with Amazon Linux(redhat) failed with the following ...
0
votes
0answers
15 views

monitor all running aws instances with grafana

Im trying to identify a way to list all running instances with grafana. Have any of you been able to do this? Essentially I want a grafana dashboard to display: Instance-ID >> Region >> Status(up or ...
0
votes
0answers
11 views

old product and category not showing on magenot2 ubuntu16.04 when upgraded t ubunutu 18.04

After upgrading from ubuntu18.04 to ubuntu16.04 product and category are not showing. After update, website was not appearing but when I downgraded php7.2 to php7.1 website appearing but product ...
0
votes
1answer
27 views

How to view my running docker image in the browser via private IP?

I'm running my docker image in my docker container in my AWS EC2 instance inside my virtual Ubuntu machine and am trying to access it via my virtual Ubuntu machine. I understand that typically one ...
0
votes
0answers
17 views

Why node server not listening mongodb port running on localhost ?

On AWS windows instance, I have installed node and mongodb. Node is working fine. Node is listening on port 80, which I can hit from outside of AWS instance. In case of Mongodb, When Mongodb ...
1
vote
1answer
21 views

Using vagrant with Amazon EC2

I am new to Amazon AWS and Vagrant. I opened a 12-moths free account and I'd like to test EC2 for my personal project. I'd need to test QGIS Server software. Instead of creating a new instance and ...
0
votes
1answer
7 views

how to have both cronjob and rc.local working together?

i am creating an ec2-instance from which on every restart of an instance jupyter lab should be started so i put that script in rc.local file and also i have to set a cron job so that in every 5 mins i ...
0
votes
0answers
14 views

How do I connect a public-facing load balancer to EC2 instances in a private VPC

Background I want to deploy a laravel application to Elastic Beanstalk. The setup includes a VPC with two private and two public subnets. The EC2, RDS etc. are all in the private subnets. Only the ...
0
votes
1answer
10 views

How to activate https on ec2 for express app

I am use ec2 for my express app also I have domain from godaddy. Now I can connect to godaddy but it runs with http and brings not secure on left side of browser' url bar. So I need hide port from url ...
0
votes
1answer
20 views

EC2 Multi App Instance - Some Ports not Reachable

I have started an AWS EC2 (UBUNTU 18 AMI) instance running three apps: Web server on port 80 REST API on port 8786 DB on port X I am able to SSH into the instance Reach the website via browser on ...
0
votes
0answers
7 views

Not able to pull DiskSpaceUsed/DiskSpaceAvailable metric from CloudWatch

I am trying to pull AWS instance metrics using Java (CloudWatch client). I am able to pull metrics like CPUUtilization, MemoryAvailable etc but I am not able to pull DiskSpaceUsed & ...
0
votes
1answer
30 views

How to configure Automated Code Backups at Amazon EC2

I have migrated my website from Old Server (HostGator) to Amazon EC2 and its working fine since last 1 month, One thing I missed at EC2 i.e Automated Code backups as on HostGator it used to happen ...
0
votes
1answer
16 views

Ratchet + AWS EC2 + SSL + ProxyPass -> Invalid Status Line

I'm trying to create a video chat using ratchet with laravel and it worked fine on localhost but when I deployed it on an EC2 instance, it needed some configuration. First, I can access my app with ...
0
votes
0answers
18 views

EC2 AWS system reachability failed

The instance of my server was stopped by AWS; my instance is inaccessible now for a day. How can I get a copy of my instance that was already stopped? aws recommendation says terminate the instance ...
0
votes
0answers
17 views

Why Mongodb config changes not getting applied?

I am running Mongodb on AWS windows instance, I changed my config setting as following: net: port: 30000 bindIp: 0.0.0.0 As far as my knowledge, Server should get started on port 30000, it can ...
0
votes
2answers
30 views

How can I access external MongoDB server on ec2 instance from an app running inside Kubernetes cluster created with kops?

I am having a situation where my MongoDB in running on a separate ec2 instance and my app is running inside a kubernetes cluster created by kops. Now I want to access the DB from the app running ...
-2
votes
0answers
25 views

Unable to put file on client FTP in active mode from AWS ec2

We are unable to put file or even list files in active mode on one of our client FTP from our AWS ec2 instance. All incoming ports are open. It is not working both via bash ftp command as well as ...
0
votes
2answers
27 views

How to shut down AWS test environment on a particular time

We have a test environment on a AWS elastic beanstalk and I would like to shut this down on weekends and hours not using. When inquired I got information about a third party tool that does that ...
-1
votes
1answer
28 views

Kafka connection issue

I have installed Kafka on docker swarm, But I am continuously facing below issue. Can anyone shed some light on what issue is ? and what I am missing here ? ...
-1
votes
1answer
30 views

How to list all public Virtual Machines (EC2) instances of all Regions

I want to get a list of all public Instances of EC2 of any Region. I have tried with C#.net, but I am getting a list of my EC2 Instances which I have created in my Region with below code. ...
0
votes
1answer
20 views

Can't add aws-ec2 instance as an authorized redirect URI in google developer's console

I added amazonaws.com as an authorized domain, but I still can't add my ec2 instance as the redirect URI. How could this be accomplished?
0
votes
1answer
17 views

Which build server and code scan tool to use on AWS EC2 Windows instance?

I have to implement Code Scan tool in CI/CD pipeline in AWS. I have an EC2 Windows Instance. I checked few tutorials and found some plugins with Jenkins but these all samples are in Linux. I want to ...
1
vote
1answer
38 views

AWS HTTPS certificate on subdomain with wildcard

I am currently deploying my first SAAS with AWS. I use an EC2 instance with Route 53, all in HTTPS. I created a wildcard type "*.booda.me" so that each user has his own virtual sub-domain secured in ...
0
votes
1answer
29 views

kubernetes LoadBalancer service

Trying to teach myself on how to use Kubernetes, and having some issues. I was able to set up a cluster, deploy the nginx image and then access nginx using a service of type NodePort (once I added ...
0
votes
0answers
8 views

Windows service bootstrapped to AWS EC2 instance via PowerShell sometimes doesn't install

I have a windows service which is set to install on an AWS EC2 instance as a part of its user data when the instance is launched (as part of an auto scaling group). this process is done via a ...
0
votes
0answers
19 views

Unable to access webmin URL through browser for EC2 ubuntu

I have installed webmin on ubuntu running on AWS EC2 instance. Everything seems to be correct, but I am not able to browse https://18.213.76.205:1000/ through any browser. Please help on this, what I ...
2
votes
1answer
24 views

How to connect to RDS using local subnet even when the PostgreSQL RDS is exposed to the internet to avoid latency

I have a Rails app on Heroku which uses an exposed PostgreSQL RDS publicly on AWS. I also have an EC2 instance on AWS which connects to the same PostgreSQL RDS, but I'm using the same public endpoint ...
-1
votes
1answer
23 views

Moving system partition for EC2 Instance to new volume

What is the best way to move a system partition, ie. /var, /opt to a larger volume that is attached during the EC2 instance creation? For example, I want to create a generic AMI but if I use this AMI ...
0
votes
1answer
15 views

Forward Traffic from Windows EC2 Instance to ElasticSearch VPC Endpoint

I have Windows EC2 instance I use for my public-facing C# API. The VPC(and related Internet Gateway, subnets, etc) are all default. I've now setup an AWS ElasticSearch service using their more secure ...
0
votes
0answers
22 views

Rails, EC2, Nginx, Unicorn - New assets are no longer rendering in production

New assets that I add are no longer showing up on my production site (on EC2). It previously worked and the older images, stylesheets, and .js files are working, however anything new that I add is not ...
0
votes
2answers
38 views

ec2 user data script is only partialy excecuted

I am using ec2 instances with ubuntu 18 ami, with user data script as follows: #!/bin/bash sudo apt-get update -y sudo apt-get install python-pip -y sudo apt-get install awscli -y mkdir /home/ubuntu/...
0
votes
0answers
14 views

Can I provision my Elastic Beanstalk's EC2 instance with Cloud Formation?

I was wondering if I am able to provision my EB's EC2 instance in Cloud Formation? The main reason I want to do this is that I want to run nvidia-docker on my EC2 instance, but I believe the EC2 ...
0
votes
0answers
10 views

Runned aws ecs task doesn't responde to request

I created simple docker image which sends 'Hello world!' when i send GET request to localhost. Then i pushed it to ECR repo to aws. I already have default cluster with EC2 instance in it. I created ...
0
votes
0answers
16 views

How to fix load balancer health check failing due to virtual hosts

I have two AWS EC2 instances that are sharing traffic load with a load balancer. On these instances there are several sites that are serving web traffic, routed via vhost config files. Here is the ...
1
vote
0answers
22 views

Userdata in Powershell - Unable to change attached volume permissions

I am using a cloudformation template to spin up an EC2 instance which uses a Windows Server 2012 R2 AMI. In the template itself, i have also attached and mounted an EBS volume. In order to allow the ...
0
votes
0answers
23 views

EC2 Memory Issue RStudio

I am using RStudio on an AWS EC2 instance. I created a for loop in R, to scrape an authorized website to create dataframes based on certain conditions. After some time (like 12 hours), it seems my ...
1
vote
1answer
28 views

Amazon EKS: Setting up worker nodes on spot instances

When using AWS EKS, is it possible to set up the worker nodes on spot instances? How can I do this? Anything special I should pay attention to, in such a setup?
0
votes
0answers
29 views

com.hazelcast.core.HazelcastInstance IllegalStateException: Node failed to start

I am trying to a POC for auto-discovery of hazelcast instance in ec2. These ec2 instances would be in same security group, which should be able to find other nodes of hazelcast and together these will ...
1
vote
1answer
17 views

How to connect to an Oracle Database running on Amazon AWS EC2?

I have an Oracle Database instance running in Amazon AWS EC2 service. (it is not RDS Relational Database Services). How can I configure my Oracle SQl Developer to to access this remote databse in ...
0
votes
1answer
32 views

Laravel returns http instead of https on production

On my production (aws) laravel returns http even if it is really https. \Request::url(); // this returns http://... \Request::isSecure()?'yes':'no'; // this returns 'no' and it would not change if I ...
-2
votes
0answers
19 views

AWS EC2 instance connection timedout, two instances under same security group, one connect other one dont

Hi could anyone please help, i am running two Ec2 instances under same security group, both were running ok, i just installed jenkins, docker on one instance and ran command ufw allow 8080 in one ...
-1
votes
1answer
17 views

SCP Permission denied (publickey) - EC2 instance with bitnami magento

I'm running this command: sudo scp -r -i /Users/Name/Desktop/Vue-storefront /Users/Name/Desktop/Directory/Magento\ key/pem/mykey.pem bitnami@ip:/opt/bitnami/apps and then I'm getting this: Load ...
0
votes
1answer
11 views

ansible ec2_instance_facts filter by “tag:Name” does not filter by instance Name

I want to run ec2_instance_facts to find an instance by name. However, I must be doing something wrong because I cannot get the filter to actually work. The following returns everything in my set ...
0
votes
0answers
15 views

how to get API url and API key from AWS api gateway using java code

I am new to AWS and my API URL and API key both are hosted on AWS API gateway. I am working on API automation using REST assured. Most of the time we have to do regression testing in different ...
0
votes
1answer
21 views

Elastic search is not accessible running in AWS instance

I'm running elastic search in AWS t2.micro instance in port 9200 and it has a security-group launch-wizard-7 and that security group has all inbound traffic in all ports from anywhere. but still i'm ...