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

Node.js get signedurl with AWS EC2 IAM Role Credentials

In my Node.js project I need to get a signed url in S3 with AWS IAM role. The part for getting the url is like this url = s3.getSignedUrl('getObject', { Bucket: myBucket, Key: myKey, Expires:...

View Article


Change key pair for ec2 instance

How do I change the key pair for my ec2 instance in AWS management console? I can stop the instance, I can create new key pair, but I don't see any link to modify the instance's key pair.

View Article


Laravel - AWS Beanstalk - Storage symlink not working (403 error)

I am using elastic beanstalk to deploy my laravel application. Everything is working fine except for my images as I need to create a symbolic link with storage to access it publicly. P.S. Works fine on...

View Article

Why does it matter if my EC2 instance is publicly available?

I have three allowable inbound requests on my Linux EC2 instance.Type Protocol Port Range Source SSH TCP 22 [my ip address] Custom TCP Rule TCP 8787 0.0.0.0/0 Custom TCP Rule TCP 3838 0.0.0.0/0 The...

View Article

Image may be NSFW.
Clik here to view.

servlet-HTTP Status 500 Internal Server Error

I deployed my java web application in AWS and while trying to access i am getting the bellow mentioned error. I am not using xml file because the jsp will call ths servlet class.My index.jsp...

View Article


S3 policy to allow to write to a bucket but not to read from it, is it possible?

Is it possible to allow only write operation to a user to a bucket without the read permissions? The goal to let all my EC2 instances to write each one to a different bucket and not let them to read...

View Article

aws cli automatically terminates my clusters

I'm running the following command using aws cli v2 on Windows 10aws2 emr create-cluster --name "Spark cluster with step" \ --release-label emr-5.24.1 \ --applications Name=Spark \ --log-uri...

View Article

Getting “took too long to respond” error for https, but http works fine

I have a website hosted with amazon aws, ec2 server. If you don’t know, ec2 gives me a Windows Server I can access with remote desktop where I install IIS ect… I am using Web.Forms(with aspx files)I...

View Article


How to to call a python script to execute as part of an EC2 cluster workflow...

I am calling for the creation of an ec2 instance like so:aws2 emr create-cluster \ --name "Spark cluster with step" \ --release-label emr-5.24.1 \ --applications Name=Spark \ --log-uri...

View Article


AWS EC2 - Secure connection from specific domain to database?

I'm using AWS EC2 to run a database that supports search capabilities - similar to Elasticsearch. The database is only running in a single AWS region due to budgetary constraints.The database is also...

View Article

What should my OAuth2 Redirect URL be with an S3 static site frontend and an...

I'm running the usual setup with React apps where I'm using S3 and Cloudfront for the frontend for my single page application and then having them query an EC2 backend for any data that they need. This...

View Article

file_put_contents(C:\xampp\htdocs\instant\storage\framework/sessions/FF):...

I was trying to upload this instance on Amazon elasticBeanstalk, but it doesn't seem to work. I have tried using ssh to access the files to no avail.i did php artisan config:cache and composer...

View Article

AWS EC2 instance only shows "Welcome to nginx" when visiting via Elastic IP

I have a web app hosted on AWS EC2. Why is it that when I type the Elastic IP into my browser all I see the default "Welcome to nginx" page? When I visit via the public DNS url...

View Article


EC2 instance terminate after stopping and automatically start

I want to change the config of EC2 instance that created by Elastic BeanStalk, but when I stop instance ( from EC2 --> Running instance --> Action) instead of stopping, the instance state change...

View Article

How to see files in branch created on local repo on EC2?

I have created git repository from one of the folders on EC2(local repo). Then I created a branch on local repo(without cloning, just did git checkout -b *branch_name*). When you create a branch on...

View Article


Python script not working in cluster deploy mode on AWS

I have a python script I'm trying to run on an AWS EC2 cluster, the script has code like this:df = ... make a dataframe print(f'made dataframe') df.to_csv('/homd/hadoop/my_file.csv') However, EC2...

View Article

Fixing AWS Application Load Balancer connection timeouts under small loads

I'm currently using an application load balancer to split traffic between 3 instance. Testing the individual instance (connection via IP), they are able to handle about ~200req/second without any...

View Article


Trouble with getting password with my custom AMI

I can't get my windows password when I using my AMI. I lost my pem and create a AMI and try to launch another instance, but I can't get password. I forget to save any files before reinstalling windows....

View Article

How do you remove/undo/delete a pending modification on Amazon Aurora RDS?

I was pegging the 90 total connections allowed on my Aurora RDS instance, now that I've got a few more heavy duty sites than I had before. I decided to upgrade the instance and I did so, but put the...

View Article

Image may be NSFW.
Clik here to view.

AWS Autoscaled EC2 instance failing to launch with cloudformation

I am trying to launch Autoscaling EC2 instance from cloudformation and below is my cloudformation. i am getting error as Received 0 SUCCESS signal(s) out of 1. Unable to satisfy 100%...

View Article
Browsing all 29248 articles
Browse latest View live