I am deploying a java app on aws ecs fargate in an aws account(aws-dev) and it is working perfectly fine. My app makes call to get the local host and able to resolve it. InetAddress.getLocalHost() On app startup, i printed contents of /etc/hosts and it looks like this: 127.0.0.1 localhost 10.111.11.111 ip-10-111-11-111.ec2.internal Everything works fine ..
I’m creating my first app on AWS App Runner. I have a simple nginx Docker image that works locally by serving html on localhost:8080. When I try to deploy it, the result is "Create Failed". Upon digging into the CloudWatch logs, I see that the health check failed. The health check is configured to ping ..
I’m deploying some Kotlin code via a container and running it via AWS Lambda. However, I keep running into an issue where when I invoke the Lambda, it cannot find the main class or handler. This is what my Dockefile look like currently # This builder image will not be used at runtime # See ..
my system os is ubuntu ,present docker-compose version was 1.25 but imported python-django web app has compose-file with version was 3.9. how to upgrade my system docker-compose version so that i can execute the web app Source: Docker..
I understand I should set the env vars first and then create this temporary table to get a testing envioronment working, however it seems the export is not working. If I enter the docker with docker exec -it dockername /bin/bash and paste this command in the shell, it works fine… RUN export AWS_ACCESS_KEY_ID=fakeAccessKeyId && export ..
I have AWS SAM installed on a Windows machine. I have followed the instructions here https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-getting-started-hello-world.html to create a test Hello World application. I have docker server running on a separate (Linux) VM. How do I invoke AWS SAM locally? I have tried the following: sam local start-api –container-host-interface 0.0.0.0 –container-host 192.168.28.168 where 192.168.28.168 is ..
I have a React frontend that is deployed on AWS Amplify. (let’s say its URL is https://master.foo.amplifyapp.com) And I have an EC2 backend instance that runs docker containers which are nginx and REST API nodejs server(Koa). Also, I’ve set up ELB to accept only HTTPS access. (let’s say its URL is https://example.com/) So the request ..
I’m going through the TestDriven.io tutorial "Scalable FastAPI Applications on AWS" in the "Deployment" chapter: https://testdriven.io/courses/scalable-fastapi-aws/deployment/ I’ve just created the Docker image file for building and pushing a Docker image for the application. When I commit the code and the pipeline runs, it fails on the Dockerfiles first RUN command, which just installs AWS CLI, ..
I’m new to Amazon aws, currently I’m deploying my docker apps to AWS EB by using Dockerrun.aws.json file. I’ve provided the .dockercfg but the EB failed to pull the docker image from the dockerhub with error: [ERROR] An error occurred during execution of command [app-deploy] – [Docker Specific Build Application]. Stop running the command. Error: ..
I have a .NET 5 worker/background service which connects with AWS SQS and does its work. In local environment, because AWS CLI is installed, it runs without any issues. While if I dockerize the service and try to run the container, it throws the error: No RegionEndpoint or ServiceURL configured. I do know that the ..