Skip to Main Content

Cloud Platform

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Having to reinstate firewall Ingress rules after each deployment

Carl CaulkettFeb 13 2025

I've finally got the first draft of my test web site up and running, and have used shell scripts on both my local machine and my Oracle Cloud VM to improve the workflow involved whenever I make a change and have to update everything.

The only thing that's causing a slight hiccup is that after I do an update on the Oracle Cloud VM, which essentially consists of:

docker stop "$CONTAINER_NAME"
docker rm "$CONTAINER_NAME"
docker pull "$IMAGE_NAME"
docker run -d -p 8080:8080 --name "$CONTAINER_NAME" "$IMAGE_NAME"
docker start "$CONTAINER_NAME"

I have to go into NetworkingVirtual Cloud Networks{VCN Name}Security List Details
and then I have to delete the Ingress rule that I had previously created to allow access to port 8080, and then recreate it exactly as I did before.

If I fail to do this, I just cannot access my website from my machine!

Any ideas, anyone?

Comments

Artan Hajdari Feb 11 2025

Can someone help me in this case please

1 - 1

Post Details

Added on Feb 13 2025
1 comment
37 views