SSL installed, but site not secure
I recently installed a SSL certificate for my website following the instructions provided by certbot for apache server, ubuntu 16.04 (xenial). Everything went well and the certificate was installed...
View ArticleWss in not working on HTTPS on amazon AWS
Hi i am building a audio call application using socket for me ws is working on http but wss not working on https. I deployed my application on amazon aws server. I have tried few methods like:Enabled...
View ArticleDoes ECS update-service command marks the container instance state to...
The command:aws ecs update-service --service my-http-service --task-definition amazon-ecs-sample --force-new-deploymentAs per AWS docs: You can use this option (--force-new-deployment) to trigger a new...
View ArticleEC2 instance t2.micro unable to install docker
My kernal version:[ec2-user@ip-172-31-15-171 ~]$ uname -aLinux ip-172-31-15-171 4.14.158-101.185.amzn1.x86_64 #1 SMP Tue Dec 24 03:25:32 UTC 2019 x86_64 x86_64 x86_64 GNU/LinuxWhat I tried, but only...
View ArticleHow to change the instance type of an existing EC2 using terraform?
So if there is an EC2 instance already running, how do I write a terraform script that changes the instance type alone? How should I import the existing EC2 instance?Also how to do this without loss of...
View ArticleCan I use free EC2 instance while creating cluster with `eksctl` command
I have aws free tier account and I am using eksctl to create cluster which also create an EC2 instance, can I pass some parameter in create command to use free EC2 instance.I am using following...
View ArticleIncreasing client_max_body_size in Nginx conf on AWS Elastic Beanstalk
I'm running into "413 Request Entity Too Large" errors when posting files larger than 10MB to our API running on AWS Elastic Beanstalk.I've done quite a bit of research and believe that I need to up...
View Articlehaproxy container error when starting ECS
I've been trying for some time to work out what is the problem when I start the haproxy container on AWS ECS cluster. Any help to diagnose and fix the problem would be appreciated. This is the error...
View ArticleWhy is AWS EC2 not working on iOS and MacOS?
So basically I'm writing a tool for managing some EC2 instances, nothing special.I managed to get some AWS framework to build for MacOS (incredible that it is not officially supported) and I'm now...
View ArticleLogin to docker engine hosted inside ec2 instance
I have installed docker daemon on EC2 instance .I want to login to this docker daemon from powershell using docker login.I tried creating new user under docker group on linux ec2.and trying...
View ArticleNumber of connection to SQL Server in AWS RDS
I have an ASP.Net MVC application that connect to SQL Server AWS RDS database. The ASP.net application gets data from SQL Server DB by processing excel file records.That is, it reads each records from...
View Articlewhere does nginx opens his file descriptors?
i am experiencing a (23: too many open files in system) error on my nginx due to big load of opening web socket connections requests.the backend service which runs on completely different machine and...
View ArticleAWS EC2 to RDS SQL Server maximum connection count
I have the EC2 t3.medium and RDS SQL Server 2014 with db.m4.large..I create one application with 1000 threads, all thread connect to the database to just select the single row from the table with the...
View ArticleHow to immediately serve a custom error page on Amazon ELB 502 response?
I would like to have a custom "under maintenance" page show up if my webservers on EC2 go down.My current setup 2 A records on Route 53, using DNS Failover with a static page as the secondary and the...
View ArticleEC2 start and stop automation
I have EC2 instance in Production where we run CICD.Now we only use this EC2 when we have production deployment.And production deployment will be there hardly once in a month.But this production...
View ArticleFind region from within an EC2 instance
Is there a way to look up the region of an instance from within the instance?I'm looking for something similar to the method of finding the instance id.
View ArticleI want to schedule a .net task on my EC2 instance
Is there a way I can schedule a recurring job\task (a .net piece of code) that can run on my EC2 instance. (Ec2 that constantly running - I need to schedule a task that download some files to the...
View ArticleCheapest way to deploy a React app using NextJS SSR on AWS?
I understand that Nextjs is a Node framework that requires server capabilities and therefore, using it for server-side rendering could not be hosted on an S3 only.However, does that mean that the only...
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 ArticleLoad data to redshift from ec2 without uploading to s3
I am developing a java program and is looking to load data to redshift table directly from ec2. I know s3 is a storage location. About ec2 I know only that ec2 instance is a like a virtual machine. I...
View Article