Category : amazon-web-services

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 ..

Read more

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 ..

Read more

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 ..

Read more

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, ..

Read more

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: ..

Read more