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

Launch multiple RStudio sessions from Docker on EC2 [migrated]

I managed to install RStudio through Docker, running on port 8787 on my EC2 instance. I wanted to add another RStudio session (not necessarily sharing the same volumes), so I tried the following:sudo...

View Article


How to reach out edge optmized Api Gateway from an EC2 with private link?

I would like to reach out my API Gateway (edge optimized) from an EC2 without an internet connection. It is possible? I have attached a private link from my EC2 VPC to API Gateway and I'm able to...

View Article


Redis Cluster mode: Need to advertise custom internal IP/Port

To access AWS resources, we have to use a custom endpoint, pointing to an NLB and use the IP/Port of the resource as the target group of the NLB.For example take Redis: Redis -> Target Group ->...

View Article

boto3 describe_fleets api does not fetch all fleet information

I have created few ec2 fleet using boto3 create_fleet api. Now i want to see all fleet created in region for that i am trying to use describe_fleets. Here is snippet.ec2 =...

View Article

Launch Configuration question (AWS Certified Solutions Architect – Associate...

You can see the question and answer given by others. My question is why not C, C also seems correct.Which of the following statements is true of creating a launch configuration using an EC2 instance?...

View Article


persistent storage solutions for aws fargate

I'm running an apache webapp on a container in ecs fargate, but I need to be able to persist certain files so that any changes to them are available to all users through all versions of the webapp....

View Article

Image may be NSFW.
Clik here to view.

Err_connection_refused in amazon ec2 instance

I am facing ERR_CONNECTION_REFUSED / The site can't be reached issue with my ec2 instance(Amazon linux ami)When I used telnet <publicIP> 80 it says Trying telnet: connect to address : Connection...

View Article

Is it possible to automate Internet Explorer on an EC2 instance?

I would like to scrape some data from a website that only seems to show up in internet explorer, I have booted up a Windows Server 2019 EC2 instance and was hoping to install Python and Selenium along...

View Article


Can I stop a spot instance in aws just like I can stop and start an on demand...

I had a use case where I was switching to using spot instances for my application instead of on demand instances. According to my requirement i should be able to stop that instance and restart it just...

View Article


Do the request headers always match the response headers?

I was trying to get GitHub Commit Success or Fail data from GitHub Website. so I sent request that include timezone cookie in request headers and got response result in accordance with the request...

View Article

s3cmd ImportError: No module named S3.Exceptions

Received an error after installing and trying to run s3cmd 1.0.0s3cmd -h Problem: ImportError: No module named S3.Exceptions S3cmd: unknown version. Module import problem? Traceback (most recent call...

View Article

Access an application running on NodePort of minikube inside an EC2 instance...

I have an EC2 instance say its IP is 44.XX.XX.XX (Say IP1), I have an minikube which is running inside this EC2 instance say its IP is 10.XX.XX.XX (Say IP2) , which I came to know by doing minikube ip...

View Article

How to enabled secure connection over https between AWS Load Balancer and EC2...

It been settled up in AWS a load balancer with 2 listeners as follow:HTTP:80 - fowarding to a Target Group (2 EC2 instances)HTTPS:443 - ELBSecurityPolicy forwarding to the same Target Group (2 EC2...

View Article


Redis Cluster mode: Need to advertise custom external IP/Port

To access AWS resources, we have to use a custom endpoint, pointing to an NLB and use the IP/Port of the resource as the target group of the NLB.For example take Redis: Redis -> Target Group ->...

View Article

AWS - Using CloudWatch to trigger script on ec2 instance

I've found a lot of similar questions but none that seem to be specific to my question here: I have a python script that deletes old log files. I have Cloudwatch to monitor available storage, is it...

View Article


SSH from EC2 to itself by different user which is not ec2-user

I'm newbie in AWS and need some help. I created user (ronen) in my EC2 instance (In addition to the ec2-user) by the adduser command. Then I created public/private key by the following...

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


AWS: Problem accessing metadata tags from within EC2

curl -v http://169.254.169.254/latest/meta-data/ * Trying 169.254.169.254:80... * TCP_NODELAY set * connect to 169.254.169.254 port 80 failed: Timed out * Failed to connect to 169.254.169.254 port 80:...

View Article

PHP ARGON2I password_hash function does not work

I have created a PHP file which includes the following code:... ... $password = password_hash($_GET['password'], PASSWORD_ARGON2I, ['memory_cost' => 2048, 'time_cost' => 4, 'threads' => 3]);...

View Article

How can I use advanced regex in a boto3 ec2 instance filter?

I'm trying to match EC2 instance names not starting with a hyphen (-), so I can to skip instance names starting with a - from the shutdown process. If I use a ^ or *, these basic regex operators work...

View Article
Browsing all 29243 articles
Browse latest View live


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