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

openpyxl "BadZipFile" on Amazon Linux (RedHat/CentOS) EC2

I have to read a .xlsx file, fill some cells and save the edited copy, so I did the following:Saved the file on my django project root folder from S3 with wget:$ sudo wget...

View Article


Image may be NSFW.
Clik here to view.

ASG Launch and Terminate processes suspended but Target Tracking Scaling...

So I've set up a Target Tracking Scaling PolicyI'd want to be able to pause/disable this policy without having to destroy it. I tried suspending Launch and Terminate processes, but I can still see my...

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

Swagger-UI: Protect Swagger-UI access

I am using a locally hosted Swagger UI on top of Node on an EC2Ubuntu instance.Currently, in a browser when I type localhost:3000/myproject, I get the rendering, which basically pulls:...

View Article

Jenkins Pipeline Docker -- Container is Not Running

I have Jenkins running on an EC2 Instance. I have the EC2 Plugin Configured in a Peered VPC, and when a job is tagged 'support_ubuntu_docker' it will spin up an Jenkins Slave, with Docker...

View Article


Having CloudFormation wait for the user data

I have a cloudformation stack which creates a EC2 instance and install something in it using UserData. Cloudformation immediately reports CREATE_COMPLETE upon creation of the EC2 instance based on...

View Article

How can I allow users to only create ec2 instances in a permitted subnet?

I want to allow users to only run/stop ec2 instances in permitted subnets, but the code as follows didn't work:{"Effect": "Allow","Action":...

View Article

What kind of EC2 instances do I need to pull out the messages from an sqs...

I am getting familiar with queue services in Amazon.SQS is pull based not push based, so I have to have an EC2 instance pulling out the messages from the queue.Are those instances EC2 AMI VM? or when I...

View Article


Not able to install aws sdk for ruby on my amazon linux instance

I have my ec2 instance setup where I have downloaded Ruby and Rails and now need to run the ruby files. For installing ruby I have followed following...

View Article


Image may be NSFW.
Clik here to view.

Amazon SES Exception: IAM User is not authorized to perform...

I am new to AWS, I was trying to deploy Springboot application in AWS EC2 instance using Elastic beanstalk. I wanted to make use of AWS SES service to send notifications to the subscribed application...

View Article

Psycopg2 connect throws Operational Error

I have a t2.micro ec2, in which I have scheduled 4 scripts to run daily. All of them throw the exact same error as mentioned below. Apparently, non of these throw any error when I run them manually -...

View Article

Custodian policy to stop ec2 at particular time

Iam new to custodian and trying to write an offhours policy to stop ec2 instances irrespective of tags. The policy is deployed as lambda and triggered by cloudwatch event(runs every hour). policies: -...

View Article

Cannot connect/query from Presto on AWS EMR with Java JDBC

If I ssh onto the master node of my presto emr cluster, I can run queries. However, I would like to be able to run queries from java source code on my local machine that connects to the emr cluster. I...

View Article


Image may be NSFW.
Clik here to view.

EBS volume not visible in remote computer

I have created an instance and attach a EBS volume to it. When i connected to remote desktop, i am unable to see EBS volume drives. How can i see drives of that EBS volume ? I am attaching instance and...

View Article

Cannot access s3 from application running on EKS EC2 instance, IAM assume...

NOTE: similar question asked here, but no proper solution provided.I setted up an EKS cluster via eksctl tool with single EC2 node. Deploy a Pod inside the EC2 node, this Pod writes the logs into s3...

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

Laravel API not working after I deploy in beanstalk AWS

Web route is working fine but api route is not working (404 error), after I deploy in beanstalk aws. 404 not Found Error ImageI follow this tutorial https://www.youtube.com/watch?v=ISVaMijczKcIs there...

View Article


What is the latency from hibernated state to a request can be accepted on AWS?

AWS supports hibernation of instances to EBS storage. From the hibernated state, they can be resumed and continue execution.How useful hibernation is compared to starting a new instance is crucially...

View Article

Reducing costs on AMI snapshots

I am starting with AWS EC2 and I wanted to be able to spawn EC2 instances on-demand with some scripts ready to run and the necessary packages installed. I know that maybe using containers would be a...

View Article

EC2 - Start a new instance even if executors on the running EC2 are available

I am using the Jenkins EC2 Plugin to spin up AWS EC2 instances on demand to use as slaves for my build jobs. When I kick off multiple jobs at the same time, I want to run each job on its own EC2...

View Article
Browsing all 29250 articles
Browse latest View live