Installing Go and Singularity on AWS Elastic Beanstalk
I am currently trying to install Singularity on elastic beanstalk, and as a prerequisite I also have to install Go. Currently one of my .config files in my .ebextensions directory looks...
View ArticleReserved Instance Flexibility in AWS
I am planning to buy 5 x t3a.xlarge reserved instances for 3 years.After the 3rd year I am planning to buy 3 x t3a.2xlarge instances to provide reservation for the t3a.xlarge instances whose...
View ArticleHow do I provide a zip file for download from an AWS EC2 instance running...
I have created a Flask app that is capable of uploading multiple files to the EC2 instance. My flass app code:import os from flask import Flask, request, render_template, url_for, redirect import flask...
View ArticleKeep web servers running on Amazon EC2 instance
I want to run two application servers on Amazon EC2 instance using different ports (5000 and 5001) and keep them running after closing the SSH connection.I am using the commanddisown -h %1 bg 1 EDIT:...
View ArticleRead operation exception MongoDB in EC2, but local is ok
My web app and mongo built in different ec2.I run web app in localhost and connect mongo in ec2. It's OK.but I deploy web app in ec2. It have exceptioncom.mongodb.MongoException$Network: Read operation...
View ArticleThe credentials supplied to the package were not recognized (development...
I am not getting notifications from APNS. I have hosted my .Net API code on EC2 instance. I have checked for :Port 2195 and 2196 are open. I have created p.12 properly as described Link
View ArticleHow to close boto3 ec2 connections explicitly, boto3?
I am making an ec2 connection using boto3. I have a a lot of long running connections and most of them are going in CLOSE_WAIT state. I know after some time EC2 will close the connection at its end....
View ArticleMaping the domain name purchased from big rock to aws ec2 server
My question is that can i use the default name servers provided by the bigrock for mapping my domain to aws ec2 . I have done this by amzon route 53 there i have created a hosting zone and i haved...
View ArticleDo I incur charges when downloading on an EC2 instance?
I use AWS free tier to spin up t2.micro boxes and use it to practice Docker since the download speed is vastly great when pulling large images in mere seconds. I am assuming download is free and upload...
View ArticleQuery EC2 tags from within instance
Amazon recently added the wonderful feature of tagging EC2 instances with key-value pairs to make management of large numbers of VMs a bit easier.Is there some way to query these tags in the same way...
View ArticleLaunchConfiguration Userdata vs AWS::CloudFormation::Init
In a cloudformation template, which are the differences between defining the initializazion script into the Userdata section of a LaunchConfiguration resource, or by using AWS::CloudFormation::Init...
View ArticleHow to create AMI from EBS snapshot with aws cli
I know that AMI can be created from EBS snapshot on EC2 console. I want to operate this AMI creation not on aws console but with aws cli command. aws ec2 copy-image command dose not have any ebs...
View ArticleCloudWatch Alarm on uptime of ec2
I am setting up an cloudwatch alarm on the uptime of EC2 instance as when the uptime of instance exceed 5 hours then alarm trigger. Please help to find out the solution to this problem as I am new to...
View ArticleBeanstalk php blue-green deployment is returning a 503
I'm doing a blue-green deployment to migrate my wordpress application to a new php version (from 7.0 to 7.3). Somehow after launching the new beanstalk environment the application returns a...
View ArticleHow can I install xclip on an EC2 instance?
I'm following Github's instructions for adding an SSH key. I've generated the id_rsa.pub file from my AWS EC2 instance, but I cannot complete the step that has me copy the contents of the file using...
View ArticleNiFi access denied when trying list/put/delete objects from s3
I'm trying to move data between s3 and Nifi, and I'm getting access denied. The machine has the correct IAM permissions as all s3 cli commands work. I am running a RHEL instance with nifi running as...
View ArticleEC2 instance not reachable after assigning Elastic IP and setting up Route 53
Consider me a Newbie who doesn't have enough knowledge but want to learn.I setup an aws EC2 - t2micro instance and installed Lamp (apache 2, Mariadb and PhpMyAdmin)This was working fine until I...
View Articlehow to serve node js api through AWS cloudfront?
I am trying to serve my node js API (deployed on AWS EC2 and attached with application load balancer) through cloudfront url, is it possible?Here are the steps I followed so far - Created S3 bucket to...
View ArticleR shiny app hosted on AWS stalls on first load, but then OK on subsequent loads
I have an R shiny app hosted through an Ubuntu 18 server on AWS that stalls when a new computer accesses the app. The banner is shown, but nothing else and no errors are provided. Subsequent visits to...
View ArticleHow can I instruct an AWS CloudFormation template to create resources in a...
I am new to CloudFormation templates. I have basic template in yaml that creates an EC2 Instance. Every time I create a stack and use this template, the EC2 Instance is ALWAYS created on US East N....
View Article