Amazon S3 bucket as primary storage

Hi
Im currently trying to connect an Amazon S3 bucket as primary storage to my Nextcloud, have some questions and didnt find any topics answerting those questions, so
This article provides instroctions about connection
https://docs.nextcloud.com/server/11/admin_manual/configuration_files/primary_storage.html
but there is something i dont fully understand

‘objectstore’ => array(
‘class’ => ‘OC\Files\ObjectStore\S3’,
‘arguments’ => array(
‘bucket’ => ‘nextcloud’,
‘autocreate’ => true,
‘key’ => ‘EJ39ITYZEUH5BGWDRUFY’,
‘secret’ => ‘M5MrXTRjkyMaxXPe2FRXMTfTfbKEnZCu+7uRTVSj’,
‘hostname’ => ‘example.com’,
‘port’ => 1234,
‘use_ssl’ => true,
‘region’ => ‘optional’,
// required for some non amazon s3 implementations
’use_path_style’=>true
),
),

what should i enter in ‘hostname’ and ‘port’?

hey alexandr,

as there are several threads about s3 as primary storage here in the forum and as i dunno anything about your environment, settings and instance, i just am linking to a thread that MAYBE COULD solve your problem… but as i’m no fortuneteller i can’t do anything more than that… or tell you to use the search-function here :wink:

looki looki