docdb_create_db_instance function

Creates a new instance