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

CodeDeploy does not change files when deployed with no errors in deployment

So I'm using CodePipeline and CodeDeploy to update my instance, but it doesn't seem to work. There are no errors with the deployment process, and the script is obviously being run, but there is no...

View Article


SMTP port25 is timed out on AWS [closed]

Im kinda new with AWS. I have an email that sends through SMTP GMAIL. It works on local. When I try to send it through the AWS I get Connection could not be established with host smtp.gmail.com...

View Article


Segmentation Fault when starting google-chrome-stable on Ubuntu 18.04

Just started experiencing crashes when trying to start google-chrome-stable with Xvfb via the CLI. Specifically the AWS EC2 AMI "Canonical, Ubuntu, 18.04 LTS, amd64 bionic image build on...

View Article

Trying to SSH into an Amazon Ec2 instance - permission error

This is probably a stupidly simple question to some :)I've created a new linux instance on Amazon EC2, and as part of that downloaded the .pem file to allow me to SSH in. When I tried to ssh with:ssh...

View Article

AWS EC2 Launchtemplate vs Launchconfiguration

I’m wondering when one should use which one.It seems Launchtemplates are more advanced because they allow for versioning but on the other side you cannot set EBS settings etc. Is Launchtemplate a...

View Article


How to Migrating from AMQ to SQS

I am using 3 AMQ in my current application and decided to use now SQS in place of AMQ . With AMQ i have been using EC2 and micro services for produce and consume from AMQ .Now when i decided to move to...

View Article

Deleting uploaded certificate from elastic load balancer

I've been testing and experimenting a bit to find out how exactly to upload SSL Certificates to AWS's Elastic Load Balancer (figuring out issues with different key and certificate encodings).Therefore...

View Article

get address of an EC2 agent from a Jenkins pipeline for git push/scp?

I'm setting up a simple Jenkins pipeline, with a stage running on an AWS EC2 agent.pipeline { agent none stages { stage('Prepare') { agent { label 'master' } steps { sh "touch somefile" stash includes:...

View Article


Image may be NSFW.
Clik here to view.

Setup a single AWS load balancer for multiple .net core applications hosted...

Framework: .Net core 2.0Hi everyone,I have deployed let's say 3 applications on the same EC2 instance which are websites (front end angular js and 2 web apis for authentication and communication). How...

View Article


Error connecting SMTP Port 25 through Linux/Ubuntu EC2 [closed]

I have setup an EC2 Linux instance. and trying to setup a mailserver on it, But as i am trying to send a test mail via SMTP port:25 , it gives me Timeout error.I have opened the SMTP port on security...

View Article

How to use ELB and AutoScaling termination for long living connections

I want to set up Autoscaling groups where we can launch and terminate instances based on the CPU load. But usually our connections stays for long like more than 8hrs sometimes even more than that. When...

View Article

docker-compose exec python the input device is not a TTY in AWS EC2 UserData

I am using EC2 UserData to bootstrap the instance.TRacking log of bootstrap execution /var/log/cloud-init-output.log, I found that the script was stopped at :+ docker-compose exec web python...

View Article

AWS EC2 - Use IAM role to serve static website hosted on S3

I am hosting a simple static website on a Amazon S3 bucket and my problematic is : I need to serve this website via an EC2 instance.All documents in my S3 are not publicly accessible.I have set up a...

View Article


SyntaxError: Name 's' is used prior to global declaration in Python/Flask...

The goal of my code is to place it into two EC2 instances which is then connected to a load balancer to distribute requests between the two instances. This is my code which I am first trying to test in...

View Article

On Amazon Instance Libreoffice PDF conversion command not working

Libreoffice PDF conversion command not working on Amazon instance.I have got the below mentioned scenario. When I am executing same command through root user then its executing on command line but when...

View Article


Unable to connect to the server: dial tcp: lookup api.tutorialmate.com on...

I want to set up Kubernetes Cluster on AWS using kops.I have domain tutorialmate.com. I have added Nameserver provided by Route53.Used below command to create cluseter:kops create cluster...

View Article

ELB Balancing Stateful Servers

Let's say i have this HTTP2 service, that has a list of users and this user hair color, in memory and database well.Now i want to scale this up into multiple nodes - however i do not want the same user...

View Article


Elastic Beanstalk custom AMI can't see environment variables

I'm using a custom AMI for Elastic Beanstalk because of some large package requirements. When I SSH into the EC2 instance none of my environment variables (specified in the Elastic Beanstalk web...

View Article

Elastic IP on application deployed using Elastic Beanstalk

I'm a bit confused about the use of the Elastic IP service offered by Amazazon Web Services. I guess the main idea is that I can switch to a new version of the web application with no downtime...

View Article

The bean 'AmazonEc2InstanceDataPropertySourcePostProcessor', defined in null,...

I try to migrate spring from 1.5.7 version to 2.1.5 and this exception occurred.This is multi-project and it uses spring and spring-boot simultaneously. The stack trace listed below.2020-02-18...

View Article
Browsing all 29239 articles
Browse latest View live


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