It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.
If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up