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

AWS EC2 Placement Groups: Partition vs Spread

Is there a good comparison table for the two types of AWS EC2 Placement Groups?PartitionSpreadI have read the AWS Documentation but I am still a bit confused.

View Article


Transferring a jar file to a remote EC2 server

I'm using Apache Spark in AWS EC2 server. When I submit a job to the Spark, I made my code as jar files.Since my code is rarely modified, I do 'git clone' my code from Github and create jar files when...

View Article


Find region from within an EC2 instance

Is there a way to look up the region of an instance from within the instance?I'm looking for something similar to the method of finding the instance id.

View Article

Best approach to setup enterprise jenkins [closed]

I have a requirement to setup enterprise jenkins which will be used for CI and CD purpose for both monolith and Microservices applications. We are looking at 2 different approach. They areSetting up on...

View Article

change ec2 instance to use ecr image and docker

I have ec2 instance for testing. I deployed using OpsWorks, and now I'm making new job on Jenkins to deploy automatically. what I want to do is when someone push to branchJenkins server build docker...

View Article


Validation Exception in AWS Code Pipeline

While setting up AWS Code Pipeline as followed by the tutorial, I run into this error during the BlockTraffic event of the...

View Article

How do I protect my EC2 against cyber threats embedded in uploaded documents?

My EC2 allows users to upload documents via a file upload html element. How can I ensure the files being uploaded by users to my Ec2 are not infected and won’t infect the entire EC2?

View Article

Can The AWS CLI Copy From S3 To EC2?

I'm familiar with running the AWS CLI command to copy from a folder to S3 or from one S3 bucket to another S3 bucket:aws s3 cp ./someFile.txt s3://bucket/someFile.txt aws s3 cp...

View Article


import error django corsheaders

i am a beginner in django. i am doing project based on it. project has two stages. i completed first phase and uploaded the code to amazon ec2 instance. after completing second phase i added some...

View Article


awscli describe-instances, unable to sort query when there are multiple...

I am attempting to sort a list of instance IDs by launch time (so older instances are on top), but I seem to be having problems because of the way that the output of 'describe-instances' is separated...

View Article

Error using gRPC with Tensorflow Serving Docker container on EC2

I am trying to send a gRPC request to a TF serving Docker container running on an AWS EC2 instance. Running the container locally works fine, but sending the request to the ec2 instance gives the...

View Article

ECS task works fine but Load Balancer won't connect

I created a simple flask application and want to deploy it as a docker container on amazon ECS using Fargate. My image is in ECR and I went through the getting started page on ECS. Now I have 1 task...

View Article

JMeter master slave setup on AWS

I want to setup a 3 node cluster for JMeter on AWS EC2 instances. I am not able to find any reference. Can anybody guide it

View Article


How to create EC2 instance with two private IPs using terrafrom

I am trying to create 3 EC2 instances with two private IPs attached to eth0 and eth1 using terraform, can you suggest me the right terraform resource to create and attach secondary private IPs address...

View Article

AWS load balancer and maintenance page

I'm using AWS Load Balancer with 3 EC2 servers, and I'm trying to serve a Maintenance page when site is under maintenance. This page need to return 503 HTTP code, because it is a proper code for a...

View Article


EC2 Instance not Reachable on a specific port using its public DNS

Total noob here so bare with me please, I have searched quite a bit but can't figure this out.I created a new EC2 instance and a new SG and set the inbound rules to accept custom TCP on port 8080 as...

View Article

After attaching a volume to Windows 2016 instance thru AWS mangement console,...

I was able to create a new volume (attached pic). It says successfully attached to the windows 2016 instance. But when I RDP into that windows server, I only see "C" drive but not the newly attached...

View Article


Implement Auto Tagging for EC2 and its associated resources in boto3

A newbie to boto3, we have a requirement to implement specific tags to all resources in AWS, I would like to start with EC2. My requirement is to apply specific tags to EC2 and its resources (ENI,...

View Article

Unable to add tag to instance python

I'm creating an ec2 instance in python boto3 with this code:image_id = input("Enter the image id: ") max_count = input("Enter the number of instances you want: ") instance_type = input("Enter the...

View Article

Is there an AWS AMI for node.js?

Is there are maintained AWS EC2 AMI made for node.js?

View Article
Browsing all 29444 articles
Browse latest View live


Latest Images

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