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

"Port Fowarding" to 8080 on an EC2 instance in AWS?

Here me out.I know that port forwarding is only something you can do on a router, and all EC2's come with a public IP automatically, but I am running a web app that runs on port 8080 on my EC2 server...

View Article


AWS batch to always launch new ec2 instance for each job

I have setup a batch environment with Managed Compute environmentJob QueueJob DefinitionsThe actual job(docker container) does a lot of video encoding and hence uses up most of the CPU. The process...

View Article


Load data to redshift from ec2 without uploading to s3

I am developing a java program and is looking to load data to redshift table directly from ec2. I know s3 is a storage location. About ec2 I know only that ec2 instance is a like a virtual machine. I...

View Article

Can I stipulate that EC2 instances in a certain launch config use my Reserved...

I have an ASG with a Launch Config that uses the instance type I've purchased Reserved Instances for, but I want to ensure that this ASG/Launch Config gets first dibs on the purchased Reserved...

View Article

Image may be NSFW.
Clik here to view.

Not able to connect to Amazon RDS from EC2 Django Instance

I was deploying my Django Project on AWS (this is my first time doing this) after a lot of first time learning i got stuck at an error : django.db.utils.OperationalError: (2005, "Unknown MySQL server...

View Article


How to connect to a SQL sever in AWS EC2 from Android Studio?

I have installed MySQL in an EC2 instance and have a database in it. I chose EC2 because I'm updating the database through .net application.I have to write an android application to fetch the required...

View Article

Sagemaker usage of EC2 instances

Is there a way to view/monitor AWS Sagemaker's usage of EC2 instances?I am running a Sagemaker endpoint and tried to find its instances (ml.p3.2xlarge in this case) in the EC2 UI, but couldn't find them.

View Article

Deploy WebApp over amazon EC2 using Docker

A webApp having mongoDB, Angular & Springboot as core components, i have to deploy it over Amazon Ec2, with the help of docker, I have just started to use Docker, How do i get started ?

View Article


Web application deployment on AWS

Which is the best strategy to deploy .net Web application on AWS?1. On EC2 instance where on single instance deploy both application and MS sql database.2. On elastic beanstalk where the application is...

View Article


Unable to change ownership using chown even as root user

Below is a snippet of my automation script, ownership gets changed for the directory (or)mount point - /deploy/umbro/$Client to ind$Client:ind as expected, but on the other hand, ownership for the...

View Article

How to update aws auto-scaling group min & max configurations using lambda

I am trying to come up with a solution for aws cost optimization. I am able to do it with cloudwatch rule and Lambda, this approach is working fine if I have to directly stop the instance and no...

View Article

AWS Connection traversal

EnvironmentMachine A is at my house, behind NATMachine B is an EC2 on AWS, and, has a public IPMachine C,D,E are EC2 on AWS, have no public IP, BUT, have INet access & access to Macihine Bmachine A...

View Article

Email notification when spot request status change

Pretty new to AWS and spot instances.As I understand it, when creating a spot-request if the parameters are valid but the request cannot be fulfilled due to capacity/price constrains, it goes into a...

View Article


Image may be NSFW.
Clik here to view.

How to add rules to allow traffic on some port range for nodePort on aws EKS?

my exposed service on nodePort seems to not allow traffic through it, so how to add rules to allow traffic for that port range on CLI not on the console:

View Article

get http AWS server error code in python with boto3

I'm building a system that works a lot with AWS using boto3 in python and I need to log every error that occurs during the running process.I know how to catch client errors (if exists represented using...

View Article


Where do I go to see what the hell my ECS tasks are actually doing when they...

My biggest frustration with ECS is that its not observable.I deploy my service, my tasks go into "pending" and I cross my fingers.Sometimes I get useful error messages in the console, sometimes they...

View Article

Create new tag for an AWS instance using Powershell

How to add new tag to existing AWS EC2 instances. I have the names of the instances for which I need to add tag and tags needs to added only for those instances. I have a text file with instance name...

View Article


mongoose populate works locally but not on aws

The user model is a bit weird i know. The initial data that should be populated comes from a seed file if that makes any difference. Again, this all works locally though. None of them populate on AWS...

View Article

How to make kubernetes dashboard accessible with internal load balancer in...

I tried to expose kubernetes dashboard with internal load balancer on aws EKS since i have only private subnets, but when i try to access the generated url (with VPN) i can't. After that i changed the...

View Article

como ficaria essas regras de .htaccess em nginx [closed]

I'm looking to put an application on amazon with nginx. but I was unable to set up these rulesRewriteEngine onRewriteCond %{SCRIPT_FILENAME} !-fRewriteCond %{SCRIPT_FILENAME} !-dRewriteRule ^(.*)$...

View Article
Browsing all 29250 articles
Browse latest View live


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