I am deploying a multi container Flask python app (with gunicorn) to ECS with Docker to my ECS cluster that uses a single t2.small EC2 instance. My app runs on port 8000 and runs fine, I can use my app perfectly when using my EC2 DNS: http://ec2-xx-xxx-xxx-xx.us-east-2.compute.amazonaws.com:8000 I now want to use my own custom ..
I have a docker container running on a remote host on aws ec2 to which I cannot connect remotely. It listens on port 5432. I can ssh to the host just fine on port 22. Security group is set to allow everything from my IP address. This is the compose file. version: ‘3.6’ services: db: ..
I am new in docker . So we have shifted our web applications from bitnami to docker and we have to deploy that project in web. So I want to know for this which service to use aws EC2 or Ecs. For example – should I select EC2 instance and install docker there and setup ..
We are having docker containers running on Amazon ECS. These docker containers are pushing logs to logEntries via logEntries token. We are seeing that the logs are getting pushed to logEntries whenever the container is restarted and after sometime the logs are not being pushed to logEntries. Although the container is running. Can someone provide ..
I have an application that runs on AWS ECS with EC2 method. The application has an ALB in front of the containers. Currently, we have SSL offloading on the ALB. We require HTTPS/SSL from ALB to EC2 instance also for security reasons. I found a GitHub repo with the help of my friend that contains ..
I am hosting my node app on AWS via Fargate Docker. How can I pass the Fargate’s container public IP address to my node.js app? Fargate only gives the public IP address after my app is deployed, so I can’t pass the address to app as ENV variable before my task is running. My node ..
I want minikube start to run in /etc/rc.d/rc.local as this script executes after everytime ec2 instance starts. It is failing to start minikube when kept in rc.local but when I execute it as non-root user, it works. Any help is appreciated to make it work from rc.local script Update: I’ve added minikube start –force –driver=docker ..
I’m trying to understand the AWS Free Tier a bit. On the free tier website (https://aws.amazon.com/es/free/?all-free-tier.sort-by=item.additionalFields.SortRank&all-free-tier.sort-order=asc&awsf.Free%20Tier%20Types=*all&awsf.Free%20Tier%20Categories=*all) it is reported very easily what is free, but from the control panel it is not so clear to me. Currently I have a dockerized Spring application, I have uploaded it to the Elastic Container Register and I have ..
I want to deploy my node server API but I need to access the Port 5000. Problem with Fargate: How can I bind ports in for my docker container with Fargate? I can see that my node app runs with Fargate but not with EC2 Problem with EC2: EC2 allows you to map ports (e.g: ..
I want to deploy my node server API but I need to access the Port 5000. Problem with Fargate: How can I bind ports in for my docker container with Fargate? I can see that my node app runs with Fargate but not with EC2 This is my first time dealing with docker and AWS. ..