Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Browsing all 29239 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

HTTP timeout from an EC2 instance when I call a python API

I am trying to call a python api from an EC2 instance that I have configured with Ubuntu. When I run the file locally on my computer it works, but when I run the same file on my EC2 instance, I get...

View Article


SQLAlchemy/MS SQL 17 has TCP timeout after 40 seconds on large dynamic query

Error:sqlalchemy.exc.OperationalError: (pyodbc.OperationalError) ('08S01', '[08S01] [Microsoft][ODBC Driver 17 for SQL Server]TCP Provider: Error code 0x274C (10060) (SQLExecDirectW)')If I try a small...

View Article


Creating a target group for a alb (application load balancer )

when creating a target group for ALB into a private r public vpc for port 8080 , why is that i need to mention path , for a regular html page we have .index file but when we have a application running...

View Article

Why is Elastic IP *needed* for CNAME/ A/ AAAA records (public ip's don't work)

I am using terraform to provision an EC2 instance and then create DNS records pointing to it. On AWS, Static ip addresses are recommended over public ip addresses so that changing ip addresses when...

View Article

The expected number of EC2 instances were not initialized within the given time

I'm trying to create an Elastic Beanstalk environment running on PHP, but everytime that I try, the health of the environment changes to severe, and it never changes.During the creation process, I have...

View Article


Attach elastic inference gpu graphics on aws ec2 instance with terraform...

With Terraform, following the doc here and there, I am trying to create a template for ec2 instance with elastic inference gpu specification and graphics.This my code for aws launch template...

View Article

How does ssh to EC2 ubuntu instance working with non public ip address?

I'm new to AWS and took over project from earlier engineer who has left organization. This particular EC2 was created for Region A and later moved AMI to Region B.The mystery I'm not understanding, the...

View Article

How to make aws load balancer only hit the server that is up?

I have a domain name myapi.example.com with CNAME pointing to my load balancer, in my load balancer I register 2 ec2 serversEach ec2 servers have nginx configure listen 80; listen [::]:80; server_name...

View Article


Installing domain controller (AD DS) service on ec2 instance

I have aws ec2 instance (windows server 2016 ). I am promoting this as domain controller.I am following this article. I have few questions.Is the root domain name needs to be real domain name?How can I...

View Article


Unable to start Unicorn(EC2×Nginx×Unicorn)

Overview I making production environment with AWS(EC2)+Nginx+Uniconr on myRailsApp. I completed connection to EC2 and Nginx setting,Unicorn setting. But I can't start to Unicorn.I tried unicorn version...

View Article

set ansible-playbook user variable dynamically based on the ec2 distros

I'm creating an ansible playbook that goes through a group of AWS EC2 hosts and install some basic packages. Before the playbook can execute any tasks, the playbook needs to login to each host (2 type...

View Article

running mvn command on AWS ec2 linux throws No compiler is provided in this...

Running on AWS EC2 - Linux Java and mvn installed correctly But while running mvn clean test, getting this error No compiler is provided in this environment. Perhaps you are running on a JRE rather...

View Article

tom cat starts but html doesn't load

I have an EC2 box and i have started tomcat server on the same. I can see in the logs that the server has started. I can also telnet into localhost and can get the html as shown below. But when i try...

View Article


Traffic encryption between ec2 and EKS pods

WE are deploying our app to the EKS, and have a hybrid situation where some services aren't deployed yet within the EKS cluster.We want the traffic between services deployed on EC2 instances would be...

View Article

unzip and copy file from web to s3 bucket

I am trying to copy the file directly from web to s3 bucket.https://www.ncua.gov/analysis/credit-union-corporate-call-report-data/quarterly-dataI want to unzip and copy 2019 march data from the above...

View Article


ec2 instance running continually

just wondering is it possible that I can run an instance after I disconnect it? The only thing I found is the link but it is not relevant to what I want. link1link2

View Article

im trying to deploy .war file to tomcat using jenkins,I have one instance for...

im new to this ....Trying to deploy .war to tomcat container im getting this error below.???what is the reason behind it thanks.e/Tomcat_Deployment/webapp/target/webapp.war to container Tomcat 8.x...

View Article


PermissionError: [Errno 13] Permission denied when accessing to aws ec2

I have ubuntu 16.04 running on virtual box(on mac), and on aws ec2 ubuntu 18.04 running. I am trying to run Jupiter notebook on aws.ec2 and trying to access it remotely thru my web browser on my local...

View Article

Unable to mount EFS on EC2 instance

I am unable to mount EFS to EC@ instance. It fails with connection timed out error.Steps used:Connected to Amazon EC2 instance using SSH created EFS Using DNS name in EFS trying to mount EFS on to the...

View Article

Set volume size in Dockerrun.aws.json

Hey I am deploying my multi container docker env via elastic beanstalk.My docker-compose.yml has an entry like service: image: redis volumes: - redisdata:/data volumes: redisdata: By this the contents...

View Article
Browsing all 29239 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>