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

pymysql - Can't connect to MySQL server "Temporary failure" in name resolution

I'm trying to connect to MySQL database that is hosted on our AWS-RDS instance through Python using pymysql. I am able to connect and retrieve data successfully but the connection intermittently drops...

View Article


Access Issue with Lambda trying to launch ec2 instance

I have created a lambda function through which I want to launch an ec2 instance using pre-baked AMI along with a bunch of other tags.Lambda function:require 'json' require 'aws-sdk' def...

View Article


Aws ec2 patch upgrade for Linux 7 using automation

Hi are u aware like what is best approach to upgrade the kernal patches on AWS ec2 instances using automation tool like terraform, cloud formation or any best practices. Where I can upgrade and roll...

View Article

Installing Postgresql 9.6 on AWS - EC2

I have to install a specific version of Postgresql to my AWS-EC2 instance. I followed the tutorial :Setting up PostgreSQ.In the past i did as per the tutorial and it worked perfectly fine. This time,...

View Article

Does AWS provide a similar service to Azure connect ( snych just user and...

I am wondering if there is an AWS service which is similar to the Azure AD synchronization. By Azure AD synchronization we are wanting to synch on premise AD user and groups into the cloud so that IAM...

View Article


Schedule to start an EC2 instance and run a python script within it

I am trying to schedule my python script in AWS, however I don't want the instances to be running all the time. So, trying to automate the process of:Start the EC2 instance on a specific timeRun the...

View Article

Accessing webserver on AWS ec2 (Ubuntu)

I am running a webserver on an Ubuntu ec2 instance. The service accepts http connections over port 8080.The next step is to allow the service to be e accessible using public_DNS:8080. I've modified the...

View Article

Correct design pattern for single server in AWS

I have customized cluster software that runs in a single AZ (subnet). One of the servers is the "controller". There can only be one of these running at a time. I need to be able to have it in the local...

View Article


AWS : Nginx 503 service temporarily unavailable

I have website hosted on AWS on 1 EC 2 Instance.When there are around 1000 users hit the website. It gives 503 service temporarily unavailableNginx server is used. How to resolve above issue?I have...

View Article


Client VPN EndPoints - Multiple Users Access

If I want to allow multiple users to Connect through my Client Configuration (.ovpn) files. Do I need to share same Client Configuration (.ovpn) file with all users? So they can access resource on...

View Article

How to configure AWS s3 to upload file AWS ec2 instance using Django

I'm currently running a Django project on an AWS EC2 server that has RHEL8 installed as the OS. My AWS environment is configured to store both static files and media files into a S3. My django app...

View Article

How to deploy Consul on AWS EC2 instance over Ansible

Note: This is not the Consul by HashiCorp it is a different project: http://consulproject.org/I'm not sure if this is a specific problem to the consul project or if anyone with knowledge of Ansible and...

View Article

Getting error during start up of wildfly 10 server

I'm getting below error while starting my wildfly1004:21:19,604 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service...

View Article


Remove index.php from URl on aws AMI Instance

How remove index.php from URL on amazon aws AMI instance. Prettify url on ec2 instance for larvel, CodeIgniter or any other framework.

View Article

How to copy files/directories remotely from linux to windows on AWS EC2...

I am trying to copy directories from linux server to windows machine where both of these are AWS EC2 instances using Python but couldn't do that.I tried scp command which seems not working on AWS...

View Article


Hosting several sites on a server... change default site?

I have an AWS instance running Amazon Linux 2. I'm currently hosting several sites on it using vhosts.confmy problem is that if the IP address of the server is entered into the browser then the first...

View Article

How to make snapshot of EBS Volume from aws cli?

I want to make snapshot of EBS Volume via script and it will be delete automatically after 1 day.

View Article


MongoDB backup strategy for AWS

If I have mongodb running in an EC2 instance that is being written to (somewhat) constantly what is the most intelligent, safe, and inexpensive backup strategy. My concern is that if an EC2 instance...

View Article

Pymongo connection timeout from remote machine

I have a Bitnami MEAN Stack running on AWS EC2. I'm trying to connect from a remote machine using PyMongo.from pymongo import MongoClient conn =...

View Article

How can I change the IP address in an a ETIMEDOUT error on my VuejS app...

I am running a Laravel app on an Ubuntu ec2 instance using Nginx.I have a front-end app built using Vue.js running via pm2 that uses API's from the Laravel app.I recently had an issue where I had to...

View Article
Browsing all 29243 articles
Browse latest View live


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