Trouble Uploading Large Files to RStudio using Louis Aslett's AMI on EC2
After following this simple tutorial http://www.louisaslett.com/RStudio_AMI/ and video guide http://www.louisaslett.com/RStudio_AMI/video_guide.html I have setup an RStudio environment on EC2.The only...
View ArticleGetting snapshot cost based on tags
I am trying to use the cost explorer API using boto3. I am trying to get cost for EC2 snapshots. These snapshots have custom tags associated with them. What I am trying to retrieve is the cost of...
View Articleebextensions to modify httpd.conf
I d like to modify the just 1 line of the httpd.conf without having to replace the whole file with a new one via .ebextensionshere is what i am trying to achieve i want to change the logFormat from the...
View ArticleCannot reconnect to EC2 - Permission denied...
I previously was able to connect to my EC2 instance. After stoping the instance and restarting it The public DNS changed but after I made the adjustment to connect but now I get 'Permission denied...
View ArticleHow to point domain name to AWS windows EC2 XAMPP site without the url...
First time I am trying to host a website like this.I have a website hosted on my AWS EC2 windows instance using XAMPP, so the site sits in a folder called 'mywebsite' which is located in my htdocs...
View ArticleI created a Kubernetes cluster on a EC2 instance in AWS using KOPS. While...
#the command I used to create the cluster kops create cluster --cloud=aws --zones=us-east-1a --name=useast1.k8s.fg-am-53-deptt.vpc --dns-zone=fg-am-53.us-east-1.aws.cloud.b mw --dns private #For...
View ArticleCannot clone git repo un EC2 iNSTANCE
I used the following command and tried to clone a repo but unfortunately the following error pops up. I cannot go furtherubuntu@ip-add-rr-ee-ss:~$ git clone https://github.com/repo/file.gitCloning into...
View ArticleRenewed my SSL certificate but getting UNABLE_TO_VERIFY_LEAF_SIGNATURE in...
I have a nodejs/express api on a AWS EC2 server with a ssl certificate that is generated with Let's encrypt every 3 months. Auto renewal isn't on and we let it exipre before trying to renew but after...
View ArticleNot able to update EC2 Linux instance with command 'sudo yum update'
When I try to update EC2 Amazon Linux instance, I get following error:Loaded plugins: extras_suggestions, langpacks, priorities, update-motd Could not retrieve mirrorlist...
View ArticleSSl certificate installation issue in AWS
I try to install the SSL certificate in my AWS ec2. Here are the steps which I follow.1 - Request certificate from certificate manager services. 2 - Verify the certificate with the DNS method(Add Cname...
View ArticleImage source URL not working on AWS EC2 instance [closed]
I have a deployed instance running on AWS EC2 (t2.micro).I am trying to display an image file in home.html using:<src='https://i.kym-cdn.com/entries/icons/original/000/002/232/bullet_cat.jpg'>...
View ArticleRun NodeJS server and ReactJS/Webpack Client inside docker containers on AWS...
I am trying to run a web app on Elastic Beanstalk that has two docker containers, the contents of which are a NodeJS server and a ReactJS client with a Webpack. They currently communicate through a...
View ArticleHow to add new ASG instance into the postgresql conf file and instance IP to...
I have one EC2 instance , web servers are running inside this and this instance is in under Auto Scaling Group. And I have a standalone EC2 instance which has postgresql service running inside ....
View ArticleAn error happened while reading data from the provider. The remote...
I'm trying to connect Postgres Database on AWS EC2 instance to Microsoft PowerBI. I tried various method available on internet but its showing the above error. Although I've done this connection on AWS...
View ArticleAWS Lambda vs EC2 REST API
I am not an expert in AWS but have some experience. Got a situation where Angular UI (host on EC2) would have to talk to RDS DB instance. All set so far in the stack except API(middle ware). We are...
View ArticleHow to install docker on Amazon Linux2
I wanna create docker image for Amazon ECR. but yum can't find it in my Amazon Linux2.[root@*** ~]# yum install -y docker Loaded plugins: amazon-id, rhui-lb, search-disabled-repos No package docker...
View ArticleReverse SSH tunnel from Edge Device (Rpi) to EC2
I'm wondering if anyone could help with this:I have set up a ssh tunnel between my pi and an EC2 instance.Pi command:ssh -R 7100:localhost:22 [Hostname] EC2 command:sudo netstat -tulpn | grep LISTEN...
View Article'Access-Control-Allow-Origin' expecting multiple values
I was having issues with CORS for my server, and I tried to include the "Access-Control-Allow-Origin". When I ran the code below, it expected another input argument, even though the documentation shows...
View ArticleKubectl is not working on AWS EC2 instance
I am unable to install kubectl on AWS ec2 instance(Amazon ami and ubuntu). After installing kops and kubectl tried to check the version of kubectl but it is throwing the error:The connection to the...
View ArticleNEWBIE: Don't know what to do after terraform import
Prior to terraform import, I have defined:# instance.tf resource "aws_instance""appserver" { } Then I ran: terraform import aws_instance.appserver <instance-id> and went smoothly, which I can see...
View Article