Check out Floci. It is a self hosted AWS clone with multiple services functional, including S3 and Dynamodb.
https://github.com/floci-io/floci