Google Oauth Error: redirect_uri_mismatch
I'm trying to use google Oauth 2 to authenticate with google calendar API for a web server running on AWS EC2.When I generated the credentials I selected 'OAuth Client ID' and then 'Web Application'....
View ArticleHow to verify JWT from AWS Cognito in the API backend?
I'm building a system consisting of an Angular2 single page app and a REST API running on ECS. The API runs on .Net/Nancy, but that might well change.I would like to give Cognito a try and this is how...
View ArticleConnection refused between 2 Docker Containers running on AWS EC2 Ubuntu...
I've cloned my project from GitHub to my AWS Ubuntu EC2 instance and I'm attempting to Deploy/Host it using Docker containers. The frontend of my application is an Angular project that I have built out...
View ArticleAdding a user to an Windows EC2 instance as a local user
I'm creating a cloudformation stack for a user to launch a Windows EC2 instance from a Service Catalog.A user will enter their username and password and will be presented with the Remote Desktop IP,...
View ArticleEC2 Windows Instance run python script at start
I have an EC2 Instance with Windows, and I need to run a python3/selenium code automatically right after it starts.I have tried USER-DATA but no success.The objective is set a process to run automated...
View ArticleWhat is the latency from hibernated state to a request can be accepted on AWS?
AWS supports hibernation of instances to EBS storage. From the hibernated state, they can be resumed and continue execution.How useful hibernation is compared to starting a new instance is crucially...
View ArticleLeaking memory when using Selenium webdriver in a for loop
I'm running a python script which uses selenium, on an EC2 instance (ubuntu).Under my AWS plan, I have 2 GB memory. I upgraded to this from the free version after some performance issues with my...
View ArticleRun a Python Script Stored in an AWS S3 Bucket on EC2 and Save Resulting File...
I have a Python script stored in an S3 bucket. I'd like to have it run in AWS (an EC2 instance presumably) and save its output (a pickle file) back into the same S3 bucket.In the Python script itself,...
View Articleaws notifications for data transfer costs
I am using an ec2 linux instance on aws, I am trying to stay inside the Free Usage Tier, but today I have noticed a charge for DataTransfer cost in Billing Management.I don't know what the limits for...
View ArticleResetting AWS params to default params
I have a Basic plan AWS account that I use for doing some labs and PoCs since I start doing some Devops.Lately I'm no more able to connect to created instance via SSH (despite that I create a rule for...
View ArticleCannot curl to my Website: unable to get local issuer certificate (NGINX,...
$ curl https://www.growmofo.com % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (60) SSL...
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 ArticleUsing AWS to accelerate CPU-heavy computing
I developed an optimized C++ program that does extensive tree searches.My goal is to compute all possible states and their values. The score of the root node takes around 7 minutes to compute on my...
View ArticleDjango; AWS Elastic Beanstalk ERROR: Your WSGIPath refers to a file that does...
I am using this tutorial: http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create-deploy-python-django.htmlI create the .ebextensions directory inside the root directory, and put this...
View ArticleEC2 instance web server site as a subdomain of a Squarespace site?
I have a website on Squarespace: www.example.comSquarespace doesn't allow custom code, so I developed a web app with advanced functionality on an EC2 instance that currently has an elastic IP address:...
View Articleneed to copy the Userdata script from one ec2 instance to another ec2 instance
I am working on a script through which I can create an instance and has the same setting (like vpc, subnet ID, Security group and user data) from another existing instance. I am able to get all the...
View Articledjango cannot connect to RDS postgresql
My Django application cannot connect to RDS PostgreSQL when it deployed to EC2. but oddly, it works fine when it running in my desktop.EC2 server and desktop were configured with python3, django1.9,...
View ArticleAWS Ubuntu: Configure Ejabberd Hosts from Snap Store
I installed Ejabberd from Snap Store on Ubuntu, on an AWS EC2. I can access admin webpage "localhost:5280/admin" locally on Ubuntu. However, I cannot access it outside VNC from...
View ArticleEC2 and RDS to setup a WordPress site - Error establishing a database connection
While trying to setup a wordpress site using RDS - Mysql and EC2 instance - I'm getting Error establishing a database connection (I already have httpd, php, php-mysqlnd.x86_64 installed on my ec2...
View ArticleIs AWS instances appropriate to my project? [closed]
I would like to ask for your advice regarding AWS system that I am not familiar with at all.In my research I will have to run an C++ simulation in the institute's Server with 162 CPUs and 720 G RAM....
View Article