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

AWS ECS: multiple containers deployed but only one container on port 80 is...

I am trying to run my docker containers on aws ecs using aws-cli (instance-type is EC2)I have a docker-compose file with 2 services. version:'3' services: service-one: image: dockerhub/image1 ports: -...

View Article


AWS instance crashes after I run a build job on Jenkins

The build job shows that it's running, but it will eventually crash ('eventually' because I have created different instances, and they end up crashing when I want to deploy the application). After it...

View Article


AWS Routing Issue between subnets beloning to different VPC

I have a simple basic AWS architecture which I have not been able to make work.VPC1CIDR 192.168.0.0/163 subnets: 192.168.0.0/26192.168.80.0/26192.168.160.0/26All are public subnets with Internet...

View Article

Deploy only changed files on AWS Elastic Beanstalk website

I have successfully deployed my website on AWS Elastic Beanstalk. Now I want to change the code in one of my file. If I do eb deploy, it will completely deploy a new version of my code which I don't...

View Article

Server 2012 MS Update Causes Boot Loop - How to Stop or Diagnose?

Running an EC2 instance with Server 2012. Windows is set to Automatically Install Updates. I am not sure what update is causing it, but it was installed after December 1. When this update reboots the...

View Article


InvalidClientTokenID error when running Terraform Plan/Apply

I'm setting up a HA cluster in AWS using Terraform and user data. My main.tf looks like this:provider "aws" { access_key = "access_key" secret_key = "secret_key" } resource "aws_instance""etcd" { ami =...

View Article

Secure connectivity to private instances from ext computers via Openvpn

Would like to check if there is a way out in establishing a secure connection between the internet facing laptops & private instances via Open VPN?Use case: Public Subnet with Windows bastion...

View Article

AWS EC2 Free Tier Usage Concern

I have started an ubuntu ec2 free tier server. It has one purpose - to monitor a different server. it runs a cron job every minute which performs a ping and a curl request to one server. the purpose is...

View Article


Nginx reverse proxy for requesting HTTP backend on HTTPS frontend

I've been seeing a ton of info about reverse proxies and nginx but I'm a little lost on how to implement. I am running two separate EC2 instances (front and back end, with back end running pm2). I have...

View Article


Permalinks give 404 error in WordPress on AWS EC2 instance running Ubuntu 16.04

I have created an AWS (Ubuntu 16.04) AMI. Installed WordPress and uploaded my Custom theme. Both operations went fine.I put my site inside /var/www/html.This is a fresh installation. I created two two...

View Article

Will an Ubuntu instance monitoring a website every minute exceed the AWS Free...

I have started an Ubuntu EC2 free tier server. It has one purpose - to monitor a different server. It runs a cron job every minute which performs a ping and a curl request to one server. The purpose is...

View Article

Flask Deployment to AWS getting permission errno 13

I have working app on the localhost but when I deployed to the AWS it shows several errors.It can receive my sent image but it cant save it. I tried change permissions with chmod,still its not working....

View Article

Is it possible to selectively sync cookbooks with knife bootstrap?

I'm trying to get a server up and running via knife bootstrap via this command:knife bootstrap "<ip-address>" -x ec2-user -r recipe[connector],recipe[all-servers] -N "serv-name" -E staging -i...

View Article


How to add the ip of an instance in a vpc to the security group of rds ec2...

I describe my scenario which is not like the one described here Unable to add Ec2 VPC Security group in Non VPC RDS MySQL Security group? or here Adding Spot Instances to the Security Group of an RDS...

View Article

run spark on AWS EMR by passing credentials

I am new to EMR and tried to launch Spark job as a step using something like command-runner.jar spark-submit --deploy-mode cluster --class com.xx.xx.className s3n://mybuckets/spark-jobs.jar However,...

View Article


Blocked a frame with origin EC2 URL from accessing a frame with origin DOMAIN...

What was workingI have MERN stack dashboard up and running on AWS EC2 instance. Ec2 instance is at ec2...aws.comReact app is served on port 5004. Node app is running on port 5003.What was changedThe...

View Article

Lambda cold start possible solution?

Is scheduling a lambda function to get called every 20 mins with CloudWatch the best way to get rid of lambda cold start times? (not completely get rid of)... Will this get pricey or is there something...

View Article


awslogs driver to redirect multiple o/p from EC2 docker container to cloudwatch

I have below setup in my docker-compose file, and as per the documentation, I could see the container logs to the cloud watch. However, I also wanted to redirect my application logs to the cloud-watch...

View Article

Image may be NSFW.
Clik here to view.

Install Apache Ranger 2.0 on AWS EC2

How to install Apache Ranger 2.0.0 on a simple AWS Ec2 next to an ERM cluster?Specifically I'm having trouble building Ranger from source (and I am not even sure if that is required!). My instance is...

View Article

Time out when connecting to Redshift from AWS EC2 using psycopg2

I'm working on a simple Python program to query a Redshift cluster using psycopg2. When I run the code on my local machine it works as expected: it creates the connection, it runs the queries and I get...

View Article
Browsing all 29239 articles
Browse latest View live


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