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 ArticleTransferring 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 ArticleFind 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 ArticleBest 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 Articlechange 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 ArticleValidation 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 ArticleHow 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 ArticleCan 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 Articleimport 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 Articleawscli 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 ArticleError 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 ArticleECS 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 ArticleJMeter 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 ArticleHow 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 ArticleAWS 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 ArticleEC2 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 ArticleAfter 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 ArticleImplement 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 ArticleUnable 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