What is the best way to provide files for download from an AWS EC2 instance?...
So I am supposed to create an application that uploads files(images) to an AWS Ec2 instance running Linux. I used Flask to create the upload logic and a simple HTML webpage to upload files.After this I...
View ArticleCan an S3 bucket be used for Registration form input/output?
I have an AWS S3 bucket and I am trying to create a registration page that will post the input from the form to an API Gateway, and I'm wondering if this is doable on S3. I know that S3 is for static...
View ArticleWill AWS Autoscaling group with MixedInstancesPolicy launch On-Demand...
I'm using AutoscalingGroup with mixed policy, where OnDemandBaseCapacity and OnDemandPercentageAboveBaseCapacity are 0, so it won't launch any On-Demand instance but always try to request and launch...
View ArticleHow to change localhost to ec2 public dns
I have an ec2 instance on which i login as:ssh -L 5001:localhost:5000 sumit@<public DNS>I have an application (superset) which I run as:2020-04-01 08:18:24,531:INFO:root:logging was configured...
View ArticleAnsible dynamic inventory missing from github repo
I was checking this documentation https://docs.ansible.com/ansible/latest/user_guide/intro_dynamic_inventory.html#inventory-script-example-aws-ec2and found that EC2 dynamic inventory is not available...
View ArticleCloudWatch Alarm on Specific Group of Instance
I am very new to the aws Cloudwatch and my usecase is like I have 50 instance running in specific region, Now I have to add the billing alarm on only 10 instance from the group of 50 instances.I don't...
View ArticleAmazon EC2 instances Apache log
I set up an EC2-Instances at AWS and SSH-ed into the machine and set up a simple httpd service. On viewing the apache log in which i make multiple concurrent requests to the "index.html" file from my...
View ArticleHow to enable jpeg suppot for php GD in aws linux 2? [closed]
I am using php7.4 also installed php-gd using yum install php-gd and also restart my httpd service and also reboot my server.installed libjpeg but still gettingArray ( [GD Version] => bundled (2.1.0...
View Articlehow do I resolve httpd conflict on amazon ec2 linux?
I am trying to install apache on my amazon ec2 instance. when I use :sudo yum -y install httpd I get a conflict with httpd2.2 Error: httpd24-tools conflicts with httpd-tools-2.2.25-1.0.amzn1.x86_64 But...
View ArticleNetwork Setup Service service entered the stopped state
We have recently deployed a Windows Server 2019. We are running IIS, with a WCF service. Connectivity to the service seems to be fine, however, in the Windows event log I'm seeing regular entries of...
View ArticleAWS blocked mixed content when calling API
I have a front end application in digitalOcean with domain name testDO. This domain has SSL certificate. So all request origin are from https://testDO.com.I have a backend server sitting in AWS created...
View ArticleAWS - how do we send requests to specific server
I have a multiple sites for various location like UK,BE,US etc... If i use the US site it need to be hit only US region server only. Like wise UK means UK server etc.. Is this possible to achieve using...
View ArticleHow do I install php5.6 onto an AWS server and set it as default
I've got an old WordPress site that I've downloaded from a while ago and it will only work on php5.6.. I have installed php5.6 to the server on Amazon Linux 2. How would I go about setting the default...
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 ArticleHow to resolve a circular dependency in AWS Cloudformation
I created an AWS Cloudformation template and I'm having trouble getting over a circular dependency. I'm creating an EC2 instance and a load balancer, the load balancer depends on the EC2 instance...
View ArticleAWS EC2 Instance Only Works When Accepting All Traffic
I know there are similar questions to what I'm asking, but I can't seem to find a proper solution that works in my situation. Also, I'm very new to EC2 instances so I apologize if this is an easy...
View ArticleUsing an intrinsic function within UserData when bootstrapping a new EC2...
I have written cloudformation which consists of an EC2 instance and a RDS database. I wish to get the endpoint address from the RDS, which i can via the intrinsic function GetAtt, and pass it into the...
View Articlehow to create a template ec2 related to vpc
I'm trying to create a template ec2 related with vpc but fails when I try to create ec2 with networkinterface. The error says 'the request is not supported ec2...'I have this...
View ArticleError Establishing DB connection WordPress (AWS Linux2, MariaDB, Apache)
So I am trying to set up a simple WP page on my AWS EC2 instance. I have one instance which has Wordpress, Apache and php. I have another instance which has a Maria DB set up. Here is the configs for...
View ArticleSageMaker deploying to EIA from TF Script Mode Python3
I've fitted a Tensorflow Estimator in SageMaker using Script Mode with framework_version='1.12.0' and python_version='py3', using a GPU instance. Calling deploy directly on this estimator works if I...
View Article