How to deploy a React + Express + Flask app on AWS
I have a web application to deploy that has react as the frontend, express and flask as the backend services. Currently, I am running a EC2 instance and put these on but I would also like to deploy...
View Articlehow to setup Mosquitto MQTT Broker on ubuntu server 18.04 running on AWS EC2...
I want to run MQTT Broker on EC2 instance to get data from esp8266 and store it in a file. I a program in python based on paho-mqtt. My program running perfectly in my local system.
View ArticleConnect to MySQL DB hosted in an AWS EC2 server
I have developed a website with Flask, a python framework, deployed with nginx, which works fine. The website interacts with a MySQL database through pymysql and SQLAlchemy using the following...
View ArticleAttach EBS volume to AutoScalingGroup
I need to setup an EC2 instance and attach an existing EBS Volume via CloudFormation.Currently there is an AutoScalingGroup for the EC2 instance with minsize=1 and maxsize=1 in place. I am not able to...
View ArticleConnection refused when calling API hosted on Amazon from PHP HTTP client
I have an API hosted on a web server running on amazon EC2 on port 5001. when I call the API from the chrome browser it works, but when I call it from PHP HTTP client I get the error:Failed to connect...
View Articlelet's encrypt SSL ceritificate reissue (certbot) in aws autoscaling group
I am using let's encrypt in amazon ec2. This will be part of an autoscaling group. The lets encrypt certificates expire every 90 days and has an auto reissue through IP domain IP/A value check. How...
View Articlecreating Ec2 from existing ec2 instance from terraform
I am given a task to create the similar ec2 instance from existing ec2 instance from the infrastructure in AWS. Is there any way I can import all the setting from existing ec2 and create similar ec2...
View ArticleAWS EC2 launching latest ubuntu Image in Cloud Formation Template
I have CFT that have in the parameter section: LatestAmiId: Type: 'AWS::SSM::Parameter::Value<AWS::EC2::Image::Id>' Default: '/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2'in the...
View ArticleI cannot connect to my AWS EC2 url and I have a feeling it has something to...
I am very new to coding so trying to figure this out was very hard for me. I'm trying to deploy my code with docker and running my code inside the EC2 cloud. But I can't seem to get the instance's url...
View ArticleHow can I create superuser in EC2 after contact using SSH(There is no app...
I connect to my EC2 instance and I use Django and deploy with elasticbeanstalk. I'd like to check how many Users in my service...but There is no app folder in EC2 instance and don't know how to make...
View ArticleCannot ping AWS EC2 instance with public IP
I cannot ping my EC2 instance with which has a public IP associated with it. Before posting here, I read Cannot ping AWS EC2 instance. It didn't help:Here's how I have things set up:I created a new...
View ArticleAWS - Abnormal Data Transfer OUT
I´m consistently being charged for a surprisingly high amount of data transfer out (from Amazon to Internet). I looked into the Usage Reports of the past few months and found out that the Data Transfer...
View ArticleCopying File From S3 To EC2 by User Data Approach
I have been searching solution for this task, all I find CLI approaches which I don't want.I simply want:I have an S3 Bucket, which has one private file, file can be an image/zip file anything.And I...
View ArticleAWS Elastic Beanstalk Load balancer issue
For single Spring boot App, Successfully setup CICD using AWS CodePipeline and Elastic Beanstalk.But now want to Deploy multiple Spring boot Services on same Elastic Beanstalk to minimize EC2 instance...
View ArticleSecuring WIX subdomain connected (externally) to AWS
I'm relatively new to AWS and was trying to secure my WIX subdomain (api.example.co.za) which is connected to AWS. So far, I have an EC2 instance for the website, as well as my S3 bucket running. I...
View ArticleHow can I create an ec2 instance which can be hibernated?
I'm stuck in the storage stage. It says: To use hibernation, encrypt the root volume.. But I cannot click the encrypt checkbox, nor did I find any way to encrypt the root volume.
View ArticleIs a particular AWS Lambda function launched in the same machine always?
We have created an AWS Lambda function in Python through the console, and tested by clicking the "Test" button. It works fine. So now I'd like to understand, every time when I hit "Test", Does this...
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 ArticleHow to deploy Magento web site on AWS?
I am new to AWS. I have to put my website which is made in Magento framework.How to deploy my website? As of now i have created EC2 instance and S3 bucket. In S3 bucket i have put my Magento downloaded...
View ArticleThis site can’t be reached AWS Magento installation setup
When I go http:/X.X.X.X/Magento2/setupI got this error This site can’t be reached.I attached my inbound rules. I have an AWS basic plan just in case.And I installed Magento from my SSH, everything was...
View Article