How to make windows EC2 user data script run again on startup?
A user data script will run the first time an EC2 is started. How can I restore/reactivate this ability on a windows EC2?NoteI have tried the script suggested here but it fails immediately as there is...
View Articleauto-scaling mongodb on EC2
I am looking for a reliable, cost effective and safe way to auto-scale mongodb. We have a cloud application that peaks during business hours and then is mostly unused after hours. We also have a...
View ArticleHow is a spark application accessing a file/directory in Amazon S3 bucket?
say I want to load a .csv file in a S3 bucket as a dataframeI know there's a code spark.read.format('csv').load("s3://path/file.csv") But I want to know what happenes behind the scene? Or what exactly...
View Articleec2 to url migration loading failure
I created an react application using create-react-app inside my ec2 server ec2-13-127-7-163.ap-south-1.compute.amazonaws.com . It required me to update the .env file wih HOST pointing to...
View ArticleLink Route53 registered Domain to a CMS system running on EC2 instance
I would like to link Route53 registered Domain to a CMS system running on EC2 instance. I have registered a domain in AWS Route53. I have a Ghost CMS running on a EC2 instance. Inside the EC2 instance,...
View ArticleNodeJs - Error: error:0906D06C:PEM routines:PEM_read_bio:no start line
I am trying to use godaddy ssl certificates on ec2. But getting this error. Error: error:0906D06C:PEM routines:PEM_read_bio:no start lineFlow I used. openssl req -new -newkey rsa:2048 -nodes -keyout...
View ArticleDjango ERR_EMPTY_RESPONSE
I am currently running a Django site on ec2. The site sends a csv back to the client. The CSV is of varying sizes. If it is small the site works fine and client is able to download the file. However,...
View Articlecannot ping aws ec2 server or launch webpage after port 80/443 setup
I created a simple web application on AWS ec2 ubuntu instance, but was unable to access the webpage by ip and port from other machines. The application binds on 0.0.0.0:80, and this port has been added...
View ArticleAWS IAM questions
I have some single choice questions regarding AWS. I would appreciate if anyone can help to find the correct answers as I am not sure in some of them. 1. How many active access keys can an IAM user...
View Articleaws Instance not working showing error- remaining preferred:...
debug1: Will attempt key: Dec10.pem explicit debug2: pubkey_prepare: done debug3: send packet: type 5 debug3: receive packet: type 7 debug1: SSH2_MSG_EXT_INFO received debug1: kex_input_ext_info:...
View ArticleCORS errors with Chrome/Tomcat8
I'm integrating a third party library into an Ember.JS application. The library dynamically creates an <iFrame/> window which makes some API calls back to its server component. The server side is...
View Articles3 static web hosting points route53 with two different domain
I have two domains www.example.com,www.example.in two different domains but I need the same contents hosting the website with a single s3 bucket. two domains are from GoDaddy I already updated NS...
View ArticleExplanation for "ImportKeyPairRequest" and "ImportKeyPairResult" in...
I am practicing to write a java code for creating an EC2 key pair using generated key material (client-generated key pair). As in com.amazonaws.services.ec2.model package there are two classes named...
View ArticleShould I need to open port 25 for sending email using ses from ec2 instance
I'm using Amazon SES to send emails from ec2 instance to the app users, I've sent emails using the sandbox ses account. I want to move out of sandbox, I'm little bit confused after gone through the...
View ArticleUse boto3 to get current price for given EC2 instance type
Now that AWS have a Pricing API, how could one use Boto3 to fetch the current hourly price for a given on-demand EC2 instance type (e.g. t2.micro), region (e.g. eu-west-1) and operating system (e.g....
View ArticleI couldn't create deployment group and could not write service role
I want to deploy backend which is a Spring Boot App and frontend files which is in AngularJs from GitHub to AWS. I created an application in code deploy named klikkart-app. I have given the Deployment...
View ArticleGetting Status Code 499 on GET requests from my AWS Cloud9 runner
I've been adjusting my workflow to the new AWS version of Cloud9 for a few weeks now, it's been going mostly smooth, but I hit a strange issue that I can't find any documentation on.Whenever I try to...
View ArticleAmazon EC2 (AWS) equivalent metrics for "Inbound Flows" metrics in Azure VM
Azure provides "Inbound Flows" (incoming live connections to VM) metrics at VM level and allows autoscaling based on that. Is there a similar metrics in AWSEC2 level as well?
View ArticleHow to access remote database from AWS China?
My company has a private CMS published in eu-west-1 and it is made of a web server (IIS) and a database server where all contents are stored. This CMS serves some websites which need to be easily...
View ArticleFile not found exception in AWS elasticbeanstalk tomcat machine
I am new to the AWS elasticbeanstalk and I recently created a elasticbeanstalk web app. This is a rest API java web service and images stored in the DB needs to be sent back from a web service. Usually...
View Article