All Questions
Tagged with amazon-web-services docker
3,910
questions
0
votes
0
answers
23
views
Unable to use implicit IAM/role-based auth when using Boto3 inside Docker on EC2
I've run into a frustrating edge case that I'm now having to either introduce custom logic to work around or solve properly.
I'm running a Django application inside a Docker container on EC2. I'm ...
0
votes
0
answers
13
views
My ECS task mapped with portMapping = 9200 but the application end point is running only in port 8080
I am fairly new to AWS and docker.
What I have done is --
I have created a sample spring-boot get endpoint
Created a docker image from it and pushed the same to DockerHub
Created an ECS cluster and ...
0
votes
0
answers
18
views
Issue with Connecting to ArangoDB in AWS EC2 Setup Using Docker and CloudFormation
I have an AWS setup where I use an Infrastructure as Code (IAC) template (YAML) to deploy a stack using CloudFormation. My deployment creates two AWS EC2 instances: Main-service and Data-service.
Both ...
0
votes
0
answers
15
views
How configure nginx.conf with AWS ECS Service connect(each services on same cluster)?
In my cluster, I have two services: one for nginx and one for the Next.js client. The Next.js service is on a private subnet, while the nginx service is on a public subnet. In the AWS console, I ...
1
vote
0
answers
14
views
Can't Load Collection after Milvus-Standalone Restart on Docker-Compose with AWS S3 Storage
I'm running Milvus-standalone v2.2.11 via Docker Compose on Windows 10 and have configured AWS S3 storage for it:
minio:
address: s3.us-east-2.amazonaws.com
port: 80
accessKeyID: <>
...
-1
votes
0
answers
18
views
Pod recycle /restarting causes Network error
Once the Pod gets to the limit the new pod starts. But it takes so long that requests start to timeout whilst waiting to be serviced so when the pod 2 (new pod) gets request it throws error as it ...
0
votes
0
answers
36
views
+50
Accessing Environment variables within Running Container Host in ElasticBean stalk
I have a Red Hat Enterprise Linux Docker container designed to run and host a Tomcat application. I'm using Docker platform with Amazon Linux 2023. During the Docker build, the Tomcat application ...
1
vote
1
answer
63
views
How to add --init parameter to AWS ECS Task
I have a Docker image that uses Playwright and xvfb. When I run it locally, I run docker run --init -it <image_id> (per this SO answer). Without the --init param, the container will run but will ...
0
votes
0
answers
8
views
how to access amazon secret manager from nginx.conf for react.js google search indexing
I have a website www.jermasearch.com that I can trying to give good search engine optimization so it shows up in google searches, and displays a nice preview card when the link is shared on social ...
0
votes
0
answers
30
views
Why MongoDB connection fails when running backend in Docker container on AWS Lightsail
On AWS Lightsail, I am trying to establish communication between the backend and the database containers.
Here is my setup:
However, the result is different from my test on the local machine.
docker-...
0
votes
0
answers
41
views
How to view Docker /var/log files in AWS?
I have a github project which contains a Dockerfile that builds and launches two apps: react-app and node-server. My supervisord.conf file specifies the stdout logfile directory for both of these:
[...
0
votes
1
answer
27
views
How can I pass AWS construct information to a container build with CDK?
I'm building the IaC for my containerised Vite/React project to deployed to AWS but the issue I've run into is that I can't pass info to my buildargs for the container, which I need to overwrite ...
1
vote
0
answers
25
views
Error creating deployment package for AWS Lambda R script
I'm trying to deploy an R script to AWS Lambda. The script is in file handler.R. I created a bootstrap file:
#!/bin/sh
set -euo pipefail
EVENT_DATA=$(cat /dev/stdin)
Rscript /var/task/handler.R "$...
0
votes
0
answers
13
views
beanstalk - project files not being copied
I'm trying to publish a PHP app with this Docker: https://gallery.ecr.aws/dwchiang/nginx-php-fpm
So according to its docs I'm using this Dockerfile
FROM public.ecr.aws/dwchiang/nginx-php-fpm:7.4.28-...
0
votes
0
answers
36
views
How can both ECS services, using the same Docker image but running in different containers, share the same Docker volume?
I'm working on a Django application where I need to upload a file received from a Django admin form to an S3 bucket asynchronously using a Celery shared task. Here is the relevant code:
Django Model:
...